# Method Program.defined()

Method defined

  ``string` defined(`program` `p`)`

Description

  Returns a string with filename and linenumber describing where the program p was defined.

  The returned string is of the format `"filename:linenumber"`.

  If it cannot be determined where the program was defined, `0` (zero) will be returned.

Method defined

  ``string` defined(`program` `x`, `string` `identifier`)`

Description

  Returns a string with filename and linenumber where identifier in x was defined.

  Returns `0` (zero) when no line can be found, e.g. for builtin functions.

  If identifier can not be found in x this function returns where the program is defined.