CurrentDate and CurrentTime return the system date and time respectively.
Delay pauses program executions for a specified amount of time while MilliSecs reports the system time. CreateTimer and WaitTimer provide functions for executing code based on user timers.
Notify, Confirm, Proceed and RequestFile provide functions for using standard system requesters when requiring information from users.
KeyHit,
KeyDown,
MouseX,
MouseY,
MouseZ,
MouseHit,
MouseDown,
WaitKey,
WaitMouse and
MoveMouse all provide
functions for examining the state of the keyboard and mouse
devices connected to the system. See the
FreeJoy
module for providing joystick support in BlitzMax programs.
Example:
' notify.bmx
Notify "Hello World"
Returns:
1 - YES
0 - NO
Example:
' confirm.bmx
result=Confirm("Are you sure?")
Print result
Returns:
1 - YES
0 - NO
-1 - CANCEL
Example:
' proceed.bmx
result=Proceed("Are you sure you want to continue?")
Print result
text - used as the title of the file requester
extensions$ - optional list of file extensions to display
save_flag - true for save style, false for load style
default_path - the default initial path for the file requester
Returns: True if key is currently down.
See the KeyCodes docs for a list of valid keycodes.
Returns: Mouse x axis location, relative to top-left of screen
Returns: Mouse y axis location, relative to top-left of screen
Returns: Number of times mouse button has been hit
MouseHit resets the count for the button specified to zero.
button can be one of the following values:
1 - Left Mouse Button
2 - Right Mouse Button
3 - Middle Mouse Button
Returns: True if mouse button is currently down
button can be one of the following values:
1 - Left Mouse Button
2 - Right Mouse Button
3 - Middle Mouse Button
Module | brl.system |
Version | 1.00 |
Author | Mark Sibly |
License | Blitz Shared Source Code |
Copyright | Blitz Research Ltd |
Modserver | BRL |