Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't use & macros or Evaluate with more then 255 chara
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00550486
Message ID:
00550501
Views:
24
The limit of 255 characters is only applcable to a string literal. The string has limit of 16,777,184 characters. The maximum # of characters per macro substituted line 8,192. As you can see you didn't reach any of those limits. What error do you get?


>Hi all
>
>In my app user can build variable with the name of fields in it
>like this
>Nombre de jours = "date()-facture.fdate"
>Escompte ind = "facture.vent * facture.esc + facture.escfix "
>Prix moins esc Ind =" facture.vent - 'Escompte Ind' + 'Nombre de jour' "
>
>Like you see they can build variable with other variable in it.
>I have made a function for the translation of the variable and i put the resulte in a variable call lstring
>
>Ex .:
>'Prix moins esc Ind'
>lstring = " facture.vent - (facture.vent * facture.esc + facture.escfix) + date()-facture.fdate "
>But in many case the limite of 255 characteres is exceed and the & or evaluate won't works
>How can i get the resulte of the lstring variable
>
>Any Tips ?
>
>Benoit
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform