I have a block!
(我有block!
) x: ["one" "two" "three"]
index? find x "two"
index? find x "two"
returns... 2
(index? find x "two"
返回... 2)
index? find x "four"
index? find x "four"
returns...
(index? find x "four"
返回...)
** Script Error: index? expected series argument of type: series port ** Near: index? find x "twos"
What's the best way to have index?
(拥有索引的最佳方法是什么?)
return none
rather than the error? (返回none
而不是错误?)
ask by Atomica translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…