是德科技
直播中

郭静

8年用户 202经验值
私信 关注
[问答]

怎么创建一个包装器并在BT Basic中执行

嗨,我是BT Basic的新手,有没有什么方法可以创建一个包装器并在BT Basic中执行几行。
类似于命令提示符中的批处理文件执行指令。

以上来自于谷歌翻译


     以下为原文

  Hi I'm new with BT Basic,

Is there any way that we can create a wrapper and execute couple of lines in BT Basic.
Analogous to batch file executing instructions in command prompt.  

回帖(1)

张雪

2018-10-18 17:08:58
我认为你需要子程序:在testplan文件中:!调用你的子程序调用MySubRoutine sub MySubRoutine打印“Hello world”打印“BT-Basic Rulez”子程序

以上来自于谷歌翻译


     以下为原文

  I think you need subroutines:



in testplan file:

!call your subroutine
call MySubRoutine

sub MySubRoutine
  print "Hello world"
  print "BT-Basic Rulez"
subend
举报

更多回帖

发帖
×
20
完善资料,
赚取积分