C |
Delphi |
Char |
Char (1byte) |
Char [] |
PChar |
Bool |
Boolean (1Byte) |
Double |
Double (8bytes) |
Word |
Word (2bytes) |
Word * |
Var Word |
Word [] |
PWord |
Dword |
DWord (4bytes) |
Short |
SmallInt (2bytes) |
Float |
Single (4bytes) |
Float [] |
Psingle |
Void |
(LeaveSapce) |
Long |
LongInt (4bytes) |
|
|
|
|
//PChar is a pointer to a null-terminated string of characters of type AnsiChar.
//PChar = ^ Char = Char[]
PWord = ^ Word = Word[];
PSingle = ^ Single = Single[];
C |
Visual Basic |
Char |
ByVal Byte (1byte) |
Char [] |
ByVal String |
Bool |
ByVal Boolean (2bytes) |
Double |
ByVal Double (8bytes) |
Word |
ByVal Integer (2bytes) |
Word * |
Integer |
Word [] |
Integer |
Dword |
ByVal Long (4bytes) |
Short |
ByVal Integer (2bytes) |
Float |
ByVal Single (4bytes) |
Float [] |
Single |
Void |
|
Long |
ByVal Long (4bytes) |
|
|
|
|