[Coco] results on INPUT vs. READ for disk files in BASIC09
asa.rand at gmail.com
Mon Jun 4 22:22:03 EDT 2018
Don't forget that INPUT looks for a carraige return character to terminate
input. READ does not do this and can read an entire file into a string,
provided the file is shorter than the string variable.
On Mon, Jun 4, 2018, 2:11 PM James Jones <jejones3141 at gmail.com> wrote:
> INPUT ignores the prompt if it is given a path connected to a disk file not
> opened for update.
> READ, if given a path, will do just as well without needing a prompt.
> Coco mailing list
> Coco at maltedmedia.com
More information about the Coco