[Coco] Basic09 INPUT - Is this safe.

Wayne Campbell asa.rand at gmail.com
Wed Aug 14 15:53:17 EDT 2019


Your string is DIMd to 12 characters. Any input longer than that will be
truncated.

Wayne

On Wed, Aug 14, 2019, 12:27 PM <coco at jechar.ca> wrote:

>
>   Suppose you have
>
>   DIM test$:STRING[12]
>
>   and then later in your code you have,
>
>   INPUT test$
>
>   It seems to auto truncate.
>   Does it or might I be smashing other variables if
>   my response to the input prompt was
>
>   SUPERCALAFRAGALISTICXPALLADO .. whatever ?
>
>   Charlie
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>


More information about the Coco mailing list