The way to define a variable that can hold values of more than one type is to use unions: union uu { int i; float f; char c; char *s; } x; x.i is an integer, x.s a char pointer etc. and the size of x is the maximum among the sizes of the me...
http://stackoverflow.com/questions/1758899/how-do-i-hav...
An increasing trend is to not state the type at all, or to optionally state the type. This could be a dynamically typed langauge where there really is no type on the variable, or it could be a statically typed language which infers the type...
http://stackoverflow.com/questions/1712274/why-do-a-lot...
The VBA equivalents are collections and dictionaries . They re created as follows:
http://science.nature.nps.gov/im/units/mwr/gis/migratin...
Visual Basic 6.0 allows you to declare parameter types using the As Any variable type. This declaration allows you to pass an argument of any type; Visual Basic 6.0 passes the correct information when the call is made. This gives you greate...
http://migrationguide.artinsoft.com/Migration-Guide-Faq...
No and yes (isn't that helpful?). As for the no part, the Client scope can only be used for storing simple values (strings or numbers). However, there is a way around this. You can take a complex data type and turn it into a string using W...
http://linuxbusinessweek.sys-con.com/read/41792.htm
Usually yes, even if it is not any faster it almost always takes up less memory. If you have a choice between using a variant declaration compared to another such as string or integer then use the other.
http://www.imt.net/%7Ejoe/matt/program/vb/faq.htm
No, C does not have a boolean variable type. One can use ints, chars, #defines or enums to achieve the same in C. An enum may be good if the debugger shows the names of enum constants when examining variables.
http://placementsindia.blogspot.com/2008/03/scope-of-c-...