Is there a simple way to nest loops.....the if statment is limited to all or
nothing.....the either statement
has two possible outcomes.
I am trying this without success
foreach [name description type] Fields [
FormType: type
if FormType = TEXT [print "TEXT"]
if FormType = TEXTAREA [print "TextArea"]
]
and being told
TEXT
** Script Error: TEXTAREA has no value.
** Where: if FormType = TEXTAREA [print "TextArea"]
It would appear that the FormType variable is being cleared???
Francois
- [REBOL] nested loops Re: fprowse
- [REBOL] nested loops Re: icimjs
- [REBOL] nested loops Re: allenk
