Monday, August 28, 2017
Sanny Builder Syntax
Sanny Builder Syntax
Lets talk a little bit about SB syntax, some people has asking me, why my cleo-scripts looks so different than yours?. Thats because Im using another syntax to write the cleo script.
Sanny Builder has two kind of syntax;
- Low Level Struct
- High Level Struct
- one uses labels and the other dont.
- cleaner code in High Level Struct
- more readable in High Level Struct
:label - else_jump @label - jf @label - jump @labelHigh Level Struct, uses;
while true - endnow, Im going to show you how to use High Level Struct instead Low Level Struct.while - endrepeat - untilfor - endif - then - endif - then - else - end
for example;
Command: while true - end
Left side: High Level Struct
Right side: Low Level Struct
.jpg)
Command: while - end
Topside: High Level Struct
Underside: Low Level Struct
.jpg)
the red lines, indicate the new direction of the flow (momentaneously) because of a process.
Topside: High Level Struct
Underside: Low Level Struct
.jpg)
the red lines, indicate the Flow of the Game.
Topside: High Level Struct
Underside: Low Level Struct

the red lines, indicate the new direction of the flow (momentaneously) because of a process.
as we can see, the process will repeat (in this case) 10 times, then display the new number, and continue.
Command: if - then - end
Topside: High Level Struct
Underside: Low Level Struct

the red lines, indicate the new direction of the flow (momentaneously) because of a process.
Topside: High Level Struct
Underside: Low Level Struct

the blue lines, indicate the Flow of the Game.
the red lines, indicate the new direction of the flow (momentaneously) because of a process.
the red lines, indicate the new direction of the flow (momentaneously) because of a process.
couldnt be simpler.
Hope you like it ;)
download file now
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.