Small Basic: How to Format a Code Block

Small Basic: How to Format a Code Block

This article is especially for the person who's writing Small Basic articles on TechNet Wiki (but this also works for the forums).  This article explains the Code Block Generator v1.3
 
There is a menu icon of [Format Code Block] to generate code block in TechNet Wiki [EDIT] menu bar.



This [Format Code Block] tool shows following popup window.  But there is no option to select the Small Basic programming language.



 So, we need another tool to generate a Small Basic code block.  The Small Basic program ID SKC235-1 is a tool for that.



Usage of this tool is almost the same as TechNet Wiki's [Format Code Block].  If you click the [OK] button, you will see the following window:



And copy this code block and paste with [PasteHTML] button into TechNet Wiki [EDIT] screen.  Then you get the following code block:

' Sample Program
For i = 1 To 10
  TextWindow.Write(i + " ")
EndFor
TextWindow.WriteLine("")


See Also

Other Languages

Leave a Comment
  • Please add 1 and 3 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Sort by: Published Date | Most Recent | Most Useful
Comments
  • Ed Price - MSFT edited Revision 13. Comment: Small grammar tweak

  • Ed Price - MSFT edited Revision 10. Comment: grammar

  • Ed Price - MSFT edited Revision 9. Comment: Grammar - added "the"

  • Ed Price - MSFT edited Revision 8. Comment: grammar

  • Ed Price - MSFT edited Revision 7. Comment: Slight grammar updates

  • Ed Price - MSFT edited Revision 4. Comment: Clarified title

  • Ed Price - MSFT edited Revision 2. Comment: Added a link at the top to the program.

Page 1 of 1 (7 items)
Wikis - Comment List
Sort by: Published Date | Most Recent | Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
  • Ed Price - MSFT edited Revision 2. Comment: Added a link at the top to the program.

  • Ed Price - MSFT edited Revision 4. Comment: Clarified title

  • Ed Price - MSFT edited Revision 7. Comment: Slight grammar updates

  • Ed Price - MSFT edited Revision 8. Comment: grammar

  • Ed Price - MSFT edited Revision 9. Comment: Grammar - added "the"

  • Ed Price - MSFT edited Revision 10. Comment: grammar

  • Very cool app - thanks for making it.  I just used it in a couple wiki posts.

  • I added a link to Math Man's article "Small Basic Forum: Code Blocks".

  • Ed Price - MSFT edited Revision 13. Comment: Small grammar tweak

  • Does this generator also work with other languages better than the Wiki's Format Code Block tool?

  • This code block generator is only for Small Basic.  But this code block generator is also generated by other Small Basic program "Parser Generator 1.3".  So if we change the parser generator, we can create the other code block generators for other languages.  cf. social.msdn.microsoft.com/.../7ef79db5-43a4-4a3d-956d-d7b055eb0f60

Page 1 of 1 (11 items)