Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
This did it! The program() function was just giving me the control, whereas sys(16) is giving me the control AND the program name.
Thank you!
>Hi John,
>
>Have you tested this one?
>
>SYS(16) is similar to PROGRAM( ) except that SYS(16) returns a path with the program name. When the executing program is part of an application (.app), SYS(16) returns only the name of the program, that is, without the path. SYS(16) returns the name of the executable file if called from an executable (.exe) file; whereas PROGRAM( ) returns just the program name. If a procedure or function is being executed, SYS(16) returns the name of the file containing the procedure or function after the procedure or function name.
>
>Regards,
>
>Oscar Zarate.
>National Australian Bank.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement