Small Basic Language

11,007 views
11,033 views

Published on

Slides by Llewellyn Falco for #TeachingKidsProgramming

Published in: Technology, Business
1 Comment
1 Like
Statistics
Notes
No Downloads
Views
Total views
11,007
On SlideShare
0
From Embeds
0
Number of Embeds
8,143
Actions
Shares
0
Downloads
43
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]

×