---------------------------------------------------- Versions: 3.0/3.1 | Known : Error corrected in Version 3.20 The PowerBASIC-IDE as well as the Commandlinecompiler have some casual problems when you spread Sourcecode over more than one line, when it actually has to be in one line. Example: C$ = CHR$( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)+_ CHR$( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) Experience shows that in connection with bigger projects the Compiler likes the wrong interpreting of the lines. Saying: The programmer will get a strange Error somewhere in the Sourcecode. Luckily at the correct position most of the time. 2.18. Problems with the WATCH-Window and multidimensional Arrays ---------------------------------------------------------------- Versions: 3.0/3.1 Known : Error corrected in Version 3.20 The WATCH-Window can not display multidimensional Arrays correctly. 2.19. Buggy internal Function/Variable: pbvScrnCols --------------------------------------------------- Versions: 3.0/3.1/3.2 Known : No This internal Variable should return the number of currently displayed columns on the screen. In connection with all modes that do not use the 40 or 80 column mode, an incorrect number will be returned. Such modes can be set on every VGA-Card and quite a few Tools (i. e. Disk Command Center) even support them! This little FUNCTION can solve this problem: DIM fixScrnCols AS BYTE ! mov ah, &h0f ! int &h10 ! mov fixScrnCols, ah 2.20. Incorrect internal Function/Variable: pbvHost --------------------------------------------------- Versions: 3.0/3.1/3.2 Known : No Bit 8 is not set under Microsoft Windows(NT) 3.x 2.21. A little difference in the new Inline-ASM of V3.1/3.2 ------------------------------------------------------------ Versions: 3.1/3.2 Known : Correction demanded at PowerBASIC Inc. This is explained quickly. While PowerBASIC 3.0 accepts the following line of Inline-Assembler code: ! mov ax, &h0A000 PowerBASIC 3.1/3.2 will not work with it, even if this feature is new in Version 3.1/3.2. 2.22. The dd-Problem in PowerBASIC 3.1/3.2 ------------------------------------------- Versions: 3.1/3.2 | Known : Feature removed in Version 3.5 | This feature is explained fast, because the new 32Bit &h...., &o...., &b | Statements are taken as common knowledge. PowerBASIC Inc. simply forgot | their implementation into the Inline-Assembler!! You don't believe | me? Then just try the following: ! dd &h12345678 | This little problem was explained by PowerBASIC Inc. using the 8Bit | Inline Assembler, but the Inline-Assembler of Version 3.5 was fixed | in these ways. 2.23. Undocumented internal Variables in PowerBASIC 3.0/3.1/3.2 --------------------------------------------------------------- The following internal Variables already exist in PowerBASIC 3.0, but are not documented: pbvBinBase pbvDefSeg pbvHost pbvScrnBuff pbvSwitch pbvVTxtX1 pbvVtxtX2 pbvVTxtY1 pbvVtxtY2 The following internal Variables are not documented from Version 3.1 on, but still exist: pbvRestore The position of the Datasegments are identical in PowerBASIC 3.0 and PowerBASIC 3.1/3.2. 2.24. The PRINT-Bug in PowerBASIC 3.2 ------------------------------------- Known : ???? In Version 3.2 of PowerBASIC Variables of type DWORD are not printed correctly with PRINT: Example: Demo??? = 1234567890 PRINT Demo??? causes the following output: PowerBASIC 3.0/3.1: 1234567890 PowerBASIC 3.2 : 1.234568+E Using PRINT USING can help here... --- CrossPoint v3.11 R * Origin: PBSOUND, PBFILES (32MB), PBFAQ, PBRULES, PBHIVGA at: 2:2410/330.1) --------------- FIDO MESSAGE AREA==> TOPIC: 214 POWER BASIC Ref: F1200004 Date: 01/01/98 From: THOMAS GOHEL Time: 12:00am \/To: ALLE (Read 1 times) Subj: FAQ: PowerBASIC 05/16 (Bug's - Part 3) 2.25. The "File not found"-Error after using NAME ------------------------------------------------- Versions: 3.0/3.1/3.2 | Known : Error corrected in Version 3.50 There is a very strange Error in the internal PowerBASIC filehandle management after using the command "NAME". Example: OPEN "B",1,"DATEI1.TMP" ' Open first file OPEN "B",2,"DATEI2.$$$" ' Open CLOSE 2 ' ... and close immediately OPEN "B",3,"DATEI3.TMP" ' Open CLOSE 3 ' ... and close immediately KILL "DATEI2.$$$" ' Delete second file NAME "DATEI3.TMP" AS "DATEI2.$$$" ' Rename third file to second file CLOSE 1 ' ... Close first file END 2.26. Calculationerror when using Constants