Project:PizzaPrinter: Difference between revisions
From London Hackspace Wiki
→Examples
Line 183: | Line 183: | ||
pz.add_layer("aubergine"); // throws warning, no aubergines available. | pz.add_layer("aubergine"); // throws warning, no aubergines available. | ||
pz.add_layer("tomato"); | pz.add_layer("tomato"); | ||
pz.add_layer('mozzarella'); | |||
pz.add_layer("oregano"); | pz.add_layer("oregano"); | ||
pz.print(); // throws warning, pizza not bound to printer | pz.print(); // throws warning, pizza not bound to printer |