--- Cameron Schlehuber <[EMAIL PROTECTED]> wrote: > So, Greg, do you ALWAYS use the $GET and then on top of that, check > for > $LENGTH before using such values as subscripts? Etc. etc. >
Pretty much...except, I tend to use $GET inside $PIECE like so S @OBJ@("1QBAL")=+$P($G(^PRC(420,PRCVSTAT,1,PRCVCP,4,PRCVFY,0)),"^",2) and check for the reasonableness of the values. I also use use DBS much more than I use direct global reads, though there are obviously exceptions (such as the above). === Gregory Woodhouse <[EMAIL PROTECTED]> "All truth passes through three stages: First, it is ridiculed. Second, it is violently opposed. Third, it is accepted as being self-evident." --Arthur Schopenhauer ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members