Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel OLE Automation Server
Message
 
À
13/12/1999 12:47:27
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00302601
Message ID:
00302933
Vues:
35
Hi Ken,

I would code it as:
If this
  X = this
else
  X = that
endif
return X

OR

Return iif(this, this, that)
I don't recall ever running into a situation that couldn't be coded with a single return at the end of the code.

>oops - hit send to quick - that should have read:
>
>I agree in general - I do not like imbedded Returns and only use them on very small library procedures a la ...
>
>If this
> return this
>else
> return that
>endif
>
>
kenweber
GCom2 Solutions
Microsoft Certified Professional

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform