Category:Microsoft Small Basic: Difference between revisions
Content added Content deleted
No edit summary |
PatGarrett (talk | contribs) (Microsoft Small Basic is a language) |
||
Line 1: | Line 1: | ||
{{language|Microsoft Small Basic |
|||
{{implementation|BASIC}} |
|||
|strength=strong |
|||
|safety=safe |
|||
|compat=nominative |
|||
|checking=dynamic |
|||
|LCT=yes}} |
|||
⚫ | '''Microsoft Small Basic''' (not to be confused with [[SmallBASIC]]) is a [[:Category:BASIC|BASIC]] compiler for the [[.Net Framework]], largely aimed at absolute beginners. It is an extremely simplified variant of the BASIC language, and can be thought of as a sort of "[[QuickBASIC#QBasic|QBasic]].Net". In fact, its creator has called it a modern-day QBasic. But it is a language and not an implementation because it has its own syntax. |
||
Three examples: |
|||
* the For loop has no Next statement |
|||
For i=1 To 10 |
|||
... |
|||
EndFor |
|||
* arrays are neither declared nor allocated. No Dim or ReDim statements. |
|||
* arrays are associative and have a C syntax, tab(i,j)=k is coded: |
|||
tab[i][j]=k |
|||
⚫ | '''Microsoft Small Basic''' (not to be confused with [[SmallBASIC]]) is a [[:Category:BASIC|BASIC]] compiler for the [[.Net Framework]], largely aimed at absolute beginners. It is an extremely simplified variant of the BASIC language, and can be thought of as a sort of "[[QuickBASIC#QBasic|QBasic]].Net". |
||
Small Basic lacks some things that are found in most other modern languages -- such as functions (although subroutines are supported) and the ability to call external libraries -- but this lack is promoted as deliberate simplification, to avoid confusing beginners with unnecessary complexity. |
Small Basic lacks some things that are found in most other modern languages -- such as functions (although subroutines are supported) and the ability to call external libraries -- but this lack is promoted as deliberate simplification, to avoid confusing beginners with unnecessary complexity. |