Post Reply 
Save or delete app in app library?
10-04-2015, 11:13 AM (This post was last modified: 10-04-2015 11:14 AM by DrD.)
Post: #1
Save or delete app in app library?
In general, how can an app be saved or deleted programmatically, if possible?

Specifically, I want to delete a saved (named) spreadsheet, if it exists at run time, and then create (save) a new named spreadsheet, via the program.

Thanks!

-Dale-
Find all posts by this user
Quote this message in a reply
10-04-2015, 01:49 PM (This post was last modified: 10-04-2015 01:51 PM by Tyann.)
Post: #2
RE: Save or delete app in app library?
bonjour
sujet intéressant.
Il faudrait une variable de type liste (AAppli par exemple) qui contienne les nom des applications créées.
On pourrait écrire :

AAppli("nom"):=type d'application

type serait un nombre entier:
0=function
1=tableur
etc...
et aussi :
DelAApli("nom")
Qu'en pensez-vous ?

Hello
interesting topic.
There should be a list variable ( AAppli for example) that contains the names of the applications created .
One could write :

AAppli ( "name" ) = type of application

an integer type would be :
0 = function
1 = spreadsheet
etc ...
and also :
DelAApli ( "name")
What do you think ?

Sorry for my english
Find all posts by this user
Quote this message in a reply
10-04-2015, 03:02 PM
Post: #3
RE: Save or delete app in app library?
Well, as long as we are being inventive, why not use arguments for the existing STARTAPP() function?:

STARTAPP("Your name", [n]);

Where the optional [n] might be:

[0] Deletes app named "Your name"
[1] Clears contents of app named "Your name"
[2] Creates a new app named "Your name"

No optional argument would just make STARTAPP("Your name") the current app.

Perhaps, these suggestions will serve as inspiration for those so empowered.

-Dale-
Find all posts by this user
Quote this message in a reply
10-04-2015, 03:47 PM
Post: #4
RE: Save or delete app in app library?
Espérons le.
Ce qui serait utile aussi, c'est de savoir quelle est l'application active.
Mais nous pouvons le faire nous même.
Il suffit que chaque utilisateur créant une application écrive :
Avars("Active"):="nom de l'application"


Let's hope so.
What would be helpful is to know which is the active application.
But we can do it ourselves.
Just as each user creating an application writes :
Avars ( "Active" ):= " application name "

Sorry for my english
Find all posts by this user
Quote this message in a reply
10-05-2015, 07:07 AM
Post: #5
RE: Save or delete app in app library?
Hello,

Actually, even simpler, each app should have a program variable that is EXPORT CurrentApp="text".
so there is no need to create App variables.

Cyrille

Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP.
Find all posts by this user
Quote this message in a reply
10-05-2015, 07:54 AM
Post: #6
RE: Save or delete app in app library?
Bonjour Cyrille

Merci de vôtre réponse.
Cette variable ne pourrait-elle pas être intégrée au système au même titre
que AFormat, AAngle etc...
et se mettre à jour quand l'utilisateur copie une application ?

Exemple :
Function.ACurrent -> "FUNCTION"
et ainsi avoir une variable de réfèrence identique pour tout le monde.

Hello Cyrille

Thank you for your response.
This variable could it not be integrated into the system in the same way
that AFormat , AAngle etc ...
and update when the user copies an application?

example:
Function.ACurrent -> "FUNCTION"
and have the same reference variable for everyone .

Sorry for my english
Find all posts by this user
Quote this message in a reply
Post Reply 




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