Re: [ql-users] Enhanced Pop
As far as I remeber, FDEC$() and IDEC$() can do that (up to nine digits, the limit of internal coding on QDOS and SMSQ) -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de François Van Emelen Envoyé : lundi 26 décembre 2005 21:58 À : [EMAIL PROTECTED] Objet : Re: [ql-users] Enhanced Pop gwicks schreef: Even better news. We have another article from Per coming up in issue 4 on using digital sound in your programs. Have already added 'hints' in some of my programs thanks to Per's article. Please let me know of there are other topics on some of the newer programming possibilities you would like covered. Then I can start twisting a few arms, Still hoping someone will write a routine to print/display large and very small numeric values in a readable way; I can read '9,876,543,210.00' but not 9.87653954E9 :( François Van Emelen Best wishes, Geoff ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [ql-users] Enhanced Pop
|Still hoping someone will write a routine to print/display |large |and very small numeric values in a readable way; I can read |'9,876,543,210.00' but not 9.87653954E9 :( The FPU on a Q40 can produce numbers up to about 24 significant digits in BCD format. I used that to print FP numbers of up to that size. An integer held as a QL variable is restricted to 2^31 (or so). Thus the number 9876543210 can only be held in the QL in fp format. But the mantissa is not long enough to hold all 10 digits so you could never expect to print them all. However, it is quite easy to print as many significant digits as are available, and with preceding or succeeding zeroes (as many as you like) to replace the rather nasty 34E40 notation. I'm sure I have done this in the past, but never thought it worth while publishing it! George ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [ql-users] Enhanced Pop
Simon Goodwin did something in the DIY Toolkit. Or just write an assmbler routine to do 32 bit numbers. Derek Claude Mourier 00 wrote: As far as I remeber, FDEC$() and IDEC$() can do that (up to nine digits, the limit of internal coding on QDOS and SMSQ) -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de François Van Emelen Envoyé : lundi 26 décembre 2005 21:58 À : [EMAIL PROTECTED] Objet : Re: [ql-users] Enhanced Pop gwicks schreef: Even better news. We have another article from Per coming up in issue 4 on using digital sound in your programs. Have already added 'hints' in some of my programs thanks to Per's article. Please let me know of there are other topics on some of the newer programming possibilities you would like covered. Then I can start twisting a few arms, Still hoping someone will write a routine to print/display large and very small numeric values in a readable way; I can read '9,876,543,210.00' but not 9.87653954E9 :( François Van Emelen Best wishes, Geoff ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [ql-users] Enhanced Pop
Claude Mourier 00 schreef: As far as I remeber, FDEC$() and IDEC$() can do that (up to nine digits, the limit of internal coding on QDOS and SMSQ) SNIP Yes, I know, but that's the problem. consider the following: euro=1599.99 rem euros have to be displayed officially with 2 decimals rem or with a '-' if no decimals rem ex. 43.21 rem ex. 43.00 rem ex. 43,- print fdec$(euro,11,2) rem euro is displayed correctly euro=1699.99 print fdec$(euro,11,2) rem euro is not displayed correctly rem conclusion: 1599.99 is the highest values in euros that rem can be displayed. rem not good enough for me. rem if I'm wrong, please correct. Rem that's not the amount of my bank account, unfortunatly :( François Van Emelen ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [ql-users] Enhanced Pop
Try this instead : 130 euro = '16' 140 PRINT IDEC$(euro,11,2) And calculation is more accurate to. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de François Van Emelen Envoyé : mardi 27 décembre 2005 13:31 À : [EMAIL PROTECTED] Objet : Re: [ql-users] Enhanced Pop Claude Mourier 00 schreef: As far as I remeber, FDEC$() and IDEC$() can do that (up to nine digits, the limit of internal coding on QDOS and SMSQ) SNIP Yes, I know, but that's the problem. consider the following: euro=1599.99 rem euros have to be displayed officially with 2 decimals rem or with a '-' if no decimals rem ex. 43.21 rem ex. 43.00 rem ex. 43,- print fdec$(euro,11,2) rem euro is displayed correctly euro=1699.99 print fdec$(euro,11,2) rem euro is not displayed correctly rem conclusion: 1599.99 is the highest values in euros that rem can be displayed. rem not good enough for me. rem if I'm wrong, please correct. Rem that's not the amount of my bank account, unfortunatly :( François Van Emelen ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [ql-users] Enhanced Pop
Claude Mourier 00 schreef: Try this instead : 130 euro = '16' 140 PRINT IDEC$(euro,11,2) And calculation is more accurate to. SNIP Thanks, François Van Emelen ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [ql-users] Enhanced Pop
The Hinting article was excellent. Thank you very much for that. I hope to use hinting in my programs next year, now that I know how to! Where hinting excells is in programs which make heavy use of icons (e.g. QD) which you don't use often enough to get to know what they do. Rest the pointer over the icon for a little while and the 'help' bubble (or 'hint') magically appears to tell you in *words* what that icon does. -- Dilwyn Jones - Original Message - From: P Witte [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, December 25, 2005 10:04 AM Subject: [ql-users] Enhanced Pop In the unlikely event that anyone was hoping to download the slightly more enhanced version of Pop (as advertised in my recent QLT article on Hinting from S*Basic programs) Im sorry to have to disappoint you: Im not currently able to access my Knoware site to update it. I shall relocate as soon as I can. In the mean time, if you want this routine, please write me directly to obtain a copy by email. Per ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.7/214 - Release Date: 23/12/2005 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.7/214 - Release Date: 23/12/2005 ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [ql-users] Enhanced Pop
Even better news. We have another article from Per coming up in issue 4 on using digital sound in your programs. Please let me know of there are other topics on some of the newer programming possibilities you would like covered. Then I can start twisting a few arms, Best wishes, Geoff - Original Message - From: Dilwyn Jones [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 26, 2005 11:15 AM Subject: Re: [ql-users] Enhanced Pop The Hinting article was excellent. Thank you very much for that. I hope to use hinting in my programs next year, now that I know how to! Where hinting excells is in programs which make heavy use of icons (e.g. QD) which you don't use often enough to get to know what they do. Rest the pointer over the icon for a little while and the 'help' bubble (or 'hint') magically appears to tell you in *words* what that icon does. -- Dilwyn Jones ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [ql-users] Enhanced Pop
gwicks schreef: Even better news. We have another article from Per coming up in issue 4 on using digital sound in your programs. Have already added 'hints' in some of my programs thanks to Per's article. Please let me know of there are other topics on some of the newer programming possibilities you would like covered. Then I can start twisting a few arms, Still hoping someone will write a routine to print/display large and very small numeric values in a readable way; I can read '9,876,543,210.00' but not 9.87653954E9 :( François Van Emelen Best wishes, Geoff ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm
Re: [ql-users] Enhanced Pop
François Van Emelen writes: Still hoping someone will write a routine to print/display large and very small numeric values in a readable way; I can read '9,876,543,210.00' but not 9.87653954E9 :( Whats wrong with IDEC$, CDEC$ etc or even PRINT_USING? Per ___ QL-Users Mailing List http://www.q-v-d.demon.co.uk/smsqe.htm