------------------------------------------------------------------------------ IDE === - Selection information is always reset when a block is deleted. - Better size handling, and user resizing, for output message boxes. - Fixed the path handling for custom help files that include explicit paths. - Debugger loads #include files properly even with dotted path specifications. - Proper display update, and update of horizontal scroll bar, after deletion of text across a scrolled window. - Block operations will not be attempted if there is no block selected. In order to qualify as a block, the selection must span at least one line. - Breakpoints set in debug mode work as expected. - REM/unREM block operations work correctly with blank lines. - When loading a file with excessively long lines (over 256 characters), the IDE splits the line into shorter lines as needed. A warning message is shown and the "save file" flag is set. - Syntax colors for PBForms code can be changed in the Options dialog. ============================================================================== Changes since PB/Win 7.04 ------------------------------------------------------------------------------ Compiler ======== New Statements and Functions: - #COMPILER metastatement defines the compiler for your program. - ARRAY ASSIGN statement allows the assignment of a number of values to successive elements of an array. The assignment always starts with the first array element, and continues sequentially as the elements appear in memory. The values to be assigned must match the array type, and may be literals, variables, or expressions. For example: ARRAY ASSIGN x&() = 1,2,3,4,5,6,7,8,9,10 - BGR function converts an RGB color value to BGR format. - BITS function condenses the functionality of BITS%, BITS&, BITS?, BITS??, and BITS??? into a single function. The BITS syntax provides for the addition of new data types in future versions of PowerBASIC, which may not support type-specifier characters. Existing code should be converted to the new syntax as soon as possible. Note that CINT, CLNG, CBYT, CWRD, and CDWD are functional synonyms for BITS. - CONTROL ADD GRAPHIC statement adds a static graphic control to a dialog for pictures, text, etc. - CONTROL SET CLIENT statement changes the size of a control to a specific client area size. - DECLARE statement allows declaring procedures with different names, but the same aliases. - DESKTOP GET CLIENT statement retrieves the size of the client area of the desktop, in pixels. - DESKTOP GET LOC statement retrieves the location of the top, left corner of the client area of the desktop, in pixels. - DESKTOP GET SIZE statement retrieves the size of the entire desktop, in pixels. - ENVIRON statement modifies the environment table for the current process and any subsequent child processes that are launched. A single string expression parameter sets both the name of the variable and its value, delimited by an equal sign. If a value isn’t given, the variable is removed from the environment. For example: ENVIRON "SETMODE=YES" ENVIRON "SETMODE=" - ERL system variable returns the last line number encountered before the most recent error, within the current Sub/Function. With ERL, line numbers are of the traditional-basic line numbering variety, not the physical source code line. - FIELD statement binds a field string variable to a random file buffer or a dynamic string variable. A field variable is defined to be a specific sub-section of a random file buffer or a dynamic string variable. Field string variables must be explicitly declared using DIM, LOCAL, STATIC, GLOBAL, or THREADED statements. - GRAPHIC ARC statement draws an arc in the selected graphic window. - GRAPHIC ATTACH statement selects the graphic target (window or bitmap) on which future drawing operations will take place. - GRAPHIC BITMAP END statement closes the selected graphic bitmap. - GRAPHIC BITMAP LOAD statement creates a memory bitmap and loads an image into it. - GRAPHIC BITMAP NEW statement creates a new memory bitmap. - GRAPHIC BOX statement draws a box with square or rounded corners in the selected graphic window. - GRAPHIC CHR SIZE statement retrieves the character size for the current font in the selected graphic window. - GRAPHIC CLEAR statement clears the entire selected graphic window, optionally using a specified color and fill style. - GRAPHIC COLOR statement sets the foreground color and optionally the background color for various graphic statements. - GRAPHIC COPY statement copies a bitmap to the selected graphic target. - GRAPHIC ELLIPSE statement draws an ellipse or a circle in the selected graphic window. - GRAPHIC FONT statement selects a font for the GRAPHIC PRINT statement. - GRAPHIC GET BITS statement retrieves a copy of a bitmap, storing it as a device-independent bitmap in a dynamic string variable. - GRAPHIC GET CLIENT statement retrieves the client size of the selected graphic target. - GRAPHIC GET DC statement retrieves the handle of the DC (device context) for the selected graphic window. - GRAPHIC GET LOC statement retrieves the location of the selected graphic window on the screen. - GRAPHIC GET MIX statement retrieves the color mix mode for the selected graphic target. - GRAPHIC GET PIXEL statement retrieves the color of the pixel at the specified point in the selected graphic window. - GRAPHIC GET POS statement retrieves the POS (last point referenced) by a graphic statement. - GRAPHIC GET PPI statement retrieves the resolution of the display device, in points per inch. - GRAPHIC LINE statement draws a line. - GRAPHIC PAINT statement fills an area with a solid color or a hatch pattern. - GRAPHIC PIE statement draws a pie section on the selected graphic target. - GRAPHIC POLYGON statement draws a polygon in the selected graphic target. - GRAPHIC POLYLINE statement draws a series of connected line segments. - GRAPHIC PRINT statement outputs text to the selected graphic target. - GRAPHIC REDRAW statement updates buffered graphical statements, drawing them to the selected graphic target. - GRAPHIC RENDER statement renders an image on the selected graphic target. - GRAPHIC SAVE statement saves an image to a bitmap (.BMP) file. - GRAPHIC SCALE statement defines a custom coordinate system for the graphic target. - GRAPHIC SET BITS statement replaces a copy of a bitmap that was retrieved as a device-independent bitmap. - GRAPHIC SET FOCUS statement brings the selected graphic window to the foreground and directs focus to it. - GRAPHIC SET LOC statement changes the location of the selected graphic window on the screen. - GRAPHIC SET MIX statement sets the color mix mode for the selected graphic target. - GRAPHIC SET PIXEL statement draws a single pixel. - GRAPHIC SET POS statement sets the last point referenced (POS) for the selected graphic target. - GRAPHIC STRETCH statement sets the last point referenced (POS) for the selected graphic target. - GRAPHIC STYLE statement sets the line style to be used by various graphical statements in the selected graphic target. - GRAPHIC TEXT SIZE statement calculates the size of text to be printed. - GRAPHIC WIDTH statement sets the line width to be used by various graphical statements in the selected graphic target. - GRAPHIC WINDOW statement creates a new graphic window. - GRAPHIC WINDOW END statement closes and destroys the selected graphic window. - HI function extracts the most significant (high-order) portion of an integer-class value. This supercedes the HIBYT, HIINT, and HIWRD functions although they remain supported for a limited period. Existing code should be converted to the new syntax as soon as possible. - LO function extracts the least significant (low-order) portion of an integer-class value. This supercedes the LOBYT, LOINT, and LOWRD functions although they remain supported for a limited period. Existing code should be converted to the new syntax as soon as possible. - LPRINT statement outputs text to the currently selected printer. - LPRINT ATTACH statement attaches LPRINT to a printer device. - LPRINT CLOSE statement detaches the currently selected printer from LPRINT operations and, if required, informs the spooler subsystem to commence print operations. - LPRINT FLUSH statement tells the spooler subsystem to flush any buffered print data to the currently selected printer. Printing will begin. - LPRINT FORMFEED statement sends a formfeed (eject page) command to the currently selected printer. - LPRINT$ function returns the name of the printer selected with LPRINT ATTACH. If no printer has been selected, LPRINT$ will return an empty string (nul). - MAK function creates an integer-class value of a specified data type (WORD, DWORD, PTR, INTEGER, LONG, QUAD) from a low-order and a high-order part. MAK supercedes the MAKWRD, MAKDWD, and MAKPTR function although they remain supported for a limited period. Existing code should be converted to the new syntax as soon as possible. - NUL$ function returns a string consisting of a specified number of $NUL (CHR$(0)) characters. - PRINTER$ function retrieves printer names and printer port names. - PRINTERCOUNT function retrieves the number of available (installed) printers. - THREADED statement declares one or more Thread Local Storage (TLS) variables. It also, optionally, accepts a list of variables, all of which are defined by the type descriptor keywords which follow them. For example: THREADED xxx, yyy, zzz AS INTEGER THREADED vptr, aptr() AS LONG PTR - XPRINT statement outputs text to a host printer device. - XPRINT ARC statement draws an arc on a host printer page. - XPRINT ATTACH statement connects a host-based (GDI) printer for use with XPRINT. - XPRINT BOX statement draws a box with square or rounded corners on a host printer page. - XPRINT CANCEL statement deletes the current print job and detaches the host printer. - XPRINT CHR SIZE statement retrieves the character size for the current font on the host printer. - XPRINT CLOSE statement detaches a host printer so printing may begin. - XPRINT COLOR statement sets the foreground color (and, optionally, the background color) for various XPRINT statements. - XPRINT COPY statement copies a bitmap to a host printer page. - XPRINT ELLIPSE statement draws an ellipse or a circle on a host printer
First General Baptist Church 805 Pruitt Kennett, MO 63857
(573) 888-4592