LoginLogin
Nintendo shutting down 3DS + Wii U online services, see our post

[fixed] Cannot load SYS files

Root / SmileBASIC Bug Reports / [.]

SquareFingersCreated:
I'm like, no, wait, I must be doing something wrong. Surely they haven't done this. I've seen some stuff in SmileBasic, but I must be doing something wrong, they wouldn't have done this. Right? So, I ask, can anyone confirm this behaviour in Direct mode for me, please?
OK
PROJECT "SYS"
[SYS]OK
FILES
...
*EX2CALC
...
-- ... kbytes free --
[SYS]OK
LOAD "EX2CALC"
Dialog box pops up "Confirm - Load file", then a second dialog box "Error - Load file", "The following file cannot be found. Name: EX2CALC". Same for all the other ones I have tried. Am I doing something stupid? Is this really happening?

Deleted post on a grain of doubt:
Well, the official site says LOAD"SYS/EX2CALC" works, so I guess Direct mode ignores your project context lol.

OK, thanks for that. Indeed, LOAD "SYS/EX2CALC" will load that program, no matter which project is current. Never mind that LOAD "SOLIDGUNNER/SOLIDGUNNER" will never work, whether the current project is SOLIDGUNNER or not.

SYS isn't a real directory within the filesystem; you have to access it with a path. This makes it so every project has global access to it. It's actually stored within the app itself, for a multitude of reasons.

SYS isn't a real directory within the filesystem; you have to access it with a path. This makes it so every project has global access to it. It's actually stored within the app itself, for a multitude of reasons.
It's real enough that you can't create another project with the name SYS, and real enough that PROJECT "SYS" followed by FILES shows the files 'there'. In other words, the system presents it as if it were real.

It's real enough that you can't create another project with the name SYS, and real enough that PROJECT "SYS" followed by FILES shows the files 'there'. In other words, the system presents it as if it were real.
Yeah, I meant "it isn't real" in the sense that it actually doesn't exist in the filesystem. The system certainly does treat it as real, though. However, if you have the PROJECT set to SYS and use the popup load dialog, you're presented with an empty folder. So it isn't a real path even though the system presents it as such.