The following language features are available in Visual Basic 5.0, but are not available in Windows CE Toolkit for Visual Basic 5.0.
Category | Omitted Feature/Keyword | Notes |
---|---|---|
Array Handling | Option Base Declaring arrays with lower bound <> 0 |
|
Collection | Add, Count, Item, Remove Access to collections using ! character (e.g., MyCollection!Foo) |
|
Conditional Compilation | #Const #If...Then...#Else |
Most uses of the # character, including File access using #filenum (#date# is okay): |
Control Flow | DoEvents GoSub...Return, GoTo On Error GoTo On...GoSub, On...GoTo Line numbers, Line labels With...End With End, Stop |
Use App.End to end your program. On Error Resume Next is provided for error handling. |
Conversion | CVar, CVDate Str, Val |
|
Data Types | All intrinsic data types except Variant Type...End Type AS |
|
Date/Time | Date statement, Time statement Timer |
|
DDE | LinkExecute, LinkPoke, LinkRequest, LinkSend | |
Debugging | Debug.Assert, Debug.Print End, Stop |
|
Declaration | Declare (for declaring DLLs) New Optional ParamArray Property Get, Property Let, Property Set Static |
|
Error Handling | Erl Error On Error...Resume Resume, Resume Next |
|
File Input/Output | All traditional Basic file I/O | Use Windows CE ActiveX controls for file I/O |
Financial | All financial functions | Use Windows CE ActiveX controls for financial functions |
Object Manipulation | TypeOf | |
Operators | Like | |
Options | Deftype Option Base Option Compare Option Private Module |
|
Select Case | Expressions containing Is keyword or any comparison operators Expressions containing a range of values using the To keyword. |
|
Strings | Fixed-length strings LSet, RSet Mid Statement StrConv |
|
Using Objects | Collection access using ! | |
Statements with a $ Character | Chr$, Command$, Date$, Environ$, Error$, Format$, InputBox$, Lcase$, Left$, Ltrim$, Mid$, Right$, Rtrim$, Space$, Str$, String$, Time$, Trim$, Ucase$ |