Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Raw printing chokes on {
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8
Divers
Thread ID:
01573725
Message ID:
01581463
Vues:
100
>>Recently a customer discovered that if any of the text being sent out includes the opening curly brace { then I get a syntax error. Try this command:
>>??? "{"
>
>A curly brace starts a control code. Sending "{27}{15}" has the same result as sending CHR(27)+CHR(15), but it is easier for a user to enter in a configuration dialog. To print a single curly brace you can use "{123}" instead. You get a syntax error, because VFP is trying to read everything following the open brace as a number.

We cannot get this to work.

When we try
m1 = STRTRAN(m1, '{',  '{{}')
We eliminate the SYNTAX ERROR, but the Bar Code printed from m1 is not correct... it has a clear space on the left side of the Bar Code.

Any ideas??
Tommy Tillman A+ NetWork+ MCP
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform