1
Axe / Help With Pointers and Strings
« on: November 15, 2010, 06:49:47 pm »
Hi I was wondering if someone could help me out with this. I am having problems working with strings and Copy to display a certain string depending on what the value is. What am i doing wrong? Sorry if this is kind of n00bish but i just can't figure it out.
Code: [Select]
.CONV
8→A
".01 "→Str1
"1 "
"5 "
"10 "
"25 "
"50 "
"75 "
"100 "
"200 "
"300 "
"400 "
"500 "
"750 "
"1000 "
"5000 "
"10000 "
"25000 "
"50000 "
"75000 "
"100000 "
"200000 "
"300000 "
"400000 "
"500000 "
"750000 "
"1000000"
[0000000000000000]→Str2
Copy(Str1+A,Str2,8)
Output(0,0,Str2)
Pause 5000