BASIC flow charts

Supported languages

Visustin generates flow charts from several BASIC dialects.

Language Special note
LotusScript v8.5
PowerScript v11.5 (PowerBuilder) Cannot open binary files. Copy & Paste code to Visustin.
PureBasic v4.30
REALbasic 2009 Cannot open binary files. Export as text or Copy & Paste.

Earlier versions are supported as well.

Support for other BASIC dialects is not guaranteed. You are encouraged to try other BASIC dialects and report your findings back to us. We are interested in your feedback on which dialects should be supported in the future. For Visual Basic related languages and ASP, see Visual Basic flow charts.

Supported statement types

Visustin supports the following generic statement types.

Statement typeExamples (actual keywords may differ)
Conditional statementsIf..Then..ElseIf..Else
Multiway decisionSelect Case, Choose Case
IterationFor..Next, For Each, ForAll
LoopingDo..Loop, While..Wend, Repeat..Until
Loop exit and continueBreak, Exit, Continue
JumpGoTo, GoSub, Resume
ReturnReturn
End programEnd
Stop for debuggingBreak, CallDebugger, Stop, Suspend
Error handlingTry..Catch..Finally
Error raisingRaise, Throw
Special blocksWith..End With
Line numbers and labelsMyLine:
Comments' Comment, // Comment, /* Comment */, REM Comment
Functions and sub-programsFunction, Sub
Conditional compilation#If..Then..#ElseIf..#Else
CompilerIf, CompilerSelect

The actual keywords can be different depending on which BASIC dialect you are using. Visustin supports all appropriate keywords.

Most other statements are handled as regular statements. Unhandled compiler directives are displayed as comments. Some data declarations are hidden to save space. This concerns interface declarations, user-defined data types, enumerations and data sections, where applicable.

Unsupported constructs

The following statement types are unsupported. Unsupported means you see the code in the graph as a normal statement, not as a branch or a jump.

PowerScript note. Visustin cannot open binary PowerScript files. You need to Copy & Paste the code from PowerBuilder to Visustin.

REALbasic note. Visustin cannot open binary or XML REALbasic files (.rb, .xml). You can either Copy & Paste the code from REALbasic or use the File|Export Source command in REALbasic to export the code to a text file, which Visustin can read. Note that the exported source file can be too large to handle in one chart. See Large flow charts for tips on dealing with large source files.

©Aivosto Oy