#94339 - 2002-10-17 05:40 PM
Re: RFC - Hungarian Notation for KiXtart & KiXforms
|
rclarke
Starting to like KiXtart
   
Registered: 2001-06-08
Posts: 178
Loc: Oxfordshire, United Kingdom.
|
Jens,
I agree, 'g' and 'a', should always come before the other data type prefixes. Furthermore, in the event of a global array is should be represented as 'ga' and not 'ag'.
Shawn,
You have a raised a good point with regard to 'n' for count. Should we also have 'i' for index (as in Arrays). Please note that 'i' is not allocated to 'integer' as this is covered by 'l' for long integer.
Finally, imho all global array data types should be explicity declared e.g. ga is insufficient, it should be 'gab', 'gac', 'gaf', 'gal' and 'gas'
Rod.
|
|
Top
|
|
|
|
#94342 - 2002-10-21 09:24 PM
Re: RFC - Hungarian Notation for KiXtart & KiXforms
|
rclarke
Starting to like KiXtart
   
Registered: 2001-06-08
Posts: 178
Loc: Oxfordshire, United Kingdom.
|
OK, so unless anyone has any major objections, I would like to propose that the KiXtart/KiXforms Hungarian Notation convention available from the KiXforms site be considered final. As always, any standard is subject to revision and modification over time, so if we do wish to add n, i, e, v and others then let's hear the case for their inclusion. If you are not happy with this proposal, then please make your voice heard.
Thanks,
Rod.
|
|
Top
|
|
|
|
#94344 - 2002-10-22 11:20 AM
Re: RFC - Hungarian Notation for KiXtart & KiXforms
|
rclarke
Starting to like KiXtart
   
Registered: 2001-06-08
Posts: 178
Loc: Oxfordshire, United Kingdom.
|
Good idea, however, just I was about to post the HN convention to the FAQ Forum, I spotted my deliberate mistake and therefore would like to make one small change. I have proposed using 'f' for 32 bit floating point numbers. Well, according to the KiXtart manual ...
quote: The current implementation of KiXtart uses three types of variants: long integers, doubles (8-byte floating point numbers) and strings.
... oops, therefore we should be using 'd' as in 'double' for 64 bit floating point numbers. As this is clearly an error on my behalf (although nobody else spotted it ), I hope that nobody has issue with the correction proposed.
Rod.
|
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 1088 anonymous users online.
|
|
|