Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Flipper 6.0 Help File - <b>obj_arrsiz()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
OBJ_ARRSIZ()
   Returns the size of the array needed for OBJ_GETPNT().

   Syntax
         nArraySize = OBJ_ARRSIZ(nIndex)

   Arguments
         nIndex      Object number.

   Returns
         nArraySize  Returns how many elements an array would need for
                     OBJ_GETPNT().

   Description
         OBJ_ARRSIZ() determines how many elements an array would require to
         hold all of the information about the current hot object. The size
         varies depending on the type of object and, in the case of a
         polyline, how complex the object is.

   Examples

         Stores the hot object's information into any array:

         DECLARE obj_array[OBJ_ARRSIZ()]
         OBJ_GETPNT(obj_array)

See Also: LAYER_INFO() OBJ_GETPNT() OBJ_SETPNT()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson