Got a problem you cannot solve? Try here.
-
christ23
- Posts: 82
- Joined: Mon Jan 16, 2012 4:51 am
Post
by christ23 »
Hello,
why is
not allowed inside an if/else/end block?
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Post
by FrancescoT »
Dear christ23,
I suppose because the GOTO statement requires to have access to Label declaration always and this behaviour prevents possible errors.
Only conditional compilation is allowed with label.
Regards
-
christ23
- Posts: 82
- Joined: Mon Jan 16, 2012 4:51 am
Post
by christ23 »
Dear Francesco,
what do you mean with
Only conditional compilation is allowed with label.
?
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Post
by FrancescoT »
Dear christ23,
I ment;
Code: Select all
[compiler if Variable MYCOMVAR Equals TRUE]
label: MyLabel
[compiler end]
Regards