Previous: , Up: Statements   [Contents][Index]

4.19.4 The echo statement

The echo statement concatenates all its arguments into a single string and sends it to the syslog using the priority ‘info’. It is useful for debugging your script, in conjunction with built-in constants (see Built-in constants), for example:

func foo(number x)
  echo "%__file__:%__line__: foo called with arg %x"