Reads the given string and converts it to a number. It can convert hex strings as long as they begin with $. It returns the number generated.
Parameters: text (string) – The text with a number in it. Returns: The number extracted from the text.
(= aNumber (ReadNumber "500") (= aNumber (ReadNumber "$12AB")