Skip to main content

Ostype

Ostype (फ़ंक्शन)​

प्रारूप​

ostype
ostype ( )
पूर्णांक_व्यंजक लौटाता है

विवरण​

उस ऑपरेटिंग सिस्टम/सॉफ़्टवेयर वातावरण को दर्शाने वाली संख्या लौटाता है जिसके लिए यह BASIC256 एक्ज़िक्यूटेबल फ़ाइल कंपाइल की गई थी।

लौटाए गए मान
स्थिरांकमान
OSTYPE_WINDOWS0
OSTYPE_LINUX1
OSTYPE_MACINTOSH2
OSTYPE_ANDROID3

उदाहरण​

print "You are using a ";
if ostype() = 0 then
print "windows";
else
print "non-windows";
end if
print " machine."

यह कुछ ऐसा दिखाएगा:

You are using a non-windows machine.

यह भी देखें​

EditVisible, GraphToolBarVisible, GraphVisible, Include,MainToolbarVisible, Maximize, OutputToolBarVisible, OutputVisible, RegexMinimal, Ostype, System, Version

इतिहास​

0.9.6.58इस संस्करण में नया
1.0.1.0Android जोड़ा गया
1.99.99.58नाम वाले स्थिरांक जोड़े गए