Changes between Version 4 and Version 5 of TypesOverview
- Timestamp:
- 02/02/09 05:03:35 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TypesOverview
v4 v5 4 4 * bool 5 5 * char 6 * int (= int32)7 * uint (= uint32)8 * float (= float64)6 * int (= int32) 7 * uint (= uint32) 8 * float (= float64) 9 9 * decimal 10 * number (= decimal, change with -number: option)10 * number (= decimal, change with -number: option) 11 11 * dynamic 12 12 * Explicit Sizes … … 37 37 * foo? - can be "foo" or "nil" 38 38 * applies to all types 39 * "dynamic" implies "dynamic?" 39 * "dynamic" implies "dynamic?" meaning you can always pass "nil" where "dynamic" is expected 40 * Streams 41 * foo* - zero or more objects of type foo 42 * See StreamType 40 43 * See also 41 44 * [http://cobra-language.com/forums/viewtopic.php?f=4&t=291 Discussion on types] 42 45 43 TODO: streams,arrays, passthrough, vari, typetype, how to get the type, local var type inference, greatest common denominator46 TODO: arrays, passthrough, vari, typetype, how to get the type, local var type inference, greatest common denominator