Re: [ql-users] error lines

2003-10-20 Thread Dilwyn Jones
Dilwyn Jones wrote: I haven't looked yet, but I suspect the Rich Mellor SuperBASIC Reference Guide might have insights on this. I can't find any reference to it in Jan Jnoes's book, though. Oh, here there is one: WHEN used in the non-implemented WHEN construct ;-) Marcel

Re: [ql-users] error lines

2003-10-20 Thread Tony Firshman
Lau did a lot of work on WHEN ERROR in Minerva - and it did seem to work well. -- QBBS (QL fido BBS 2:252/67) +44(0)1442-828255 tony@surname.co.uk http://www.firshman.co.uk Voice: +44(0)1442-828254 Fax: +44(0)1442-828255 TF Services, 29 Longfield Road, TRING, Herts,

Re: [ql-users] error lines

2003-10-19 Thread Phoebus R. Dokos ( . )
On Sun, 19 Oct 2003 11:44:51 +0200, TonyTebby [EMAIL PROTECTED] wrote: - Original Message - From: Dilwyn Jones [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: jeudi 16 octobre 2003 10:44 Subject: Re: [ql-users] error lines Thank you. $C8 is described in my book as number of watched

Re: [ql-users] error lines

2003-10-19 Thread Phoebus R. Dokos ( . )
On Sun, 19 Oct 2003 13:56:19 +0100, Dilwyn Jones [EMAIL PROTECTED] wrote: $C8 is described in my book as number of watched WHEN variables Ah! Jan Jones When variables - has anyone ever described this wonderful unimplimented facility? Tony Tebby It seems a wonderful facility. Something like:

Re: [ql-users] error lines

2003-10-19 Thread RWAPSoftware
In a message dated 19/10/2003 14:00:33 GMT Standard Time, [EMAIL PROTECTED] writes: It seems a wonderful facility. Something like:WHEN entry=-1 PRINT"Don't enter negative numbers, mate!" RETRYEND WHENwould potentially be useful, but I don't know how it's meant to workin SBASIC. I vaguely

Re: [ql-users] error lines

2003-10-19 Thread Dilwyn Jones
Well this whole thing to me looks like a halfhouse between an IF - END IF clause (more readable at that) and a SELect ON - END SELect clause. From what I have read, WHEN allows for any kind of data type. Seems to allow many of the tests you can put into an IF statement. If I've understood it

Re: [ql-users] error lines

2003-10-19 Thread Marcel Kilgus
Dilwyn Jones wrote: I haven't looked yet, but I suspect the Rich Mellor SuperBASIC Reference Guide might have insights on this. I can't find any reference to it in Jan Jnoes's book, though. Oh, here there is one: WHEN used in the non-implemented WHEN construct ;-) Marcel

Re: [ql-users] error lines

2003-10-18 Thread Dilwyn Jones
at the time. -- Dilwyn Jones - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 17, 2003 5:47 AM Subject: Re: [ql-users] error lines On 16 Oct 2003 at 15:52, Marcel Kilgus wrote: Dilwyn Jones wrote: Well, it wasn't the error tables I wanted

Re: [ql-users] error lines

2003-10-16 Thread Dilwyn Jones
: Wednesday, October 15, 2003 6:24 PM Subject: Re: [ql-users] error lines Dilwyn Jones wrote: It's probably stored in the basic variables area somewhere, though I can't seem to find it. On SMSQ/E sb_erno equ$c2 ; longerror number sb_eline equ$c6 ; worderror line

Re: [ql-users] error lines

2003-10-16 Thread Dilwyn Jones
: Re: [ql-users] error lines On Wed, 15 Oct 2003 12:22:32 +0100, Dilwyn Jones [EMAIL PROTECTED] wrote: Anyone know how to get the statement number within a line when an error occurs? Obviously, ROMs which support ERLIN return the line number. It would be helpful to get the statement

Re: [ql-users] error lines

2003-10-16 Thread Marcel Kilgus
Dilwyn Jones wrote: $C8 is described in my book as number of watched WHEN variables Those area of the BV are pretty OS specific. keys_sbasic is the file you're looking for (although I'm usually nice enough to look them up ;) EVERY programmer should have the keys directory of the SMSQ/E

Re: [ql-users] error lines

2003-10-16 Thread Marcel Kilgus
Dilwyn Jones wrote: Well, it wasn't the error tables I wanted. It was which statement in a line of basic caused the error. Launchpad's accessory programs are written in compiled BASIC and there are some multi-statement lines causing me problems. The variables I mentioned probably don't work

Re: [ql-users] error lines

2003-10-16 Thread wlenerz
On 16 Oct 2003 at 15:52, Marcel Kilgus wrote: Dilwyn Jones wrote: Well, it wasn't the error tables I wanted. It was which statement in a line of basic caused the error. Launchpad's accessory programs are written in compiled BASIC and there are some multi-statement lines causing me

[ql-users] error lines

2003-10-15 Thread Dilwyn Jones
Anyone know how to get the statement number within a line when an error occurs? Obviously, ROMs which support ERLIN return the line number. It would be helpful to get the statement number as well for debugging purposes - what I'd like is for my debugging routine to return something like: REPORT

Re: [ql-users] error lines

2003-10-15 Thread Phoebus R. Dokos ( . )
On Wed, 15 Oct 2003 12:22:32 +0100, Dilwyn Jones [EMAIL PROTECTED] wrote: Anyone know how to get the statement number within a line when an error occurs? Obviously, ROMs which support ERLIN return the line number. It would be helpful to get the statement number as well for debugging purposes -