Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Redirect question mark displays to file
Message
 
 
À
27/08/2007 17:34:56
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01250737
Message ID:
01250800
Vues:
26
>>>Just can't remember how to do this. Set printer? Can't find the right clauses to work though.
>>>
>>>
>>>? "Send this to the 1st line of a file."
>>>? "Send this to the 2nd line of a file."
>>>
>>
>>I didn't try, but AFAIK this would also work
>>
>>??? "First line"
>>??? "second line"
>
>Is that to a file or to the printer?

To the printer. ??? sends a string to the printer. That's why an easy way to print a text file is to use

??? filetostr('myFile.txt')

for your original question you may also check SET DEVICE and SET ALTERNATE commands in Help.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform