In fact, this sample has a very important meaning.
The program itself is easy.
Please select a program from the list and tap "Download". The selected program will be downloaded.
Then you will be able to select downloaded program in the program selection menu.
Not only the program , but also the required data files are imported .
The Zip file is here : XBprogloader.zip
(This is intended to view a sample of the list-file. Program itself is built in X-BASIC for iOS. )
This mechanism does not work out by the progloader alone.
By using this program, if you want to download your program (and data), you will need the following preparations.
- Prepare the server to the program downloading
- Put the list-file that is described of programs information on server.
The list-file is UTF8 text file with the following format:
"program name" zip-filenameOne line is for one program. The "program name" is the name that appears in the progloader. The zip-filename is the name of the zip file that is downloaded when you select it. The names that appear in program selection menu of X-BASIC are the file name of *.bas archived in zip file.
Between them are separated by one or more spaces or tabs. A line that begin with ';' is considered a comment, so it will be ignored.
This list-file is put on the server side. It other words, without rewriting the progloader, you can increase or decrease the program that can be downloaded.
- Put the zip file that contains programs and data together
Usually, the zip file includes * .bas and the required data. It is also allowed to have with the directory structure. It will be expanded in the X-BASIC for iOS same as the original directory structure.
- Rewrite the URL written in the progloader.bas
str baseURL = "~" is the URL.
You can delete the program itself from the program selection by "Delete". But the accompanying data is not deleted automatically. So the datas still remains in iOS and eat the storage capacity. Please remove datas by using built-in sample filer.bas.
···From now on···
Since progloader was completed, in the future, I will publish sample programs by using this. When you will run progloader.bas , sometime there may be the new sample program.
···Just in case···
I keep writing for just in case. X-BASIC for iOS has no function for the iOS system hacking. Even if you write any program, you can not be used for hacking.