int GB.Conv ( GB_VALUE * arg , GB_TYPE type )
Converts a Gambas value into another datatype.
This function returns a non-zero value if the conversion fails, and set the interpreter error flag. This way, you can return immediately from the method or the property if you want to signal the error.
Use this function to convert a Gambas value argument to another Gambas datatype.