%% examples of macro usage in Platypus Milestone 1 %% note: right now, macros are pure string substitutions. Eventually, we will be able to embed commands %% into macros and have these parsed and implemented when the macro string is referenced. %% alb 2007-06-09 %% %% Define the macros [def:BOBOTW{ bottles of beer on the wall, }] [def:BOB{ bottles of beer;}] [def:T1down{Take one down, pass it around, }] [def:Qty{99}] %% And use them (redefining Qty, as you go) [paraindent:0][paraskip:0li] [*Qty][*BOBOTW][*Qty][*BOB][] [*T1down][def:Qty{98}][*Qty][*BOB][] [*Qty][*BOBOTW][*Qty][*BOB][] [*T1down][def:Qty{97}][*Qty][*BOB][] [*Qty][*BOBOTW][*Qty][*BOB][] [*T1down][def:Qty{96}][*Qty][*BOB][] etc...