IonicWind Software

IWBasic => General Questions => Topic started by: paravantis on December 16, 2006, 01:03:37 PM

Title: Semicolon is erroneoudly colored as REM
Post by: paravantis on December 16, 2006, 01:03:37 PM
Paul and all (rhymes nicely),

In the Emergence Basic 1.55 IDE, the semicolon character ";" at the start of a line causes the line to be colored as a comment although it is NOT parsed as a comment (only REM, a single quote and /* */ work).

This may have crept in from Aurora (?). You may want to correct this OR add it as a feature -- I actually like it!

John
Title: Re: Semicolon is erroneoudly colored as REM
Post by: GWS on December 16, 2006, 02:01:19 PM
John, you're really good at finding things ..ÂÃ,  :)

Yes, it sets up a line looking like a comment, but it doesn't treat it as a comment, and flags up an error.

I usually use a single quote myself, but I don't mind a semi-colon if it doesn't clash with some other part of the syntax.
I believe it worked in IB Standard although the single quote was the recommended form for a comment.

best wishes, :)

Graham


Title: Re: Semicolon is erroneoudly colored as REM
Post by: paravantis on December 16, 2006, 02:24:35 PM
Graham,

QuoteJohn, you're really good at finding things

It's just eBasic, bringing the best out of me! ;D

John
Title: Re: Semicolon is erroneoudly colored as REM
Post by: Parker on December 16, 2006, 03:19:46 PM
I believe this will be gone once Scintilla is used. It's part of Paul's editor component, which was originally used for IBStd.
Title: Re: Semicolon is erroneoudly colored as REM
Post by: Ionic Wind Support Team on December 16, 2006, 04:47:01 PM
The semicolon is a REM when you're using inline assembly
Title: Re: Semicolon is erroneoudly colored as REM
Post by: Parker on December 17, 2006, 01:22:03 PM
As I recall though, asm blocks aren't colored, or are they colored in EBasic?