This shows you the differences between two versions of the page.
nl:ostype [2016/01/01 22:46] |
nl:ostype [2020/02/28 10:46] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Ostype ===== | ||
+ | ==== Formaat ==== | ||
+ | |||
+ | **ostype** ( )\\ | ||
+ | |||
+ | ==== Beschrijving ==== | ||
+ | |||
+ | Geeft een nummer terug die weergeeft op welk operating system/ | ||
+ | |||
+ | ^Resultaat^^ | ||
+ | ^Waarde^Type^ | ||
+ | |0|Windows| | ||
+ | |1|Linux| | ||
+ | |2|Macintosh| | ||
+ | |||
+ | ==== Voorbeeld ==== | ||
+ | |||
+ | <code basic4gl> | ||
+ | print "Je gebruikt een "; | ||
+ | if ostype() = 0 then | ||
+ | print " | ||
+ | else | ||
+ | print " | ||
+ | end if | ||
+ | print " machine." | ||
+ | </ | ||
+ | |||
+ | zal het volgende tonen | ||
+ | < | ||
+ | Je gebruikt een unix/linux machine. | ||
+ | </ | ||
+ | |||
+ | ==== Nieuw vanaf ==== | ||
+ | |||
+ | 0.9.6.58 | ||
+ | |||
+ | |||
+ | ---- | ||
+ | [[system|vorige]] | [[miscellaneous|Speciale Opdrachten]] | [[editvisible|volgende]] |