docs

Home All functions Legacy functions Categories

vuCloseWhenComplete(closeWhenComplete)

Clarion prototype

Prototype: vuCloseWhenComplete(LONG InValue), SIGNED, PROC, PASCAL, RAW, NAME(‘vuCloseWhenComplete’)

Purpose

Sets the legacy runtime flag that indicates whether the client should close when a send completes.

Parameters

Return value / error codes

| Value | Meaning | |—|—| | 1 | Value stored successfully. | | 0 | Failure. vuMailLastError() is set with text beginning vuCloseWhenComplete failed:. |

Example (Clarion)

rc LONG
rc = vuCloseWhenComplete(1)
IF rc = 0
  MESSAGE('Could not set CloseWhenComplete: ' & vuMailLastError())
END

Notes

Home All functions Legacy functions Categories