New in Version 4.1 of SiMPLE



Version 4.1 of SiMPLE lets you write programs that can run in a window. Click here for more information.


(Revision: 2008 March 07)
Several new tasks/functions have been added to the system library for use by programs that are using the windowing capabilities of SiMPLE:

Name:                 Checkwindowsize (Int xsize, Int ysize)

Type:                 Task

Operation:            Checks to see if the program's window will fit on the
                      display screen.

Calling parameters:   xsize - the horizontal size of the window
                      ysize - the horizontal size of the window


Name: Winframe Type: Task Operation: Draws a slightly thicker frame around the edge of the program's window. Calling parameters: (none)
Name: Winframe (Int size, Int thick) Type: Task Operation: Draws an extended "3-D" frame around the edge of the program's window. Calling parameters: size: the extent of the frame thick: the "thickness" of the frame
Name: Movewindow (Int x, Int y) Type: Task Operation: Moves the program's window to the specified x,y location on the display screen.
Name: Windowloc (Int xul, Int yul, Int xlr, Int ylr) Type: Task Operation: Returns the current location of the program's window. Calling parameters: xul - the x-coordinate of the upper-left corner of the window yul - the y-coordinate of the upper-left corner of the window xlr - the y-coordinate of the lower-right corner of the window ylr - the y-coordinate of the lower-right corner of the window
Name: Getmode ( ) Type: Int function Returns: zero - if the program is running in full-screen mode one - if the program is running in a window

(Revision: 2008 March 10)
You can now create windowed programs that use the windows close button.

In addition, several more tasks/functions have been added to the system library:

Name:                 Universe ( )

Type:                 Text function

Operation:            Lets the program know which universe it's running in.

Returns:              Either "Pro" or "Ultra"


Name: Waitifminimized Type: Task Operation: If the program's window is currently minimized, waits until it becomes restored again.
Name: Goodbye Type: Task Operation: Exits the program. [Should be used only in the user's "myquit()" function.]

(Revision: 2008 March 15)

In "Drag & Drop" mode, if the name of the source listing file is eight characters or less in length, the executable file will now have the same name as the source listing, but all in upper-case letters and with a ".EXE" extension. If the name of the source listing file is more than eight characters in length, the executable file will still have the name "SIMPLE.EXE".

An error in how SiMPLE accesses user's data files in "Drag & Drop" mode has now been fixed.


(Revision: 2008 March 20)

The "weirdness" glitch that was associated with minimizing a window has now been corrected.

The "Checkwindowsize" task is now invoked automatically to insure that the program's window will fit on the screen.

In addition, another function has been added to the system library:


Name:                 Minimized ( )

Type:                 Int function

Operation:            Returns a non-zero value if the program's window is
                      currently minimized; returns zero otherwise.


(Revision: 2008 March 26)

An error in the "Checkwindowsize" task prevented some Ultra-SiMPLE programs from being able to enter full-screen mode properly. This problem has now been fixed.


(Revision: 2008 March 29)

The name of the Global library's "DOS" subfolder has been changed to "Pro".

The name of the Global library's "WIN" subfolder has been changed to "Ultra".

In addition to "G:" for specifying the Global library, the "Append" compiler directive now recognizes "P:" and "U:" as specifiers for the Global library's two subfolders "Pro" and "Ultra".


(Revision: 2008 April 09)

The "keyin" functions ("Keyintext", "Keyinint", etc.) did not work properly when used in a window. This problem has now been fixed.


(Revision: 2008 April 23)

The Local Append Library did not work properly when used in command-line mode. This problem has now been fixed.


(Revision: 2008 April 30)

"Floodfill" tasks have been added to the System Library:


Name:                 Floodfill (Int x, Int y, Int2 c)

Type:                 Task

Operation:            Fills a specified area of the screen. The fill area is
                      defined by the color that currently exists at "x,y".
                      Filling continues outward in all directions as long as
                      that color is encountered. (This style is useful for
                      filling areas that have multicolored boundaries.)

Calling parameters:   x: Specifies the x-coordinate at which to begin filling
                      y: Specifies the y-coordinate at which to begin filling
                      c: Specifies the RGB color to be used for filling
_____________________________________________________________________________

Name:                 Floodfill (Int x, Int y, Int2 c, Int2 b)

Type:                 Task

Operation:            Fills a bounded area of the screen. Filling begins at
                      the point specified by x and y, and continues in all
                      directions to the color boundary.

Calling parameters:   x: Specifies the x-coordinate at which to begin filling
                      y: Specifies the y-coordinate at which to begin filling
                      c: Specifies the RGB color to be used for filling
                      b: Specifies the RGB color of the boundary.


The SiMPAINT program now incorporates "floodfill".



  [ Webmaster | FAQ's | Home Page | Contact Us ]