Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data Typing parameters
Message
De
24/01/2018 09:02:43
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01657479
Message ID:
01657496
Vues:
60
>>Hello.....
>>
>>Just out of curiosity what is the difference between these two?
>>
>>FUNCTION ReturnSomething(MyParameter AS String)
>>.
>>.
>>.
>>.
>>ENDPROC
>>
>>
>>FUNCTION ReturnSomething()
>>LPARAMETER MyParameter
>>.
>>.
>>.
>>.
>>ENDPROC
>>
>>
>>Thanks in advance
>
>
>The second has one line of code more :-)
>No difference.

So, Why do some VFP coder use "....MyParameter AS String" or "....MyParameter AS Int "or"... MyParameter AS object"?
This doesn't make it a HARD TYPED member, does it?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform