Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Puzzling error
Message
From
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:
01613010
Views:
50
>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.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform