This topic uses sections defined in UseOfSetInsideIncludedSections to explore use of the sections outside the topic they are defined in.
  • before INCLUDE, LOCAL1 is %LOCAL1%
%INCLUDE{"UseOfSetInsideIncludedSections" section="memepickme" PARONE="PASS"}% expands to:

memepickme(PASS)
  • Set LOCAL1 = PASS
LOCAL1 is %LOCAL1%

  • after INCLUDE, LOCAL1 is %LOCAL1%

  • before INCLUDE, LOCAL is %LOCAL%
%INCLUDE{"UseOfSetInsideIncludedSections" section="memepickme2" PARONE="ONE" PARTWO="TWO"}% expands to

memepickme(ONE,TWO)
  • Set LOCAL = ONE
LOCAL is %LOCAL%

  • after first INCLUDE, LOCAL is %LOCAL%

%INCLUDE{"UseOfSetInsideIncludedSections" section="ohnonotagain" PARONE="THREE" PARTWO="FOUR"}% expands to

ohnonotagain(THREE,FOUR)
  • Set LOCAL = FOUR
LOCAL is %LOCAL%

  • after second INCLUDE LOCAL is %LOCAL%

%INCLUDE{"UseOfSetInsideIncludedSections" section="itwisnaeme" PARONE="PASS"}% expands to memepickme(PASS) => NOTREALLYLOCAL is %NOTREALLYLOCAL%


adding more weird ideas - sadly this will require many topics to explore - and then we should make them all into unit tests

-- SvenDowideit - 18 Apr 2012
Topic revision: r2 - 18 Apr 2012, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy