Re: [WIN] recursion? (get two files via open file dialog)
- Posted by Dan Moyer <DANIELMOYER at prodigy.net> May 16, 2002
- 392 views
Thanks Derek, I'll give it a try. Dan <snip> > > it might be better to use a WHILE loop rather than recursion, in order > to reduce potenial memory usage. > > Something like... > > files = {} > while length(files) != 2 do > Get User Selections > Grab files from user selections. > if more than 2 files chosen then > Message "Please select only two files." > elsif less than 2 files chosen then > Message "You must choose two files." > end if > end while > > -------- > Derek > >