Hi Albert - please see my comment below yours: Regards, Alastair.
----- Original Message ----- From: "Albert Berry" <[EMAIL PROTECTED]> To: "RBASE-L Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, January 02, 2003 4:09 PM Subject: [RBASE-L] - Re: Criteria For My Unstableness With R:Base6.5++ Build 1.862 - ALSO: Persistant System Crashes but TRACE reports no errors (June 2002) > Search all your code for "ON LIGHT" using your favourite text editor, preferably one that has a "find in files" feature. None of the "LIGHT" colours are allowed as background colours. This will eliminate at least one of the troubles that cause problems. Way ahead on this one. I know why it happened: white on red didn't show up very clearly so I "knew" light red would look better. Never thought to check and IT WORKS so I never saw a problem with it. > I have also found that some obsolete syntax problems show up, missing quotes in text lists (inconsistently), missing commas, etc. The syntax seems to be tightening up as time and development goes on. I think quotes around text items in any list is a must. I always use them. (Note to self: check this!! <g>) > Also, it is a good idea to set your RSTYLE to expanded command words. Sometimes R:Base will pick the wrong command from an enhanced list where three characters used to be enough, but now you need four to retrieve the proper command, the first in the alphabetical sort no longer being the command expected due to a command that has been added to the system. I tend to use the full command anyhow - I find it much easier to read later. I'm not altogether happy with RSTYLE/RCODE yet but they certainly help so I'm going to persevere. > > "Alastair Burr" <[EMAIL PROTECTED]> wrote: > > >Ok, it's own-up time. > > > >I've found one reason for some of the crashes I've been getting: > > > >WRITE 'Message' AT 10, 10 WHITE ON LIGHT RED > > > >This command goes through TRACE and RCODE without error and > >displays ok but the background colour is illegal. > > > >R:Base seems to crash if it has to do something like run a form after the > >command. Doing other things like further writes or setting vars is ok. > > > >Turn the colours around (Light Red ON White) and it's fine every time. > > > >If you want to test it for yourself, the following are all illegal but go > >though trace & rcode: > > > >cls > >write 'White ON Light Black' AT 10, 10 White ON Light Black > >write 'White ON Light Blue' AT 11, 10 White ON Light Blue > >write 'White ON Light Cyan' AT 12, 10 White ON Light Cyan > >write 'White ON Light Green' AT 13, 10 White ON Light Green > >write 'White ON Light Magenta' AT 14, 10 White ON Light Magenta > >write 'White ON Light Red' AT 15, 10 White ON Light Red > >return > >

