Hey Guys
Can I use lists and check if something is in a list as can be done with Python and Pascal?
List = [a, b, c]
Code: Select all
ValueToCheck = 1; // Value you want to check
MyList = 1; // Your list of values
if InList(ValueToCheck, MyList) then
Print("Value is in the list")
else
Print("Value is not in the list");