Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's the secret meaning of this piece of code?
Message
From
02/08/1997 13:08:19
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordan
 
 
To
02/08/1997 12:47:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00042899
Message ID:
00042903
Views:
45
>Recently, I had to optimize/debug/verify/etc an old project written in FP 2.6.
>
>At the begining of the main program I found the following code that doesn't make any sense to me. (I also asked other FoxPro programmers from our team, but no answer was found.):
>
>parameter Cmd_Param
>
>
if type("Cmd_Param") = "C"
>   TempVar = Cmd_Param
>   release Cmd_Param
>   private Cmd_Param
>   Cmd_Param = TempVar
>endif
>
>I can't find any reason to have this piece of code in the program since, IMO, it does nothing. Am I missing something? Is there something subtle/secret/etc and I don't see it?
>
>Vlad

Afterwards in the program, Is it checking the value of cmd_param ??
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform