Search found 33 matches
- Mon Mar 16, 2009 10:12 am
- Forum: Other programming languages
- Topic: VBDOS color scheme dialog and QB4.5/VBDOS .Ini reader?
- Replies: 2
- Views: 2446
- Fri Dec 05, 2008 11:53 am
- Forum: QBasic / QuickBasic related
- Topic: Expression too Complex, Severe Error
- Replies: 5
- Views: 2704
When compiling QuickBasic programs there are sometimes cases that the compiler does not like. These include some calculations on double precision variables, and long strings. For example, 'FIRST' is not defined so the program will assume it is d.p. variable that takes up 8bytes. If the number is onl...
- Thu Dec 04, 2008 1:38 pm
- Forum: QBasic / QuickBasic related
- Topic: Expression too Complex, Severe Error
- Replies: 5
- Views: 2704
- Mon Nov 24, 2008 7:07 pm
- Forum: QBasic / QuickBasic related
- Topic: TIME$
- Replies: 7
- Views: 3170
- Thu Jun 19, 2008 8:48 am
- Forum: QBasic / QuickBasic related
- Topic: reading a file list
- Replies: 1
- Views: 1634
There is a library with good documentation called ADVBAS which you can download from here. http://pages.sbcglobal.net/oasys/dnldfr.htm It contains a routine 'Findfirsf' which if you supply a drive letter and suitable wildcards will find the first file in that range on the disk. Subsequent files can ...
- Tue Jun 17, 2008 2:37 pm
- Forum: QBasic / QuickBasic related
- Topic: simple menu
- Replies: 2
- Views: 1853
- Thu Jun 12, 2008 7:39 am
- Forum: QBasic / QuickBasic related
- Topic: TIME$
- Replies: 7
- Views: 3170
- Fri Apr 25, 2008 6:01 pm
- Forum: QBasic / QuickBasic related
- Topic: Hexadecimal Routines for QBasic
- Replies: 6
- Views: 5680
Although there is an instruction to change a Hex number into a string, I can’t find the reverse function listed. I think you will have to use a simple routine. You need to go through the string, a byte at a time, using the mid$ instruction on consecutive pairs of digits to get numbers from 00 to FF....
- Mon Apr 21, 2008 8:44 am
- Forum: QBasic / QuickBasic related
- Topic: SCREEN Navigation??
- Replies: 13
- Views: 3200
- Tue Apr 15, 2008 8:56 pm
- Forum: QBasic / QuickBasic related
- Topic: SCREEN Navigation??
- Replies: 13
- Views: 3200
I noted that your program had 30 records displayed on the screen as 10 rows of 3 records each. I didn't have your file to input from so I made up a sample one. I've tried to keep to the same layout. All 30 records are input from file into a fixed length string array - they are easier to manipulate t...
- Mon Apr 14, 2008 9:24 pm
- Forum: QBasic / QuickBasic related
- Topic: SCREEN Navigation??
- Replies: 13
- Views: 3200
- Mon Apr 14, 2008 7:07 pm
- Forum: QBasic / QuickBasic related
- Topic: SCREEN Navigation??
- Replies: 13
- Views: 3200
It depends on how you got the information on to the screen in the first place - which is why I asked you which file type you are using. I can think of at least 3 ways you could have written "100:job1" to the screen from data in a file, and how you deal with the data depends on that. If it uses a ran...
- Wed Apr 09, 2008 9:17 pm
- Forum: QBasic / QuickBasic related
- Topic: SCREEN Navigation??
- Replies: 13
- Views: 3200
- Wed Apr 09, 2008 8:55 am
- Forum: QBasic / QuickBasic related
- Topic: SCREEN Navigation??
- Replies: 13
- Views: 3200
- Wed Apr 02, 2008 12:29 pm
- Forum: QBasic / QuickBasic related
- Topic: A motorcycle 'slow race' timing system
- Replies: 1
- Views: 1506
You mention 10ms resolution. I don't know about VB, but with QB the best timer resolution you can get using 'Timer' function is 50ms. That's running under DOS. Running under XP or WIN98 it will vary between 50ms and 100ms. You can get much better resolution by counting passes through a FOR-NEXT loop...