Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pseudo-Commands
Message
De
29/09/1997 15:23:10
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00051565
Message ID:
00052251
Vues:
45
>Barbara, I had checked help for #DEFINE before my posting (after pulling >out my old Clipper book to remind me how I used to do it), but it didn't >seem to allow for pseudo-commands. A second read a few minutes ago seems >to tell me it might work. I think tomorrow I'll put one in "clipper style" >and see what happens. > >Thanks, The fox help was never too clear on the subject, so one got an impression you could #define constants only. But then, it just goes substituting without paying much attention to what it substitutes, so you can substitute anything, just provided it's not somewhere in mid word, i.e. you can have your word replacing a group of words or any expression. I remember I've had a thing like #define cram =Fwrite(FileHandle, chr(13)+chr(10)+ Later in the source it read Cram "A row of text") Cram "...and more text") Seemed funny with unbalanced parentheses, but saved me a lot of typing.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform