Sign in Join
FPDoc Onlineexperiment

TParser.TokenWideString function

Member of TParserpublicIn unit Classes

Returns the current token as a widestring.

Declaration

pascal
function TokenWideString: WideString

Description

If current token type is toWString, this method returns the contents of the string. That is, enclosing quotes are removed, embedded quotes are unescaped and control strings are converted to the appropriate sequence of characters.

If current token isn't a widestring, TokenWideString behaviour is the same as TokenString.

Errors

None.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.