Hi Ken,

on mouseDown
  answer file "Is there any beer left?"
  if the result is not "cancel" then
        set the defaultstack to "B"
        import paint from file it
        set the name of last image to "XX"
      end if
end mouseDown

goes WONKY if I cancel....obviously not much space for
non-beer drinkers

Honestly, I've never used the "result" when looking at what comes back from
"answer file". I've always done this:


  answer file "Is there any beer left?"
  if it <> "" then
    set the defaultStack to "B"
    import paint from file it
    set the name of last image to "XX"
  end if

actually this is a leftover from a time where one or two versions of MC failed report "IT = empty" correctly...

Loooong time ago, but at that time i got used to it :-)

HTH,

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/

Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

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

Reply via email to