Differences from VB

While Gambas is not intended to be a clone of Microsoft Visual Basic, it's still BASIC and there are many similarities between the two languages, and many one to one relationships between features. There are probably more similarities than differences, but you can't simply copy your VB projects over and expect them to compile under Gambas. The symbol vbdiff.jpg will sometimes appear on a page in this documentation to indicate that there are notes available on how using the feature described on that page differs from accomplishing the same task in VB, to help those programmers who may be migrating to Gambas from that language.

Non-Language-Specific Differences

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

VB Has It, Gambas Doesn't

Gambas Has It, VB Doesn't

Same Functionality, Different Terminology

Cross-Reference

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 ...
Number of topics: 3