Message
Mon, 27 Oct 2003 12:35:39
From:
Philippe Ganter
Subject:
[ASG] Use of XX_Register commands/Commandes XX_Register
To:
Plugs FAQ
Click here for English version
Version
française
`Exemple pour AreaList Pro:
C_ENTIER LONG
($result)
Au cas ou
: ((
Type application
=
4D Client
) | (
Type application
=
4D Server
)) `Serveur -> déploiement/développement
$result:=
AL_Register
("Serveur Windows";"Serveur MacOS")
: (
Application compilee
) `Runtime, engine ou 4D compilé -> déploiement runtime
$result:=
AL_Register
("Runtime Windows";"Runtime MacOS")
Sinon
`interprété -> développement monoposte
$result:=
AL_Register
("Dev Windows";"Dev MacOS")
Fin de cas
Si
($result#1)
ALERTE
("Installation AreaList Pro infructueuse: "+
Chaine
($result))
Fin de si
NB:
si vous ne possédez pas les codes pour les deux plateformes, passez une chaîne vide pour la plateforme manquante.
English version
`Example for AreaList Pro
C_LONGINT
($result)
Case of
: ((
Application type
=
4D Client
) | (
Application type
=
4D Server
)) `Server -> deployment/development
$result:=
AL_Register
("Server Windows";"Server MacOS")
: (
Compiled application
) `Runtime, engine or 4D, compiled -> deployment runtime
$result:=
AL_Register
("Runtime Windows";"Runtime MacOS")
Else
`interpreted -> standalone development
$result:=
AL_Register
("Dev Windows";"Dev MacOS")
End case
If
($result#1) ` error
ALERT
("AreaList Pro could not be registered: "+
String
($result))
End if
NB:
if you haven't serials for both platforms, type an empty string ("") for the missing platform.