Search DominoPower's 11,441 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
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.


« Previous  ·  1  ·  2  ·  3
Other articles you might like
Home > Lotus Technologies > LotusScript (64 articles)
   When the debugger won't debug hidden code that isn't hidden
   What to do if the LotusScript debugger won't single-step over code
   Little known traps about Lotus Notes fields
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
Application development, William Shatner, and the origin of the universe
Learn Domino Designer 8.5 for free
The (near) future of Sametime, Quickr, Connections, and Symphony
Inside the IBM Innovations lab
Lotusphere 2010: Hot fixes and cool news for Notes, Domino, and LotusLive
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Latest Lotus Headlines
Xpages not loading? JVM errors? - Solution
How to implement an iCalendar feed into your Notes calendar with XPages
DWA Hotfixes for Domino 8.5.1FP1 - A Gotcha
IBM Adds DB2 to Lotus Foundations SMB Package
SNTT : XPages onclick Ghosts in the machine
Ports used by Lotus Sametime 8.5 servers
Exploring a Domino Date Bug
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad defenders have spoken
David Gewirtz Online: CNN commentary and analysis
OutlookPower: More about disappearing text
-- 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!

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login