--------------- FIDO MESSAGE AREA==> TOPIC: 214 POWER BASIC Ref: DG200000 Date: 11/29/96 From: FRANK COX Time: 09:21am \/To: LAWRENCE GORDON (Read 4 times) Subj: Huge arrays (Second try) My mail hub advises me that he lost some mail, but isn't sure exactly what he lost. Therefore, I'll send this message again. If it's the second time around, please ignore it. FC>> I always assumed that numeric array elements were 0 unless FC>> otherwise assigned. FC>> dim huge record???(-32768 to 32767) FC>> print record???(-32768) FC>> is a long way from 0. > I'm not certain what your point is, Frank. Well, in the above example, record???(-32768) has a value of 4.294902E+9 until you assign another value to it. At least, it did just now. The value may be random; I haven't experimented with it enough to be able to say. It's non-zero, anyway. If you do this: dim record???(3) print record???(0) the value of record???(0) is 0 until you assign another value to it. I was working with huge arrays and was doing something like this to run through the array until I hit the end of the values that I had assigned: x%=-32768 do until record???(x%) =0 incr x% loop and was wondering why it wasn't working. It took me a while to twig on to the fact that the initial value of an unassigned numeric variable in a huge array was non-zero, unlike other array structures. --- Msgedsq 2.2e * Origin: THE BIG ELECTRIC CAT Melville Sask *SDS* *PDN* (1:140/53) --------------- FIDO MESSAGE AREA==> TOPIC: 214 POWER BASIC Ref: DG200001 Date: 12/01/96 From: TIM HUTZLER Time: 12:26pm \/To: ALL (Read 4 times) Subj: Overflow on PRINT I have been trying to isolate a tricky bug that causes an 'overflow' error on some number types. There is no 'overflow', the error is incorrect. So, I am lost as to what the real error is. In my latest instance I have noticed that the error occurs in a PRINT statement where I call a function previous to that. I don't know why this subroutine causes the problem. And I don't have this problem in other programs where I use this function. All I know is that if I bypass the function, the error does not occur. If I cut it back in, the error comes back. I wonder if I have a stack overflow problem. I tried PRINT FRE(-2) and I get the overflow error! One thing - if I simply make "PRINT x" into "PRINT STR$(x)"; it works! HEX$(x) also works. But just printing the number, it fails with the indicated overflow error. --- Maximus/2 3.01 * Origin: Madman BBS * Chico, California * 916-893-8079 * (1:119/88) --------------- FIDO MESSAGE AREA==> TOPIC: 214 POWER BASIC Ref: DG200002 Date: 12/01/96 From: LAWRENCE GORDON Time: 7:01am \/To: FRANK COX (Read 4 times) Subj: Huge arrays On 11/29/96, Frank Cox wrote to Lawrence Gordon: FC> and was wondering why it wasn't working. It took me a while to twig on FC> to the fact that the initial value of an unassigned numeric variable in FC> a huge array was non-zero, unlike other array structures. I'll be danged, but you're right. * WCE 2.1G1/2081 * --- InterEcho 1.19 * Origin: Toast House * (314) 994-0312 * (1:100/560) --------------- FIDO MESSAGE AREA==> TOPIC: 214 POWER BASIC Ref: DG300000 Date: 12/01/96 From: THOMAS GOHEL Time: 12:00am \/To: ALLE (Read 4 times) Subj: FAQ: PowerBASIC 01/16 (Index) ========================================================================== PowerBASIC-FAQ for Versions 3.00, 3.10 & 3.20 English Version (DOS) (c) 1995/96 from Thomas Gohel, All Rights reserved english Team: Thomas Geiger, Andras Hoeffken, Wolfgang Bruske Date: 30.11.1996 - Version 0.77 Tip's, Trick's, Bug's and other more or less important stuff ========================================================================== ==================== Foreword to this FAQ ==================== The links listed in this FAQ are shown without taking in concern possible Copyright-Notices and without taking in concern any trademarks. Further, the Author does not guarantee that the problems, Hints and bugs are fully 100% correct. Should you have suggestions to this FAQ, I am free to these suggestions and will let them flow into future Versions of this FAQ. I would also like to show that some of the Problems in the 'Bugs' Section are really only Bugs in a matter of speech. These mistakes or barriers are documented here for all to see (So that future Versions of PowerBASIC may be developed). =========== Suggestions =========== Suggestions may at any time be presented to the Author of this FAQ. Current Netmail-Addresses are: | Thomas Gohel@2:2410/330.1 (FidoNet) pbfaq@pbsound.snafu.de (InterNet) Furthermore there is the possibility to log into a Mailbox where the Author of this FAQ is reachable: | Port 1: +49-30-47300910 (PBSOUND HQ, Berlin - 64.0, X75, ISDNC) | Port 2: +49-30-47300910 (PBSOUND HQ, Berlin - 28.8, VFC, V34) You can post your suggestions and problems there. To do so, please write a Message in the PBSOUND-Message-Area. An answer should be available within 48 hours. ======================================== How to obtain the current PowerBASIC-FAQ ======================================== The current PowerBASIC-FAQ can be downloaded from my Home BBS online anytime. The phone numbers are: | Port 1: +49-30-47300910 (PBSOUND HQ, Berlin - 64.0, X75, ISDNC) | Port 2: +49-30-47300910 (PBSOUND HQ, Berlin - 28.8, VFC, V34) Please switch to the 'PowerBASIC-Sourcen'-Filearea after login. There are two more 'PowerBASIC-Fileareas' (Toolboxen and PBSOUND). Many in this FAQ mentioned Sources and Toolboxes can be downloaded here online or using FidoNet. InterNet-Users can get the PowerBASIC-FAQ anytime using World Wide Web (WWW) under: - http://www.snafu.de/~pbsound/ A Request of this FAQ using FidoNet is possible using the Magic 'PBFAQ'! | Port 1: +49-30-47300910 (PBSOUND HQ, Berlin - 64.0, X75, ISDNC) | Port 2: +49-30-47300910 (PBSOUND HQ, Berlin - 28.8, VFC, V34) Further PowerBASIC-Magics are: PBSOUND and PBFILES. ============== Complete Index ============== 1. Obtaining, Toolboxes, Prices and Infos to PowerBASIC 2. Errors (Bug's) in PowerBASIC-Versions 3.0, 3.1 and 3.2 3. PowerBASIC and the CoProcessor 4. Standardproblems 5. Hints in Connection with the InLine-Assembler 6. Hints in Connection with Pointers 7. Hints in Connection with Turbo-C or Borland C++ 8. Hints to the Conversion of Sources from PDS to PowerBASIC 3.x 9. Available Shareware & Public Domain Solutions 10. The People from PowerBASIC --- CrossPoint v3.11 R * Origin: Magics: PBSOUND, PBFILES (20MB), PBFAQ, PBHIVGA at: (2:2410/330.1) --------------- FIDO MESSAGE AREA==> TOPIC: 214 POWER BASIC Ref: DG300001 Date: 12/01/96 From: THOMAS GOHEL Time: 12:00am \/To: ALLE (Read 4 times) Subj: FAQ: PowerBASIC 02/16 (Adresses) ======================================================== 1. Obtaining, Toolboxes, Prices and Infos to PowerBASIC ======================================================== 1.1. The Current Versions of PowerBASIC 1.2. The Original Distributors of PowerBASIC 1.3. German Speaking Area 1.4. German PowerBASIC Prices 1.5. The Basic Network - BasNet 1.6. New in Version 3.1 of PowerBASIC 1.7. New in Version 3.2 of PowerBASIC 1.8. PowerBASIC - The next Generation 1.1. The Current Versions of PowerBASIC --------------------------------------- The current Version of PowerBASIC in Germany (in October 1995) is Version 3.20. This Version has been available in the US and other countries since September 1995. 1.2. The Original Distributors of PowerBASIC -------------------------------------------- PowerBASIC was and is developed in the United States and there are multiple possibilites to get contact to these people. Here are the currently known addresses from PowerBASIC Inc.: Address: PowerBASIC, Inc. 316 Mid Valley Center Carmel, Ca 93923 Sales Divison: Ordering : (800) 780-7707 Service : (408) 659-8000 Fax : (408) 659-8008 Technical Support: Voice : (408) 659-8000 Fax : (408) 659-8008 BBS : (408) 659-7401 (8-N-1, 2400-28.8k) CompuServe: GO POWERBASIC, Sektion 12 Sale and Marketing : 73621,2613 Technical Support : 74431,3520 Research and Development : 75300,1742 InterNet: World Wide Web : www.powerbasic.com List of InterNet Sites : info@powerbasic.com Ordering : order@powerbasic.com Productlists : products@powerbasic.com Products for PowerBASIC : third@powerbasic.com Sale and Marketing : sales@powerbasic.com Technical Support : support@powerbasic.com Research and Development : r&d@powerbasic.com 100 Reasons why PowerBASIC is better than QuickBASIC : 100ways@powerbasic.com Suggestions for future PowerBASIC Versions : suggest@powerbasic.com FTP- & WWW-Sites: http://www.snafu.de/~pbsound/ http://145.89.78.151/~excel/pb.html http://www.webgeek.com/dave/ ttp://www.leo.org/pub/comp/platforms/pc/msdos/programming/pbasic/ http://www.fys.ruu.nl/~bergmann/basic.html http://www.phoenix.net/~balkum/ http://www.blarg.net/~future/shareware.html http://www.cdrom.com/simtel.net/msdos/basic.html http://www.cyberbox.north.de/FILES/DOS/dos106.html 1.3. German Speaking Area ------------------------- In Germany PowerBASIC is distributed by "Kirschbaum Software GmbH". The current address is: Kirschbaum Software GmbH Kronau 15 83550 Emmering GERMANY Phone: +49-8067-9038-0 Fax : +49-8067-903898 The current Version of PowerBASIC is Version 3.20. Following Toolboxes are available from Kirschbaum: PB/DLL - PowerBASIC DLL-Compiler for Windows PowerGRAPH - for graphical Menusystems (PCX, Fonts, etc.) PowerISAM - Databases (also available in English from PowerBASIC Inc.) PowerTOOLS - SAA-Shell, Helpsystem, helpfull Routines PB/xtra - Collection of Sharewareprogramms and Sourcecode Kirschbaum doesnot have a Mailbox or any official EMailaddresses! There are some EMailaddresses and Support-Areas or not official Newsgroups etc. from the Toolbox Developers. In this case please see the Manual of the Toolbox. 1.4. German PowerBASIC Prices ----------------------------- All prices noted here are NOT validated. Changes can happen any time! A currently valid pricing Information can be optained from Kirschbaum by FAX. Complete Version: 199,-DM Complete Version 3.2 for Students, Pupils: 150,-DM Update from VOBIS-Basisversion 2.10f to V3.2: 149,-DM Update from V2.10 to V3.2: 149,-DM Update from a 3.x-Version to V3.2: 36,80DM PB/DLL: 299,-DM 1.5. The Basic Network - BasNet ------------------------------- For people with a Modem BasNet provides exchange of experience with other PowerBASIC people. Here you can clear your "Programming" problems with other PB-Programmers and can obtain any other needed Information, Sources or also Toolboxes. For further Information about the "Basic Network" please contact one of the following addresses: - Mail, Online-Access (over Mailbox), Fido- & BasNet: Performance Multimedia Roemerstr. 46 63128 Dietzenbach GERMANY Fax: 06074-29749 Mailbox: +49-6074-41307 (24h, ANSI, 2400-19200bps, 8N1) +49-6074-812355 (24h, ANSI, 2400-14400bps, 8N1) +49-6074-812356 (24h, ANSI, ISDN) E-Mail-Address: Christian Wendler@2:244/1490 1.6. New in Version 3.1 of PowerBASIC