Created
March 15, 2017 00:18
-
-
Save basictomonokai/63a0fe4233ac089136e228b332c4b530 to your computer and use it in GitHub Desktop.
OSにより起動プログラムを変更(BASIC!)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM Start of BASIC! Program | |
device ptrx | |
bundle.get ptrx,"OS",osv$ | |
msgos$="OS Version:"+osv$ | |
popup msgos$,0,0,0 | |
ckos=0 | |
if left$(osv$,1)="5" then | |
ckos=1 | |
endif | |
if left$(osv$,1)="6" then | |
ckos=1 | |
endif | |
if left$(osv$,3)="4.4" then | |
ckos=1 | |
endif | |
if ckos=1 then | |
run "a-jidohoh1.bas" | |
else | |
run "a-jidoho4.bas" | |
endif | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment