]> git.bts.cx Git - p8-perfgraph.git/commitdiff
README code fix
authorBen Sherratt <redacted>
Wed, 23 Jun 2021 23:42:35 +0000 (00:42 +0100)
committerBen Sherratt <redacted>
Wed, 23 Jun 2021 23:43:19 +0000 (00:43 +0100)
Missing goto

README.md

index c978e30b824e9a97e2893dacc7a9de64b801486c..d74eee7f554aea3d041503ed81a6da4b4268c578 100644 (file)
--- a/README.md
+++ b/README.md
@@ -16,6 +16,7 @@ Full example:
 
 ::l::
 
+p_start("frame")
 p_start("complicated 1")
 for i=0,100 do
        circfill(rnd()*128,rnd()*128,rnd()*100,rnd()*16)
@@ -27,11 +28,14 @@ for i=0,100 do
        circ(rnd()*128,rnd()*128,rnd()*100,rnd()*16)
 end
 p_end("complicated 2")
+p_end("frame")
 
 p_show(1,1,32)
 
 flip()
 
+goto l
+
 ```
 
 Have fun. You can find a demo in perfgraphdemo.p8 in this repo. If you like this then feel free to follow me on Twitter: [@btsherratt](http://twitter.com/btsherratt/).