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.

Published by

lekkim

Positive, competent, out-spoken, frank and customer focused architect and developer with a strong foundation in web, cloud and product development. I'm a strong advocate for API first and cloud based solutions and development. I have a knack for being able to communicate and present technically complicated matters in conference, customer and training settings. I've previously acted as team member and leader in a product organisation.

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.