Hi, According to the 1800 LRM (section 12.2), we can now have automatic formal arguments for static tasks (and vice versa). However, I could not discover the "official" syntax to do so in the LRM. (1) The most obvious one: task mytask (input automatic reg d); Whis is wrong as per BNF. (2) If I go to non ansi-style: task mytask (input d); automatic reg d; endtask Then some tool is giving redeclaration error for 'd', which is correct as per mantis 1169. (3) Finally, if I try: task mytask; input d; automatic reg d; Then, it is okay as per BNF. However, if I try to make it implicit data type, then is wrong as per BNF. task mytask; input d; automatic d; What is the correct way to achieve the behaviour? -- Regards Surya -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Sun Dec 16 21:56:32 2007
This archive was generated by hypermail 2.1.8 : Sun Dec 16 2007 - 21:56:42 PST