Pito,

> Hi, is this correct behaviour in respect to comment content? P.
> 
> 
> : abcd1 ( n -- xx )
> .s ;
> 
> 
> : abcd2 ( n -- (xx) )  <<<< 

nested comments are not allowed. I just tried
your code with gforth (0.7.0) and it produces
(other but) similiar strange output.

The ( searches for the next ) and continues after 
that ) with the normal operation. In this case
with the second ), which is seen as a number (for
whatever reason, it should produce an error "word
not found"...)

Matthias


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Amforth-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to