?login_element?

Subversion Repositories NedoOS

Rev

Blame | Last modification | View Log | Download

  1.     ; testing if the two-level deep substitution happens per-line and not at DEFINE itself
  2.     DEFINE xyz 123
  3.     DEFINE abc xyz : ASSERT 123 == abc
  4.     UNDEFINE xyz
  5.     DEFINE xyz 456 : ASSERT 456 == abc
  6.  
  7.     ; remove the defines
  8.     UNDEFINE abc : UNDEFINE xyz
  9.  
  10.     ; second variant defining "abc" ahead of "xyz"
  11.     DEFINE abc xyz
  12.     DEFINE xyz 234 : ASSERT 234 == abc
  13.     UNDEFINE xyz
  14.     DEFINE xyz 567 : ASSERT 567 == abc
  15.