Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Combine variables
#1

Is it possible to combine string and integer into one? I'm trying to combine words with numbers, but when I tried .from, I was recieving random number and letters. So I tried combining the integers together first and then just adding the 1 string and 1 integer together, but when using string it doesn't give what i'm trying to receive.


Macro ( Macro38 )
Code:
Copy      Help
int i d p;str q
i=1
d=2
p=(i+d)

q="You have"
str a=(q+p)
out a


Output box:

have

What i'm trying to get:

You have 3
Taking on Quick Macros one day at a time


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)