MMBasic for Windows - alphas


Author Message
panky

Guru

Joined: 02/10/2012
Location: Australia
Posts: 1118
Posted: 04:41am 22 Feb 2022      

I've done something wrong but I can't figure out what!!

Under a5, if I do the following

> load "junk1.bas"
> list
' comment
print "abc"
do
' comment
' comment
' comment
loop
end
> save "junk4.bas"
> list
' comment
print "abc"
do
' comment
' comment
' comment
loop
end

> load "junk4.bas"
> list
Print "abc"'|2
Do '|3
Loop '|7
End '|8


junk1.bas is 74 bytes long and is correct when viewed with Notepad, junk4.bas is 43 bytes long and appears in the strange debug style when viewed with Notepad.

The same action occurs for any file I load then save.

It appears that the SAVE commands is somehow saving the file in some sort of debug mode/format?

Doug.