Search found 48 matches
- Wed Mar 29, 2006 7:20 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Appending binary in QB
- Replies: 5
- Views: 9232
Re: combining bits
I wonder if this works in QB 4 or FreeBasic????? Nope. QB 4.5 has stronger type checking. However, you might be able to use an assembly routine in a library that treats its parameters differently than the declaration you use. In FB parameter type checking is used to facilitate function overloading.
- Tue Mar 28, 2006 10:12 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Appending binary in QB
- Replies: 5
- Views: 9232
I assume you are working with little endian words and dwords. Here LowWord and HighWord are variables of the type integer. dim dwordResult as Long dim tL as Long dim tH as Long tL=LowWord tH=Highword dwordResult= (tH * 2^16) OR tL The problem here is dealing with the sign bit. This can be dealt with...
- Wed Mar 22, 2006 6:51 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Wont DELETE!!!
- Replies: 13
- Views: 30532
- Sun Mar 19, 2006 7:09 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: CALL ABSOLUTE
- Replies: 7
- Views: 9239
btw... where is the bcl71efr.lib for? Stand alone run time library with error handling and floating point routines for real mode? Something like that. IF you look at a list of the run time libraries from 7.1 or VBDOS they start to make sense when you compare them to the compile options on the inter...
- Sat Mar 18, 2006 8:44 pm
- Forum: General Discussion
- Topic: Hey, today is St. Patrick's Day
- Replies: 12
- Views: 13720
- Sat Mar 18, 2006 3:27 pm
- Forum: General Discussion
- Topic: 4D
- Replies: 23
- Views: 69174
- Sat Mar 18, 2006 5:42 am
- Forum: General Discussion
- Topic: Hey, today is St. Patrick's Day
- Replies: 12
- Views: 13720
- Sat Mar 18, 2006 5:39 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: CALL ABSOLUTE
- Replies: 7
- Views: 9239
- Tue Mar 14, 2006 8:19 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: bit shifting
- Replies: 11
- Views: 16353
Seb, I have to apologize for an error of mine in my last response. I said that shifting over 15 bits would have the same result as shifting 0 bits, and that's really really wrong. Shifting by over fifteen bits should set the variable to 0, whereas shifting by no bits should leave the variable unchan...
- Mon Mar 13, 2006 10:35 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: bit shifting
- Replies: 11
- Views: 16353
- Fri Mar 10, 2006 10:01 am
- Forum: General Discussion
- Topic: Licenced under "my rules"
- Replies: 30
- Views: 51795
- Fri Mar 10, 2006 9:46 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: bit shifting
- Replies: 11
- Views: 16353
The important thing to remember is that shifting right by one bit position has the same effect as dividing an UNSIGNED integer by two. Shifting left one position has the same effect as multiplying an UNSIGNED integer by two. So, shifting right 4 positions can be done by dividing by 2*2*2*2= 2^4=16. ...
- Thu Mar 09, 2006 12:13 am
- Forum: General Discussion
- Topic: Licenced under "my rules"
- Replies: 30
- Views: 51795
...a language never spoken by a single sole... Shoes talked back then? Damn, I missed out on all the fun... :lol: That's not exactly how I intended the pun, but at least you noticed something was out of place. Go talk to any native english kid in the age 8-20, how do they speak? They speak the way ...
- Wed Mar 08, 2006 9:59 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: "too many files" runtime error
- Replies: 2
- Views: 4472
- Wed Mar 08, 2006 3:09 am
- Forum: General Discussion
- Topic: Licenced under "my rules"
- Replies: 30
- Views: 51795
Languages evolve. That's a curious expression. To say that a language, that is one particular language, has evolved implies that a language is itself a set of sub members, which might actually be a useful way to look at it. Historically, it is obvious that lexicons and word usage changes almost con...
- Mon Mar 06, 2006 10:49 pm
- Forum: General Discussion
- Topic: Licenced under "my rules"
- Replies: 30
- Views: 51795
- Mon Mar 06, 2006 10:19 pm
- Forum: General Discussion
- Topic: 4D
- Replies: 23
- Views: 69174
- Mon Mar 06, 2006 9:32 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: 'Fake' events
- Replies: 3
- Views: 6023
- Mon Mar 06, 2006 8:35 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: HOW TO READ FILE IN .DOC?
- Replies: 6
- Views: 8934
Horusmire, the above gaff amounts to this: Files with the extention .DOC are usually text documents save in the MS Word file format, which is proprietary. If you have documents that you would like to access that are saved in such a format, I suggest converting them to ASCII text, but you will lose m...
- Sat Feb 25, 2006 6:54 pm
- Forum: General Discussion
- Topic: Licenced under "my rules"
- Replies: 30
- Views: 51795