1 (use-modules (skribilo source c))
6 :title (source :language c [square()\;])
7 (p [here's the output of ,(prog (source :language c [square()\;]))])
10 (image :file "square.png" :height 500))
11 (p [openscad draws a square for the code
12 ,(source :language c [square()\;]).])
13 (p [there are a couple other things worth noting here.
14 square is followed by an open and close parenthesis
15 ,(source :language c [()]), and then by a semicolon
16 ,(source :language c [\;])]))
19 (p [here's the output of ,(source :language c [square(1)\;])])
22 (image :file "square1.png" :height 500))
23 (p [note that it's identical to the
24 ,(source :language c [square()\;]) output. this is because
25 by default, openscad guesses a value of 1 whenever a value
26 is left unspecified.]))
29 (p [here's the output of ,(source :language c [square(2)\;])])
32 (image :file "square2.png" :height 500))))