Difference between revisions of "Python built-in Lianja/VFP functions"
From Lianjapedia
Barrymavin (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:Python built-in LianjaScript functions}} | {{DISPLAYTITLE:Python built-in LianjaScript functions}} | ||
Under construction | Under construction | ||
+ | |||
+ | The following LianjaScript functions are built into Lianja Python. The function names are case-sensitive. | ||
+ | |||
+ | ==Desktop== | ||
+ | The following LianjaScript functions are built into Lianja Python for desktop Apps only. | ||
+ | |||
+ | {| class="wikitable" width="100%" | ||
+ | !width="20%"|Function | ||
+ | !width="20%"|Arguments | ||
+ | !width="60%"|Description | ||
+ | |- | ||
+ | |valign="top"|bindEvent()||valign="top"|tbc||valign="top"|tbc. | ||
+ | |- | ||
+ | |valign="top"|clear_events()||valign="top"|none||valign="top"|Stops event processing started with read_events(). | ||
+ | |- | ||
+ | |valign="top"|debug()||valign="top"|text as string||valign="top"|Writes the specified text to the debug file ([[SET DEBUG|set debug on]]). | ||
+ | |- | ||
+ | |valign="top"|debugout()||valign="top"|text as string||valign="top"|Writes the specified text to the [[Troubleshooter Debugout Tab]]. | ||
+ | |- | ||
+ | |valign="top"|inputBox()||valign="top"|[prompt as string]||valign="top"|Display a box prompting for input. The prompt can optionally be specified; the default prompt is 'Enter value:' | ||
+ | |- | ||
+ | |valign="top"|messageBox()||valign="top"|message as string<br>[, options as numeric<br>[, title as string]]||valign="top"|Display a message in a box with an optional title.<br>See [[MESSAGEBOX()]] for the numeric options to customize the buttons and icon and for the return values. | ||
+ | |- | ||
+ | |valign="top"|read_events()||valign="top"|none||valign="top"|Suspends execution until a clear_events() is executed. | ||
+ | |- | ||
+ | |} |
Revision as of 08:57, 4 March 2024
Under construction
The following LianjaScript functions are built into Lianja Python. The function names are case-sensitive.
Desktop
The following LianjaScript functions are built into Lianja Python for desktop Apps only.
Function | Arguments | Description |
---|---|---|
bindEvent() | tbc | tbc. |
clear_events() | none | Stops event processing started with read_events(). |
debug() | text as string | Writes the specified text to the debug file (set debug on). |
debugout() | text as string | Writes the specified text to the Troubleshooter Debugout Tab. |
inputBox() | [prompt as string] | Display a box prompting for input. The prompt can optionally be specified; the default prompt is 'Enter value:' |
messageBox() | message as string [, options as numeric [, title as string]] |
Display a message in a box with an optional title. See MESSAGEBOX() for the numeric options to customize the buttons and icon and for the return values. |
read_events() | none | Suspends execution until a clear_events() is executed. |