Advertisement
basictomonokai

OSにより起動プログラムを変更

Oct 15th, 2015
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. REM Start of BASIC! Program
  2. device ptrx
  3. bundle.get ptrx,"OS",osv$
  4. msgos$="OS Version:"+osv$
  5. popup msgos$,0,0,0
  6. ckos=0
  7.  
  8. if left$(osv$,1)="5" then
  9. ckos=1
  10. endif
  11.  
  12. if left$(osv$,1)="6" then
  13. ckos=1
  14. endif
  15.  
  16. if left$(osv$,3)="4.4" then
  17. ckos=1
  18. endif
  19.  
  20. if ckos=1 then
  21. run "a-jidohoh1.bas"
  22. else
  23. run "a-jidoho4.bas"
  24. endif
  25.  
  26. exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement