The domain error is correct. Pointer argument means "pass address of memory location", and result is a "value argument", there is no address to pass, result is returned in a register and read by caller.
--- bill lam <[EMAIL PROTECTED]> wrote: > The modifier > for declarations that return pointer will raise error. > eg, J601 under win32 > 'kernel32 LoadLibraryA x *c'&cd <'cat' > +-+---+ > |0|cat| > +-+---+ > 'kernel32 LoadLibraryA * *c'&cd <'cat' > +-+---+ > |0|cat| > +-+---+ > 'kernel32 LoadLibraryA > x *c'&cd <'cat' > 0 > 'kernel32 LoadLibraryA > * *c'&cd <'cat' > |domain error: cd > | 'kernel32 LoadLibraryA > * *c'&cd<'cat' > > Is this a feature or a bug? > > -- > regards, > bill > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ____________________________________________________________________________________Sick sense of humor? Visit Yahoo! TV's Comedy with an Edge to see what's on, when. http://tv.yahoo.com/collections/222 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
