3 ms·
> Data Types PuffinBASIC has extended BASIC types and supports Int32, Int4, Float32, Float64, and String. That's hardly "extended". Where are decimals, arbitra
by tuatoru 6y ago
> Data Types PuffinBASIC has extended BASIC types and supports Int32, Int4, Float32, Float64, and String.
That's hardly "extended". Where are decimals, arbitrary precision numbers, dates, datetimes, lists/sets/stacks, dictionaries, structured types, enumerated types? Let alone advanced types.
- srivastm 6y agoI am comparing with gwbasic types which was limited to in16, float, double and string. The only type from gwbasic I did not implement is decimal. This is an active project and I plan to add dict/set types soon. I may also add decimal type. Stay tuned. I don’t plan to add complex types in PuffinBASIC. If I do another language, then I might add these.
- srivastm 6y agoBtw, I totally agree with you. I should have said a minor improvement to gwbasic data types. Your comments made me also think about adding a few data types, specially decimal, dict and set.
- easytiger 6y agoIt's BASIC.
- srivastm 6y ago:)