Great work so far Francois, very impressed so far. Love the infinite balls demo, 2300+ bobs at 30fps!!!! WOW !!!..... However....
I have a couple of questions regarding use of procedures in AOZ.
In AMOS, procedures were treated almost as stand alone programs, able to use GLOBAL or SHARED variables from the main program and other procedures. What I've found is that if I have several procedures that use the same 'label', such as "MAIN:", the compiler is flagging up an error saying it is a 'label_already_defined" With AMOS, and labels within a procedure were unique to that procedure alone. If they are treated globally, will this allow GOSUB and GOTO to jump procedures? Or is it an error yet to be corrected?
I'm still having same issue when running converter. I can see the work here is not yet completed, as nothing is generated for the music bank or the icon bank. Is it just that you haven't finished that bit yet? Here's what I get:-
C:\Users\baldw\AppData\Roaming\AOZ Studio Beta>aoz-x64 --convert "C:\Users\baldw\Desktop\AMOSforWindows\AMOS\AMOS_Programs\PACMAN_WORK\crunchman_2019.amos"
AOZ Transpiler Version 0.9.2.1 - 31/12/2019
By Francois 'Amos' Lionet (c) AOZ Studio 2019
Website: https://aoz.studio
Support the project on Patreon: http://www.patreon.com/francoislionet
---------------------------------------------------------------------
Converting C:/Users/baldw/Desktop/AMOSforWindows/AMOS/AMOS_Programs/PACMAN_WORK/crunchman_2019.amos
Converting code...
"C:/Users/baldw/AppData/Roaming/AOZ Studio Beta/utilities/windows/listamos.exe" "C:/Users/baldw/Desktop/AMOSforWindows/AMOS/AMOS_Programs/PACMAN_WORK/crunchman_2019.amos"
Converting banks...
Extracting bank #0, length: 356, type: Data
Extracting bank #1, length: 356, type: Data
Extracting bank #2, length: 356, type: Data
Extracting bank #3, length: 13504, type: Pac.Pic.
Extracting bank #4, length: 35198, type: Music
Extracting bank #5, length: 28818, type: Samples
Extracting bank #6, length: 34030, type: Sprites
Extracting bank #7, length: 15020, type: Icons
:1:1: Error: message not found unknown_bank_format:(, , , )
Ha! Could you send me the AMOS application? I need to see what is wrong... To my email address please: fl@aoz.studio
Done.