Public Dim
Posted: Sun Oct 31, 2010 10:06 am
Hi,
Why "Public Dim myVar As Short"?
KB, as almost every other basic, are happy with "Public myVar As Short".
Why does this throw an error " = expected..."
Public Const RS232 As Byte = 1
KB and VB and... accept (require) it.
This doesn't work, Type is not recognized.
To be continued.
/Henning
Why "Public Dim myVar As Short"?
KB, as almost every other basic, are happy with "Public myVar As Short".
Why does this throw an error " = expected..."
Public Const RS232 As Byte = 1
KB and VB and... accept (require) it.
This doesn't work, Type is not recognized.
- Code: Select all
Type T_Msg
Type As Byte
ID As Integer
tSYSTEM As Byte
unit As Byte
port As Byte
data(7) As Byte
ReplyTo As Integer
crc As Integer
End Type
To be continued.
/Henning