added LSL2 stored procedures

This commit is contained in:
Infineon\StieberD
2024-03-25 14:46:21 -07:00
parent 09f1a66046
commit c667dd56eb
1655 changed files with 527967 additions and 0 deletions

View File

@ -0,0 +1,29 @@
Function Send_Info_To(Text)
/*
Proxy version of SEND_INFO subroutine that redirects the message to a file.
Parameters :
Text [in] -- The text being passed into the SEND_INFO routine.
*/
Declare function Send_Info_Stock
Common /SEND_INFO_TO/ sitFile@
If Unassigned(sitFile@) then sitFile@ = ''
If Unassigned(Text) then Text = ''
// Send this to the stock SEND_INFO function
Convert @RM:@FM:@VM:@SVM:@TM:@STM to '-' in Text
// Call the SEND_INFO alias so that the stock SEND_INFO routine can be called.
Ans = Send_Info_Stock(Text)
If sitFile@ NE '' then
// Target file active, redirect output there.
NewMsg = TimeDate() : ' ' : Text
OSWrite NewMsg To sitFile@
end
Return Ans