mattgodbolt / owlet-editor

A modern BBC BASIC editor inspired by the BBC Micro Bot (https://bbcmicrobot.com)
https://bbcmic.ro
54 stars 4 forks source link

@% #28

Closed ojwb closed 4 years ago

ojwb commented 4 years ago

I'd expect @% to be highlighted just like A% (since they're both resident integer variables) but in A%=@%:@%=A% @% is green (looks like a slightly paler green than numbers).

It's true that the value of @% is used for formatting numbers, but other resident integer variables have special properties too (A%, C%, X%, Y% in CALL and USR; O% and P% in assembler).