>Learning curve sometimes will bring things like that. But, this syntax is very particular to javascript. Thus, you cannot apply it in .NET, VFP or else, for example. The other approach, the one I am using, is also practical in javascript. As a matter of fact, if you search for a few messages, or you might have already seen a few messages that members are mentioning that the code I paste is easily understandable, especially when I paste code in .NET, because that one in particular is an interface that there wasn't much of naming convention and so on. I already mentioned that code examples of .NET across the .NET is often incomplete, namespace not included, variables like i and things like that. At least, in VFP, we were using pretty much the same naming convention. Thanks to YAG when I first attended his class in Raleign, NC which was the start of something new that I kept learning and evolve since then.
OK, YMMV!
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/Never explain, never complain (Queen Elizabeth II)