Small Basic. TechNet. Microsoft. Retrieved 22 April 2015.Microsoft s simplified variant of BASIC, it is designed to help students who have learnt visual programming languages such as Scratch learn text-based programming.The associated IDE provides a simplified programming environment with functionality such as syntax highlighting, intelligent code completion, and in-editor documentation access.
The language has only 14 keywords. Ms Small Basic Update Added ClassesThe update added classes for working with Microsofts Kinect motion sensors, 3 increased the number of languages supported by the included Dictionary object, and fixed a number of bugs. Ms Small Basic License On GitHubIt is open source software released under MIT License on GitHub. It supports conditional branching, loop structures, and subroutines for event handling. Variables are weakly typed and dynamic with no scoping rules. It requests the current temperature in Fahrenheit and comments on the answer. Starting from one and ending with ten, it multiplies each number by four and displays the result of the multiplication. The Step keyword is used in setting the value by which the counter variable, i, is incremented each iteration. Small Basic supports basic data types, like strings, integers and decimals, and will readily convert one type to another as required by the situation. ![]() This allows the string to be converted to a numeric type and treated as a number rather than a string by the operator. To concatenate the two values, producing the output 1003000, it is necessary to use the Text.Append( text1, text2 ) method. Examples of these include a Turtle graphics class, a class for retrieving photos from Flickr, and classes for interacting with Microsoft Kinect sensors. This simplification is demonstrated through the code used to retrieve a random mountain-themed image from Flickr. For example, to draw a square using the turtle, the turtle is moved forward by a given number of pixels and rotated 90 degrees in a given direction. This action is then repeated four times to draw the four sides of the square. For example, one can draw a hexagon by setting the turn angle to 60 degrees and the number of iterations to six. These libraries must be written in a CLR -compatible language, and the compiled binaries must target a compatible.NET Framework version. The classes provided by the library are required to be static, flagged with a specific attribute, and must use a specific data type. The development environment accepts documentation in the form of an XML file, which can be automatically generated from source code comments by tools such as Microsoft Visual Studio and MonoDevelop. Hello World. Small Basic. MSDN Blogs. Microsoft. Retrieved 9 February 2014. Small Basic. MSDN Blogs. Microsoft. Retrieved 27 September 2015. Microsoft. Retrieved 2 October 2015. Small Basic. Microsoft. October 2015. Retrieved 2 October 2015. Small Basic. TechNet. Microsoft. Retrieved 22 April 2015.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |