[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [StrongED] Why writing 'SINGLE' in a comment, in BasASM mode is saved SIN GLE ?



OK thanks for the explanation. That's true I usually don't use uppercase in my comments,
so it's the 1st time I could witness that.

2018-04-23 23:23 GMT+02:00 Alan Adams <alan@xxxxxxxxxxxxxxxx>:
In message <CAFztDO=AKLcf_gJjpecgJ2oBfPNn8m-Y_isgRgXL_2PO=EMaMw@mail.g
mail.com> you wrote:

> As the title says, I see SE doesn't like when I write SINGLE in a comment
> in BasASM mode, to comment an EQUD
> My line is for example :
> EQUB 1           ; Scanline 109 SINGLE PATTERN

> When I save the file and reload it, 'SINGLE' is split and reads 'SIN GLE'.


SIN in uppercase is a BASIC keyword - the mathematical sine function.

It could be argued that keywords in comments should be ignored, but I
suspect that might cause a problem if a line of code was commented
out, then later the comment character was removed. Would the keyword
then be recognised?

--
Alan Adams, from Northamptonshire
alan@xxxxxxxxxxxxxxxx
http://www.nckc.org.uk/

--
To unsubscribe send a mail to StrongED+unsubscribe@Torrens.org
List archives and instructions at
http://diy.Torrens.org/RO/StrongED/index.html




--
                    
Xavier Louis TARDY
Mél  : xltardy@xxxxxxxxx (Mode de correspondance préféré)
Téléphone   : 06 12 43 24 46