Hello Dave,
FILEEXISTSPalmOS always uses the root name, the extension ('.pdb' or '.prc', sometimes '.pqa') is never used internally by PalmOS.
It is the file type ('appl' for '.prc' and mainly but not exclusively'data' for '.pdb') inside the database storage which defines for PalmOS the type of file.
The fully qualified name is only used on a PC to know there what the type of the file is.
This seemed so obvious to me because of having worked for years with PalmOS that I never thought about mentionning it somewhere in the user manual.
{SECUREFILES ON|OFF}
If ON, then yest with CreatorID = LDIB.
If OFF, the main risk is that you can alter and delete any other database in the device, including the Memo, the AddressBook, etc... ones!
This directive for sure is very restrictive. I just wanted people to be very aware of the risks they could take.
Now, you are right, if ON was set to work with the real CreatorID of the application (or the LDIB one for compatibility reasons), it could be less annoying and not too risky.
OPEN "foobar" FOR OUTPUT AS #400This #v|n is a dedicated file handle and has nothing to do with objects handle.
But maybe you skipped one important information in the user manual. In the introduction paragraph of the Files chapter (page 61), is written: "
#v|n is the File Handle and is in the range [0..9]; this means that you can work with up to 10 files simultaneously"
BTW, this kind of stuff would be good material for a FAQ on the wiki site. Since I'm the one complaining, I'll shut up now and add it. ;^DThis is a very positive and constructive attitude, thank you.
Cheers,
aldweb