Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
??? chr(123)
Message
De
28/01/2001 10:12:46
 
 
À
28/01/2001 10:00:26
Pierre Richard
Méthotech Canada Limitée
Kirkland, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00469489
Message ID:
00469505
Vues:
8
>You have an extra ?
>
>it should read:
>? chr(123)
>OR
>?? chr(123)
>
>Pierre Richard

??? is a valid command - it sends a string directly to the current print device bypassing the GDI layer (if there's currently a connection to that print device via the GDI, that connection is terminated, releasing the spool entry, and a new spool entry is started.)

It does not have to be the first character of the string, either:

??? ' ' && OK
??? ' { ' && Syntax error

It's a problem apparently tied to exactly that character; sending any string with '{' via ??? generates a syntax error, and I have no clue why. I'd theorize it had something to do with the keyboard macro translation facility, but that's at most a guess.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform