Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro Expansion Inconsistent
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00902380
Message ID:
00902395
Views:
16
You've to to get rid of trailing spaces
cTafel = ALLTRIM(cSterfteTafel) + "lx"
>Hello Sergey,
>
>Thank you for answering, no I don't have cTafellx as field name but gbm6165lx.
>
>The problem now is that I get a syntax error message, I don't think hat the problem lies in in the evaluate command, but in other syntax :
>
>cSterftetafel = "gbm6165" && is inputparameter
>
>cTafel = cSterfteTafel + "lx"
>
>? cTafel, prints to output screen : gbm6165 lx
>? alltrim(cTafel), prints to output screen: gbm6165 lx
>
>I don't understand the spaces between gbm6165 and lx, this causes the error I think. Do you understand why?. How could I remove the speace between "gbm6165" and "lx"
>
>Moreover, if you don't mind could you explain me the differences between eval() and &, and how to choose between the two.
>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform