Changes between Version 2 and Version 3 of MetapostPlugin
- Timestamp:
- May 22, 2010, 5:26:58 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MetapostPlugin
v2 v3 33 33 34 34 Begin.b; 35 Activity.eat( "Eat something good", "from the kitchen");35 Activity.eat("Eat something good", "from the kitchen"); 36 36 Branch.enough; 37 Fork.fork( "h", 50);38 Activity.read( "Read a book");39 Activity.listen( "Listen to music", "(and ignore it)");40 Fork.join( "h", 50);37 Fork.fork("h", 50); 38 Activity.read("Read a book"); 39 Activity.listen("Listen to music", "(and ignore it)"); 40 Fork.join("h", 50); 41 41 End.e; 42 42 … … 59 59 clink(transition)(join, e); 60 60 61 item(iGuard)( "still hungry")(obj.sw = enough.e + (20, 0));62 item(iGuard)( "had enough")(obj.nw = enough.s + (0, -4));61 item(iGuard)("still hungry")(obj.sw = enough.e + (20, 0)); 62 item(iGuard)("had enough")(obj.nw = enough.s + (0, -4)); 63 63 64 64 endfig;