Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Subract? Divide?
#7
I think there is a problem wen converting the var to an int...any ideas?

This outputs the right number...

Macro ( Macro )
Code:
Copy      Help
str a c
int d b
0 WV "Finance"
a.getwintext(id(1918 "Finance"))
a.replacerx(",")
;b=a
out a
;d=1000000
;c= d-b
;out c


But this doesnt...

Macro ( Macro )
Code:
Copy      Help
str a c
int d b
0 WV "Finance"
a.getwintext(id(1918 "Finance"))
a.replacerx(",")
b=a
out b
;d=1000000
;c= d-b
;out c


Seems to be code changes after saying var=int ??


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)