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
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,
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
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:
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
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
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
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
: 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
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
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
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
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
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
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 -
15 matches
Mail list logo