parameters - smartBasic 中的目录搜索
问题描述
我想在 smartBasic 中实现目录搜索算法。你能告诉我这段代码中的变量是什么吗?
PRINT "Current directory: ";CURRENT_DIR$()
PRINT
PRINT "Folders:"
PRINT
DIR "/" LIST DIRS a$,c
FOR n = 0 TO c-1
PRINT ,a$(n)
NEXT n
PRINT
PRINT "Files:"
PRINT
DIR "/" LIST FILES a$,c
FOR n = 0 TO c-1
PRINT ,a$(n)
NEXT n
REM What is are the variables in this code?
解决方案
推荐阅读
- visual-studio-code - VSCode 从 ~anaconda3\Lib 中打开一个名为 code.py 的文件,无论你在命令行中指定什么参数
- r - 如何从 r 中 create_qgroups() 的因式间隔返回一个值
- wpf - 如何使 ColorAnimationUsingKeyFrames 在自己的控件背景上从代码隐藏工作?
- vimejs - 如何使用 javascript 动态更改 vimejs 视频的来源?
- firebase - IOS 设备未收到来自 firebase 的通知
- c++ - direct2d:优化位图上几个 BGRA 矩形的渲染
- c++ - Constexpr 排序的唯一容器集作为数组包装器
- shortest-path - 考虑节点成本找到最短路径
- reactjs - 在反应中使用useEffect之外的传单地图对象
- python - 如何更改数据集(如 Excel 中的数据透视表)