Learning something new every day – a reserved LotusScript comment

As described previously I have been looking into supporting Domino 7 web services written in LotusScript in LotusScript.doc. The code for web services is not accessible using DXL. Torber Bang helped me out by providing some C API code that will return the code as a string. The returned code looks like the code you get if you try to access the code directly from the NotesDocument objects using the LotusScript API.

Looking at the returned code it would seem that the comment staring with “++” has to be a reserved comment since it is used to separate event blocks in LotusScript. For fun I tried it in the Domino Designer and just as I thought – the agent would not save.

'++LotusScript Development Environment

How’s that for a certification question?

Give an example of an illegal comment in LotusScript.

One thought on “Learning something new every day – a reserved LotusScript comment”

  1. Ahhh… but it’s not an illegal comment in LotusScript. It’s an illegal comemnt in the Domino Designer IDE. A comment like that will not cause an error if it occurs in a .LSS file.

Comments are closed.