Search found 75 matches

by Michael Calkins
Mon Mar 24, 2008 2:22 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Absolute Assembler problem
Replies: 6
Views: 12438

I'm not sure exactly what you are trying to do... You have an assembly routine already written, and you're trying to include it into your QBASIC program? This is relatively easy. You have it in your program already, and you're trying to debug it by shelling to Debug? This is trickier. In Windows, yo...
by Michael Calkins
Mon Mar 24, 2008 1:23 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Opening something in Hexadecimal
Replies: 2
Views: 7270

hex$(number) converts to hex
val("&h"+text) converst from hex.
you might want to zero pad the hex number

t$=hex$(asciivalue)
if len(t$)<2 then t$="0" + t

or perhaps

t$=string$(2-len(t$),&h30)+t$ 'adaptable to padding to more than 2 places.
Regards,
Michael
by Michael Calkins
Mon Mar 24, 2008 1:15 am
Forum: QBASIC and QB64 Questions & Answers
Topic: What are some applications for pointers?
Replies: 9
Views: 20612

C passes byval by default. QBASIC passes byref by default. References are similar to pointers in the context of this discussion. mysub myvariable passes myvariable by reference. If the sub changes it, it is changed for the caller as well. myvariable must be of the appropriate type. mysub (myvariable...
by Michael Calkins
Sun Jan 22, 2006 2:14 am
Forum: QBASIC and QB64 Questions & Answers
Topic: keyboard pushy thingy?
Replies: 7
Views: 12859

Are we talking about the typematic rate and delay here? Yes. In QBASIC (under DOS), it is possible to use INP() to read from the keyboard, I think, without effect fromt he typematic rate, etc. http://www.network54.com/Forum/171757/message/1008427249/Detecting+Multiple+Key+presses.. However, it seem...
by Michael Calkins
Thu Dec 29, 2005 1:15 pm
Forum: General Discussion
Topic: Favorite MS Operating System
Replies: 26
Views: 35997

for internet use: Win98SE (includes DOS 7.1) for non-internet use: Win95b (includes DOS 7.1) for gaming: DOS 7.1 by itself In the old days, I used to use DOS 6.22 + WFW 3.11, however, these days, I can't stand that 3.1x doesn't allow left mouse clicking to bring up a menu. I do also like other non-M...
by Michael Calkins
Thu Dec 29, 2005 1:00 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Mouse Programming difficulties on WINXP
Replies: 12
Views: 22651

Then use 95b or 98SE :-D Z!re is sorta right. If someone insists on using NT, then mybe they are better off with native programs. It's a good thing we don't insist on using NT... :-) Other options: Good DOS emulators (disadvantage: slower than the real thing). Or, boot off of a DOS floppy. With a we...
by Michael Calkins
Thu Dec 29, 2005 11:13 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Newbie Question: Line Breaks?
Replies: 4
Views: 18195

also, just for your info:
chr$(13) is "carriage return"
chr$(10) is "line feed"

In ASCII files, a line break is made by having CHR$(13) followed by CHR$(10). When you are outputing to the screen with PRINT, though, you can use one or the other.
Regards,
Michael
by Michael Calkins
Wed Dec 28, 2005 12:33 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Mouse Programming difficulties on WINXP
Replies: 12
Views: 22651

Logic Tables: | Windows XP | Windows 98 outregs.ax | 1 | -1 ABS(outregs.ax) | 1 | 1 :shock: :? According to "Advanced MS-DOS Programming" "The Microsoft(R) Guide for Assembly Language and C Programmers", By Ray Duncan: Returns: If mouse support is available AX = FFFFH BX = numbe...
by Michael Calkins
Wed Dec 28, 2005 12:25 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Mouse Programming difficulties on WINXP
Replies: 12
Views: 22651

by holding F5 Pressing F8 gets you a menu from which you can choose "Command prompt only". HIMEM.SYS, and thus XMS should be loaded either from your CONFIG.SYS or automatically. probably need an XMS or EMS manager to run QBASIC Not necessary. QBASIC runs in pure conventional. (Some QBASIC...
by Michael Calkins
Fri Dec 16, 2005 10:08 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Seeding Random Numbers
Replies: 4
Views: 7118

read this thread:

http://www.network54.com/Forum/178565/m ... andom+post.

thanks to stylez, zombie, etc. for that.

Regards,
Michael
by Michael Calkins
Mon Sep 26, 2005 5:03 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: interrupts instead of OUT
Replies: 19
Views: 22667

Windows 2000 is an operating system in the Windows NT family. It comes between NT and XP. Some feel it is one of Microsoft's better operating systems. I, of course, prefer 3.1x, 95, or 98, as these <b>will</b> work with QBASIC correctly. Technically, Windows ME is in the 9x family, I think, but some...
by Michael Calkins
Sun Sep 25, 2005 11:37 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: MULTIPLICATON OF A FIELD IN A FILE WITH A CONSTANT
Replies: 58
Views: 65571

You're right. Thanks.
by Michael Calkins
Sat Sep 24, 2005 1:17 am
Forum: General Discussion
Topic: Challenge!
Replies: 11
Views: 16894

FPZa(F(FF(FZZ(PP(Fc2ZF2.I2ab<2FP2b22(ZP(a2ZPF2<(.AZFP.NOTE!!!T2((F2F<(ac2F(F(<FFb2P.IDEAS!A2,IF2Z2(Fac2Z((22F(((<2(22F(F Well, I'm not sure that is what you are looking for, but I see "NOTE!!!" and "IDEAS!" Was there anything else? I just took it 2 digits at a time, assuming they...
by Michael Calkins
Thu Sep 22, 2005 9:47 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: MULTIPLICATON OF A FIELD IN A FILE WITH A CONSTANT
Replies: 58
Views: 65571

Finally got out my math book... Z!re is right. Both opperands are "factors". This is logical because multiplication is associative. 2 distinct words would be illogical and unjustifiable. I should have remembered this, but I didn't. I'm not sure that I have heard the other words before now....
by Michael Calkins
Thu Sep 22, 2005 5:17 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: QB quicklibrarys with C
Replies: 17
Views: 21610

Thanks for the link.
Regards,
Michael
by Michael Calkins
Thu Sep 22, 2005 12:55 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: QB quicklibrarys with C
Replies: 17
Views: 21610

I downloaded Turbo C 2.01 about a week ago. Funny coincidence. I have still to make a program that works the way I expect. C syntax is so weird...
Regards,
Michael
by Michael Calkins
Wed Sep 21, 2005 10:41 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: MULTIPLICATON OF A FIELD IN A FILE WITH A CONSTANT
Replies: 58
Views: 65571

Thanks, Moneo. But it still confuses me that 2 disctinct terms are used for the opperands for multiplication. Those numbers could be reversed, and the result will always be the same, thanks to the associative property. Addition uses 1 term, the Addend, because 5 + 3 = 3 + 5 Also 5 * 3 = 3 * 5 So rea...
by Michael Calkins
Wed Sep 21, 2005 2:33 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Database
Replies: 6
Views: 7684

Really, what kind of car dealership uses QB...
The best ones.

His code was good enough I don't think it was homework. He had one tiny little bug... No reason to think he is a cheater...
Regards,
Michael