I have an edit box that I am trying to put code in at runtime. I am running into the following.
edit1.middlclick event
Public EditStr
EditStr = this.value
edit1.middleClick event
strtofile(EditStr, "c:\program.prg"
this.value = EditStr
do c:\program.prg <-- this is where I get errors. *unrecognized command verb.*
Also if I have a chr(13) in my edit box it won't write the chr(13) to the file.
Any help is appreciated.
Brenton Pryer
edit1.middlclick event
Public EditStr
EditStr = this.value
edit1.middleClick event
strtofile(EditStr, "c:\program.prg"
this.value = EditStr
do c:\program.prg <-- this is where I get errors. *unrecognized command verb.*
Also if I have a chr(13) in my edit box it won't write the chr(13) to the file.
Any help is appreciated.
Brenton Pryer