⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sample1.bas

📁 basic interpreter for learning
💻 BAS
字号:


rem
rem Example of Program to print HELLO on screen.
rem
rem This program has waits for input before stopping.
rem We are waiting for input because in Windows, when program stops
rem the window is erased and we couldn't see the Hello.
rem
rem This program uses a function unique to BasicBasic.  This is the
rem function OSTYPE.  This function returns a 1 if DOS or a 2 if running
rem under Windows.
rem



    print "Hello!"

    if ostype=1 then
      print
      print "Press any key to continue..."
    end if

    do while inkey$=""
    loop



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -