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.
Visustin supports the following generic statement types.
| Statement type | Examples (actual keywords may differ) |
|---|---|
| Conditional statements | If..Then..ElseIf..Else |
| Multiway decision | Select Case, Choose Case |
| Iteration | For..Next, For Each, ForAll |
| Looping | Do..Loop, While..Wend, Repeat..Until |
| Loop exit and continue | Break, Exit, Continue |
| Jump | GoTo, GoSub, Resume |
| Return | Return |
| End program | End |
| Stop for debugging | Break, CallDebugger, Stop, Suspend |
| Error handling | Try..Catch..Finally |
| Error raising | Raise, Throw |
| Special blocks | With..End With |
| Line numbers and labels | MyLine: |
| Comments | ' Comment, // Comment, /* Comment */, REM Comment |
| Functions and sub-programs | Function, 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.
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.