[Coco] Basic09 INPUT - Is this safe.

Salvador Garcia salvadorgarciav at yahoo.com
Thu Aug 15 09:31:58 EDT 2019


 I am unfamiliar with BASIC09, but do know programming languages. I am glad the others clarified, but I would be shocked and traumatized if BASIC09 allowed data smashing like you describe. Salvador



    On Wednesday, August 14, 2019, 02:27:41 PM CDT, coco at jechar.ca <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