On Saturday 18 June 2005 12:48, you wrote: > Angus Leeming wrote: > >>I implemented the check for a PS viewer: > >> > >>I tested it for the registry combinations > >>a=acrodist + b=gsview32 > >>a=gsview32 + b=acrodist > >>a=acrodist + b= > >>a=gsview32 + a= > > > > Before I do so, perhaps you might look at SearchMinSYS which uses > > a loop to iterate over the elements in the registry. Would such a > > strategy not simplify your code too? > > Not really. A loop seems to be simpler, but as I run it > (conditionally) only twice, and need two different sets of > variables for every run, and have to check for the four cases > above, the code isn't finally shorter. So I mean you can apply this > as I send it. > But feel free to implement it as loop anyway, but I can first test > it in a few days.
Nope, your answer is good enough for me. Angus