Coming soon: Your brand new Help Center & Community! Get a sneak-peek here

CRMScript reserved words

Is there a complete list of reserved CRMScript keywords anywhere?

RE: CRMScript reserved words

Hi, could you please describe more what you're after?

Von: Simen Mostuen Iversen 5. Mai 2020

RE: CRMScript reserved words

Hi,

Unfortunately no complete list, but you can find some information in SDK documentation.

I see that documentation does not mention other reserved words: try, catch (In the catch block you can now access two strings: "error" and "errorLocation"), throw, Generic

Von: Michel Krohn-Dale 5. Mai 2020

RE: CRMScript reserved words

The grammar of CRMScript is in our source code, and should be pretty much up to date. It contains all reserved words. From the top of my head: "if", "else", "for", "while", "struct", "return", "throw", "catch".

Additionally, all existing types are also technically reserved words, as they cannot be redefined/used by you. They include "Void", "Integer", "Bool", "String", "Ticket", "User", etc. Lots of these.

And finally, all existing global functions, such as "getProgram", "setFromCgi" or "getCurrentDateTime", are also defined in the language and cannot be reused. Lots of these as well.

Sverre

Von: Sverre Hjelm 5. Mai 2020

RE: CRMScript reserved words

Thanks, Michel and Sverre!

Von: Bergfrid Skaara Dias 5. Mai 2020