Search found 151 matches
- Sun Feb 10, 2008 8:15 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Haven't used qb in awhile, quick question
- Replies: 28
- Views: 47479
Be nice
Mac, according to amazon.com, that book is 650 pages, and was printed in 1990. It's almost 18 years old. Times change, coding discussions change. When one mentions a UDT in BASIC, it is always a User Defined Type. My intention was not to be insulting, but if you took it as an insult, then it just s...
- Sun Feb 10, 2008 3:42 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Haven't used qb in awhile, quick question
- Replies: 28
- Views: 47479
- Sun Feb 10, 2008 12:56 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Haven't used qb in awhile, quick question
- Replies: 28
- Views: 47479
Comments
> Cripes people, this is the easiest damn question to answer > Thanks Nodtveidt for understanding my simple question Glad you guys sorted that out. Now if you could work on your personalties so that you could feel it in your self to respond more kindly, you would really grow up and be smarter than y...
- Sun Feb 10, 2008 3:53 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Haven't used qb in awhile, quick question
- Replies: 28
- Views: 47479
Re: Haven't used qb in awhile, quick question
get a function to return a UDT UDT Ujian Darjah Tiga (Malaysia) UDT Under Deck Tonnage UDT Under Declaration of Trust UDT Underage Drinking Taskforce UDT Underwater Demolition Team (US Navy SEALs) UDT Uni?o Democr?tica Timorense (Timor Democratic Union, East Timor) UDT Uniform Data Transfer (COM-ba...
- Sun Feb 03, 2008 1:45 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Opening something in Hexadecimal
- Replies: 2
- Views: 7400
Re: Opening something in Hexadecimal
How do I open something up in hexadecimal in Qbasic, then edit it? Read it CLS PRINT "First 5 characters in test.exe" PRINT DIM X AS STRING * 1 OPEN "test.exe" FOR BINARY AS #1 FOR i = 1 TO 5 GET #1, i, X PRINT ASC(X); NEXT i PRINT CLOSE #1 To write, use PUT. If you want hex, th...
- Sat Feb 02, 2008 4:22 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: binair to bits
- Replies: 20
- Views: 55974
Re: binair to bits
What do you want to get binary values from?Seb McClouth wrote: from a binairy value.
A single, an integer, a string*1, etc.?
For example, I have input a character K$. I would like a function like this:
PRINT BIT(k$,3)
and I expect it to return 0 or 1 of bit 3.
Is that what you want?
Mac
- Sat Feb 02, 2008 4:50 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Keyboard Help
- Replies: 5
- Views: 10996
- Tue Jan 22, 2008 7:06 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: LINK: warning L4501: bcl71efp.lib : cannot find lib (DONE)
- Replies: 7
- Views: 11136
Plasma
Plasma! Sight for sore eyes! I thought you abandoned the forums.
Mac
Mac
- Mon Jan 21, 2008 3:56 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Maybe I'm just not looking hard enough...
- Replies: 2
- Views: 4373
Re: Maybe I'm just not looking hard enough...
how can I edit that specific record from QBasic without messing up the file Typically, you rewrite the file. 1) Read the file into arrays in your program. Now you don't need the file any more. 2) Update any "records" you please by changing array values. 3) Re-create the file by writing al...
- Sat Jan 19, 2008 3:18 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Besides WAIT &H8D3, what's another way to to reduce flic
- Replies: 5
- Views: 11844
Re: Besides WAIT &H8D3, what's another way to to reduce
I'm revisiting QB, and I can't seem to find the stuff I need. WAIT &H3DA, 8:WAIT &H3DA, 8,8 This waits one screen refresh and often reduces flicker. Also, do not erase icon from position P1 and then compute P2 and then, finally, write in P2. Instead, do all computing before the decision to ...
- Sat Jan 12, 2008 2:38 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Um, credit card genorator problem...
- Replies: 23
- Views: 64345
Re: How it works
IFor instance pick any number from 10 to 100. Add the digits together and subtract from your original number. The resulting number is always divisible by 9. To restate: Pick 10a+b (This is a two digit number. 37 = 10*3+7 Subtract a+b (This is the sum of the digits) Result: 9a Wow! Marvel that 9a is...
- Thu Jan 10, 2008 1:03 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Um, credit card genorator problem...
- Replies: 23
- Views: 64345
you guys dont trust me Well, you said for your banking system. No banking system requires the ability to generate credit cards. Forget that. Now I can understanding checking credit cards submitted to me for validity. The instructions given were Starting with the check digit, double the value of eve...
- Sun Dec 30, 2007 9:30 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: String$ and Variables?
- Replies: 5
- Views: 11983
Re: String$ and Variables?
Please explain why you want that total? What is your application? There may be a better way to do it.Morpheus wrote:I would like to add up the values of each letter that was inputed by the user.
Mac
- Sat Dec 29, 2007 10:40 am
- Forum: News and Announcements
- Topic: Qbasic Station down!?
- Replies: 14
- Views: 33355
- Fri Dec 21, 2007 2:19 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Putting variables in the DRAW command.
- Replies: 20
- Views: 26311
im having another problem and its with the COLOR Unfortunately, each screen has rules about color. It's a pain. SCREEN 13 only allows one operand. There is no way to change the background without stuff like OUT commands. Mac CLS SCREEN 13 FOR i = 0 TO 128 STEP 8 FOR j = 0 TO 7 COLOR i + j PRINT i +...
- Fri Dec 21, 2007 12:47 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Putting variables in the DRAW command.
- Replies: 20
- Views: 26311
Still with us, Lee?
Because they dont include "$" :P Thanks for noticing anyways :) Uh, did you get your answer, Lee? As burger2227 implied, you cannot have numbers, just strings. Demo follows. Mac SCREEN 1 LINE INPUT "Press Enter for demo"; e$ FOR i = 1 TO 10 DRAW "d" + STR$(INT(RND * 5)...
- Thu Dec 20, 2007 12:16 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: first graphic based....game?
- Replies: 11
- Views: 21060
Re: first graphic based....game?
I only see a bit of the source.Andrew Dance wrote:here's the source
Mac
- Wed Dec 19, 2007 9:31 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Scrolling
- Replies: 13
- Views: 17645
- Tue Dec 18, 2007 10:15 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: "Expression too complex" error when compiling
- Replies: 3
- Views: 6654
Curious
It really doesn't matter if this code is inefficient because it are all precalculations. Well, I sure would like to see your final application that required the BtN-array. I agree that pre-computing the NtB-array is useful because it is easy to use, but I would guess the other is as hard to use as ...
- Tue Dec 18, 2007 7:59 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Scrolling
- Replies: 13
- Views: 17645