Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试将提供 Id 的馈线的值提供给 .txt 文件。他们有什么方法可以直接从馈线中提取值,而不必从每个会话中提取 Id?
我不确定,你是什么意思,但是从提要中提取值的方法你可以使用下一个:
val creditCard = "信用卡"
feed(tsv("CreditCard.txt").random)
在文件“Credit.txt”中,您应该将第一行(列)名称与变量的初始值完全相同 -> “creditCard”。
通过这种方式,您可以在脚本中像这样使用它:“${creditCard}”。