Search found 10 matches

by Stevo22
Tue Oct 28, 2008 10:47 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Array Size Limits /AH under WinXp
Replies: 15
Views: 22535

Whoops! - Sorry Ralph, I neglected to tell you that the data is "Y" data only. The "X" data would be 0-201. X Being steps of ???? time I think - Just Units is ok providing they are evenly spaced. I don't think that part matters too much. I also apologise that the data is space de...
by Stevo22
Tue Oct 28, 2008 3:58 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Array Size Limits /AH under WinXp
Replies: 15
Views: 22535

If you think that a mathematical equation of a curve can be of help to you, you will have to post a sufficient number of data to submit to a "best fit" equatin-producing program. I have one that will give a result for a polynomial equation with a power as high as 14. My experience with th...
by Stevo22
Mon Oct 27, 2008 5:11 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Array Size Limits /AH under WinXp
Replies: 15
Views: 22535

There should be some kind of algorithm to determine the values directly in the program without the need for all of that data. Yes indeed Ted, there should be an algorithm. I've been googling but are yet to find something usable. I think the algorithm/equation should solve for a parabola (or part of...
by Stevo22
Thu Oct 23, 2008 10:48 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Array Size Limits /AH under WinXp
Replies: 15
Views: 22535

Thanks Ted, You must be burning the Midnight Oil :D I think I understand now - that method would be appropriate for a database. The file I'm reading the data off is simply an ascii text file containing approx. 12,500 lines of numbers (integers) These numbers (ranging from about 20 - 2000) are read i...
by Stevo22
Thu Oct 23, 2008 8:54 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Array Size Limits /AH under WinXp
Replies: 15
Views: 22535

Ok thanks. As usual, I tend to over complicate matters :wink: DosBox didn't work either so I have since abandoned the idea of using arrays for this purpose and have (as Ted suggests) converted the data I had into a random access file so the data can be read off (using GET) at any location in the fil...
by Stevo22
Wed Oct 22, 2008 5:43 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Array Size Limits /AH under WinXp
Replies: 15
Views: 22535

Array Size Limits /AH under WinXp

Hi Guys, I understand there is a size limit to Arrays. I want to load up data from a file into elements of an array so I can access the data quicker but I get the "subscript out of range" error. From what I have already read the max. array size is 64KB and the values range from -32768 to 3...
by Stevo22
Wed Oct 22, 2008 5:29 am
Forum: QBASIC and QB64 Questions & Answers
Topic: No sound from QB45 running under WinXp
Replies: 19
Views: 28963

Ok thanks Ted & Ralph, I'm not going to worry about this for now. What I have got is fine. I was hoping that I could use a formula, that way I could easily change the length of time that the accel/decel goes for. At the moment it is 12 seconds which is fine. I have some other questions more on t...
by Stevo22
Mon Oct 20, 2008 6:12 am
Forum: QBASIC and QB64 Questions & Answers
Topic: No sound from QB45 running under WinXp
Replies: 19
Views: 28963

Thanks again for the responses. I'm not going to worry about the sound, and I am aware that what I want to do can be achieved with vb using INPOUT32.DLL for INP and OUT functions. I prefer not to have those overheads though and will be sticking with qb. The stepper motor and controller came with som...
by Stevo22
Thu Oct 16, 2008 4:30 am
Forum: QBASIC and QB64 Questions & Answers
Topic: No sound from QB45 running under WinXp
Replies: 19
Views: 28963

Thanks everyone for your prompt replies. I tried Ralph's SOUND with the 1sec. mod - still no sound. burger2227's suggestion didn't work either. I can live without it. I only wanted to use it for debugging purposes anyway, just as an audial cue. The program I'm developing is for my own use, so there ...
by Stevo22
Wed Oct 15, 2008 6:52 am
Forum: QBASIC and QB64 Questions & Answers
Topic: No sound from QB45 running under WinXp
Replies: 19
Views: 28963

No sound from QB45 running under WinXp

Hi Guys, My first post - Nice to see that qbasic is still in use. I've recently got back into programming and have loaded up my old version of Quickbasic 4.5 on my Laptop running Windows XP. Everything seems to be running fine except I can't get any sound out of the laptop's internal speakers. Even ...