09-30-2025, 07:55 AM
lol at "demonstrate defect in data handling." the "defect" is actually expected. by quite a few programs. written for quickbasic 4.5 and for qbasic for ms-dos, for starters. the freedom to compose data statements. was perhaps taken for granted. from "basica" interpreter for example.
it might be better. to read in all the numbers as strings. then a sentinel like "END" could have been chosen. i use data and read for simple programs. otherwise using input files is just better.
it might be better. to read in all the numbers as strings. then a sentinel like "END" could have been chosen. i use data and read for simple programs. otherwise using input files is just better.

