Development goes on. ⚡️👟QB64 v2.0.2 released! 🤩🤩🤩🤩Get it now!
0 Members and 1 Guest are viewing this topic.
I'd say the main advantage (and maybe the only) of Type is making your code readable and understandable 3 years from now.You also have a 3rd option, maybe considered the most primitive but still very readable and that is to have a separate single dimension array for what would be each line in the Type definition and a common index would keep all the values in sync.A multi-dimensional array would be my last choice but it is a matter of preference.Append: TYPE has more advantages, excellent for fixed record size for data basing and with Type you can have an array of mixed typed variables. With a multi-dimensional array, you are stuck with one type.
UTD? I've heard of UDT (User Defined Type) but not UTD??Probably mean UDT given subject of this thread. ;-))
Quote from: bplus on December 25, 2018, 03:45:08 pmUTD? I've heard of UDT (User Defined Type) but not UTD??Probably mean UDT given subject of this thread. ;-))I’ve worked with some databases that used UDT as an abbreviation for User Data Type, which is what I assumed it was representing here; though you’re probably correct in assuming it was originally just a typo.
its kdnda lkie redaing tihs mesasge. If you go wtih the folw, you knida get the gist of waht I was tyring to say LOL(old trick on how peoples minds can be when reading. we just fill in the gaps)