How To

FILES question

1

Beast905 2023-01-03 06:30

My program uses files on the disk for part of its code. If I upload the program, do the contents of my disk also get uploaded to use for my program because if not that could change how my program functions.


Beast905 2023-01-03 06:33

For context: it uses persistent ram that is saved as text on my file that it uses to run some of the program.


nathanielbabiak 2023-01-03 07:06 (Edited)

Uploads are limited to a single .nx file (any Disk.nx file is not uploaded when you upload another program).


Timo 2023-01-03 12:08

“Disks” are meant to be used in development tools, which edit data of other programs.

All the data which is needed in a program should be in the “ROM”.

Technically disk files are just “ROM” entries of another NX program.


Timo 2023-01-03 12:10

You could just copy and paste your disk data to your program and then it’s already ROM data. But you will need to change your program a bit to read from ROM instead of the disk.


Log in to reply.