如何检查某个短语? [英] How do I make it check for a certain phrase?
本文介绍了如何检查某个短语?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果 Game.NumericUpDown1.Contains( 100)然后
但它只是显示为错误,如果有人可以告诉我如何正确使用包含变量,那将非常感激:)
解决方案
尝试
如果Game.NumericUpDown1.Value> = 100那么
Hey , Thanks for clicking , I am making a game and I ran into a stump , I am trying to make a points system where if you have the right amount , you can buy as many as you want of it , I tried this :
If Game.NumericUpDown1.Contains("100") Then
But it just displays as an error , if someone can please tell me how to use the "Contains" variable correctly , that'd be much appreciated :)
解决方案
Try
If Game.NumericUpDown1.Value >= 100 Then
这篇关于如何检查某个短语?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文