?login_element?

Subversion Repositories NedoOS

Rev

Blame | Last modification | View Log | Download

  1.     IFNDEF MAIN_FILE
  2.         DEFINE MAIN_FILE
  3.         OUTPUT "predefined_include_level.bin"
  4. myIncludeLevel = 0
  5.     ENDIF
  6.  
  7.     ; before another INCLUDE
  8.     ASSERT __INCLUDE_LEVEL__ == myIncludeLevel
  9.     DB __INCLUDE_LEVEL__, myIncludeLevel
  10.  
  11.     IF myIncludeLevel < 6
  12. myIncludeLevel = myIncludeLevel + 1
  13.         INCLUDE "predefined_include_level.asm"
  14. myIncludeLevel = myIncludeLevel - 1
  15.     ENDIF
  16.  
  17.     ; after another INCLUDE
  18.     ASSERT __INCLUDE_LEVEL__ == myIncludeLevel
  19.     DB __INCLUDE_LEVEL__, myIncludeLevel
  20.