[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Basic Entry Parameter Question
Es casi lo mismo.
You have the ability to check the parameters at compile time, you can
pass data that will not accidentaly be modified (const), you can pass
by "value" (the compiler evaluates first and sends the result)
In order to get the full benefit you need to create a "copy member" with
the "PR", and use /copy in the function and in all programs that call it.
Raúl
______________________________________________________________________________
Machado Nicolás Guillermo wrote:
>Hi Scott, one basic question
>
>In the example that you provide few months ago, you have a program that receives 3 parameters, but there is no "*ENTRY PLIST" on the source,
>Instead it have the folowing lines :
>
>D EXCHRATE PR ExtPgm('EXCHRATE')
>D Country1 3A const
>D Country2 3A const
>D Amount 15P 5 const
>D EXCHRATE PI
>D Country1 3A const
>D Country2 3A const
>D Amount 15P 5 const
>
>This work just like "*ENTRY PLIST" operators ??
>
>I assume that yes, but I need to know why.
>
>Best Regards, Nicolas
>
>
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------