Description Adds another ray buffer to the associated FRED document.
Syntax buffers = AddRayBuffer( )
Parameters buffers (Long) Ray buffer index. The main buffer is buffer 0. All additional buffers will have values greater than 0.
Remarks This function adds a ray buffer to the associated FRED document. The buffer index of the newly added buffer will be buffers. All ray buffers should be deleted after completion of any task since these buffer are not deleted automatically and can consume a large amount of computer resource if it contains a large number of rays.
If there is a problem the function does not add another buffer and returns the original number of buffers.
See Also
Examples
|