sds_newrb

struct sds_resbuf *sds_newrb (int result);


Create a new result buffer.


This function creates a new result buffer.

The argument result can be any of the result types (e.g. RTREAL) or any of the DXF group codes present in object definitions.

Example

struct sds_resbuf *newbuffer;

newbuffer=sds_newrb(RTREAL);

newbuffer->resval.rreal=121.50;

sds_printf("\nThe Real in the new buffer is %f.",newbuffer->resval.rreal);

sds_relrb(newbuffer);

Tell me about...

Programming Overview of SDS™ (Solutions Development System™)