Wish [B4X Pages] Catch error when screen parameters are missing

GMan

Well-Known Member
Licensed User
Longtime User
Yesterday i made s stupid error when compiling.

The following error message appears:
B4X:
B4J Version: 8.90
Parse den Code.    (0.42s)
    Java Version: 8
Building folders structure.    (0.06s)
Führe individuellen Aktion aus.    (0.28s)
Kompiliere den Code.    (0.28s)
Kompiliere Layoutcode.    (0.07s)
Organisiere Libraries.    (0.00s)
Kompiliere generierten Java Code.    Error
javac 1.8.0_66
src\b4j\example\main.java:36: error: illegal start of expression
            frm.initWithStage(ba, stage, 1240, );
                                               ^
1 error

I was surprised because (IMO) i just changed the name of a simple label.
BUT: somehow i deleted the Height parameter of the form without knowing:
B4X:
#Region Project Attributes
    #MainFormWidth: 1240
    #MainFormHeight:
#End Region

AFTER posting a question here i looked at the error message more carefully.

Its self explaning, so i could find the mistake.
Of course this is right:

B4X:
#Region Project Attributes
    #MainFormWidth: 1240
    #MainFormHeight: 740
#End Region

@Sandman meant this could be a (catchable) issue in the IDE.

So, here my Wish to catch this error inner the IDE.
 
Top