logo

New Response

« Return to the main article

You are replying to:

  1. I was interested to learn about the lsi_info() function recently, but could not seem to find any documentation on it, except for 3 parameters for LS memory. I wrote a small chunk of script (in a web agent) to test the function, as follows:

    For i=0 To 255 Print Cstr(i) & "=" & Lsi_info(i) & "<BR>" Next

    Unfortunately it's almost impossible to speculate on the meaning of each of the variables, so was near useless. I have discovered though (correct me if my guess is wrong):

    lsi_info(2) = The name of the currently executing function lsi_info(6) = The version of LotusScript running (!?) lsi_info(9) = Current language (en for english) lsi_info(12) = The name of the function that called this one

    These I have seen documented on Notes.net: lsi_info(50) = LS memory allocated lsi_info(51) = LS memory allocated from OS lsi_info(52) = LS blocks used

    If anyone has a definitive list of these, please post a copy. Unfortunately, this function is next to useless unless you implement an error handler in every function. Give me C code for error handling any day!

    Brendon.

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: