open-insight/LSL2/STPROC/TEST_COPY_RECORD.txt
2024-03-25 14:46:21 -07:00

19 lines
459 B
Plaintext

Compile subroutine Test_Copy_Record(Table, Key, Output)
Declare function Copy_Record_To_SQL
Ans = Copy_Record_To_SQL(Table, Key)
If Len(Ans) then
If Assigned(Output) then
Begin Case
Case Output EQ "MSG"
Call Msg(@Window, Ans)
Case Len(Output)
OSWrite Ans to Output
End Case
end
end
return