B4J Question B4J language i different from B4A - Do Until False get error on B4J ?

amorosik

Expert
Licensed User
Do Until Procedure:
Do Until False
    Log(DateTime.Now  & "  Hello world!!!")
    Loop

The above code run correctly on B4A
Not run on B4J, the error is

B4X:
B4J Versione: 8.50
Java Versione: 8
Analisi del Codice.    (0.00s)
Building folders structure.    (0.01s)
Compilazione del codice.    (0.00s)
Compilazione del codice di layouts    (0.00s)
Organizzazione Librerie.    (0.00s)
Compilazione del codice Java prodotto.    Error
B4J line: 13
Log(\
javac 1.8.0_241
src\b4j\example\main.java:64: error: unreachable statement
;
^
1 error

Line 13 is the Log(DateTime.Now & " Hello world!!!")
Where is the error?
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0
Top