Part II. C-Language Components

SIMPOL uses a component-based architecture that allows components written in languages such as C to be added to the language. These components are added to the project by the user as required. If a component is required then it must be listed in the components section of the compiled SIMPOL program or library. In addition to the types and functions provided directly by SIMPOL as part of the basic language, a growing number of components are provided. These components currently include: forms, windows, sockets, user-interface utilities, operating system utilities, PPCS, and SBME. Not all types and/or functions are available on all platforms, though the intention is that the majority of types and functions are eventually available for all supported platforms where their existence makes sense.

[Note]Note

The WIN1 and FRM1 components are currently deprecated. Please use the WXWN components in their place. The new components have greater capabilities and will very quickly become cross-platform, as they are based on the cross-platform wxWidgets toolkit. The basic design to each component is similar, so conversion shouldn't take very long if you have already used them. A new utility for generating code from SBVs based on the WXWN components has already been created.

Table of Contents

4. SIMPOL Built-In Types
anyvalue
array
blob
boolean
date
datetime
event
fixedpoint
fsfileinputstream
fsfileoutputstream
function
integer
lock1
module
number
point
property
set
string
time
type
5. The Peer-to-Peer Client/Server (PPCS) Component
ppcstype1
ppcstype1field
ppcstype1file
ppcstype1index
ppcstype1record
6. The Superbase Micro Engine (SBME) Component
sbme1
sbme1field
sbme1index
sbme1newfield
sbme1newindex
sbme1newtable
sbme1record
sbme1table
7. The PPCS Server for SBME Databases (PPSR) Component
ppcstype1server
ppcstype1serverfield
ppcstype1serversbme
ppcstype1servertable
ppcstype1serverudpport
8. The CGI/ISAPI/FastCGI Component
cgicall
9. The Sockets (SOCK) Component
tcpsocket
tcpsocketserver
10. The Operating System Utilities (UTOS) Component
UTOSdirectory
UTOSdirectoryentry
11. The wxWidgets-based (WXWN) Components
rgb
wxbitmap
wxdialog
wxdialogstdbutton
wxfont
wxform
wxformbitmap
wxformbitmapbutton
wxformbutton
wxformcheckbox
wxformcombo
wxformedittext
wxformgrid
wxformlist
wxformoption
wxformscrollbar
wxformsizebox
wxformtext
wxgraphicarc
wxgraphicellipse
wxgraphicline
wxgraphicrectangle
wxgraphictriangle
wxmenu
wxmenubar
wxmenubarentry
wxmenuitem
wxprintbitmap
wxprintbitmapitem
wxprintout
wxprintpage
wxprintpagetemplate
wxprintstring
wxprinttextitem
wxstatusbar
wxtool
wxtoolbar
wxwindow
wxbreak()
wxclipboardgetdata()
wxclipboardputdata()
wxdirectorydialog()
wxfiledialog()
wxfontdialog()
wxgetscreentextextent()
wxmessagedialog()
wxprintdialog()
wxprocess()
wxrgbdialog()
12. The Shared Library (SLIB) Component
sharedlibrary
sharedlibraryfunction
13. The ODBC Client (ODBC) Component
odbc1columndescription
odbc1connection
odbc1error
odbc1statement
14. The ODBC Client Companion Library
odbc2_addodbcrecord()
odbc2_buildodbctable()
odbc2_buildtablefromodbc()
odbc2_createodbctable()
odbc2_createtablefromodbc()
odbc2_fetchandsaverecords()
15. The Language Utilities (UTIL) Component
dlist
dnode
16. The EPOC Simple Forms Type 1 Support
esf1
esf1button
esf1cbabutton
esf1edittext
esf1event
esf1text