<pre>on showAll what  if what is empty then put "bkBtn cdBtn bkFld cdFld" into what  if "bkBtn" is in what then    repeat with N = 1 to the number of bkgnd buttons      show bkgnd button N    end repeat  end if  if "cdBtn" is in what then    repeat with N = 1 to the number of card buttons      show card button N    end repeat  end if  if "bkFld" is in what then    repeat with N = 1 to the number of bkgnd fields      show bkgnd field N    end repeat  end if  if "cdFld" is in what then    repeat with N = 1 to the number of card fields      show card field N    end repeat  end ifend showAll</pre>