Mioplanet Documentation Center
Resources and Help
HomeProductsMioScriptJavaScriptTechNotesPHP
   Home | MioScript | system.platform SEARCH    

  Functions
alert
log
system.battery.ACLineStatus
system.battery.LifePercent
system.beep
system.clipboard.clear
system.clipboard.get.format
system.clipboard.get.image
system.clipboard.get.text
system.clipboard.set.image
system.clipboard.set.text
system.createUniqueId
system.dialog
system.doEvents
system.execute
system.explore
system.getColors
system.getComputerId
system.getComputerName
system.getMemoryInfo
system.getUserName
system.ignoreCriticalErrors
system.language
system.lastError
system.logIsEnabled
system.message
system.mioEngine.countInstances
system.mioEngine.filename
system.mioEngine.version
system.openURL
system.os
system.platform
system.priority
system.userIsAdmin
system.winapi.errorMsg
system.winapi.lastError
system._hidden
system._showInTaskBar

  Events
event.error
event.exception
event.memoryFull
event.screen:resolution:change
event.system:desktop:changed
event.system:display:changed

  MioScript Reference
> Statements
app...
browser...
dialog...
disk...
draw...
extern...
filename...
keyboard...
menu...
mio...
mouse...
num...
path...
pushButton...
reg...
RS232...
sci...
screen...
shortcut...
sound...
str...
system...
time...
var...
window...

Function
system.platform

Language: MioScript
Product: MioFactory


Syntax

system.platform()


Parameters

None.


Return value

Family of the operating system.



Description

Returns the family of the operating system.

Can be one of the following values:

1: Windows 95/98/ME
2: Windows NT/2000/XP

See also: {link:OS}




MioScript Sample Code

&OS=system.platform()

if(&OS <> 2)
    alert("You are not running NT, 2000 or Win XP")
if.end