On 2015-04-16 22:44, Elias Mårtenson wrote:
On 17 April 2015 at 10:39, Christian Robert <[email protected] 
<mailto:[email protected]>> wrote:

    Hi,

           sock←FIO∆socket 'AF_INET' 'SOCK_STREAM' 'IPPROTO_TCP'
    DOMAIN ERROR
    FIO∆socket[3]  Zh←FILE_IO[32]Bi
                       ^          ^

    of course it fail, because it is expecting integer numbers ...

    Such integer numbers are *very* *very* hard to remember, why not accepting 
this syntax (in plain text, even mixed with integers)?


It would be trivial to do. Simply create a set of  FIO∆name variables that hold 
the proper values. There is no need to use strings for this.

If you do it, I'm sure Jürgen will merge it into FILE_IO.apl.

Regards,
Elias

I though about that too (defining AF_INET, AF_UNIX, SOCK_STREAM, SOCK_DGRAM, 
IPPROTO_TCP, IPPROTO_UDP, IPPROTO_RAW, and such (tenths more)),
but I *still* think it should be in the ".so"  and not in the )lib 5 "FILE_IO"

my 2 cents for what it worst.

Xtian.


Reply via email to