BROKER_PARSER_ELSE_STATEMENT_FOUND(-297)

  • 7940311
  • 19-Aug-2009
  • 26-Apr-2012

Environment

SecureLogin SSO

Situation

BROKER_PARSER_ELSE_STATEMENT_FOUND(-297) Error parsing line <x> of Application Definition 
Broker 297 Error

Resolution

The application definition is not complete. It includes an Else statement without the If.

Dialog Class ""ThunderRT6FormDC""
Title ""LOGIN""
EndDialog

Else MessageBox "Hello World"
EndScript
EndIf

Include the If with the EndIf as per the following:

Dialog Class ""ThunderRT6FormDC""
Title ""LOGIN""
EndDialog

Gettext ?text
If "Howdy" -in ?text
MessageBox "Hello to you too"
Else
MessageBox "Hello World"
EndScript
EndIf