Information générale
Catégorie:
Codage, syntaxe et commandes
>>Yes, so that clears it.. Pls read the code carefully...
>>
>>>>>parameter Cmd_Param
>>>>>
>>>>>if type("Cmd_Param") = "C"
>>
>>here it is checking any char. parameter passed it to it
>>>>> TempVar = Cmd_Param
>>
>>Preserving the value in a temporary variable..
>>
>>>>> release Cmd_Param
>>Relasing the Original Variable
>>>>> private Cmd_Param
>>& again declaring it..
>>>>> Cmd_Param = TempVar
>>>>>endif
>>>
>>& finally assigning the passed parameter which was saved in a temporarily variable..
>Vinod,
>
>Which is, in fact, a waste of cpu cycles since PARAMETERS are private by default.
In the same time, I'm sure nobody can complain of this big waste since nobody can notice it... :) Just joking!
Vlad
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement