March 29, 2024, 12:21:43 AM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


Semicolon is erroneoudly colored as REM

Started by paravantis, December 16, 2006, 01:03:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

paravantis

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

GWS

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


Tomorrow may be too late ..

paravantis

Graham,

QuoteJohn, you're really good at finding things

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

John

Parker

I believe this will be gone once Scintilla is used. It's part of Paul's editor component, which was originally used for IBStd.

Ionic Wind Support Team

The semicolon is a REM when you're using inline assembly
Ionic Wind Support Team

Parker

As I recall though, asm blocks aren't colored, or are they colored in EBasic?