docs

Home All functions Categories

vuMailSlotCheck(SlotName, dBuffer)

vuMailSlotCheck(*CSTRING,*CSTRING), Signed

Description

Checks the specified mail slot for pending messages and places the next message (if any) into dBuffer.

Parameters

Parameter Data Type Description
SlotName CSTRING(256) The name of the mail slot to check.
dBuffer CSTRING(512) Buffer to receive the next message. Message size should not exceed 16K locally or 400 bytes across a domain.

Returns

Example

SlotName = 'Transactions'
IF vuMailSlotCheck(SlotName, dBuffer) > 0
  MESSAGE('You have mail: ' & dBuffer)
END

Notes

Home All functions Categories