Small company logo:
   History
 
Advertising banner:
 
 [ASG] Use of XX_Register commands/CommandPostmark
Home • main site • faq_plug-ins • [ASG] Use of XX_Register commands/Command
 
From:Friday, November 21, 2008 7:29 PM +0100
Subject:[ASG] Use of XX_Register commands/Command 
To:



60504_171438_0.pngVersion 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.




60504_174213_0.png 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.