|
On 02/10/2004, at 12:48 PM, Hall, Philip wrote:
Perhaps he aimed it towards the Jabberwocky reference.
Or maybe to the fact that the code he quoted was stuffing (what could be potentially) a large amount of data into argv[1] with no regard to the size of the allocated memory being used by argv[1].
PGMA: D parm1 S 10 C CALL PGMB( parm1 )
PGMB: D pgmb PI D parm1 100 C EVAL parm1 = *ALL'X'
Oops, just trashed caller's storage.
Or maybe to the suggestion that the same method could be used for returning packed decimal data too.
It can be, although I prefer the casting alternative.
Regards, Simon Coulter. -------------------------------------------------------------------- FlyByNight Software AS/400 Technical Specialists
http://www.flybynight.com.au/ Phone: +61 3 9419 0175 Mobile: +61 0411 091 400 /"\ Fax: +61 3 9419 0175 \ / X ASCII Ribbon campaign against HTML E-Mail / \ --------------------------------------------------------------------
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.