Post Reply 
current app?
01-15-2017, 01:39 PM
Post: #6
RE: current app?
Voici un programme qui pourrait être utile pour plusieurs
AVars à réinitialiser.

Here is a program that could be useful for several
AVars to reset.
Code:
EXPORT APPINIT()
BEGIN
 LOCAL listap:={},v:="Active";
 LOCAL i,r,c;
 FOR i FROM 252 TO 256 DO
  listap(0):=STRINGFROMID(i);
 END;
 FOR i FROM 407 TO 417 DO
  listap(0):=STRINGFROMID(i);
 END;
 listap(0):=STRINGFROMID(1446);
 listap(0):=STRINGFROMID(1734);
 r:=CHOOSE(c,"APPLINIT",listap);
 IF r THEN
  EXPR(listap(c)+".AVars("+STRING(v)+"):="+STRING(listap(c)));
 END;
END;
STRINGFROMID devrait permettre de fonctionner dans tous les langages.
On peut réinistialiser une application depuis une autre, il est surement possible d'en faire
une version utilisable en sous-programme.
Qu'en pensez-vous ?

STRINGFROMID should make it possible to work in all languages.
One can reinitialize one application from another, it is surely possible to make one
A version that can be used as a subroutine.
What do you think ?

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


Messages In This Thread
current app? - DrD - 01-14-2017, 05:25 PM
RE: current app? - toshk - 01-14-2017, 06:43 PM
RE: current app? - Tyann - 01-15-2017, 08:33 AM
RE: current app? - DrD - 01-15-2017, 10:08 AM
RE: current app? - Tyann - 01-15-2017, 11:42 AM
RE: current app? - Tyann - 01-15-2017 01:39 PM
RE: current app? - DrD - 01-15-2017, 02:05 PM
RE: current app? - Han - 01-15-2017, 10:23 PM



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