[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 ?
- To: StrongED@xxxxxxxxxxx
- Subject: Re: [StrongED] Why writing 'SINGLE' in a comment, in BasASM mode is saved SIN GLE ?
- From: Alan Adams <alan@xxxxxxxxxxxxxxxx>
- Date: Mon, 23 Apr 2018 22:23:53 +0100
- Envelope-to: StrongED@xxxxxxxxxxx
- In-reply-to: <CAFztDO=AKLcf_gJjpecgJ2oBfPNn8m-Y_isgRgXL_2PO=EMaMw@mail.gmail.com>
- List-id: RISC OS StrongED mailing list
- References: <CAFztDO=AKLcf_gJjpecgJ2oBfPNn8m-Y_isgRgXL_2PO=EMaMw@mail.gmail.com>
- Reply-to: StrongED@xxxxxxxxxxx
- User-agent: Messenger-Pro/7.05 (MsgServe/7.05S) (RISC-OS/5.23)
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