Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange behavior with preprocessors
Message
De
04/08/2006 11:09:11
 
 
À
03/08/2006 18:36:45
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01142822
Message ID:
01142989
Vues:
8
>>Hi all,
>>
>>If you attempt to compile the following code, you will receive a "Syntax Error" error message when the LPARAMETER line is hit.
>>
>>
>>#DEFINE kByRef
>>#DEFINE kOptional
>>#DEFINE kInput
>>#DEFINE kOutput
>>
>>lParameter kByRef kOptional myVar
>>
>>
>>For some strange reason two (or more) preprocessor can not be used on the same line when they are declare to nothing. if you remove one of the from the lParameter the line compile as normal.
>>
>>Does anyone have any idea why does not tranlate to "LParameter myVar" and compile?
>
>Look at message #1123796 and the rest of the thread.

Thanks.

Interesting thread.

Fabio's point about the white spaces between constants is in fact a bug. If I place the second constant after a true clause (variable) the error does not occur.
Greg Reichert
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform