Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Execute code in a memo field
Message
 
À
22/10/1997 08:49:00
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00055964
Message ID:
00055998
Vues:
45
>>>>Hi to all,
>>>>
>>>>I've to put some line of code in a memo field a execute this code in my form's method.
>>>>I've tried with macro substitution but if I've two or more lines of code I've a "Syntax error". Why ?
>>>>
>>>>I can't read line by line the memo because I can have a IF ELSE ENDIF statement, someone say me to copy this memo in a TEMP.PRG and DO TEMP.PRG but this is slow and my form have to do this operation several time in Init() or on a event.
>>>>
>>>>How can I execute my code in the memo ?
>>>>
>
>Using macro substitution from a memo field is like working from the command box: one line at a time.
>
>Try using IIF()

Thanks Matt,
you wrote ... is like working from the command box. Ok but if I highlight (by select) more than one line in the command box it executes all the selected lines, so I can execute a IF ELSE ENDIF statement.

Maybe it can be of help to find a solution ?
Renato Bertuol (EMail:renato.bertuol@elmec.it
Homepage:www.geocities.com/SiliconValley/Horizon/3216)
Elmec Informatica (URL www.elmec.it)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform