Previous | Top | Index | Next |
This is just a small description of the functions and installation procedure. is not intended to be a complete documentation for the Windows CE functions of BREXX.
WARNING function names might change in the next releases.
Any comments or ideas about the program and the CE version are very welcome.
You can make a short-cut of the brexxce.exe to \Windows directory, even though it is not necessary, since you can make the ".r" extension executable.
The @ means the Default value. In Tascal Registry you have to create a String with Name = "Default".
In brackets are given the keys that you have to create, and in the following line you can find the String values. Please respect the case of the characters (capital, or small) of the keys and values.
To make the files with extension ".r" as executable you should do the following
[HKEY_CLASSES_ROOT\.r] @=brexxfile [HKEY_CLASSES_ROOT\brexxfile] @=BRexx program [HKEY_CLASSES_ROOT\brexxfile\DefaultIcon] @=\Program Files\Rexx\brexxce.exe,-103 [HKEY_CLASSES_ROOT\brexxfile\Shell] [HKEY_CLASSES_ROOT\brexxfile\Shell\Open] [HKEY_CLASSES_ROOT\brexxfile\Shell\Open\Command] @="\Program Files\Rexx\brexxce" "%1" %*
Be careful with the quotes, in the program name and in the first argument.
Library path, and other stuff
[HKEY_CURRENT_USER\Software\Marmita] [HKEY_CURRENT_USER\Software\Marmita\BRexx] HT=dword:0000001e LIB=\Program Files\Rexx\Lib
Where:
HT | is the Character Height. |
LIB | the BRexx libraries path |
If the path of your rexx program contains space characters, then you must use quotes. \...\brexxce.exe "\Program Files\Rexx\Progs\calc.r"
Clear the main window.
Clear from cursor position until end of the line.
Returns the position of the cursor on screen.
Move cursor to x,y position on screen.
Get character, from keyboard buffer. Special characters (like arrows) are returned with two calls in the GETCH() routine. The first returns zero char '00'x and then the actual value of the key being pressed.
Returns 1 if a character is waiting in the keyboard buffer, else 0.
Copy file srcfile to destfile.
Move/Rename or Replace file srcfile to destfile.
Delete the file file.
Create a new directory directory.
Remove the directory directory.
Return a string containing the complete directory list. This list contains the file informations: size, date, attributes. The file entries are separated with a newline "\n" ('0A'x) character.
Set the window title to title.
Displays a message box, containing text text and a title title. An optional integer option can be specified, to define the buttons and the icons that will be visible inside the messagebox. The options are the same as described in the Windows API, and a short list can be found in the lib/WinCE.r library file.
Get, Set, List or Clear the available data in clipboard.WARNING strings in Windows CE are UNICODED, while internaly in BRexx are ASCII. Functions A2U(), and U2A() should be used for translating.
CLIPBOARD() returns a list of the available types in clipboard CLIPBOARD('L') -//- CLIPBOARD('C') clears all data in clipboard CLIPBOARD(13) gets the type 13=UNICODE text from clipboard CLIPBOARD(13,string) sets the type 13 with the data string. CLIPBOARD(13,A2U("Hello"))
Some commonly used clipboard data formats can be found in lib/WinCE.r library file.
Returns the unicode version of the ascii-string.U2A(unicode-string)
Returns the ascii version of the unicode-string.
Previous | Top | Index | Next |