I'm new in making programs so i'm a bit confused
How do i make a variable add to a string
Root / Programming Questions / [.]
PulpincocoCreated:
'for example ACLS OB1$="NICE=" SN= 69 @EKSDEE B=BUTTON() IF B AND #A THEN OB1$=OB1$+SN 'THE ERROR APPEARS HERE NOT NICE AT ALL GOTO @EKSDEE
should i convert the variable into a string and then add it into the other string?
Numbers are numbers. Strings are different. An easy way to convert a number to a string is using STR$. If you are more advanced, FORMAT$ can be more useful, but STR$ is the most basic way I know of. Basically STR$ returns a string that represents the number in base 10 (0,1,2,3,4,5,6,7,8,9,10,etc.) So you would add STR$(69) to the string OB1$
Also, NICE=69 xD
THANK YOU IT WORKED :D