STRING_VALUE

Previous  Next

 

STRING_VALUE( value )

 


 

Returns the STRING part of a value_t

 

Example

 

BEGIN_PARSE( s, l )

  POP_VALUE( val )

END_PARSE

 

// Get the string if type STRING

if ( IS_STRING_VALUE( val ) )

  {

  char* pStr = STRING_VALUE( val );

  }