[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[open-cobol-list] Re: Question About Functions
From: |
Roger While |
Subject: |
[open-cobol-list] Re: Question About Functions |
Date: |
Tue May 10 08:46:21 2005 |
> FUNCTION MAX( A B - C - 3 )
Indisputedly two.
What about this :
FUNCTION MAX( A (B - C) - 3 )
You think 3? Wrong, still 2.
BUT :
FUNCTION MAX( A B - C -3 )
Note no space between the "-" and the "3".
That's 3 parameters. The beauties of the unary minus.
Roger
- [open-cobol-list] Re: Question About Functions, Roger While, 2005/05/10
- [open-cobol-list] Re: Question About Functions,
Roger While <=
- [open-cobol-list] RE: Question About Functions, Robert Sherry, 2005/05/10
- [open-cobol-list] RE: Question About Functions, Roger While, 2005/05/10
- RE: [open-cobol-list] RE: Question About Functions, Roger While, 2005/05/11
- RE: [open-cobol-list] RE: Question About Functions, Bill Klein, 2005/05/11
- RE: [open-cobol-list] RE: Question About Functions, Roger While, 2005/05/12
- RE: [open-cobol-list] RE: Question About Functions, Bill Klein, 2005/05/12