Visual Basic Family Compared to ViviFire

ViviFire shares many features with Visual Basic and VB.NET. This document describes a few aspects that should make learning VF easier.

Comparisons of features

Feature equivalence

Arithmetic operators +, -, *, /, Mod, ^ Lacks \
Assignment operators &=, +=, -=, *=, /= Lacks \= and ^=; <<=SHL=, >>=SHR=
Call Mostly alike
Comparison Operators Mostly alike
Const Mostly alike
Do...Loop Mostly alike
Elementary data types Mostly alike SByteTiny
Exit Mostly alike Lacks Exit Select
For...To Mostly alike Lacks Next
If...Then...Else Mostly alike ElseIfElse If
Logical operators And, Or, Xor AndAlsoAnd Then, OrElseOr Else
ReDim Mostly alike Lacks Preserve
Return Mostly alike
Select...Case Mostly alike Is is required in comparisons
Throw Mostly alike
Try...Catch...Finally Mostly alike Lacks Catch...When
While Mostly alike

Simple translations

The following table lists elements of VB that exist under a different name:

In VBIn ViviFire
<< and >>SHL and SHR
InheritsIs (Class Statement)
Is and IsNotIs Operator
Me and MyBase#Self and #Base
MustInherit and MustOverrideAbstract
RaiseEventCall Event

Similar features

In VBIn ViviFire
DelegateEvent statement
HandlesHandles (Sub Statement)
If()If...Then...Else Operator
Implements (Class)Does (Class Statement)
InterfaceTrait Statement
ModuleProgram and Library modules
NewNew Statement
ReadOnly and WriteOnlyAbstract Get and Set (Property Statement)
StructureStruct Statement
TypeOf...IsIs Operator

Unsupported features

Visual Basic and Visual Basic.NET are trademarks of Microsoft Corporation.