I've been trying to use 'cold to handle some command line arguments, but success has been eluding me. Below is a reduced test program which hopefully shows my problem.

\ test.fth

: test-cold
        cr ." test-code called" cr
        ;

:noname
        DEFERS 'cold
        test-cold ; IS 'cold

And when I invoke this on the command line with:

gforth test.fth

I don't get any output other than the standard banner message. If I call 'cold manually, I do see my output. I've also verified via "see" that 'cold does indeed point to my anonymous routine.

This is on gforth 0.6.2. Anyone have any ideas?

Cameron Esfahani
[EMAIL PROTECTED]

"Americans are very skilled at creating a custom meaning from something that's mass-produced."

Ann Powers


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to