Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Combine variables
#5
because content of string a is always overwritten.
use froma or formata to add lines to a.
Code:
Copy      Help
int i d p;str q
i=1
d=2
p=(i+d)

q="You have"
str a.from(q " " i "[]")
out a
a.formata("You have %i[]" i)
out a
a.formata("%s %i[]" q i)
out a

[] means linebreak


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)