def GetAdjacentCoords(coords as (int)):
x,y = coords
Debug.Log(x)
Debug.Log(y)
Debug.Log((x,y).ToString())
The first two log statements above print out the correct values passed to the function. But the third statement prints “System.Int32”, which is like me saying “What does this tuple say?” and getting the answer, “It’s a list of numbers!” Yes, thank you. =p
What am I missing in terms of being able to cast/convert/string-ize values in Boo? I’m asking because I’m trying to nail down exactly why I’m getting blank return values from later in this simple function, and can’t make the console print out what values it’s currently looking at to see if there’s a blank list, or what.
In Python this line would either be “print (x,y)” or if I needed to add more info in string format, a cast: print str((x,y)) + " is the value."