open-insight/LSL2/STPROC/WO_VERIFY_COMM.txt
Infineon\StieberD 7762b129af pre cutover push
2024-09-04 20:33:41 -07:00

28 lines
740 B
Plaintext

compile function wo_verify_comm(Branch)
begin condition
pre:
post:
end condition
ReturnVar = 0
declare function set_property, get_property, msg
Branches = 'STATUS_CHECK'
convert ',' to @fm in Branches
locate Branch in Branches using @fm setting Bpos then
on Bpos gosub StatusCheck
end else
Void = msg( '', 'Invalid Branch ':Bpos:' passed to wo_verify_comm' )
end
return ReturnVar
*===========================================================================*
StatusCheck:
TechSig = get_property( @window:'.TECH_SIG', 'TEXT' )
if ( TechSig <> '' ) then
Void = set_property( @window:'.STATUS', 'VALUE', 'C' )
end
return
*============================================================================*