Search found 6 matches
- Fri Feb 25, 2022 9:56 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: [SOLVED][QB64] Need help with the hour hand of my clock
- Replies: 5
- Views: 33441
[SOLVED][QB64] Need help with the hour hand of my clock
Hello, Everything is still fine, but I did optimizations : • the drawing of the seconds hand is the last thing displayed, as well as the center of the clock (the same color as the seconds hand). That gives the illusion of an hand that is above the others; • I changed the size of the window (it was 6...
- Wed Feb 23, 2022 2:02 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: [SOLVED][QB64] Need help with the hour hand of my clock
- Replies: 5
- Views: 33441
Re: [SOLVED][QB64] Need help with the hour hand of my clock
Hello, Thanks for your reply. Indeed, I've found the solution by myself and I'm proud of it as it's the most difficult program I've done so far. 8) And : For a reason I ignore, I must do the same routine in the four "if... end if", as if the minutes influenced the hours (M! influences H!)?...
- Tue Feb 22, 2022 9:33 pm
- Forum: QBASIC and QB64 Questions & Answers
- Topic: [SOLVED][QB64] Need help with the hour hand of my clock
- Replies: 5
- Views: 33441
[QB64] Need help with the hour hand of my clock
Hello again, Night brings advice! :) I think I found the solution all alone. I had all the elements right in front of my eyes. And what is under our nose isn't always seen like it should be (philosophic moment of the day :D) As you may have noticed, there is a arc2! variable declared, that I added t...
- Tue Feb 22, 2022 7:13 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: [SOLVED][QB64] Need help with the hour hand of my clock
- Replies: 5
- Views: 33441
[SOLVED][QB64] Need help with the hour hand of my clock
Hello, I've decided to code an analog clock using a portion of code I found on https://qb64sourcecode.com/: https://qb64sourcecode.com/task12code2.png Everything is going fine but one : the hour hand. It moves one time on each new hour and I'd like to make it move as time passes by. I've tried diffe...
- Wed Apr 20, 2016 10:50 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Math Program / How to input a function ?
- Replies: 3
- Views: 10961
Re: Math Program / How to input a function ?
Hello, Thank you for your answer. I tried the first code in QB64, but as I suspected, that doesn't work. I tought that VAL could replace VALF, but those are two different functions. If I look here : http://www.qb64.net/wiki/index.php/VAL (I had already read this page before posting), it's written th...
- Mon Apr 18, 2016 9:19 am
- Forum: QBASIC and QB64 Questions & Answers
- Topic: Math Program / How to input a function ?
- Replies: 3
- Views: 10961
Math Program / How to input a function ?
Hello, I'm new to this forum. I've used BASIC and QBASIC long time ago, when I was in college. I've discovered a floppy disk with programs I wrote years ago, and I want to improve them a little. Most of these programs are math ones. I've always been a big fan of Pocket Computers, back in the 90s. I ...