CurDrive$函数

用于以字符串返回当前盘符。

格式
CurDrive$

返回值
返回盘符的字符串。

参阅
ChDrive, CurDir$, CurDisk$

CurDrive$函数使用示例

Print "The current drive is: ", CurDrive$