the foreach instruction
Posted: Fri Aug 07, 2009 10:46 am
by JADE Kid - Ray Hidayat >> Tue, 9 Jan 2001 1:43:06 GMT
Currently, if I go:
foreach fileFolder in fileNodeArray do
endforeach;
Jade will come up with an error. That is a bit annoying. As we all know, the FileFolder class is a subclass of FileNode.
So what should happen is Jade should work out exactly which of the references in fileNodeArray are FileFolders. Don't you agree?
--
Ray Hidayat
JADE Kid - 2000
www.jadekids.com
Currently, if I go:
foreach fileFolder in fileNodeArray do
endforeach;
Jade will come up with an error. That is a bit annoying. As we all know, the FileFolder class is a subclass of FileNode.
So what should happen is Jade should work out exactly which of the references in fileNodeArray are FileFolders. Don't you agree?
--
Ray Hidayat
JADE Kid - 2000
www.jadekids.com