Search found 132 matches
- Mon Oct 10, 2005 5:19 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Old Timestamp
- Replies: 5
- Views: 6522
Some Ideas: 1.- The DOS file timestamp uses bitfields,7 bits for the minute, 5 bits for the hour, 6 bits for day, 4 bits for month and the rest for year since 1980 (iirc) . If you think it could be that I can check my old books for the exact format. 2.- Microsoft Excel uses a floating point value, t...
- Wed Sep 28, 2005 10:46 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: QBasic database .dbf managment?
- Replies: 6
- Views: 7867
You can get the dbf format description from www.wotsit.org And yes, to erase a record, just mark it as unused. The pack function copies the dbf in another one skiping the erased fields, then deletes the original. BTW: Ethan winer dbf library is not portable to FB, as it's based in the FIELD instruct...
- Wed Sep 14, 2005 11:28 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: inches of a monitor
- Replies: 10
- Views: 12997
- Tue Sep 13, 2005 5:03 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: QuickBasic for Mac?
- Replies: 12
- Views: 15178
- Fri Aug 12, 2005 6:37 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Which is faster?
- Replies: 3
- Views: 5212
- Wed Aug 10, 2005 8:44 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: XMS memory handling
- Replies: 3
- Views: 5075
- Wed Aug 10, 2005 8:21 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: How to find out if a directory exists?
- Replies: 13
- Views: 23321
You can use CHDIR too
Code: Select all
DIM SHARED myerr%
ON ERROR GOTO errproc
CHDIR "FOO"
IF myerr% = 72 THEN PRINT "Path not found": myerr% = 0
ON ERROR GOTO 0
end
errproc: myerr% = ERR: RESUME NEXT
- Mon Aug 08, 2005 2:32 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Real time clock access
- Replies: 22
- Views: 23153
Seb:
You should get Ralf Brown's Interrupt list. Most of the calls and ports you need are documented there.
http://www.ctyme.com/rbrown.htm
You should get Ralf Brown's Interrupt list. Most of the calls and ports you need are documented there.
http://www.ctyme.com/rbrown.htm
- Mon Aug 08, 2005 9:28 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: some more questions!
- Replies: 12
- Views: 12426
- Fri Aug 05, 2005 8:09 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Graphic stuff
- Replies: 7
- Views: 9310
- Fri Aug 05, 2005 5:44 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Graphic stuff
- Replies: 7
- Views: 9310
- Fri Aug 05, 2005 4:53 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Graphic stuff
- Replies: 7
- Views: 9310
If you put a semicolon at the end of each PRINT and your lines don't overflow the allowed 80 chars, you should not have unwanted scrolls. This code does not scroll for me.( I'm in Windows 2000) It uses an 1 line bufer where everything is copied with LSET and MID$ (to avoid to change its size) before...
- Thu Aug 04, 2005 9:02 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: controversy free question: DSOCK + DOS?
- Replies: 11
- Views: 12470
Someone (Sebasitian Mate?) did a pure DOS TCP-IP library for QB years before DSock, I remember it used an external TCP-IP lib, don't rememeber its name, but FB devs could use it. That QB library went unnoticed because of the install process of the TCP-IP lib was tricky, to use a soft expression... E...
- Thu Aug 04, 2005 6:03 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: controversy free question: DSOCK + DOS?
- Replies: 11
- Views: 12470
- Wed Aug 03, 2005 12:05 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Compile during runtime
- Replies: 13
- Views: 13281
- Wed Aug 03, 2005 11:08 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Compile during runtime
- Replies: 13
- Views: 13281
Does it mean you have a sumfin.lib to link?
in that case it wuld be:
in that case it wuld be:
Code: Select all
bc /o myfile.bas,,;
link myfile.obj,,,path_to_bcom45.lib sumfin.lib ;
- Wed Aug 03, 2005 10:28 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Compile during runtime
- Replies: 13
- Views: 13281
Let me correct it..
Yes, that's all for a simple source, not using ON ERROR or "ON anything",and not using external libraries.
At the end you will have to delete a myfile.obj, myfile.map, and myfile.lst.
Code: Select all
bc /o myfile.bas,,;
link myfile.obj,,,path_to_bcom45.lib;
At the end you will have to delete a myfile.obj, myfile.map, and myfile.lst.
- Wed Aug 03, 2005 9:52 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Compile during runtime
- Replies: 13
- Views: 13281
Code: Select all
bc myfile.bas,,;
link myfile.obj,,,path_to_bcom45.lib;
You have a complete description of QB's command line at
http://qbcm.hybd.net/issues/1-9/#btau
- Wed Aug 03, 2005 3:49 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Input handler
- Replies: 3
- Views: 5907
- Thu Jul 28, 2005 6:57 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: ascii character code reference?
- Replies: 4
- Views: 9594
Code: Select all
do
sleep
a$=inkey$
print
for i=1 to len(a$)
print asc(mid$(a$,i,1));" ";
next
loop until asc(a$)=27