On Jun 30, 2005, at 12:06 PM, Stefan Pantke wrote:
dummyI = max( 2, max( 3,4 ))
dummyI = max 2, max( 3,4 )
dummyI = max( 2, max 3,4 )
dummyI = max 2, max 3,4
The first line compiles, while all other lines report error messages.
Can you explain why?
Yes, because they are function calls, for which parens are required.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|