I started to organize coding patterns for Small Basic here in CodePlex. I sometimes use these patterns in my Small Basic programs.
For example, I use three patterns in following code (from WNK213).
I named the first pattern as CamelVar. I named each pattern. A pattern has it’s name, descriptions, codes, pictures, exceptions, links to other patterns and external links. This concept is come from Pattern Browser described with HyperCard.
The second pattern is PseudoExit. This pattern is alternative for Exit For or Exit While in Visual Basic. Because Small Basic doesn’t have these keywords.
The third one is IndentByIDE.
Some of these patterns may become snippets for Small Basic.
Happy coding with Small Basic!
- Walkthrough: Creating a Code Snippet (MSDN – Visual Studio IDE User’s Guide)