Hi Christopher,

> Thank you. Could you explain this code:
> (load
>    "@test/src/main.l"
>    "@test/src/apply.l"
>    ...
> How is the "@" character being used here? The reference documentation
> mentions the wildcard character in conjunction with match and fill, but
> I'm not clear on what it means here.

This is indeed not obvious.

"@" has special meaning in many different contexts. There is even an article
about them: http://picolisp.com/wiki/?atmark - the above use case is mentioned
under "path names".

The primary documentation is in http://software-lab.de/doc/ref.html#invoc in the

   In any case, the directory part of the first file name supplied (normally,
   the path to "lib.l" as called by 'pil') is remembered internally as the
   PicoLisp Home Directory. This path is later automatically substituted for any
   leading "@" character in file name arguments to I/O functions (see path).

or also in http://software-lab.de/doc/refP.html#path

♪♫ Alex
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to