Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EVALUATE limit
Message
From
03/02/1997 23:35:42
 
 
To
03/02/1997 10:15:13
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00019127
Message ID:
00019195
Views:
31
>For my translation, when the memo field is beginning with ' or ", I am processing an EVALUATE of the content. I just discovered that the EVALUATE can't process more than 256 characters. One of my memo field is having about 2000 characters. What solution can I take to solve this problem?

I never had this problem. I retested now and it seems you're almost right. You can have as many characters as you want with one condition: no char string (text between quotes or duoble quotes) is longer than 255.

E.g.:

repl test with '"'+repl("*",255)+'"+"'+repl("*",255)+'"'
?eval(test)

works fine.

But:

repl test with '"'+repl("*",256)+'"+"'+repl("*",256)+'"'
?eval(test)

gives an error.


This is weird. Does it worth it to break your string every 255 chars?

Vlad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform