完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
我需要在for循环中创建测试,对于每个测试,我必须添加不同的操作。
我该怎么做到这一点? 如何在for循环中为每个测试添加不同的操作? 以上来自于谷歌翻译 以下为原文 I need to create tests in for loop and for each test I have to add different actions. How should I achieve this? How to add different actions to each test in for loop? |
|
相关推荐
3个回答
|
|
|
谢谢回复。 但我有一个问题。 如果我必须添加1000个动作,那么如果条件1000时间不可行则写入。 请建议一些其他方法。 以上来自于谷歌翻译 以下为原文 Thanks for the reply. But I have a query. If I have to add 1000 actions then writing if condition 1000 time is not feasible. Kindly suggest some other approach. |
|
|
|
|
|
您只能使用一个通用操作并将loop-counter-value传递给操作/函数。 然后在DLL中决定要执行哪个函数。 为什么你有1000个动作??? 行动的区别是什么? 以上来自于谷歌翻译 以下为原文 You could use only one generic action and pass the loop-counter-value to the action/function. Then decide in the DLL what function to execute. Why do you have 1000 actions??? What is the difference of the actions? |
|
|
|
|
邓刚1234 发表于 2018-11-13 06:56 谢谢: - )....我明白了你的意思 以上来自于谷歌翻译 以下为原文 Thanks :-)....I got your point |
|
|
|
|
只有小组成员才能发言,加入小组>>
1844 浏览 0 评论
2739 浏览 1 评论
2640 浏览 1 评论
2449 浏览 5 评论
3458 浏览 3 评论
1845浏览 0评论
417浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 08:05 , Processed in 0.697561 second(s), Total 78, Slave 61 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
6847