VB Data Types - C Data Types 
Author Message
 VB Data Types - C Data Types

Sorry, VB does not support enumerations nor unions.
C data types translations are correct. The only difference between C and
Basic on native processor types is represented by C int type which is not
equivalent to Basic Integer (which is a C short). On 32 bit platforms, C
int type must be explicitly a Basic Long.

Stephanus.




Mon, 26 Jul 1999 03:00:00 GMT  
 VB Data Types - C Data Types

VB5 supports Enums. No unions, though.
Also, VB strings are BStrs.

--
Chris Behrens

Microsoft Site Builder Level 2
http://www.deltav.net

If you would like to submit me to be
a Microsoft "Most valued professional",
go to:
 http://www.microsoft.com/support/supportnet/mvp/mvpref.htm.

"Are we not drawn onward, we few, drawn onward
to new era?"



Quote:
> Sorry, VB does not support enumerations nor unions.
> C data types translations are correct. The only difference between C and
> Basic on native processor types is represented by C int type which is not
> equivalent to Basic Integer (which is a C short). On 32 bit platforms, C
> int type must be explicitly a Basic Long.

> Stephanus.





Tue, 27 Jul 1999 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. C data type vs. VB Data type

2. Get error: Disallowed implicit conversion from data type varchar to data type money

3. Data type conversion error when saving numeric data types

4. Q: variant data type with user defined data type

5. ADO data types and vbasic data types mapping

6. Data Type Problem accessing Btrieve (MBF) data type

7. Data Type Problem accessing Btrieve (MBF) data type

8. Data Type Problem accessing Btrieve (MBF) data type

9. Prob. w\ TYPE data type: err:Type Mismatch

10. Does VB a similar data type like the C++ Union type

11. Does VB a similar data type like the C++ Union type

12. problem of converting C's union type to VB's a data type

 

 
Powered by phpBB® Forum Software