G
goo
Guest
11.7 I have a report like this: def var bOpen as log no-undo. for each event: iNumDays = getNumberOfDays(output bOpen). put ...... iNumDays bOpen. end. function getNumberOfDays Returns integer (output obOpen as log): def var iNumDays as int no-undo. find first bEvent where bEvent.field = Event.field : bOpen = if condition.... iNumDays = ...... Return iNumDays. end function. Question: Should I use output parameter in a function, or should I make a class and use property/Methods or procedure With output parameters ? I now understand that I can use output in a function 
Continue reading...
Continue reading...