Bug #90
closedCan't get Bload to work.
0%
Description
Trying to load a converted data bank into bank 9.
Have tried numerous combinations of file names with no success. As a last resort, moved '1.bin' to a folder called df0 in filesystem (because I know that works for loading other things such as IFF screens) and just get an unepected token error in runtime.
Code is here:-
Reserve As Data 9,400
Bload "resources:9.data/1.bin",9
This is the section of application.js with the Syntax Error: unexpected token ":"
// Bload "resources:9.data/1.bin",9
this.aoz.sourcePos="7:0";
return{type:12,waitThis:this.aoz.thisFilesystem,callFunction:"bLoad,waitFunction":"load_wait",args:["resources:9.data/1.bin",%address,undefined]};
Updated by Francois Lionet almost 5 years ago
- Status changed from New to Resolved
- Assignee set to Francois Lionet
- Target version set to 0.9.4
Corrected, tested, it works! :)
Updated by Baptiste Pillot over 4 years ago
- Status changed from Resolved to Feedback
- source : https://www.amos2.fr/ide/Amos2/Ide/Program/470
- run : https://www.amos2.fr/run/tickleman/90/
- compile : ok
- run : Internal error at line: 4, column: 1. Program Ended.
- console :
error is not defined
aoz.js:418 ReferenceError: error is not defined
at Filesystem.loadBinary (filesystem.js:912)
at v1_0_filesystem.bLoad (v1_0_filesystem.js:178)
at doUpdate (aoz.js:678)
Internal error at line: 4, column: 1.
aoz.js:766 Program ended.
Still not working. Or am I missing a file (tested on the online IDE + into AOZ Studio 0.9.6 Windows) ?
Updated by David Baldwin over 4 years ago
- Status changed from Feedback to Closed