User Tools

Site Tools


en:ostype

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:ostype [2016/08/14 15:52]
admin
en:ostype [2020/02/28 10:46]
Line 1: Line 1:
-===== Ostype (Function) ===== 
- 
-==== Format ==== 
- 
-**ostype** \\ 
-**ostype** ( )\\ 
- 
-returns [[integerexpressions|integer_expression]] 
- 
-==== Description ==== 
- 
-Returns a number representing the operating system/software environment that this BASIC256 executable file was compiled for. 
- 
-{{page>ostypeconstants}} 
- 
-==== Example ==== 
- 
-<code> 
-print "You are using a "; 
-if ostype() = 0 then 
-   print "windows"; 
-else 
-   print "non-windows"; 
-end if 
-print " machine." 
-</code> 
-Will display something like 
-<code> 
-You are using a non-windows machine. 
-</code> 
- 
-==== See Also ==== 
-{{page>en:start#Other Statements and Functions&noheader}} 
- 
-==== History ====  
-|0.9.6.58|New To Version| 
-|1.0.1.0|Added Android| 
-|1.99.99.58|Added Named Constants| 
  
en/ostype.txt ยท Last modified: 2020/02/28 10:46 (external edit)