ScratchData LogoScratchData
Back to robinp's profile

Dev Script

ROrobinp•Created June 27, 2014
Dev Script
1
1
20 views
View on Scratch

Instructions

Nothing much yet but I have variables fully working and a simple echo command. The sample program is a program with a few errors, variables and at the end it creates a box with one edge on x 100 y 100 and the other edge on your cursur

Description

Available functions: echo (Prints onto the program output) def (defines a variable) set (sets a variable after it has been set sleep (wait) clr (clear all variables, program output or screen) movepointx movepointy setpnsize setpnshade setpnhue pnd (pen down) pnu (pen up) Parameters are separated by a ",". So to print out "Hello World" I would do: echo,Hello World If I would want to define a variable and print the variable output I would do: def,var,value echo,$|var This would print "value" To add a variable by one, I could do something like this: set,num,$|num|++ It basicly sets the variable "num" to "num" + 1

Project Details

Project ID24139066
CreatedJune 27, 2014
Last ModifiedJuly 13, 2014
SharedJune 27, 2014
Visibilityvisible
CommentsAllowed