Re: [WIN] recursion? (get two files via open file dialog)

new topic     » goto parent     » topic index » view thread      » older message » newer message

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
> 
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu