One common methodology is to have a task or function maintain a counter of how many times it has been called. Shalom [DR] I don't know why any would want to do this. If this were in a class, they probably meant 'static function logint f(byte n);' so they are likely to get an error when they try to statically access the method anyways. function static longint f(byte n); longint subtotal = 0; // Illegal return (subtotal += n); endfunction --------------------------------------------------------------------- Intel Israel (74) Limited This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Sun Sep 16 00:54:02 2007
This archive was generated by hypermail 2.1.8 : Sun Sep 16 2007 - 00:54:18 PDT