Tetram
(Thierry Ruffier Lanche)
June 8, 2020, 3:27pm
1
Elements: 10.0.0.2513
VS: 2019 Community
The code I’m trying to compile with Oxygene uses a library which itself uses the keyword “label” (the alglib
not to name it).
As I’m not confident enough to “fix” the alglib code, I was wondering if you had plan to support the “label” keyword with the Delphi Compatibility Mode?
Tetram
(Thierry Ruffier Lanche)
June 8, 2020, 3:40pm
2
My apologies, I just found even if the “label” keyword is not supported, the concept is.
I just have to use some IFDEFs to “fix” the alglib code.
1 Like
ck
(Carlo Kok)
June 8, 2020, 5:26pm
3
Can you show a code fragment?
Tetram
(Thierry Ruffier Lanche)
June 9, 2020, 9:20am
4
Of course, here it is.
procedure test;
label // keyword not recognized
lbl_1, lbl_2;
begin
lbl_1: // ";" expected here
goto lbl_2;
lbl_2: // ";" expected here
exit;
end;
This basic snippet raise 3 errors:
the keyword “label” is not recognized
Oxygene seems to be waiting for a semi-colon after “lbl_1:” and “lbl_2:”
ck
(Carlo Kok)
June 10, 2020, 5:32am
5
Thanks. I’ll see what I can do. Elements doesn’t need the label syntax to do labels (just a: ; goto a).I’ll look into allowing it in compat mode.
Thanks, logged as bugs://84468
bugs://84468 got closed with status fixed.