[Slackers] SetZpTemp

Steve Judd sjudd at ffd2.com
Sun Apr 23 20:33:40 CDT 2006


Heh.  Lest that came across as harsh... sorry.  Didn't mean to.  It was
just such a nice, ranty kind of morning that I couldn't resist.

Meanwhile, I've been meaning to follow up on something regarding using +
for branching.  Namely, it's a good idea to put the + on both block
instructions, e.g.  while+ ending with endwhile+.

It's not _really_ necessary, but what happens is that it modifies the
"test and branch" part of the block.  Like, "while a<b" performs the test
and branch, and "endwhile" just ends the block.  On the flip side,
"repeat" does nothing while "until a<b" performs the test and branch.
Thus

repeat+
  ...
until a<b

won't do anything, while

repeat
  ...
until+ a<b

will.  So if you can keep track of that then there's no problem using +
where appropriate.  Otherwise, it's easiest to just match it at the start
and end.

-S


More information about the Slackers mailing list