home *** CD-ROM | disk | FTP | other *** search
/ PC/CD Gamer UK 39 / PCGAMER39.bin / games / amber / amberhub.dxr / 00011_Field_11.txt < prev    next >
Text File  |  1996-11-08  |  722b  |  14 lines

  1.  
  2. enterNewDomain( "ROXY") means 'return' unless lsStateData = [:]
  3.  
  4. 3 different kinds of function: 
  5.  ├» new game (load all state-data from stored cast in Roxy's┬ìIF current 
  6.        lsStateData is [:] ), 
  7.  ├» outer-domain entry (stash existing state-data in a local variable,
  8.        load new state-data from stored cast, then tuck the stashed Roxy-
  9.        data in a single state-variable #StateOnIce), 
  10.  ├» return to roxy's (get and stash the value of #currentDomain in a local, 
  11.        get and stash the value of #StateOnIce in a local list, then set
  12.        lsStateData to it's value [replacing the list with its former property], 
  13.        and finally set #lastDomainVisited to the former #currentDomain)
  14.