whoa guys ... might want to back and re-read Rod's original statement:

quote:

I want to concentrate on defining a standard for those who want to use Hungarian Notation.

I don't think Rod is suggesting we all use HN - not at all - but for those that DO want to use it - lets define a standard for it (for Kixtart that is).

I use HN sometimes. For short and simple scripts I think it can be overkill - but for long and complex scripts - especially forms scripts that have many forms - I find that it does help to keep all those variable names sorted (in my own mind anyways).

Heres a script that uses HN. I think it would be hard to argue with the fact that the HN variable names help - rather than hinder the reader.

Kixforms: Manage User Details - Here`s MUD in your eye !

Heres a snippet of code:

code:
If $chkAccountLocked.Value = 0
$adsUser = GetObject($strUserPath)
$adsUser.GetInfo
$adsUser.IsAccountLocked = 0
$adsUser.SetInfo
EndIf

Anyone familiar with HN should know exactly what is going on here - they could also tell you - without looking at the rest of the code - exactly what variable types are being used here - and whether they are being used correctly or not. Funny thing is - even someone with just VB experience alone could probably read this script and figure it out (HN very widely adopted in programming circles).

Anyway - don't mean to be preachy - im not a consistent user of HN - but a documented standard is good to have if choose to use it.