Site Tools


builtin_expando

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

builtin_expando [2006/07/25 21:22] (current)
Line 1: Line 1:
 +# $EPIC: builtin_expando.txt,​v 1.2 2006/07/17 19:41:50 sthalik Exp $
 +======Synopsis:​======
 +$__builtin_expando__(<​expando name>)
 +
 +======Technical:​======
 +   * If the <expando name> argument is omitted the empty string is returned.
 +   * If the inline expando <expando name> does not exist, the empty string is returned.
 +   * This function returns the value that would be returned by the "​inline expando"​ $<​expando name>.
 +
 +======Practical:​======
 +The [[special vars|inline expandos]] ($A, $B, $C, etc) can be overridden by
 +user variables (eg, /assign A testing). ​ If you need to call the underline
 +inline expando and to be sure that you won't be thwarted by an assign alias,
 +then you can call this function to invoke the inline expando.
 +
 +======Example:​======
 +<​file>​
 +$builtin_expando(N) ​    ​returns your current nickname
 +$builtin_expando(C) ​    ​returns the current channel of the current window
 +</​file>​
 +
 +======Returns:​======
 +The value of the inline expando $<​expando name>
  
builtin_expando.txt ยท Last modified: 2006/07/25 21:22 (external edit)