Initializes an allocated typed buffer. This function can be used to clear the content of any allocated typed buffer.
TUXEDO.bdh
TuxInitBuffer(in hBuffer: number): boolean;
true if successful.
false otherwise.
Parameter | Description |
---|---|
hBuffer | Typed buffer to initialize. |
dcltrans transaction TMain var hBuffer: number; begin // allocate buffer TuxGetBuffer(hBuffer, "FML", NULL, 1024); // store dummy values in buffer TuxSetInt(hBuffer, 16, 832); TuxSetInt(hBuffer, 32, 173); // clear buffer for later reuse TuxInitBuffer(hBuffer); end TMain;