When I try and run the following script, I get the error "Error C155 Line 4: Invalid integer constant".
proc main
integer iTemp = 50
; Define and display the dialog box.
dialogbox 0 0 0 100 iTemp 11 "Dialog Box"
enddialog
pause 5 ; Show off the dialog box...
Well since this script has the possibility to go to over 120 offices that have the same OS and version of Procomm, I found a work around.
proc main
string sMES[4],sTemp
integer Loops
transmit "MES^M"
Loops = 0
while (Loops++) < 3
while nullstr sTemp
rget sTemp...
Ok, I leaned the script down to this:
proc main
string sMES[10]
rget sMES[1]
endproc
I've tried running it on my desktop and laptop. On both I get the "001 Value out of range" error.
When I run this script:
proc main
string sMES
rget sMES
endproc
It runs with no errors. I've been...
Knob,
Thanks for the quick reply! Just for grins and giggles I changed string sMES[3] to string sMES[10] and still received the same error.
Thanks,
Bonk
When I run the following script I get the error "001 Value out of range" after 30 seconds. If I take out the array and make sMES a normal variable it works fine.
Any ideas?
Thanks,
Bonk
proc main
string sMES[3]
integer Loops
transmit "MES^M"
Loops = 0
while (Loops++) < 3
while...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.