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

📄 sbfs.txt

📁 smallbasic for linux
💻 TXT
字号:
File system____________________________Special file names:"COM1:[speed]" -  Serial port 1Non PalmOS:"COM2:[speed]" -   Serial port 2Example:OPEN "COM1:" AS #1OPEN "COM2:38400" AS #2____________________________FREEFILEReturns an unused filehandle____________________________OPEN "file" [FOR {INPUT|             OUTPUT|APPEND}]             AS #fileNOpens a file or device____________________________CLOSE #fileN____________________________EXIST(fileName)Returns true if the fileNameexists____________________________EOF(fileN)Returns true if the filepointer is at end of thefile____________________________PRINT #fileN{,|;} var1                     [,varN]____________________________LINEINPUT #fileN{,|;} var$____________________________INPUT$(len[,fileN])____________________________INPUT #fileN{,|;} var1 [,  var2 [, ...]]____________________________SEEK #fileN{,|;} posSets file position forthe next read/write____________________________SEEK(fileN)Returns the current fileposition____________________________LOF(fileN)Returns the length of filein bytesFor devices; returns thenumber of available data____________________________KILL "file"Deletes the specified file____________________________COPY "file", "newfile"Makes a copy of specified file to the 'newfile'____________________________RENAME "file", "newfile"Renames the specified file

⌨️ 快捷键说明

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