return types
BlitzMax Forums/BlitzMax Beginners Area/return types
| ||
How do you know what type of variable something returns. Take Millisecs() for instance. MilliSecs returns the number of milliseconds elapsed since the application was started. How do you know if it is an Int or any other data type? |
| ||
if it isn't specified then I think it defaults to integer otherwise you see a return type like function foo:Float() function bar:String() |
| ||
I think your right, I looked up peekint and it specifies no return type. So no return type must mean either no return or an int most likely. |