m_dr_m * 06 Oct 2019 01:51:38
This buffer is only cleared with CTRL-N.
Can you reproduce the problem?
8 ** [ 2 ** BYTE # 2 ** BYTE #+64 ]
Generate #00,#01,#40,#41,... instead of #00,#00,#40,#40,...
8 ** [ 2 ** BYTE ## 2 ** BYTE ##+64 ]
3 ** BYTE # ; Gives 1, 2, 3 1 ** [ 3 ** BYTE # ; Also gives 1, 2, 3 ]
The assembler cannot read your mind and associate # with the counter you are thinking of.
So it's best:
* To be consistent (# is always the innermost counter)
* Make sure 1 ** [ CODE ] is equivalent to CODE.
; Shortcuts: ; - params ; - start ; - gen_texture ; - frame1 ; - frame2 ; - variables
IMPORT "math"
Since math.o is loaded for assembling, we might as well want to see it. CONTROL-ENTER on the directive would switch to math.o "tab".
Conversely, if math.o was already loaded in a tab, the IMPORT would use the in-RAM version rather than the disc one. So any change in math.o would automatically be picked up, even if we forgot to save.
Now, to avoid much confusion, Orgams would prevent to load the same file in different tabs. That is, CONTROL-O "math" would switch to math.o tab rather than loading the file.
But what if we really want to reload from disc in a new tab? For instance we have made several changes, but want to get the old version of one of the routine.
I'm proposing to allow that by pressing CONTROL when validating the filename (CONTROL-ENTER or CONTROL-RETURN then). A message would hint this possibility (only when the file exists in another tab in a modified state).
Open: math. Press RETURN to switch to tab, CONTROL-RETURN to load it here.
WDYT?