T O P I C R E V I E W |
mikewinifred |
Posted - 10/02/2014 : 3:06:30 PM Hi all,
I created a project level constant (const myConst = 1.234;) in the AfterOpenDoc section of ProjectsEvents.OGS file, per documentation, however, I am not able to use the constant in a workbook column operations. For eg: (myConst * Col(A)) doesn't work, how to use these constants in workbook columns? Appreciate any help. Thanks.
Mike. |
2 L A T E S T R E P L I E S (Newest First) |
mikewinifred |
Posted - 10/02/2014 : 4:50:11 PM Worked ! Thanks.
Mike |
greg |
Posted - 10/02/2014 : 4:29:14 PM The AfterOpenDoc code runs in its own scope. If you need to define variables here you should wrap then thus: @global = 1; // Make declarations global in scope const myConst = 1.234; @global = 0; // Restore normal |
|
|