| TokToStrN | Function (ROM Call 0x7C)

vat.h

short TokToStrN (unsigned char *dest, SYM_STR src);

Converts a token to a C string.

TokToStrN converts the VAT symbol name pointed to by src into an ordinary ANSI C string. See SYMSTR for more info about symbol names. src should point to the terminating zero byte of the name (or to a one-letter variable tag), and the result will be stored in the buffer pointed to by dest. The buffer has to be at least 20 bytes long. TokToStrN returns TRUE if the symbol could be converted, and FALSE if src does not point to a tag that represents a variable or is a reserved variable name.

Uses: SymCpy0, strncpy, primary_tag_list
Used by: CheckReservedName, FindSymInFolder, FolderAdd, FolderCur, FolderCurTemp, FolderDel, FolderFind, FolderOp, FolderRename, SymFindFirst, GraphOrTableCmd, VarSaveTitle

See also: StrToTokN