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?

Av: Simen Mostuen Iversen 5. maj 2020

RE: CRMScript reserved words


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

Av: Michel Krohn-Dale 5. maj 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.


Av: Sverre Hjelm 5. maj 2020

RE: CRMScript reserved words

Thanks, Michel and Sverre!

Av: Bergfrid Skaara Dias 5. maj 2020