?login_element?

Subversion Repositories NedoOS

Rev

Rev 126 | Blame | Compare with Previous | Last modification | View Log | Download

  1.     scf     ; by default listing is ON
  2.     OPT push listoff    ; remember current state, switch listing off
  3.     DZ  "not listed"
  4.     OPT pop             ; restoring original state
  5.     DZ  "LISTED"
  6.     OPT listoff
  7.     DZ  "not listed 2"
  8.     OPT liston          ; explicit ON
  9.     DZ  "LISTED 2"
  10.     OPT listoff : DZ "not listed 3" : OPT liston : DZ "LISTED 3"    ; single line OFF/ON
  11.  
  12.     ; nested listing OFF by suggested push+pop technique
  13.     OPT push listoff    ; switch listing off twice
  14.     OPT push listoff
  15.     DZ  "not listed 4"
  16.     OPT pop
  17.     DZ  "not listed 5"
  18.     OPT pop
  19.     DZ  "LISTED 4+5"
  20.