Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET PRINTER TO test.txt ADDITIVE not working
Message
De
14/03/2002 16:02:03
 
 
À
14/03/2002 15:39:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00632928
Message ID:
00633032
Vues:
18
I seemed to remember that @...SAYs get lost/confused if you change/reset the SET PRINTER... in a way I'm surprised it worked in FPD. Why do you need to do this?

Also BTW it's good programming practice to reverse the order of SETs etc. when restoring settings:
*The below should be the first two lines of test.txt
set PRINTER TO test.txt
set DEVICE TO printer
set print on
? 'this is test1.'
? 'this is the 2nd line from the first printing.'
*set DEVICE TO screen
*set PRINTER to
*set print off
* Better:
set print off
set DEVICE TO screen
set PRINTER to
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform