Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to check the return value of a method ?
Message
De
06/10/2005 05:18:23
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How to check the return value of a method ?
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01056649
Message ID:
01056649
Vues:
51
Hi,
If I convert a user define function into a Form METHOD.
for Example, if I want to convert the send_wilson_data() to a METHOD
how to check it's return value?
IF send_wilson_data() return .t., it will do the For..Loop.
	IF send_wilson_data()
	    FOR x = 1 TO nfaxcnt
		IF SUBSTR( afaxtable[x,1],3,1)='1'
		   delfile = "i:\wilson\fax\cfm\"+afaxtable[x,1]
		   DELETE FILE &delfile
		ENDIF 		
	    NEXT x
        ELSE
             QUIT
	ENDIF 
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform