General functions¶
These functions can be used anywhere in a Sculptor program. Functions beginning with a capital letter are listed separately at the end.
Returns the absolute value of a numberic expression |
|
Check existence or permissions of a file or directory |
|
Activate a window in another application |
|
Extract text from an array across element boundaries |
|
Return the ASCII value of a character |
|
Write a begin marker to the transaction file |
|
Browse for a folder or file |
|
Return a string centred within its width |
|
Change the current working directory |
|
Check the type of the contents of the Windows clipboard |
|
Set access permissions for a file or directory |
|
Return an alpha character from an ASCII code |
|
Close the handle to a background task |
|
Convert a column number to pixels |
|
Write a commit marker to the transaction file |
|
Copy a file |
|
Create a message queue |
|
Create a shared memory segment |
|
Return the current working directory |
|
Return the data type of a field |
|
Define a Sculptor program debug message |
|
Convert a Sculptor day number to day, month and year |
|
Return the number of elements or dimensions of an object |
|
Return the files in a directory |
|
Save the files in a directory into a Sculptor keyed file |
|
Send a disconnect client request to a Sculptor server |
|
Convert a day, month and year to a Sculptor day number |
|
Encrypt a text string |
|
Force a child process to terminate |
|
Call methods of a dynamic library |
|
Execute a child process |
|
Return the state of a child process |
|
Validate field |
|
Retrieve size, date and time info about a file or directory |
|
Return a pointer to a window’s first child window |
|
Return a pointer to the first control in a window, group or menu |
|
Return a pointer to a window’s first menu |
|
Return a font’s average character width and character height in pixels |
|
Reference an object from its name |
|
Return the value of a specified byte |
|
Return an environment variable |
|
Return a substring of a longer string |
|
Return information on a client connection to a Sculptor server |
|
Retrieve the contents of the Windows clipboard |
|
Get or save a file using the standard Windows dialog |
|
Retrieve the content of a free textbox |
|
Get the priority class of a process |
|
Retrieve the current text from the control with focus |
|
Get the priority of a thread |
|
Return the ASCII value of the next input character |
|
Search for a pattern in a string |
|
Determine whether a pointer field is pointing to anything |
|
Check for all null values in a field, record or array element |
|
Return a code with keypress information |
|
Left-justify a string |
|
Link to an existing message queue |
|
Link to a shared memory segment |
|
Load a graphic image |
|
Return the long (fully qualified) name of an object |
|
Create a directory |
|
Return the short name of an object |
|
Suspend the calling program |
|
Return a pointer to the next object at the same level |
|
Return the parent of an object |
|
Convert a pixel co-ordinate to columns |
|
Convert a pixel co-ordinate to rows |
|
Play a sound file |
|
Post a standard Windows message |
|
Set the value of an environment variable |
|
Paste data to the Windows clipboard |
|
Return a pseudo-random number |
|
Read a message from a message queue |
|
Read from a shared memory segment |
|
Return the number of records in a Sculptor keyed file |
|
Command to modify the size of any array dimension |
|
Remove a file from disk storage |
|
Remove a message queue |
|
Rename a file or directory |
|
Right-justify a string |
|
Delete a directory |
|
Undo database updates since the last begin marker |
|
Convert a row number to pixels |
|
Run a Windows file |
|
Start an email using the default email program (Microsoft Windows only) |
|
Send a standard Windows message to a C program |
|
Store user, platform and Sculptor version information about a server |
|
Store date and time info from a remote server |
|
Set the value of a byte |
|
Set the cursor type |
|
Forces a window into the foreground |
|
Set or return the current locale |
|
Store a substring within a longer string |
|
Set the priority class of a process |
|
Enables an application to inform the system that it is in use (Microsoft Windows only) |
|
Set the priority of a thread |
|
Sort an array or a record of arrays |
|
Return the length of a string |
|
Add, modify or delete an icon in the system tray |
|
Return the current position of a sequential file |
|
Return a unique temporary file name |
|
Copy characters from a text string to an array, across element boundaries |
|
Return the number of character positions a string will occupy in a specified font |
|
Fold a string to lower case |
|
Convert an expression to text |
|
Fold a string to upper case |
|
Return the type of an object |
|
Unlink from a shared memory segment |
|
Unlock a shared memory segment |
|
Send a URL to the web browser |
|
Return user licence information |
|
Return the user data type of a field |
|
Write a message to a message queue |
|
Write to a shared memory segment |
The following functions are not true functions, but are calls to true functions, pre-defined in the standard include file $SCULPTOR/include/sculptor.h - e.g. the function AnimatePlay() is actually a call to the function animate(). The recommended method of using functions such as animate() is to use the pre-defined function calls listed below.
Graphic animations |
|
Play a graphic animation |
|
Display a frame from a graphic animation |
|
Stop a graphic animation from playing |
|
Data dictionary info |
|
Return details of a specified field in a data dictionary |
|
Return details of a specified field in a secondary index |
|
Return general information about a data dictionary file |
|
Return general information about a specified secondary index |
|
Progress bars |
|
Set and display a progress bar value |
|
Set the range for a progress bar |
|
Timers |
|
Create a timer |
|
Destroy a timer |
|
Start a timer |
|
Stop a timer |