Error when executing custom scripts


I would like to write a custom script to compare two dates but started first with just comparing two strings. I seem to be doing something fundamentally wrong and can’t get even simple scripts to execute. See the following sample:

Which is giving the following error:

Any idea what I am doing wrong? Ideally I would like “result” to be a boolean but just made it a string to make things simpler…which also failed unfortunately!

HI @Bonnero, the spelling is incorrect. It should be RString.of instead of Rstring.of.
The rest of the code seems correct.