scope of constants declared in unit

Discuss about beta versions of mikroPascal compiler.
Post Reply
Author
Message
jpc
Posts: 1986
Joined: 22 Apr 2005 17:40
Location: France 87

scope of constants declared in unit

#1 Post by jpc » 21 Nov 2007 21:43

accidentially i had declared some cxonstants in a unit which , when i used the unit could be used as parameter. This actually surprised me as the constant-declaration was inside the implementation section of the unit.
Nothing new finally but still i think this is wrong, also makes it impossible to have (local) constants with already existing names, results only in 0:0 E-0 Linker error: Redefined: master irq_485.ppas. should be repaired i think.

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

Re: scope of constants declared in unit

#2 Post by zristic » 22 Nov 2007 09:52

Hmmm, it will be fully working once we release a command line version of the compiler, which is at the moment under final construction.

piort
Posts: 1379
Joined: 28 Dec 2005 16:42
Location: Laval,Québec,Canada,Earth... :-)
Contact:

Re: scope of constants declared in unit

#3 Post by piort » 22 Nov 2007 11:24

zristic wrote:command line version of the compiler, which is at the moment under final construction.
That is good new... i dream about a command line version ;-)

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

Re: scope of constants declared in unit

#4 Post by zristic » 22 Nov 2007 15:36

piort wrote: i dream about a command line version
Wake up, wake up :!:

Post Reply

Return to “mikroPascal Beta testing”