|Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread|
|Messages 1 to 3 of 3 total|
|Tue, Jan 21 2014 1:41 AM||Permanent Link|
This declaration fails with the error message:
[Error] Main.wbs (1095,4): Expected : but instead found Offset
Offset = 20;
Are constant declarations not allowed within a procedure?
|Tue, Jan 21 2014 9:47 AM||Permanent Link|
Good find - i'm seeing the same.
I know I've used constants before but checking back they were all at the
unit level (i.e. after implementation keyword ).
Also not seeing anything in help saying you can't have them at function
level so need Tim to comment
On 1/21/2014 1:41 AM, Uli Becker wrote:
> This declaration fails with the error message:
> [Error] Main.wbs (1095,4): Expected : but instead found Offset
> procedure TMainForm.MyProcedure;
> i: integer;
> Offset = 20;
> Are constant declarations not allowed within a procedure?
> Thanks Uli
|Tue, Jan 21 2014 2:50 PM||Permanent Link|
Tim Young [Elevate Software]
Elevate Software, Inc.
<< Are constant declarations not allowed within a procedure? >>