jaja-oliveira
13 years agoOccasional Contributor
Special condition in the Uses statement
Hi,
I have two script units with the exactly same procedures and parameters, but with diferent implementation for each ones. I'd like to choose wich one I'm going to use in my main script, for example:
if project.variables.Option = '1' then
uses Unit1
else
uses Unit2
Is there any way to do something like this? Can I set by programming wich unit I'm gonna use on the Uses reference?
Thank's a lot
I have two script units with the exactly same procedures and parameters, but with diferent implementation for each ones. I'd like to choose wich one I'm going to use in my main script, for example:
if project.variables.Option = '1' then
uses Unit1
else
uses Unit2
Is there any way to do something like this? Can I set by programming wich unit I'm gonna use on the Uses reference?
Thank's a lot