PARSE_DONE

Previous  Next

 

PARSE_DONE

 


 

Use to check if parsing has been completed.  It's the opposite of SKIPPED_LAST macro.

 

Example

 

BEGIN_PARSE( s, l )

  POP_REAL( p1 )

  OPT_REAL( p2, 0 )

END_PARSE

 

if ( PARSE_DONE )

  {

  // Use atan2( y, x )

 

  fAtan = float( atan2( p1, p2 ) );

  }

endif