home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / boot / i386 / root / usr / share / YaST2 / scrconf / dummy.scr < prev    next >
Encoding:
Text File  |  2006-11-29  |  660 b   |  37 lines

  1. /**
  2.  * File:
  3.  *   dummy.scr
  4.  * Summary:
  5.  *   SCR Agent for testing
  6.  * Access:
  7.  *   read/write
  8.  * Authors:
  9.  *   Unknown <yast2-hacker@suse.de>
  10.  * See:
  11.  *   libscr
  12.  * Example:
  13.  *   `ag_dummy (
  14.  *     DataMap($["a":1,"b":$["c":2, "d":3]], 0)
  15.  *   )
  16.  **
  17.  *   Read(.dummy)
  18.  *   (0)
  19.  *   Read(.dummy.a)
  20.  *   (1)
  21.  *   Read(.dummy.b)
  22.  *   ($["c":2, "d":3])
  23.  *   Read(.dummy.b.d)
  24.  *   (3)
  25.  * 
  26.  * $Id: dummy.scr 13018 2003-12-11 12:52:53Z jhumpol $
  27.  *
  28.  * Test agent.
  29.  * Returns the default (second arg to DataMap) for relative root (.dummy) 
  30.  * or looks up the path in the map (first arg to DataMap)
  31.  */
  32. .dummy
  33.  
  34. `ag_dummy (
  35.   `DataMap($["a":1,"b":$["c":2, "d":3]], 0)
  36. )
  37.