Difference between revisions of "Python built-in Lianja/VFP functions"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
Line 2: | Line 2: | ||
Under construction | Under construction | ||
+ | ==Functions== | ||
The following LianjaScript functions are built into Lianja Python. The function names are case-sensitive. | The following LianjaScript functions are built into Lianja Python. The function names are case-sensitive. | ||
− | ==Desktop== | + | {| class="wikitable" width="100%" |
+ | !width="20%"|Function | ||
+ | !width="20%"|Arguments | ||
+ | !width="60%"|Description | ||
+ | |- | ||
+ | |valign="top"|createObject()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|die()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|echo()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|filetostr()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|getparameter()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|getParameter()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_add()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_clear()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_close()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_contains()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_count()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_create()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_generate()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_get()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_getall()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_getAll()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_getrange()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_getRange()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_info()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_isvalid()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_keys()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_list()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_listlog()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_listLog()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_loadfromfile()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_loadFromFile()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_max()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_min()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_next()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_open()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_rebuild()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_remove()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_removefirst()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_removeFirst()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_removelast()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_removeLast()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_removerange()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_removeRange()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_rewind()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_savetofile()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|vs_saveToFile()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_set()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_update()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|kvs_values()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|move_uploaded_file()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|odata_Create()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|odata_Delete()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|odata_Read()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|odata_Update()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|openDatabase()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|strtofile()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |valign="top"|unlink()||valign="top"| ||valign="top"| | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | |||
+ | ==Desktop Only Functions== | ||
The following LianjaScript functions are built into Lianja Python for desktop Apps only. | The following LianjaScript functions are built into Lianja Python for desktop Apps only. | ||
Revision as of 10:42, 4 March 2024
Under construction
Functions
The following LianjaScript functions are built into Lianja Python. The function names are case-sensitive.
Function | Arguments | Description |
---|---|---|
createObject() | ||
die() | ||
echo() | ||
filetostr() | ||
getparameter() | ||
getParameter() | ||
kvs_add() | ||
kvs_clear() | ||
kvs_close() | ||
kvs_contains() | ||
kvs_count() | ||
kvs_create() | ||
kvs_generate() | ||
kvs_get() | ||
kvs_getall() | ||
kvs_getAll() | ||
kvs_getrange() | ||
kvs_getRange() | ||
kvs_info() | ||
kvs_isvalid() | ||
kvs_keys() | ||
kvs_list() | ||
kvs_listlog() | ||
kvs_listLog() | ||
kvs_loadfromfile() | ||
kvs_loadFromFile() | ||
kvs_max() | ||
kvs_min() | ||
kvs_next() | ||
kvs_open() | ||
kvs_rebuild() | ||
kvs_remove() | ||
kvs_removefirst() | ||
kvs_removeFirst() | ||
kvs_removelast() | ||
kvs_removeLast() | ||
kvs_removerange() | ||
kvs_removeRange() | ||
kvs_rewind() | ||
kvs_savetofile() | ||
vs_saveToFile() | ||
kvs_set() | ||
kvs_update() | ||
kvs_values() | ||
move_uploaded_file() | ||
odata_Create() | ||
odata_Delete() | ||
odata_Read() | ||
odata_Update() | ||
openDatabase() | ||
strtofile() | ||
unlink() |
Desktop Only Functions
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. |