On 12/2/05, Greg Kreis <[EMAIL PROTECTED]> wrote: > I always felt like the MDC must have regretted letting $P(X,"^") refer to > the 1st piece. In my mind that is a lazy feature and it blocked the logical > use to express the number of pieces. .....
Yeah, the "lazy" aspect of simply omiting parameters bothered me at first. Then I realized that many other "modern" languages allow for defining variables that have default values. And M is apparently no different. Also, the ability to pass or omit parameters is consistent with the differientation in M between empty values (i.e. $Data(x)=0) and values containing "" (I guess these would be called NULL values). It still passes the variable, but it may not be passing an actual variable. Interesting... Kevin ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members