Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Val
#1
Hey if im using val
and i getwintext from a dialog say it gets 5
and use +1 in a functions
it will do 51 but i want it to do 6
anyway round this :?:
#2
string to integer
#3
Macro ( Macro83 )
Code:
Copy      Help
str a="5";int b
b=val(a)
b+1
out b


You should search the forum, better, before you make a post.
Taking on Quick Macros one day at a time
#4
Yea but, i need it to go up 1 every time :?: so 1,2,3,4,5,6,7,8,9.
like that.
thanks.
#5
Macro ( Macro83 )
Code:
Copy      Help
str a="5";int b
b=val(a)
;top
b+1
out b
if b=15
,end
else
,goto top
Taking on Quick Macros one day at a time


Forum Jump:


Users browsing this thread: 1 Guest(s)