ria ble        Stva                 opFor i = 1 to 7!!!     S tartEndFor
If (   something                   ) ThenEndif
If (    ) Then   somethingElseIf (     ) Then               something                  elseElse     everything elseEndif
Pare                         nthesesCall theSubroutine   doStuff()                           Same NameDefine theSubroutine ...
iew        GetPenColor()V Getters     GetPenWidth()             GetBackground()       g e a n         SetPenColor(“yellow”...
iab le           valuevar Zipcode = 90210               is‘the current zipcode is 90210
in d                      ex        value      iab levarmap[1] = “one”map[2] = “two”             ismap[3] = “three”i=1map[...
Upcoming SlideShare
Loading in …5
×

Small Basic Language

10,964 views
11,004 views

Published on

Slides by Llewellyn Falco for #TeachingKidsProgramming

Published in: Technology, Business
1 Comment
1 Like
Statistics
Notes
No Downloads
Views
Total views
10,964
On SlideShare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
42
Comments
1
Likes
1
Embeds 0
No embeds

No notes for slide

Small Basic Language

  1. 1. ria ble Stva opFor i = 1 to 7!!! S tartEndFor
  2. 2. If ( something ) ThenEndif
  3. 3. If ( ) Then somethingElseIf ( ) Then something elseElse everything elseEndif
  4. 4. Pare nthesesCall theSubroutine doStuff() Same NameDefine theSubroutine Sub doStuff nth es es are EndSub NoP
  5. 5. iew GetPenColor()V Getters GetPenWidth() GetBackground() g e a n SetPenColor(“yellow”) hC Setters SetPenWidth(5) SetBackground(“black”)
  6. 6. iab le valuevar Zipcode = 90210 is‘the current zipcode is 90210
  7. 7. in d ex value iab levarmap[1] = “one”map[2] = “two” ismap[3] = “three”i=1map[1] = map[6-5] = map[i]

×