the platform or platform()
The platform function returns the name of the operating system platform on which Oracle Media Objects is currently running.
If Oracle Media Objects is running on Microsoft Windows, platform returns the string "Windows". If Oracle Media Objects is running on an Apple Macintosh, platform returns the string "Macintosh".
The following card handler selects the proper file extension for Oracle Media Objects stacks on the current platform and provides the user with an Open File dialog box that lists only those files:
put the platform into current_os if current_os is "Windows" then
put "STA" into the_extension else
put "STAK" into the_extension
open of type the_extension
if it is not empty then go to stack it
This text has been mechanically extracted from the Oracle Media Objects 220.127.116.11 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.