On 10 Jan 2011, at 14:32, Lee Privett wrote: > In QDOS/SMSQ/E the 'AT' keyword allows the print statement an imaginary y/x > character cursor location to be used. Is there away of knowing where this is > as a function? > > for example: > > 10 AT 10,20 PRINT "FRED"; > 20 PRINT LOCX : remark this would return 24 > 30 PRINT LOCY: remark this would return 20 > > > 10 AT 10,20 PRINT "FRED" > 20 PRINT LOCX : remark this would return 1 (or 0) > 30 PRINT LOCY: remark this would return 11 >
I don't know of any extensions which contain functions like LOCX and LOCY. The trap #3 call SD_CHENQ returns the cursor position in characters. It would therefore be easy to produce the keywords LOCX and LOCY. George _______________________________________________ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
