| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| msb_developer_reference.zip | 2017-10-13 | 14.7 MB | |
| readme.txt | 2017-10-13 | 3.9 kB | |
| Totals: 2 Items | 14.8 MB | 2 |
Document updated - 2017.09.26
Audience - Microsoft Small Basic Ver 1.2
msb_developer_reference.zip - 11 mb
Introduction
-------------
MSB (Microsoft Small Basic) is a FREE simple programming language designed primarily for
educational grade school use. It has been enhanced by talented programmers to be useful
professionally as well. Programs may be designed for a text only window (similar to a
DOS box), or a full feature rich graphical window environment.
There is also a MSB version designed for mobile phones and applications. As of this writing,
the latest Desktop version was released in 10/1/2015 and is a modest 7.0 MB in size.
MSB can be downloaded at...
https://www.microsoft.com/en-US/download/details.aspx?id=46392
How To Use
-----------
The "Desktop" user guide contains a Zip file divided into 12 pdf sections. There are 11
subject areas plus an additional collection of references: abbreviated command list,
color charts, ASCII, musical notes, and trigonometry. A pre-formatted table of contents
index page (for use in 3-ring binder) is also provided.
Mobile users have requested a copy for them where all topics have been merged into one
large file. So, a single merged copy is also provided for them. It is called "All In One".
Each subject starts with a simple abbreviated "COMMAND LIST" that gives an experienced
programmer a brief reminder of syntax and parameters. Often, that is all that is needed.
In case more information needed, the command list is followed by a brief general introduction
to the family of commands and then a more detailed "COMMAND REFERENCE" of each command
that includes parameters, return values and at least one example.
What This Guide Is Not
-----------------------
MSB has support for programs to run directly from the Internet in a browser that supports
Microsoft's SilverLight technology. There may be some subtle differences when running programs
"remotely" in a browser. Microsoft tried to design Small Basic to run with no or vary
little modification but differences do exist. This guide makes no attempt to accommodate
Internet use. The information presented here is "Desktop/Mobile" use - ONLY!
User comments, suggestions, and code snippets are encourage at
https://sourceforge.net/p/ms-small-basic-dev-guide/blog/
Subject Topics
---------------
API_command_list_&_charts
array_math_stack
clock_&_timer
file_&_network
text_font_strings
graphic_controls
graphic_window_&_shapes
images_&_flickr
mouse_&_keyboard
program_&_dictionary
sound_&_turtle
text_window_&_desktop
==================================
EXAMPLE DEVELOPER GUIDE ENTRY
==================================
----------------------------
COMMAND LIST
----------------------------
integer = Math.Ceiling(num) Returns integer greater than or equal
to num. For example, 32.233 will return 33.
----------------------------
COMMAND REFERENCE
----------------------------
Ceiling
integer = Math.Ceiling(num) Gets an integer that is greater than
or equal to the specified decimal number.
For example, 32.233 will return 33.
num The number whose ceiling is required.
Returns The ceiling value of the given number.
----------------------------
EXAMPLE PROGRAM
----------------------------
' example of rounding numbers
pi = 3.14159
intUp = Math.Ceiling(pi) ' round number up
intDn = Math.Floor(pi) ' round number down
Textwindow.WriteLine(intUp)
Textwindow.WriteLine(intDn)
OUTPUT
4
3