This will probably seem simple, but I am a beginner !
I need to set up a script to transmit an variable integer.
Here is the simple script which I am having trouble with !
proc main
integer i , ar1[10000]
integer f
f = 225471
for i = 1 upto 100
f = f - 250
transmit "l"
transmit "475"
transmit "^M"
transmit " "
transmit " "
transmit "a"
transmit "250^M"
transmit "r"
transmit "f"
; this is where I need to transmit my variable integer f. Obviously, this does not work as it is !
transmit f
transmit "^M"
transmit "c"
transmit "d"
ar1 = i
endfor
endproc
I need to set up a script to transmit an variable integer.
Here is the simple script which I am having trouble with !
proc main
integer i , ar1[10000]
integer f
f = 225471
for i = 1 upto 100
f = f - 250
transmit "l"
transmit "475"
transmit "^M"
transmit " "
transmit " "
transmit "a"
transmit "250^M"
transmit "r"
transmit "f"
; this is where I need to transmit my variable integer f. Obviously, this does not work as it is !
transmit f
transmit "^M"
transmit "c"
transmit "d"
ar1 = i
endfor
endproc