function's "compile" flag

Raz A.
Haifa,

Aug 10, 2016
82 Posts

0  |  0  

Re: function's "compile" flag

I understand that you should check the compile flag if you want it to be added to the compilation and .exe .

What i dont  understand is why should i use that flag if i am not refferencing the function?

Can someone give an example which i need to set the compile flag  of a function even that the function is not referenced?

Solution Available
Raz A.
Haifa,

Aug 10, 2016
82 Posts

1  |  0  

Re: function's "compile" flag

Actually you already answered me in another thread....:

s="func"
Proc=s
Proc()

You will get a run -time error since at compile time proc=s does not know that s contain "Proc".

so in this example ill need to check the compile flag of func().....

Raz A.
Haifa,

Aug 11, 2016
82 Posts

0  |  0  

Re: function's "compile" flag



Please Note
You need to have a M@GIC account to participate in the Forums.
Not yet registered on our website? Click here to register today!

All content, information and opinions presented on the Marvin Test Solutions User Forums are those of the authors of the posts and messages and not Marvin Test Solutions'. All attachments and files are downloaded at your own risk. [Read More]