RoboZZle Wiki
Navigation
Main Page
Random Page
Create a new Page
All Pages
Categories
Administration
File Management
Login/Logout
Language Selection
Your Profile
Create Account
Quick Search
Advanced Search »
Discuss (0)
View Page Code
History
Part 2: Organizing code in functions
Print
RSS
Modified: 2009/03/17 22:33 by
admin
-
Uncategorized
(6)
»
Patterns and tricks
»
Part 1: RoboZZle commands
»
Part 2: Organizing code in functions
[X]
»
Part 3: Using a function that calls itself
»
RoboZZle
»
Requested Features
»
Patterns and tricks
»
Part 1: RoboZZle commands
»
Part 2: Organizing code in functions
You can call F1 the main function or main program as it executes by default.
When you need to use a set of commands several times you can place them in other function, like F2, and call it every time you need them.
The following program completes a 3 side square ending as you started:
F1:
F2:
ScrewTurn Wiki
version 2.0.36. Some of the icons created by
FamFamFam
.