我正在关注 Deluge 上的 Zoholics 视频,并使用此语句从库存中查找比萨饼价格:
colPizzaDetails = Inventory[Pizza == input.Pizza && Size == input.Pizza_Size];
尝试保存脚本时显示此错误:
In Criteria left expression is of type STRING and right expression is of type BIGINT and the operator == is not valid
在视频中,叙述者能够保存脚本。看起来 BIGINT 现在存储在 Lookup Dropdown 中,而不是视频中显示的文本。
您能告诉我如何更改代码语句,以便我可以更改 input.Pizza 以表示用户在屏幕上看到的实际 Pizza Name 文本吗?