Bill, thanks for merging the pr.

I will try those things, option two is particularly sneaky, I like it :)

On Sun, 29 Nov 2020 at 00:18, bill lam <[email protected]> wrote:

> see
> https://code.jsoftware.com/wiki/Guides/DLLs/Error_Messages
>
> try
>
> '/usr/local/lib/libSDL2.dylib SDL_Log' > n *c' cd <'test'
>
> or maybe
>
> '/usr/local/lib/libSDL2.dylib SDL_Log' > n *c *c' cd '%s';'test'
>
> On Sun, Nov 29, 2020, 4:22 AM emacstheviking <[email protected]> wrote:
>
> > I am trying to create a call to SDL_Log which takes a format string and
> > then any number of arguments as expected like printf sprintf et al.
> >
> >
> > Given that the declaration doesn't allow one to declare such a thing, I
> > thought I would have to do something like this...
> >
> >
> > '/usr/local/lib/libSDL2.dylib SDL_Log n x'
> >
> > '/usr/local/lib/libSDL2.dylib SDL_Log2 n x x'
> >
> > '/usr/local/lib/libSDL2.dylib SDL_Log3 n x x x'
> >
> >
> > but even with the first one I am getting a domain error,
> >
> >
> > |domain error: cd
> >
> > |   '/usr/local/lib/libSDL2.dylib SDL_Log > n x'    cd'test'
> >
> >    cder''
> >
> > 4 0
> >
> >
> > The 'n' says no return value, the x is the format string pointer (I tried
> > *c too but same error) and I am not sure how to proceed.
> >
> >
> > Any ideas?
> >
> > I am sure I can't be the first person to want to do this.
> >
> > Thanks
> >
> > Sean
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to