Version stuff...

Chipp Walters chipp at chipp.com
Tue Aug 10 23:27:38 EDT 2004


I use this function to 'get' the version of the IDE and the Engine. It 
works for both MetaCard and RR.

on answerVersion pWhere
   if exists(stack "revMenuBar") then
     put "RunRev version: " & revAppVersion() & return & "MetaCard 
engine version: " & the version & return & "Build Number: " & the 
buildNumber into theMsg
   else
     put "MetaCard engine version: " & the version & return & "Build 
Number: " & the buildNumber into theMsg
   end if
   if pWhere is empty then
     --put theMsg
   else
     go inv stack "answer Dialog"
     set the loc of stack "answer Dialog" to the screenloc
     show stack "answer Dialog"
     answer information theMsg
   end if
end answerVersion




More information about the use-livecode mailing list