Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - 3306 pointer type unknown http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 3306                Pointer type unknown
------------------------------------------------------------------------------
 Description
   This error occurs when a pointer is declared without a valid type
   specification. Either the type is entirely omitted, or does not
   correspond to a valid Force data type, like in the following examples:
   vardef
      ptr()        p1     // no pointer type
      ptr( WHAT )  p2     // pointer type invalid
   enddef

   Note that pointers to structures are not formally implemented. The
   following pointer declaration generates an error:

   typedef struct _TEST
      uint uNum
   enddef

   vardef
      ptr( _TEST ) p3     // pointer type can not be a structure
   enddef

 Solution
   Change the type of the pointer so that it is associated with a valid
   data type. The use of pointers of structures is generally not necessary;
   structures are always passed to functions by reference. The address of
   a structure can be generated with the & operator or the addr() function.

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