sbfs.txt

来自「smallbasic for linux」· 文本 代码 · 共 98 行

TXT
98
字号
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 + =
减小字号Ctrl + -
显示快捷键?