[Jprogramming] Possible to nest multiline noun definition withinverb definition?

Miller, Raul D rdmiller at usatoday.com
Wed Feb 14 07:16:29 HKT 2007


The following will define one verb and three different nouns.
Each of the nouns will consist of a line of text terminated
by a line feed character.

example=:3 :0
 0 :0
)

e1=: example 1
 this is a test
)

e2=: example 2
 so is this
)

e3=: example 3
 as is this
)


More specifically, the effect of a valid n :0 happens when
it's executed, not when it's defined.

Note also that indentation of any of the above lines will
not change the validity of the above description (that said,
indentation of the text will result in more whitespace
at the start of that text.

-- 
Raul



More information about the Programming mailing list