AFilesB write index limit
|
08-31-2021, 03:33 AM
Post: #1
|
|||
|
|||
AFilesB write index limit
I haven't seen this documented anywhere, regarding the AFilesB command
For example, you can do this: AFilesB("MyFile.txt"):={65,66,67} which creates the file MyFile.txt with the string "ABC" inside (no quotes) Then you can do AFilesB("MyFile.txt",3):={68,69,70} to append "DEF" at index 3, and so on. This is handy of course to build a file from a program. I hadn't noticed before today but it seems like the index maxes out somewhere around 524288, providing an index higher than the maximum results in an error. This means the largest size of file that can be created is 512KB. You may think that is a reasonable limitation for a calculator, but of course the virtual calculator is capable of creating much larger files, as is the G2. I am wondering if anyone can confirm this is an arbitrary limitation and whether there is any other solution besides splitting content across multiple files if it is necessary. |
|||
08-24-2023, 09:39 PM
Post: #2
|
|||
|
|||
RE: AFilesB write index limit
I have been experimenting and found the exact same thing. I wonder could it be fixed?
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)