Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is this a bug?
#4
Your syntax error is trying to read a string as a number.  Wink

DATA 1's, 2's, 3's

READ x    <-- ERROR!


READ x$
PRINT x$

(Prints "1's")

Data can hold both numbers and strings in one statement.  Read can only read the type you specify back though.  Wink
Reply


Messages In This Thread
Is this a bug? - by TerryRitchie - 05-12-2024, 12:38 AM
RE: Is this a bug? - by SMcNeill - 05-12-2024, 12:46 AM
RE: Is this a bug? - by TerryRitchie - 05-12-2024, 12:52 AM
RE: Is this a bug? - by SMcNeill - 05-12-2024, 01:26 AM
RE: Is this a bug? - by PhilOfPerth - 05-12-2024, 10:47 AM
RE: Is this a bug? - by grymmjack - 05-16-2024, 09:57 PM
RE: Is this a bug? - by SMcNeill - 05-16-2024, 10:51 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Is this a bug with Round or is it just me BarrySWTP 10 1,258 07-07-2025, 08:40 PM
Last Post: BarrySWTP
  Exiting FOR NEXT, maybe a bug? Version 4.1.0 on Linux Circlotron 4 850 05-09-2025, 02:22 AM
Last Post: Circlotron
  I have fallen in a bug or weird behaviour TempodiBasic 2 677 10-08-2024, 06:09 PM
Last Post: TempodiBasic
  3.13.1 bug report - keyboard characters swapped Circlotron 3 1,004 06-03-2024, 05:16 AM
Last Post: Circlotron
  I need input on a possible bug in v3.5.0 TerryRitchie 50 8,472 05-22-2024, 07:03 PM
Last Post: TerryRitchie

Forum Jump:


Users browsing this thread: 1 Guest(s)