Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Puzzling error
Message
 
 
To
04/01/2015 08:46:13
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01612975
Message ID:
01613020
Views:
61
>>I eventually came up to the conclusion that I should have made right from the start that I was not looking at the correct version of the code. Turned out that my code was different than the one saved in Source of Safe. The code was quite strange, though.
>>
>>The original code used parameter tnSigId and the new version of code had lparameters (tcSigId). The original version of code used that parameter and the new one didn't need the parameter at all (it was left just to make sure that no code would break).
>>
>>Please note the () and the letter change (from tn to tc). This is quite strange - why would developer introduce change like that, do you know?
>
>In Visual FoxPro, I see no reason to use parentheses for parameters - after a "parameters" or "lparameters" statement, I mean. Perhaps somebody thought (erroneously) that they were needed, since they are part of the syntax in many languages.
>
>The change from "tn" to "tc" probably reflects a belief that the parameter will always, or usually, be of type character.

The SigId is an integer value.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform