| VB | Gambas | Type of file |
|---|---|---|
| .vbp | .project (just .project, one per directory) | Project definition file |
| .bas | .module | Module |
| .cls | .class | Class file |
| .frm | .form | Form definition file |
| .frx | (whatever you want) | Binary resource files |
ByVal keyword, so be careful when you try to port a VB project.
"Filter 1 (*.foo);;Filter 2 (*.bar)" instead of "Filter 1 (*.foo)|Filter 2 (*.bar)".
FUNCTION myTextBox_KeyPress(...) as Boolean you can Return True at any time during the function and it will cancel the normal event processing for that particular firing of the event.
Following is a list of pages that include VB-migration notes:
| DifferencesFromVB | Differences from VB While Gambas is not intended to be a clone of TrademarkAttributions Microsoft Visual Basic , it's still BASIC and there are many similarities ... |
| GambasEND | END Indicates the end of a procedure or a function. See GambasMethodsDeclaration Method declaration . #VbDiff Differences from VB In VB, the End command closes all ... |
| GambasSHELL | SHELL SHELL Command WAIT FOR ( READ WRITE READ WRITE ) AS Variable Executes a command via a system shell. An internal Process object is created to manage the command ... |