version variable

delphi package - automated exception handling
Post Reply
rassie
Posts: 13
Joined: Tue May 24, 2005 10:13 am

version variable

Post by rassie »

I am having problems getting the version variable to work. The documentation says "just enter the name of your version variable in the form "unit.var". This variable *MUST* be a string variable or a string typed constant."
I have written the following:

Code: Select all

const
  version : String = '1.3.0';
and entered version as the unit.var value in the MadExcept settings.
But when I compile I always have a message from MadExcept saying "[madExcept] The specified version variable was not found!"

How should I define my version variable for madExcept to find it?
madshi
Site Admin
Posts: 10754
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

What exactly did you enter in the "unit.var value" setting?
rassie
Posts: 13
Joined: Tue May 24, 2005 10:13 am

Post by rassie »

I enter the name of the constant, ie. 'version'.
madshi
Site Admin
Posts: 10754
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

You have to add the name of the unit, too... :D

That's why it's "unit.var". You have to enter the name of the unit first, then a dot, then the name of the variable.
rassie
Posts: 13
Joined: Tue May 24, 2005 10:13 am

Post by rassie »

Yes of course that was it.
Thank you very much.
Post Reply