Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Macro substitution error (maximum statement length?)
Message
De
05/10/1999 04:58:45
Wim Dieke
Tranquility Bv
Almere, Pays-Bas
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Macro substitution error (maximum statement length?)
Divers
Thread ID:
00272599
Message ID:
00272599
Vues:
92
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform