Forum Discussion
YMinaev
14 years agoStaff
Hi,
Unit names have a higher priority than routine names. If you have a unit named 'AlterOrder' added to your project and call a function named 'AlterOrder' in a unit which contains a USEUNIT reference to the 'AlterOrder' unit (no matter whether this function is defined in the 'AlterOrder' unit or not), TC won't be able to call it due to identifier conflicts.
In this case, call your function by its full name. Also, you shouldn't get this error if you do not reference the 'AlterOrder' unit in the unit where the 'AlterOrder' function call resides.
Unit names have a higher priority than routine names. If you have a unit named 'AlterOrder' added to your project and call a function named 'AlterOrder' in a unit which contains a USEUNIT reference to the 'AlterOrder' unit (no matter whether this function is defined in the 'AlterOrder' unit or not), TC won't be able to call it due to identifier conflicts.
In this case, call your function by its full name. Also, you shouldn't get this error if you do not reference the 'AlterOrder' unit in the unit where the 'AlterOrder' function call resides.
Related Content
- 7 years ago
- 4 years ago
Recent Discussions
- 3 days ago
- 8 days ago
- 12 days ago