Sorry, the code example looks more like this...

_________________________________________________________
 repeat for each line tFile in tFileList
    if there is a stack "Current Resource" then
      set the destroyStack of stack "Current Resource" to TRUE
      close stack "Current Resource"
    end if

      go invisible stack URL (the defaultFolder & "/" & tFile)
      if there is a field "NameField" of stack "Current Resource" then

Put tFile & TAB & field "NameField" of stack "Current Resource" after field "Resource Select List" of card "Main Interface" of stack "The Program"
end if


    set the destroyStack of stack "Current Resource" to TRUE
    close stack "Current Resource"

  end repeat
________________________________________________________

--
Troy
RPSystems, Ltd.
http://www.rpsystems.net

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to