On 14 Feb 2011, at 09:45, Lee Privett wrote:

> Is it possible to enter S*Basic lines of code remotely?
> 
> I naively tried this and obviously it didn't work, but is there a way?
> 
> In the #0 window typing this:
> 
> 
> PRINT #2, "10 REMark this is the first line"
> 
> Displays ok in window but isn't really there and I have tried a range of 
> derivatives 
> 

Yes.

>From a daughter basic type

COMMAND_LINE:TYPE_IN "10 rem this"&chr$(10)

results in line 10 in master basic becoming

10 REMark this

The same can be done from within an executable program.

The commands COMMAND_LINE and TYPE_IN are part of Turbo TK code.

George
_______________________________________________
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm

Reply via email to