Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
10 numbers
Message
De
09/09/2008 05:10:07
Lutz Scheffler (En ligne)
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
09/09/2008 05:05:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01345962
Message ID:
01345991
Vues:
12
I like code obfuscation.
Even better (since we did'nt know he has field no)
#DEFINE SCAN IF
#DEFINE FOR
#DEFINE ENDSCAN ENDIF
#DEFINE REPLACE 
#DEFINE WITH =

CREATE CURSOR murks (id_no c(10))

APPEND BLANK


SCAN FOR LEN(ALLTRIM(id_no))==10 AND CHRTRAN(ALLTRIM(id_no),"1234567890","")==""
 REPLACE no WITH 111
ELSE &&error
 REPLACE no WITH 1
ENDSCAN
LOCATE

?no
(^.^)
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform