BASIC & QuickBASIC Knowledge Base Articles
Back to the list.
BASIC & QuickBASIC KB Article(s)   24">BASIC & QuickBASIC?

1  [ 2 ]  3  4  5  6  7  8  .... ....  51  52 
Previous Page    Page 2 of 52    Next Page



There are 766 KB Article(s).

16) 2/17/2004 3924039240  39240.html">No Line Continuation in Macintosh QuickBASIC; Break Long FIELD
(39240) - Line continuation is not implemented for Macintosh QuickBASIC Version 1.00, or the earlier BASIC Compiler Version 1.00, or the earlier BASIC Interpreter (Versions 1.00, 1.01, 2.00, 2.10, or 3.00) for Apple Macintosh. You might want a line continuation...

17) 2/17/2004 3748437484  37484.html">SCREEN Function Returns 32 for ASCII Byte 196 in SCREEN 3
(37484) - The SCREEN function returns an ASCII value of 32 (a blank) for the character CHR$(196) in the Hercules graphics mode (SCREEN 3). The correct value (196) correctly returns in any other screen mode. The program below demonstrates the problem and gives a...

18) 2/17/2004 3742137421  37421.html">Two Basic Methods to Save & Restore Text Screens in DOS & OS/2
(37421) - This article explains two methods for saving and restoring text-mode screens (SCREEN 0). The first method uses BLOAD and BSAVE (supported under MS-DOS only, not under OS/2 protected mode). The second method uses the SCREEN function to save and restore...

19) 2/17/2004 3827638276  38276.html">"Out Of Memory" During CHAIN Using Large COMMON Block
(38276) - The two programs shown below demonstrate that a program can run out of memory when CHAINing to another program if there is insufficient memory to copy the COMMON data. If run from within the QB.EXE environment, the error is simply "Out of memory,"...

20) 2/17/2004 3734337343  37343.html">How to Define Your Own Font in Graphics Mode for EGA or VGA
(37343) - A programmer can create a specialized graphics font for use with the EGA or VGA graphics systems. This new font can then be installed by making a ROM BIOS interrupt call. When you install this new font, none of the original graphics characters are...

21) 2/17/2004 3807138071  38071.html">"Permission Denied" If SHELLed Process Accesses Same OPEN File
(38071) - "Permission Denied" normally occurs when you attempt to access a file that is locked by another process or attempt to write to a write-protected disk. For example, if you OPEN a file, LOCK any record, then SHELL to another program that attempts to...

22) 2/16/2004 3703137031  37031.html">PRB: Printer Error May Make Program Appear to Be Hung
(37031) - Detecting printer errors with the ON ERROR GOTO statement is usually very slow. While the printer is waiting to time-out due to an error, the program may appear to be hung. Depending on the type of computer, MS-DOS or a Basic program may take from 20...

23) 2/16/2004 3703037030  37030.html">Basic Memory Model: Determining Segment Sizes with LINK /MAP
(37030) - Visual Basic for MS-DOS uses a medium memory model. With this particular memory model, a program may contain multiple code segments (up to 64K per module) and one 64K shared data segment (known as DGROUP). The exceptions to this in Visual Basic for...

24) 2/2/2004 3565135651  35651.html">ASCII Codes That Do Not Output Using SCRN: , CONS:, or PRINT
(35651) - Most ASCII values display graphics or alphanumeric symbols when sent to the screen. However, there are some ASCII character codes for which Basic displays nothing on the screen of a PC. The list of excluded characters for the PRINT statement is the...

25) 1/29/2004 3514335143  35143.html">Using GOSUB, GOTO, ON Event GOSUB, ON ERROR GOTO in Modules
(35143) - A normal GOSUB Label or GOTO Label statement must be at the same level of code as the label. For example, if a GOSUB Label statement occurs inside a SUB...END SUB (or FUNCTION...END FUNCTION) procedure block, the label must also occur within that...

26) 1/29/2004 3371233712  33712.html">"Subscript Out of Range" DIM SHARED Dynamic Array in SUBmodule
(33712) - A "Subscript out of range" message displays at run time when a dynamic array is dimensioned using REM $DYNAMIC and DIM SHARED statements at the module level of a support (nonmain) module (composed of just subprogram or FUNCTION procedures). In...

27) 1/27/2004 3227232272  32272.html">All Event Handling Is Disabled in an ON ERROR GOTO Handler
(32272) - All event handling is suspended in an ON ERROR GOTO handler. The following types of events are suspended during an error trapping routine: Key trapping (ON KEY(n) GOSUB) Timer (ON TIMER(n) GOSUB) Communications (ON COM(n) GOSUB) Light Pen (ON PEN...

28) 1/22/2004 3191131911  31911.html">How to Nest User-Defined TYPE Declarations in Compiled Basic
(31911) - The following is an example of how to nest user-defined type declarations. An element inside a TYPE...END TYPE declaration can be declared with a user-defined type.

29) 1/22/2004 3188631886  31886.html">Underlining on Monochrome Display with POKE or INTERRUPT &H10
(31886) - The easiest way to display underlined text on a monochrome display is by using the COLOR statement in SCREEN 0. Another method is to POKE screen attributes directly into monochrome video memory, which starts at address hex B000. A more complicated way...

30) 1/22/2004 2816428164  28164.html">Unexpected PRINT USING ".##" Rounding for .xx5
(28164) - This article describes a case where the PRINT USING statement appears to round numeric constants to unexpected values. For the following statement PRINT USING " ###.##"; .245, .255, .265, .275, .285 the above Basic versions give the following output...


1  [ 2 ]  3  4  5  6  7  8  .... ....  51  52 
Previous Page    Page 2 of 52    Next Page