[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 ?



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@xxxxxxxxxxx
List archives and instructions at
http://diy.Torrens.org/RO/StrongED/index.html