So you ppl want a new article on Qbinux? Just say the word and I'll starting writing tonight!
grtz
Seb
Search found 239 matches
- Wed Aug 10, 2005 5:58 am
- Forum: Pete's QB Site News
- Topic: QB Express Article Requests
- Replies: 140
- Views: 731284
- Wed Aug 10, 2005 2:50 am
- Forum: General Discussion
- Topic: some c code
- Replies: 45
- Views: 63570
What I mean is, that if I parse tmtime (not with Sec, and Min etc) to the function MkTime, can I parse it as function MkTime (tmtime)? The function is not a C-code function. DIM Months(12) AS INTEGER DIM mYear AS INTEGER DIM res AS LONG Minute = 60 Hour = 60 * Minute Day = 24 * Hour Year = 365 * Day...
- Wed Aug 10, 2005 2:34 am
- Forum: News and Announcements
- Topic: CHALLENGE: Timezone calculator.
- Replies: 50
- Views: 77083
- Tue Aug 09, 2005 3:49 am
- Forum: General Discussion
- Topic: strange error
- Replies: 11
- Views: 14658
- Tue Aug 09, 2005 3:40 am
- Forum: General Discussion
- Topic: strange error
- Replies: 11
- Views: 14658
- Tue Aug 09, 2005 3:21 am
- Forum: General Discussion
- Topic: strange error
- Replies: 11
- Views: 14658
strange error
After a tiny mistake: replacing sub sumfin as function sumfin, I got the message: duplicate label. Then I renamed function sumfin back to sub sumfin. Everything fine and all... NOT! I can run the program without any problem the first time. When I want to start again it states: duplicate label on eve...
- Tue Aug 09, 2005 2:23 am
- Forum: General Discussion
- Topic: some c code
- Replies: 45
- Views: 63570
I've tested it, and it works. Another linux mystery solved. Okay. Now I'm gonna present ya some where it has to work with and the problem I have afterwards (not with the code you supplied). Remember it's C-converted-to-QB so most of it might be wrong but I'm not a C-programmer, I can just read it a ...
- Tue Aug 09, 2005 1:36 am
- Forum: General Discussion
- Topic: some c code
- Replies: 45
- Views: 63570
- Mon Aug 08, 2005 4:11 pm
- Forum: General Discussion
- Topic: some c code
- Replies: 45
- Views: 63570
- Mon Aug 08, 2005 4:01 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: some more questions!
- Replies: 12
- Views: 12401
- Mon Aug 08, 2005 4:00 pm
- Forum: General Discussion
- Topic: some c code
- Replies: 45
- Views: 63570
- Mon Aug 08, 2005 3:15 pm
- Forum: General Discussion
- Topic: some c code
- Replies: 45
- Views: 63570
- Mon Aug 08, 2005 3:06 pm
- Forum: General Discussion
- Topic: some c code
- Replies: 45
- Views: 63570
- Mon Aug 08, 2005 3:02 pm
- Forum: General Discussion
- Topic: some c code
- Replies: 45
- Views: 63570
- Mon Aug 08, 2005 2:47 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: some more questions!
- Replies: 12
- Views: 12401
- Mon Aug 08, 2005 2:33 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Real time clock access
- Replies: 22
- Views: 23096
- Mon Aug 08, 2005 2:28 pm
- Forum: General Discussion
- Topic: some c code
- Replies: 45
- Views: 63570
Okay, and what if the code is like this:
grtz
Seb
Code: Select all
#define BCD_TO_BIN(val) ((val)=((val)&15) + ((val)>>4)*10)
Seb
- Mon Aug 08, 2005 2:20 pm
- Forum: General Discussion
- Topic: some c code
- Replies: 45
- Views: 63570
some c code
Who knows some C?? I need to know what this does:
grtz
Seb
Code: Select all
((val)=((val)&15) + ((val)>>4)*10)
Seb
- Mon Aug 08, 2005 1:38 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Real time clock access
- Replies: 22
- Views: 23096
I have another question. I can get the time but how can I get the date through this:
grtz
Seb
Code: Select all
CLS
OUT &H70, 0
SEC = INP(&H71)
OUT &H70, 2
MIN = INP(&H71)
OUT &H70, 4
HOUR = INP(&H71)
PRINT HEX$(HOUR); ":";HEX$(MIN); ":";HEX$(SEC)
Seb
- Mon Aug 08, 2005 1:32 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Real time clock access
- Replies: 22
- Views: 23096