The following code works on gforth 0.5.0:
decimal
: my_type 10 spaces type ;
noname : 34 parse my_type ; lastxt
noname : 34 parse postpone SLiteral (compile) my_type ; lastxt
interpret/compile: my_." immediate
my_." Hi there"
: fred my_." Hi there, fred" ;
fred
But not on the latest i386 binary:
Gforth 0.6.2, Copyright (C) 1995-2003 Free Software Foundation, Inc.
Gforth comes with ABSOLUTELY NO WARRANTY; for details type `license'
Type `bye' to exit
decimal ok
: my_type 10 spaces type ; ok
noname : 34 parse my_type ; lastxt ok
noname : 34 parse postpone SLiteral (compile) my_type ; lastxt ok
interpret/compile: my_." immediate ok
my_." Hi there" Hi there ok
: fred my_." Hi there, fred" ;
*the terminal*:8: Invalid memory address
: fred my_." Hi there, fred" ;
^^^^^
Backtrace:
$4015DB10 ;s
fred
*the terminal*:9: Undefined word
fred
^^^^
Backtrace:
$4015C0B4 throw
$40167B10 no.extensions
Any ideas ?
--
Peter Fox <[EMAIL PROTECTED]> Aeroflex Test Solutions
Principal Design Engineer Stevenage
Any opinions expressed above are http://www.aeroflex.com/
not necessarily those of Aeroflex. Tel: + 44 (0) 1438 742200
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]