how do you append a string with an integer variable?
Posted: Mon Apr 09, 2007 11:57 pm
how do you append a string with an integer variable?
or can you just use a "real" variable and set it to get the soucre from &the_variable?
a simple example:
would that work?
Edit: &Number does not work, I did not expect it too really.
what else could I do?
this is the first thing I have been stumped on in a while.
Edit2:
a way to convert an integer or real variable to string would be nice too(that is pretty much what I am asking).
or can you just use a "real" variable and set it to get the soucre from &the_variable?
a simple example:
- Code: Select all
strcat(display.text, "the variable is set to: ' ");
strcat(display.text, &Number);
strcat(display.text " ' ");
would that work?
Edit: &Number does not work, I did not expect it too really.
what else could I do?
this is the first thing I have been stumped on in a while.
Edit2:
a way to convert an integer or real variable to string would be nice too(that is pretty much what I am asking).