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,24 @@
Compile subroutine Jonathan_Logging(msgSeq,msg)
Declare function Environment_Services
equ crlf$ to \0D0A\
equ tab$ to char(09)
equ comma$ to char(44)
equ space$ to char(32)
equ record$ to char(00)
equ scolon$ to char(59)
FileID = Time() : '- ':msgSeq
DirPath = Environment_Services('GetApplicationRootPath') : '\LogFiles\'
fileName = DirPath : FileID:'JonathanLog.txt'
oswrite "" To fileName ; * create the new file
OSOpen fileName To hUserFile then
OSBWrite msg On hUserFile At 0
osclose hUserFile
end