# $EPIC: strtol.txt,v 1.1.1.1 2006/07/11 04:57:43 jnelson Exp $ ======Synopsis:====== $__strtol__( ) ======Technical:====== * is a number, either 0, or 2 to 36. * is a valid number in the given . * If or are omitted, the empty string is returned. * If is not 0 or 2 to 36, the empty string is returned. * If is not valid for , 0 is returned. * Otherwise, the return value is converted to base 10. * Remember that has to fit into a (long) variable type. ======Practical:====== This is useful to convert binary, octal, or hex numbers to decimal. ======Returns:====== The of the given , converted to base 10. The empty string if argument is omitted. 0 if the conversion was unsucessful. ======Examples:====== $strtol(16 ABC194F) returns 180099407 ======History:====== This function first appeared in EPIC5-0.0.2.