TOC PREV NEXT INDEX

name_of function

Synopsis

name_of(object)

name_of returns a string value containing the name of the object object. The is an optional second arguement. If set to 1 (the default), underscores int he name are replaced by spaces as in the example shown. If set to 0 they remain as underscores. For example:

->group group_one{

      -> string str1 => name_of(<-, 0);

      -> string str2 => name_of(<-,1);

      -> string str3 => name_of(<-);

      ->};

      ->$str str1

       group_one

      ->$str str2

       group one

      ->$str str3

       group one


TOC PREV NEXT INDEX