|
|
|
|
|
|
|
|
|
|
|
|
|
|
LSI_Info: obscure but useful information in LotusScript (continued)
| Function |
Value |
| LSI_THREAD_LINE (0) |
Current line number |
| LSI_THREAD_PROC (1) |
Name of current procedure |
| LSI_THREAD_MODULE (2) |
Name of current module (actually I think it's possibly the entry point address) |
| LSI_THREAD_VERSION (3) |
LotusScript version number |
| LSI_THREAD_LANGUAGE (4) |
(Human) language setting |
| LSI_THREAD_COUNTRY (5) |
Country or region setting - on my machine here in the UK, this returns a zero. |
| LSI_THREAD_TICKS (6) |
Get current clock ticks |
| LSI_THREAD_TICKS_PER_SEC (7) |
Get clock ticks per second (supported only on platforms that support parallel processing primitives) |
| LSI_THREAD_PROCESS_ID (8) |
Get current process ID (supported only on platforms that support parallel processing primitives) |
| LSI_THREAD_TASK_ID (9) |
Get current task ID (supported only on platforms that support parallel processing primitives) |
| LSI_THREAD_CALLPROC (10) |
Get the name of the calling procedure |
| LSI_THREAD_CALLMODULE (11) |
Get the name of the calling module |
To explore these values, I ran the following code fragment
For i = 0 To 11
Print i & " " & Getthreadinfo(i)
Next
|
which gave me the following output:
0 4
1 INITIALIZE
2 *BEDBC14
3 5.0.0.07A
4 en
5 0
6 1913312527 - yes, my Lotus Notes client has been running for two weeks (190000 seconds)
7 1000
8 3560
9 0
10 INITIALIZE
11 *BEDBC14
|
But while interesting, doesn't take my error reporting line of code any further.
Special thanks I'd like to draw attention to and thank a few Notes bloggers who unknowingly helped me with this article via my Google search for lsi_info. I hope that this piece extends their work:
That should do it. If you find anything more out about lsi_info, let us know at editor@dominopower.com.
Heather McDaniel is unique because she has experience in three important fields--real estate, handheld computing, and personal success coaching. She holds a real estate license in both Hawaii and New Jersey. Prior to starting her own personal success coaching business dedicated to helping people reach their goals, Heather is the news editor and former sales manager for ZATZ, publishers of this magazine. She's widely acknowledged as a leading expert on the handheld industry. For a free coaching session, contact Heather at heather@coachheather.com or visit http://www.coachheather.com.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- Advertisement --
Learn Notes and Domino 8 at your place and pace!
Learn Notes and Domino in your office and/or home! TLCC's highly acclaimed distance learning courses for users, developers, and admins will enhance your career and your resume.
The many included activities and demos will make you a pro! Expert instructor help is a click away.
Click here to try a FREE demo course!! |
-- Advertisement --
Struggling with exporting Notes data to spreadsheets? No More!
Try IntelliPRINT, The world's leading Reporting, Dashboards, and Analysis solution for Notes & Domino
- Don't spend unproductive time maintaining different versions of the same spreadsheet
- Preserve data integrity and security in multi-user environments
- Create reports in minutes INSIDE Notes
- Get freedom from iterative report requests, deliver self-serve capabilities
Experience Reporting, Dashboards, and Analysis INSIDE Notes.
Try IntelliPRINT NOW! |
|
|
|
|
|
|
|
|
|
|