Post Reply 
AFiles problem
10-23-2015, 12:41 AM
Post: #1
AFiles problem
If I store an object such as AFiles ("name") := obj it works fine.

I can then reload it with xyz := AFiles ("name");

Ok. But just using AFiles () produce an empty list {} and not a
list of files as i would have expected.

Now the problem I'm having is that using

AFiles ("aname") where it doesnt exist produces a system error
which breaks the code.
There seems to be no way to determine if
a stored object exists.

Do i really gave to use an error trap just to determine the
existence of a stored object ?

I work with android Prime only for now on my
Galaxy Tab Pro/Note 2
Find all posts by this user
Quote this message in a reply
10-23-2015, 04:54 AM
Post: #2
RE: AFiles problem
Bonjour

AFiles() retourne bien la liste des variables crées avec AFiles("nom"),
mais AFiles est liée à l'application active.
Si vous changez d'application, il faut utiliser Application.AFiles()
Espérant vous avoir aidé.

Hello

Afiles () returns the list of well variables created with Afiles ( "name") ,
Afiles but is related to the active application.
If you change your application, you must use Application.AFiles ()
Hoping you have helped.

Sorry for my english
Find all posts by this user
Quote this message in a reply
10-23-2015, 11:31 AM
Post: #3
RE: AFiles problem
Yet another bug in android prime.

I work with android Prime only for now on my
Galaxy Tab Pro/Note 2
Find all posts by this user
Quote this message in a reply
10-23-2015, 05:22 PM
Post: #4
RE: AFiles problem
I've passed it along...

TW

Although I work for HP, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 2 Guest(s)