Changes

Jump to navigation Jump to search
1,229 bytes added ,  13:43, 26 February 2010
Line 273: Line 273:     
These are a collection of extra blocks for accessing advanced features.
 
These are a collection of extra blocks for accessing advanced features.
 +
 +
* query keyboard: check for keyboard input (results are stored in the keyboard block)
 +
* push: push value onto FILO (first-in last-out) heap
 +
* show heap: show FILO in status block
 +
* keyboard: current value of keyboard input (can be used in place of a number block)
 +
* pop: pop value off of the FILO (can be used in place of a number block)
 +
* empty heap: empty the FILO
 +
* Python: a programmable block (can be used in place of a number block)
 +
:: add your own math equation in the block, e.g., sin(x); This block is expandable to support up to three variables, e.g. f(x,y,z)
 +
* Import Python: import Python code from the Sugar Journal (a more general-purpose programmable block)
 +
* turtle: specific which turtle is active
 +
* comment: program comment
 +
* print: print value in status block
 +
* Cartesian: display Cartesian coordinate grid overlay
 +
* width: screen width (can be used in place of a number block)
 +
* height: screen height (can be used in place of a number block)
 +
* polar: display polar coordinate grid overlay
 +
* top of stack: block to denote the top of a collapsible stack
 +
* bottom of stack: block to denote the bottom of a collapsible stack
 +
:: To use the collapsible-stack blocks, place them around the blocks you want to hide
 +
    
[[Image:TAportfolio.png]]
 
[[Image:TAportfolio.png]]

Navigation menu