Small Basic Code Block Generator: How to format a Code Block

Today’s guest blogger is Nonki Takahashi. You can find the latest version of this article here on TechNet Wiki.

Nonki Takahashi's avatar


This article is especially for the Small Basic article writer on TechNet Wiki.  It 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 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 as the 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 + " ")


See Also

Other Languages


You can find the most up-to-date version of this article here on TechNet Wiki.

Thanks to Nonki for this great article and for making the “Small Basic Code Block Generator” program! Nonki also provided the Japanese version of this article!

   – Tall Basic Ed


Comments (12)

  1. Math Man says:

    @ Nonki

    Do you mind me making a blog post about how to use that tool to format code blocks in the Small Basic Forum?

  2. Math Man, I don't mind.  Please post your article.  Thanks.

  3. Math Man, did you make the article? I'd like to link to it from here.


  4. Math Man says:

    Sorry. After I posted that I realized that readers would have to understand HTML before they would understand my explanation. And Small Basic users often haven't learned HTML.

  5. Math Man, true, but you could always explain it for them. =^)


  6. Math Man says:

    How can you move something from Technet Gallery to Technet Wiki?

  7. Math Man, no you cannot move something. The TechNet Gallery is meant more for downloads of code and programs. The Wiki is more for writing articles. Looks like you added your article to the Wiki. So you can delete the Gallery item.


  8. Math Man says:

    Deleted the Gallery article.

  9. I also use the Gallery to upload/download images and white paper files (like PDFs). Sometimes we'll write an article on TechNet Wiki and then post a PDF version on the Gallery, and then cross-link between the two. That way people can read it online but they can also download a PDF if they want to read it or share it that way, or if they want a good format for printing it out.