Hi Jon,

> After doing #1, lines 4-7 look like this:
> 
> # (port ['T] 'cnt|(cnt . cnt) ['var]) -> cnt
> (code 'doPort 2)
> : MyIpAddr asciz "127.6.26.129"       # may work on Cloud9
>    push X

Sorry, no, this is the wrong place. You've put the constant string right
into the 'doPort' function definition. That's why there is an

> Illegal instruction

because the string is not executable code.


Better try this:

   : MyIpAddr asciz "127.6.26.129"

   # (port ['T] 'cnt|(cnt . cnt) ['var]) -> cnt
   (code 'doPort 2)
      push X
      push Y
      ...

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

Reply via email to