Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 23:00 05 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Help with Arrays

     Page 2 of 2    
Author Message
Justplayin

Guru

Joined: 31/01/2014
Location: United States
Posts: 327
Posted: 03:02pm 14 May 2016
Copy link to clipboard 
Print this post

  TassyJim said  Some distant memory from the past about reading directly into arrays. Or it could be related to something entirely different...


That's a Liberty Basic restriction. I get bitten by it every time I use DATA statements in LB.

--Curtis
I am not a Mad Scientist...  It makes me happy inventing new ways to take over the world!!
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6269
Posted: 03:10pm 14 May 2016
Copy link to clipboard 
Print this post

  Justplayin said  
  TassyJim said  Some distant memory from the past about reading directly into arrays. Or it could be related to something entirely different...


That's a Liberty Basic restriction. I get bitten by it every time I use DATA statements in LB.

--Curtis

So my brain is only half fried.
Better than I thought..

Jim
VK7JH
MMedit
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6269
Posted: 03:21pm 14 May 2016
Copy link to clipboard 
Print this post

Dim integer Ts (7,3)

should be
Dim integer Ts(7,3)


The space between Ts and () meant that you didn't get an array, just a single variable 'Ts'

Jim
VK7JH
MMedit
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 11:40pm 14 May 2016
Copy link to clipboard 
Print this post

  TassyJim said  The space between Ts and () meant that you didn't get an array, just a single variable 'Ts'

Jim


Thanks Jim,

Been back from cutting firewood for 3 hours & been ignoring this;
Figured I'd earned a Beer or two for my physical efforts.
This has plagued me since Saturday morning... & earlier.

Think I might owe you a beer or two for putting me out of pain.

Cheers

Phil.

Even threw the whole lot into a Hex editor looking for rogue no printable characters....
 
     Page 2 of 2    
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025