Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Syntax error on variable type defn's within arguments
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00857701
Message ID:
00857867
Vues:
28
My intelisense does not provide a "logical" as choice. Maybe try boolean.

>Hi all
>
>I get a syntax error when executing the .app that does not appear when the .prg is compiled. Also runs fine when running it in vfp. What the .app does not like is a variable type assigned to a parameter within an argument of a procedure header. See below, "as logical" or any other variable type for that matter generates a syntax error, but only when executed. I did check the display errors option when generating the .app.
>
>If I take out the "as logical", no errors. Any ideas on how to fix this, or do I just have to strip the variable type out of all my paragraph headers?
>
>Offending code:
>PROCEDURE changeEnabledOnCmdBtnsInDataClass(condition as logical)
>
>Thanks in advance
Mark S. Swiencki
EPS Software www.eps-software.com
mark@eps-software.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform