Documentation

Part III. SIMPOL-Language Libraries

The libraries in this section are written in the SIMPOL programming language and are found in the lib directory. Many of them are provided in source as projects, which can be found in the projects\libs directory. These components are added to a project in the IDE by selecting the ProjectSettings menu item and in the second tab, adding the libraries required. Once added to the project, the information about the types and functions will appear in the Project section of the IDE in the Type View area.

Table of Contents

17. ABS
ABS()
18. appframework
application
appwindow
localeinfoold
sysinfo
tableinfo
tdisplayformats
checkneedsave()
clearstatusbar()
closewindow()
defer()
deferprocessing()
deleterecord()
duplicaterecord()
findfirstfocusablecontrol()
getappwindowfromwindow()
getmenuitemwindow()
gettableformatstrings()
lookup()
modifyrecord()
newrecord()
saverecord()
19. boolstr
boolstr()
datetimestr()
string2datetime()
20. bzip2
bzip2info
createarchive()
extractarchive()
packfile()
unpackfile()
21. calceval
evalnode
__ce_getfield()
__lex()
calceval()
isleapyear()
22. codepageslib
convert8bitcharval()
convertfrom8bitstring()
convertto8bitstring()
23. colorpalette
colorpalette
24. conflib
getprivateprofilestring()
openinifile()
writeprivateprofilestring()
writeprivateprofilestrings()
25. databaseforms
dataform1
dataform1arc
dataform1bitmap
dataform1bitmapbutton
dataform1bitmapsource
dataform1button
dataform1checkbox
dataform1combo
dataform1controlsource
dataform1datagrid
dataform1datagridcolumn
dataform1datasource
dataform1detailblock
dataform1edittext
dataform1ellipse
dataform1grid
dataform1line
dataform1link
dataform1list
dataform1option
dataform1optiongroup
dataform1page
dataform1record
dataform1rectangle
dataform1scrollbar
dataform1table
dataform1text
dataform1triangle
fdevent
pageresizeinfo
printform1
printform1arc
printform1bitmap
printform1control
printform1ellipse
printform1graphic
printform1line
printform1page
printform1rectangle
printform1text
printform1triangle
createblankbmp()
getarcboundingrectangle()
getarcquadrant()
getbitmaptype()
getellipseboundingrectangle()
hasproperty()
isvaliddbcontrol()
renderprintform1page()
retrievebitmap()
26. datetimelib
datefromdatetime()
datetimefromdateandtime()
timefromdatetime()
27. db1lib
db1base
db1field
db1index
db1record
db1table
28. db1util
addsysfield()
addsysfieldext()
addsystable()
blobtotext()
compareeqdb1recs()
copy_db1rec_to_db1rec()
copy_db1rec_to_db1table()
copyextendedinfo()
create_sbme1table_from_db1table()
createdefaultsystemtableentries()
createextendedtableinfo()
createsysfields()
createsysfieldsext()
createsystables()
createsystablesysteminexistingsbm()
deleteallrecordsfromtable()
fieldval2string()
getdefaultdisplayformat()
getdefaultformat()
getfield()
getfieldextid()
getfieldid()
getfieldinfoarray()
getfieldscount()
getfieldsextcount()
getindex()
getsysserial()
getsystemtable()
gettableid()
gettablename()
gettableparent()
getuniqueindex()
getuniquenindex()
isdb1field()
isdb1table()
isfield()
isindex()
islocked()
lockrecord()
outputdb1record()
paddedhex()
removetablefromsystemtables()
string2fieldval()
string2val()
tableexists()
unlockrecord()
updatesysfield()
updatesysfieldext()
val2string()
29. dbconverter
__tdisplayformats
dbASDConverter
dbASDExport
dbASDImport
dbCSVConverter
dbCSVExport
dbCSVImport
dbPPCS1Export
dbPPCS1Import
dbSBMEExport
dbSBMEImport
dbXMLConverter
dbXMLExport
dbXMLImport
dbconverter
dbconverterinfo
dbconvfield
dbconvrecord
dbconvtable
dbexportconverter
dbimportconverter
convert8bitchar()
enumdbconverter()
30. errormsgs_en
geterrormessage()
31. fastset
fastset
fastsetnode
32. filesyslib
createdirectory()
deletefile()
deletefileold()
fileexists()
fileexists_old()
filenameparse()
getcurrentdirectory()
getdirectorysepchar()
gettempfilename()
gettemppath()
getu32frominteger()
issamefilename()
33. formlib
convertwxformtodataform1()
dataform1mergeforms()
datasourceinuse()
datasourceinuse_ca()
findfunction()
getlastcontrolid()
getnumericvalue()
getsyscolornames()
getsystemcoloridfromstring()
opendataform1()
opendataform1fromstring()
openprintform1()
openprintform1fromstring()
savedataform1()
savedataform1ctrlsasstring()
savedf1program()
saveprintform1()
savewxformprogram()
tableinuse()
tableinuse_ca()
34. gaugelib
gaugedialog
mgauge
multigaugedialog
35. graphicreportlib
graphicreport1
graphicreport1arc
graphicreport1ellipse
graphicreport1form
graphicreport1formbitmap
graphicreport1formpage
graphicreport1formtext
graphicreport1line
graphicreport1rectangle
graphicreport1triangle
loadgraphicreport()
report1_graphicreport_output_groupfooter()
report1_graphicreport_output_groupheader()
report1_graphicreport_output_pagefooter()
report1_graphicreport_output_pageheader()
report1_graphicreport_output_reportfooter()
report1_graphicreport_output_reportheader()
report1_graphicreport_outputrow()
savegraphicreport()
36. httpclientlib
httpentityheader
httpgeneralheader
httprequest
httprequestheader
httpresponse
httpresponseheader
httpget()
httppost()
httpsendreceive()
37. imagelib
BMP
BMP_header
BMP_infoheader
XPM
XPMcolorlist
blobtoBMP()
blobtoBMPfile()
blobtoXPM()
blobtoXPMfile()
38. INT
INT()
39. jpeglib
getjpegsize()
smexec_getjpegsize()
40. libxmldom1
DOMDocument
DOMImplementation
DOMNode
LIBXMLNodeDebugInfo
41. libxmldom2
DOMAttr
DOMCDATASection
DOMCharacterData
DOMComment
DOMDocumentFragment
DOMDocumentType
DOMElement
DOMEntity
DOMEntityReference
DOMNamedNodeMap
DOMNodeList
DOMNotation
DOMProcessingInstruction
DOMText
42. libxmlutil
GetNodeValue()
MakeNotNull()
lxmlDOMIsValidXMLName()
lxmlUTF8Decode()
lxmlUTF8Encode()
lxmlXSLTransformFile()
43. lists
dlist
dlistnode
dring
list
listnode
queue
ring
stack
44. LTRIM
LTRIM()
45. mathlib
abs()
arccos()
arcsin()
arctan()
arctan2()
ceil()
cos()
cosecant()
cotangent()
degrees_to_radians()
factorial()
floor()
int()
intnearest()
pi()
radians_to_degrees()
raisetopower()
round()
secant()
sin()
sqrt()
tan()
46. mrulib
MRUList
47. netinfolib
getusername()
getusername_posix()
getusername_win32()
48. objset
objset
objsetelement
objsetelementref
49. PAD
LPAD()
PAD()
50. printformlib
pagesetupinfo
printformparams
printoutparams
getpapertypefromwindowsid()
pagesetup()
papersizeinfo()
printrecord()
printtext()
printwxform()
renderrecord()
rendertext()
renderwxform()
51. quickreportlib
quickreport1
quickreport1datasource
quickreport1table
convert_dpi_mcm()
convert_mcm_dpi()
loadquickreport()
report1_quickreport_output_groupfooter()
report1_quickreport_output_reportfooter()
report1_quickreport_output_reportheader()
report1_quickreport_outputpageheader()
report1_quickreport_outputrow()
savequickreport()
52. random
random
53. registrylib
win32_registry
54. reorglib
reorginfo
getvalidtempname()
reorg_one_table()
writereorglogentry()
55. replace
replace()
56. reportlib
report1
report1aggregate
report1aggregatevalue
report1group
report1groupinst
report1inst
parseorderclause()
report1_agg_getval_count()
report1_agg_getval_mean()
report1_agg_getval_median()
report1_agg_getval_mode()
report1_agg_getval_sum()
report1_agg_update_count()
report1_agg_update_mean()
report1_agg_update_median()
report1_agg_update_mode()
report1_agg_update_sum()
reportinsertionsort()
reportquicksortrit()
57. rsalib
RSAdecrypt()
RSAencrypt()
RSAgetkey()
RSAreversedecrypt()
RSAreverseencrypt()
extRSAdecrypt()
extRSAencrypt()
extRSAgetkey()
extRSAreversedecrypt()
extRSAreverseencrypt()
58. sbislib
HTML_GetValue()
HTML_Include()
HTML_Page()
HTML_Path()
HTML_Read()
HTML_SetValue()
59. SBLDateLib
DATESTR()
DAY()
DAYS()
DAYSTR()
MONTH()
MONTHSTR()
YEAR()
string2date()
60. sblexten
between()
blobBetween()
blobSwap()
boolSwap()
ceil()
checkformat()
countstr()
floor()
intAverage()
intBetween()
intHighest()
intNearest()
intPercent()
intSwap()
isleapyear()
numAverage()
numBetween()
numHighest()
numNearest()
numPercent()
numSwap()
numposition()
round()
strBetween()
strSwap()
swap()
61. sbllib
FN_Alpha()
FN_Dec()
FN_Ext()
FN_Fact()
FN_Hex()
FN_Name()
FN_Numeric()
FN_Path()
FN_Phone()
FN_Root()
62. SBLlocaledateinfo
SBLdateinfo
SBLlocaledateinfo
63. SBLTimeLib
HRS()
MINS()
SECS()
THOUSECS()
TIMESTR()
TIMEVAL()
extTIMESTR()
string2time()
64. sbnglib
datasourceinfo
tbinfo
wxformoptiongroup
wxformoptiongroupmember
tablestatus()
65. sendkeys
sendkeyshelper
sendkeys()
66. sendmail
sendmail()
67. serialize
loadserializeddata()
readserializeddata()
serialize()
68. simpolpacker
packfile()
unpackfile()
69. shellexecute
shellexecute()
70. smtpclientlib
smtpmessage
71. smtpdatelib
smtptimezoneinfo
smtp_datestr()
smtp_timezonelist()
72. sortlib
QuickSort()
SelectionSort()
binarysearch()
combsort11()
insertionsort()
qsort()
quicksorterr()
quicksortr()
quicksortri()
quicksortrit()
standardcompare()
73. soundlib
winsound
74. sql1
sqlq1
75. STR
SBLNumSettings
STR()
76. stringlib
afterstr()
beforestr()
fcase()
formatlinebreaks()
getlastitem()
getline()
iseolchar()
isspace()
iswhitespace()
laststr()
lpad()
ltrim()
multiinstr()
nondigits()
nondigitsordecimal()
onechar2twochar()
parseitem()
parsenext()
parsestr()
parsetoken()
rpad()
rtrim()
space()
twochar2onechar()
77. timer
timer
timerinfo
78. TRIM
TRIM()
79. uisyshelp
localecalendar
localecodepage
localecountry
localecurrency
localedate
localeinfo
localelanguage
localenumeric
localenumericsign
localeother
syscolors
sysrgb
windowsversion
adjustbitmapbackgroundcolor()
appactivate()
arrowdown_20x16()
arrowdown_disabled_20x16()
arrowdown_focus_20x16()
arrowdown_sel_20x16()
arrowup_20x16()
arrowup_disabled_20x16()
arrowup_focus_20x16()
arrowup_sel_20x16()
calendar_bmp()
calendar_disabled_bmp()
calendar_focus_bmp()
calendar_selfocus_bmp()
centerdialogonparent()
datepicker()
daysinmonth()
findchildwindow()
findwindowhandle()
getcenteredwindowrect()
getdate()
getdatetime()
getdefaultfont()
getdisplaysize()
getdpivalues()
getscrollbarsizes()
gettime()
getusabledisplaysize()
getuserhomedir()
getuserinput()
getwindowssysdir()
getwindowsversion()
getwindowsversionstring()
iswindows_os()
listpicker()
messagebox()
selectcombotextitem()
setcontroltext()
setfocus()
setwindowposition()
80. unittest
testcase
testcasevalue
testresult
81. urlendecode
isURLalpha()
isURLalphanum()
isURLcontrol()
isURLdelim()
isURLdigit()
isURLencodable()
isURLexcluded()
isURLlower()
isURLmark()
isURLreserved()
isURLunreserved()
isURLunwise()
isURLupper()
urldecode()
urlencode()
82. utf8lib
ucs2_to_utf8()
utf8_to_ucs2()
83. uuencode
DecodeBase64()
EncodeBase64()
base64decode()
base64encode()
uudecodestring()
uuencodestring()
84. VAL
VAL()
isSBLalpha()
isSBLdigit()
85. volatable
vola1base
vola1field
vola1index
vola1newfield
vola1newindex
vola1newtable
vola1record
vola1table
checkvola1indexentries()
checkvola1indexlist()
checkvola1indextree()
86. winfiledlg
opensavefile()
87. xmllib
isXML_BaseChar()
isXML_CombiningChar()
isXML_Digit()
isXML_Extender()
isXML_Ideographic()
isXML_Letter()
isXML_Name()
isXML_NameChar()
isXML_NameFirstChar()
isXML_WhiteSpace()
makeValidXMLContent()
makeXMLName()