[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gforth] why compiler directives in brackets?

From: Marcos Cruz
Subject: [gforth] why compiler directives in brackets?
Date: Mon, 29 Jul 2013 20:30:03 +0200
User-agent: Mutt/1.5.21 (2010-09-15)


In the Gforth's sources sometimes compiler directives are surrounded by
brackets inside a definition, not only the condition:

        : name   [ condition [if] ]  code1  [ [else] ]  code2  [ [then] ]  ;

Why? Maybe to make sure the code would work in other Forth systems where
those words are not immediate? 

Thank you.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]