Hi All,

I've found another anomalie which is either OSX/Win or RR v2.1.2 /v2.6.1:

The following (cut from a larger handler & modified to focus on the issue} works fine on OS X: RR v2.1.2

on mouseUp
  put "select a db" into answerPrompt
  switch the platform
  case "MacOS"
    answer file answerPrompt of type "sdb0"
    play audioClip "click.au"
    break
  case "Win32"
answer file answerPrompt with filter "Serendipity Database--Binary" & return & "*.sdb"
    play audioClip "click.au"
    break
  default
    answer file answerPrompt with filter "*.sdb"
    play audioClip "click.au"
  end switch
  if it is empty then return false
  else put it into sdbFileName
  set the sdbFile of this stack to sdbFileName
answer "there is file"&&sdbfilename&&(there is a file sdbfilename) -- last word in answer is "true" answer "there is stack"&&sdbfilename&&(there is a stack sdbfilename) -- last word in answer is "true"
  get the sdbEditPassword of stack sdbFileName
  put "i got the password"
end mouseUp

On Windows XP, RR v2.6.1, "(there is a stack sdbfilename)" resolves to "false", and the next statement returns a "can't find stack" error.

Why?

Rob Cozens, CCW
Serendipity Software Company

Vive R Revolution!
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to