Toggle debug LotusScript

This tip describes how to toggle LotusScript debug.

I use these two smart icons to easily toggle the "Debug LotusScript" action. It uses an environment variable called

"UserDebugMode". When I first start the Notes client, the first thing I do is click the "Set Debug LotusScript Off" smart icon just to make sure it's off.


"Set Debug LotusScript Off" Smart Icon
 - @Environment("UserDebugMode";"0")

"Toggle Debug LotusScript" Smart Icon - 
@Command([DebugLotusScript]);
@If(@Environment("UserDebugMode") = "0";
@Do(
@Environment("UserDebugMode";"1");
@Prompt([OK];"Debug ON";"Debug
 mode is now ON"));
@Do(
@Environment("UserDebugMode";"0");
@Prompt([OK];"Debug OFF";"Debug 
mode is now OFF")))
 
This was first published in April 2003

Dig deeper on Lotus Notes Domino Formula Language

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchWinIT

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchEnterpriseLinux

SearchVirtualDataCentre.co.uk

Close