Change the style of a Liberty BASIC textbox so that it accepts only numeric input. The characters 0 - 9 are the only acceptable input. Decimal dots, commas, alpha characters and other punctuation marks cannot be used.
nomainwin stylebits #main.txt, _ES_NUMBER, 0, 0, 0 textbox #main.txt, 10, 10, 100, 30 open "Number Box" for window as #main #main "trapclose [quit]" wait [quit] close #main : end