Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro substitution error (maximum statement length?)
Message
From
05/10/1999 04:58:45
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Macro substitution error (maximum statement length?)
Miscellaneous
Thread ID:
00272599
Message ID:
00272599
Views:
93
Hello All,

I've got a problem with the macro (&) substitution. I've got a table with error messages that call some program functions. These error messages are executed with a macro like:

lcMacro = table.errorcommand
lctext = &lcMacro
messagebox(lctext)

Where table.errorcommand is a memo field.

The problem is that with long error messages (>255 chars) this will not work anymore. I've seen a reference in the manual that sais "The string in the macro command cannot exceed the maximum statement length. BUT there is no actual number on how long the maximum statement length is.

So my question is: Does anyone know what the max. statement length is and also some suggestions on how to solve this problem would be much appriciated.

TIA,

Wim Dieke
---
Life is like a box of chocolates
Next
Reply
Map
View

Click here to load this message in the networking platform