Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
You execute one of your scripts and see an error message like this: 
 
!worddavaf485e25f57cd86bb5b0fc63f3f1b1cc.png|height=32,width=32!
 
What does this error mean?
Your script has a structural defect that prevents any attempt to execute it. For example, put this code:
if (1 == 2)
\{  
into a script and fail to add the required closing \}. The RAMP editor will warn you about the missing \}, but ignore the warning and go ahead and execute the script anyway. This will cause a 80020101 error because the script has a missing \}. 
The missing \} means the whole script does not make any sense at all. 
Similarly, this code causes an error because of the double closing square brackets:
SETVALUE("utxtBankAccountID",objListManager.AKey3\[0\]\])
Solution
Look for "unbalanced" things in your script such as:
  • An ( without a closing/matching )
  • An { without a closing/matching }
  • Wiki Markup
    An \[ without a closing/matching \]
  • A " or ' without a closing/match " or ' (an un-terminated string constant). 
  • An /* without a closing/matching */ (an un-terminated comment)

Other JavaScript constructs that are structurally incorrect.