Skip to content

Instantly share code, notes, and snippets.

@basictomonokai
Created March 15, 2017 00:18
Show Gist options
  • Save basictomonokai/63a0fe4233ac089136e228b332c4b530 to your computer and use it in GitHub Desktop.
Save basictomonokai/63a0fe4233ac089136e228b332c4b530 to your computer and use it in GitHub Desktop.
OSにより起動プログラムを変更(BASIC!)
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