Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Ini vs Registry
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00664057
Message ID:
00664234
Vues:
20
This message has been marked as a message which has helped to the initial question of the thread.
Mike,

Another way of doing the same thing would be:
nHandle = fCreate (AddBS (gStartDir) + gIniFileName)

          fPutS  (nHandle, "[" + gIniSecName + "]"                                                             )
          fPutS  (nHandle, " "                                                                                 )
          fPutS  (nHandle, "Login         = " + IIf   (           gTipoLogin     = "A", "Automatico", "Manual"))
          fPutS  (nHandle, "CargaArquivos = " + IIf   (           gCargaArquivos = "A", "Automatica", "Manual"))
          fPutS  (nHandle, "ItensNoPedido = " + lTrim (Transform (gItensNoPedido, "999999"))                   )
          fPutS  (nHandle, "AGCOnetDir    = " +                   gAGCOnetDir                                  )
          fPutS  (nHandle, "EnviaDir      = " +                   gEnviaDir                                    )
          fPutS  (nHandle, "RecebeDir     = " +                   gRecebeDir                                   )
          fPutS  (nHandle, "AprovaDir     = " +                   gAprovaDir                                   )
          fPutS  (nHandle, "Comunica      = " +                   gStartDir      + "Comunica.Exe"              )

          fClose (nHandle)
Fernando
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform