Forum Discussion
wilkinc
14 years agoOccasional Contributor
Hi Jared,
Thanks for your reply, here is my setup:
TestCases.svb
'USEUNIT TestCaseTools
blnReturn = alterOrder( x, y, z )
TestCaseTools.svb
'USEUNIT AlterOrder
function alterOrder( x, y, z )
The unit containing the function call to alterOrder has no reference to the AlterOrder unit. The unit containing the function definition has a reference to the unit with the same name.
This setup is exactly the same in both the project suite which gives the error and the suites in which the function call succeeds. We also have a unit which is called PlaceOrder and a function called placeOrder which can be called successfully (with the same setup of USEUNITs) from all project suites.
I've made the change to the offending project suite to call TestCaseTools.alterOrder() (and this works), but I'd really like to understand the problem a bit better, especially why this same setup works fine in other project suites.
Thanks
Chris
Thanks for your reply, here is my setup:
TestCases.svb
'USEUNIT TestCaseTools
blnReturn = alterOrder( x, y, z )
TestCaseTools.svb
'USEUNIT AlterOrder
function alterOrder( x, y, z )
The unit containing the function call to alterOrder has no reference to the AlterOrder unit. The unit containing the function definition has a reference to the unit with the same name.
This setup is exactly the same in both the project suite which gives the error and the suites in which the function call succeeds. We also have a unit which is called PlaceOrder and a function called placeOrder which can be called successfully (with the same setup of USEUNITs) from all project suites.
I've made the change to the offending project suite to call TestCaseTools.alterOrder() (and this works), but I'd really like to understand the problem a bit better, especially why this same setup works fine in other project suites.
Thanks
Chris
Related Content
- 7 years ago
- 4 years ago
- 7 years ago
Recent Discussions
- 2 hours ago