- 2026-08-14: 4.00 beta 2 is out, with some more improvement in the docs and bug fixes
@Hoerbie: I changed the HTTPRequest() so if a callback is specified, it doesn't lock like before. If no callback, it will be sync. For all file ops, it should now behave like before as well and doc/examples has been updated.
SpiderBasic 4.00 beta 2 is out !
Re: SpiderBasic 4.00 beta 2 is out !
@Fred: Many many thanks for the change back of HTTPRequest() to usability of the old async callback style.
The good news is, that my big app after two changes (see below) now could compile to Android and works, I will try the next days with the different Cordova plugins.
I still had to change the two CreateFile() calls in my big app, CreateFile() still no longer accepts a callback?
But my ReadFile() calls were not thrown as errors, so I didn't change them, ReadFile() still needs a callback, and there in the docs it is not written as "not mandatory"?
Cause looking in the docs, OpenFile() also accepts a callback, but there it is not mandatory if not #PB_File_Streaming?
Is this inconsistency wanted?
At the moment I'm only using #PB_LocalStorage with CreateFile and ReadFile, but I would be really interested in #PB_LocalFile when reading and writing would work in background without any FileRequester(), here I wouldn't see problems without callback (as I don't need streaming and files are small).
Not to say I would be happy if reading and writing of my config data could be done in a more classic PB way without callbacks.
And just another hint: in the docs for OpenFile() there is also written
The good news is, that my big app after two changes (see below) now could compile to Android and works, I will try the next days with the different Cordova plugins.
I still had to change the two CreateFile() calls in my big app, CreateFile() still no longer accepts a callback?
But my ReadFile() calls were not thrown as errors, so I didn't change them, ReadFile() still needs a callback, and there in the docs it is not written as "not mandatory"?
Cause looking in the docs, OpenFile() also accepts a callback, but there it is not mandatory if not #PB_File_Streaming?
Is this inconsistency wanted?
At the moment I'm only using #PB_LocalStorage with CreateFile and ReadFile, but I would be really interested in #PB_LocalFile when reading and writing would work in background without any FileRequester(), here I wouldn't see problems without callback (as I don't need streaming and files are small).
Not to say I would be happy if reading and writing of my config data could be done in a more classic PB way without callbacks.
And just another hint: in the docs for OpenFile() there is also written
but thenOpen an existing file for read and write operations.
but there is no example for writing?Filename$ The name of the file to read.