![]() |
#1 |
Junior Member
Join Date: Jun 2010
Posts: 9
|
![]()
I feel that this very likely is a stupid question, but I've been unable to locate an answer so...
I need to insert a variable into a line of code without spaces. Example: code: Obviously the compiler thinks it's looking for $VAR1text variable that does not exist. How can I separate the variable from the text in the string? Also the other defines work because they have the {} wrapper, but I can't always use those: code: Thanks, folks~ |
![]() |
![]() |
![]() |
#2 |
Senior Member
Join Date: Feb 2007
Location: Rijeka, Croatia
Posts: 225
|
You shouldn't be having that problem, I can't even replicate it. Maybe you could post the actual code you're using cause there's nothing wrong with this particular example; you definitely shouldn't be getting a compiler error.
PostEnd: |
![]() |
![]() |
![]() |
|
Tags |
string, variable |
Thread Tools | Search this Thread |
Display Modes | |
|
|