All Functions

A

AAdd()

Add a new element to the end of an array

Abs()

Return the absolute value of a numeric expression

AChoice()

Execute a pop-up menu

AClone()

Duplicate a nested or multidimensional array

ACopy()

Copy elements from one array to another

ACos()

Calculate the arc cosine in radians

ADel()

Delete an array element

ADir()

Fill a series of arrays with directory information

AEval()

Execute a code block for each element in an array

AFields()

Fill arrays with the structure of the current database file

AFill()

Fill an array with a specified value

AfterAtNum()

Return the portion of a string after the nth occurrence of a substring

AIns()

Insert a NIL element into an array

Alert()

Display a simple modal dialog box

Alias()

Return a specified work area alias

AllTrim()

Remove leading and trailing spaces from a character string

AltD()

Invoke the xDev debugger

AParams()

Return all arguments passed to the current routine

ArgC()

Return the number of command-line arguments

ArgV()

Return one command-line argument

Array()

Create an uninitialized array of specified length

ArrayBlock()

Create a set/get code block for an array element

ArrayId()

Return the identity of an array or object

Asc()

Convert a character to its ASCII value

AScan()

Scan an array for a value or until a block returns true ( .T. )

ASin()

Calculate the arc sine in radians

ASize()

Grow or shrink an array

ASort()

Sort an array

At()

Return the position of a substring within a character string

AtAdjust()

Move a selected substring to a specified byte position

ATail()

Return the highest numbered element of an array

ATan()

Calculate the arc tangent in radians

Atn2()

Calculate the arc tangent from Cartesian coordinates

AtNum()

Search multiple occurrences of a substring within a string

AtRepl()

Replace occurrences of a byte sequence in a string

AtSkipStrings()

Find a byte sequence outside quoted parts of a string

AtToken()

Return the position of the n-th token in a string

B

BeforAtNum()

Extract the part of a string before the last occurrence of a search string

BitRotate()

Rotate the bits of an integer; a positive nRotate rotates to the left, a negative one to the right

Blank()

Return an empty value for the data types A, C, D, L, M and N

Bof()

Determine whether the record pointer is at the beginning of the file

BoM()

Return the date of the first day of a month

BoQ()

Return the date of the first day of a quarter

BoY()

Return the date of the first day of a year

BuildDate()

Return the date and time when the xDev runtime was built

C

Ceiling()

Round a number toward positive infinity

Celsius()

Convert degrees Fahrenheit to Celsius

Center()

Return a string for centered display

CharAdd()

Create a string from the sum of ASCII codes of two strings

CharAND()

Combine the characters of two strings with a binary AND

CharEven()

Extract the characters at even positions from a string

CharHist()

Create a histogram of the characters in a string

CharList()

Remove duplicate characters from a string

CharMirr()

Reverse the order of the characters in a string

CharMix()

Merge the characters of two strings

CharNoList()

Return a string of all characters not included in a string

CharNOT()

Invert the bits of the characters in a string with a binary NOT

CharOdd()

Extract the characters at odd positions from a string

CharOne()

Remove duplicate adjacent characters from a string

CharOnly()

Remove all characters but the specified ones from a string

CharOR()

Combine the characters of two strings with a binary OR

CharPack()

Compress a string

CharRela()

Test if two substrings in two strings have the same position

CharRelRep()

Replace characters if two substrings in two strings have the same position

CharRem()

Delete specified characters from a string

CharRepl()

Replace a list of characters with a corresponding list

CharRLL()

Rotate the bits of the characters in a string to the left

CharRLR()

Rotate the bits of the characters in a string to the right

CharSHL()

Shift the bits of the characters in a string to the left

CharSHR()

Shift the bits of the characters in a string to the right

CharSList()

Remove duplicate characters from a string and sort the result

CharSort()

Sort characters or character sequences within a string

CharSpread()

Format a character string for block paragraphs

CharSub()

Create a string by subtracting the ASCII codes of two strings

CharSwap()

Exchange adjacent characters in a string

CharUnpack()

Uncompress a string compressed with CharPack()

CharWin()

Replace characters in a screen area

CharXOR()

Combine the characters of two strings with a binary XOR

CheckSum()

Calculate the classic xBase 32-bit checksum

Chr()

Return a single byte from its numeric code

ClearBit()

Clear bits of a number

ClearEol()

Clear a row on the screen from a specified position

ClearSlow()

Clear a screen area step by step, from the border to the middle

ClearWin()

Clear all or part of the screen

ClEol()

Clear the characters and colors in a row on the screen

ClrArea()

Give an area of the screen one color

ClWin()

Clear the characters and colors in a screen area

CmdArgArgV()

Return the program name as it was started

ColorIndex()

Return one color value of a color string

ColorRepl()

Replace a color on the whole screen

ColorToN()

Convert a color string to a numeric color attribute

ColorWin()

Replace a color attribute in a screen area

Compiler()

Return the C compiler that built the xDev runtime

Complement()

Create the complement of a value of type C, D, L, M or N

Cos()

Calculate the cosine of an angle in radians

CosH()

Calculate the hyperbolic cosine

Cot()

Calculate the cotangent

CountLeft()

Count a specified character on the left side of a string

CountRight()

Count a specified character on the right side of a string

CRC32()

Calculate the standard CRC-32/ISO-HDLC checksum

CSetCent()

Query or change the SET CENTURY setting

CSetCurs()

Query or change whether the cursor is visible

CToBit()

Convert a character string to an integer based on a bit pattern

CToDoW()

Return the number of a week day from its name

CToMonth()

Return the number of a month from its name

CToN()

Convert a string of digits to an integer of the specified base

D

Days()

Calculate the number of days from elapsed seconds

DaysInMonth()

Return the number of days in a month

DaysToMonth()

Return the number of days from the first of January to the beginning of a month

DbAppend()

Append a new record to the current work area

DbAppendFrom()

Append selected records from another database file

DbAverage()

Calculate the average of an expression over selected records

DbClearFilter()

Clear the filter of the current work area

DbClearIndex()

Close all indexes of the current work area

DbClearRelation()

Clear all relations from the current work area

DbCloseAll()

Close all occupied work areas

DbCloseArea()

Close the current work area

DbCommit()

Flush pending updates in the current work area

DbCommitAll()

Flush pending updates in all work areas

DbContinue()

Resume a pending LOCATE operation

DbCopy()

Copy selected records to a new database file

DbCopyStruct()

Create an empty file from the current table structure

DbCopyXStruct()

Save the current table structure in an extended structure file

DbCount()

Count records selected by a scope

DbCreate()

Create a database file from a structure array

DbCreateFrom()

Create a database file from an extended structure file

DbCreateIndex()

Create an index for the current work area

DbDelete()

Mark the current record for deletion

DbDelim()

Export records to or import records from a delimited text file

DbEval()

Evaluate a block for records in a scope

DbExportCsv()

Export the current work area to UTF-8 CSV

Dbf()

Return the alias of the current work area

DbfCdx()

Initialize the DBFCDX database driver entry point

DbfDbt()

Initialize the DBFDBT database driver entry point

DbfFpt()

Initialize the DBFFPT database driver entry point

DbFieldInfo()

Return information about a field

DbFileGet()

Insert the contents of a field into a file

DbFilePut()

Insert the contents of a file into a field

DbFilter()

Return the current filter expression

DbfNtx()

Initialize the DBFNTX database driver entry point

DbfSmt()

Initialize the DBFSMT database driver entry point

DbGoBottom()

Move to the last logical record

DbGoto()

Position the record pointer at an identity

DbGoTop()

Move to the first logical record

DbImportCsv()

Import UTF-8 CSV records into the current work area

DbInfo()

Return or change information about an open database file

DbJoin()

Create a file by merging records from two work areas

DbLocate()

Search sequentially for a matching record

DbOrderInfo()

Return or change information about an order

DbPack()

Remove records marked for deletion

DbRecall()

Reinstate a record marked for deletion

DbRecordInfo()

Return information about a record

DbReindex()

Rebuild all active indexes

DbRelation()

Return the linking expression of a relation

DbRLock()

Lock a record

DbRLockList()

Return the current record-lock list

DbRSelect()

Return the target work area of a relation

DbRUnlock()

Release record locks

DbSdf()

Export records to or import records from fixed-width text

DbSeek()

Move to the record having a specified key

DbSelectArea()

Change the current work area

DbSetDriver()

Return or set the default database driver

DbSetFilter()

Set a filter condition

DbSetIndex()

Load an order bag into the current order list

DbSetOrder()

Set the controlling order

DbSetRelation()

Relate two work areas

DbSkip()

Move relative to the current record

DbSkipper()

Move relative to the current record and return the distance moved

DbSort()

Copy selected records in sorted order

DbStruct()

Return the structure of the current database file

DbSum()

Sum an expression over a record scope

DbTotal()

Summarize numeric fields by a key

DbUnlock()

Release all record locks in the current work area

DbUnlockAll()

Release record locks in all work areas

DbUpdate()

Update records from another work area

DbUseArea()

Open a database file in a work area

DbZap()

Remove all records from the current database file

Default()

Give a variable a default value when it holds NIL

DefPath()

Return the SET DEFAULT directory with a separator at the end

Deleted()

Test the deletion mark of the current record

DeleteFile()

Delete a file with error handling

DirName()

Return the current directory

DiskFree()

Return the free storage space of a disk drive in bytes

DiskTotal()

Return the total storage space of a disk drive in bytes

DiskUsed()

Return the used storage space of a disk drive in bytes

DMY()

Format a date as "dd. Month yyyy"

DoY()

Return the day number of a date in its year

Draw an SVG image

Create a scalable vector image from an xDev program

DToR()

Convert degrees to radians

E

ElapTime()

Calculate the time elapsed between a start and an end time

Enhanced()

Select the enhanced color of SetColor()

Eof()

Determine whether the record pointer is at end of file

Eol()

Return the end of line of the system or the one used in a text

EoM()

Return the date of the last day of a month

EoQ()

Return the date of the last day of a quarter

EoY()

Return the date of the last day of a year

Error

Describe a runtime error

ExeName()

Return the executable file name of the application

Expand()

Insert characters between all characters of a string

Exponent()

Calculate the exponent of a floating point number

F

Fact()

Calculate the factorial of a number

Fahrenheit()

Convert degrees Celsius to Fahrenheit

FCharCount()

Count non-whitespace bytes in a file

FClose()

Close a caller-owned numeric file handle using the classic xBase API

FCommit()

Flush pending writes on a numeric file handle

FCount()

Return the number of fields in the current database file

FCreate()

Create a file or truncate it to zero bytes

FError()

Read the status of the last file operation

FieldBlock()

Return a set-get block for a field

FieldGet()

Retrieve a field value by position

FieldName()

Return a field name by position

FieldPos()

Return the position of a field

FieldPut()

Set a field value by position

FieldWBlock()

Return a set-get block for a field in another work area

FieldXml()

Return a field value as XML Schema text

FileAppend()

Append the contents of one file to another

FileAttr()

Return the attributes of a file

FileClose()

Close a shared managed file resource

FileCommit()

Flush pending writes on a managed file resource

FileDate()

Return the date of a file

FileDelete()

Delete files specified by a file mask and file attributes

FileError()

Read the last file-operation status

FileHandleEof()

Test EOF without moving a numeric file cursor

FileOpen()

Open an existing file as a managed resource

FileParse()

Read a CSV file into records, supporting delimiters and CR/LF bytes inside quoted fields

FileRead()

Read bytes into an existing string buffer

FileReadIni()

Read UTF-8 INI configuration into hashes

FileSeek()

Set the byte position of a managed file

FileSetIniComment()

Set program-wide INI comment markers for FileReadIni() and FileWriteIni()

FileSize()

Query a file size without changing a managed resource cursor

FileStats()

Read a single file metadata snapshot without loading its contents

FileStr()

Read a string from a file beginning at a specified offset

FileTemp()

Create and open a temporary file

FileTextEof()

Test whether the selected text area is closed, empty or positioned past its last physical line

FileTextGoBottom()

Position the selected text area at its final physical line

FileTextGoto()

Position the selected text area at nLine, counted from 1

FileTextGoTop()

Position the selected text area at its first physical line

FileTextInfo()

Return six fields for the selected text area: area number, physical line count, current line number, zero-based byte offset of the current line, file size in bytes and EOF flag

FileTextLastRec()

Return the indexed physical line count in the selected text area without moving the current record

FileTextReadAndSkip()

Read a logical CSV record and advance beyond it

FileTextReadLn()

Read the current physical line without moving the record position

FileTextRecNo()

Return the current physical line number in the selected text area

FileTextSelect()

Select a text file area from 1 to 10, independently of RDD database areas

FileTextSkip()

Move the selected text area by a signed number of physical lines, default 1

FileTextUse()

Open or close the selected text file area

FileTime()

Return the change time of a file

FileValid()

Test if a string contains a valid file name

FileWrite()

Write bytes from a string to a managed file

FileWriteIni()

Write UTF-8 INI configuration with LF line endings

FLineCount()

Count lines in a file

FLock()

Lock the current database file

Floor()

Round a number toward negative infinity

FNameMerge()

Join a path, file name and extension

Fonts

Built-in bitmap fonts and the BDF conversion tool

FOpen()

Open an existing file and return its numeric handle

Found()

Determine whether the previous search succeeded

FParseLine()

Parse one CSV record

FRead()

Read bytes into a preallocated string

FReadLine()

Read the next line or bounded piece of a long line

FSeek()

Move the byte position of a numeric file handle

FTempCreate()

Create a unique temporary file opened for reading and writing

FV()

Calculate the future value of constant, periodic investments

FWordCount()

Count words in a file

FWrite()

Write bytes or set the file length at the current position

G

GetClearA()

Return the default color attribute for clearing the screen

GetClearB()

Return the default character for clearing the screen

GetClrBack()

Return the background color of a color value

GetClrFore()

Return the foreground color of a color value

GetClrPair()

Extract a color value from a color string

GetPairLen()

Return the length of a color value within a color string

GetPairPos()

Return the absolute position of a color value in a color string

GetPrec()

Return the computing precision for trigonometric functions

GFX_ACQUIRESCREEN

Start a group of drawing operations that is shown at once

GFX_CIRCLE

Draw the outline of a circle

GFX_CLIPBOTTOM

Return the bottom row of the clip

GFX_CLIPLEFT

Return the left column of the clip

GFX_CLIPRIGHT

Return the right column of the clip

GFX_CLIPTOP

Return the top row of the clip

GFX_DRAWINGMODE

Query or select how drawn pixels are combined with the window

GFX_ELLIPSE

Draw the outline of an ellipse

GFX_FILLEDCIRCLE

Draw a filled circle

GFX_FILLEDELLIPSE

Draw a filled ellipse

GFX_FILLEDRECT

Draw a filled rectangle

GFX_FLOODFILL

Fill an area of one color, starting from a pixel

GFX_GETPIXEL

Return the color of a pixel of the window

GFX_LINE

Draw a straight line between two pixels

GFX_MAKECOLOR

Make a color number from its red, green and blue parts

GFX_PUTPIXEL

Set the color of one pixel

GFX_RECT

Draw the outline of a rectangle

GFX_RELEASESCREEN

End a group of drawing operations and show it

GFX_SETCLIP

Limit drawing to a rectangle of the window

GfxPrimitive()

Draw a graphics primitive or query the graphics state of the window

GfxText()

Draw text at a pixel position of the window

GTGLFW

GLFW and OpenGL terminal driver for xDev

GTI_ALTENTER

Query or change the Alt+Enter full screen switch

GTI_CARGO

Store a value of the program in the terminal

GTI_CLIPBOARDDATA

Read or write the text of the clipboard

GTI_CLIPBOARDPASTE

Paste the clipboard into the keyboard buffer

GTI_CLOSABLE

Query or change whether the close button ends the program

GTI_CLOSEMODE

Query or change what the close button does

GTI_COMPATBUFFER

Query or change the format of SaveScreen() buffers

GTI_CONTENTSCALE

Return the scale used to draw the content

GTI_CURSORBLINKRATE

Query or change the blink rate of the cursor

GTI_DESKTOPCOLS

Return the width of the desktop in text columns

GTI_DESKTOPDEPTH

Return the number of color bits of the desktop

GTI_DESKTOPHEIGHT

Return the height of the desktop in pixels

GTI_DESKTOPROWS

Return the height of the desktop in text rows

GTI_DESKTOPWIDTH

Return the width of the desktop in pixels

GTI_DISPIMAGE

Show an image in the window

GTI_DISPLAYSCALE

Return the scale of the display

GTI_ERRORFD

Return the error output handle of the terminal

GTI_EXPOSEAREA

Paint text cells again over graphics

GTI_FILEDIALOG

Show a system dialog to choose files or a folder

GTI_FONTA_CLRBKG

Clear the cell background before drawing a glyph

GTI_FONTA_CTRLCHARS

Display control characters as glyphs

GTI_FONTA_DRAWBOX

Draw box and block characters in the driver

GTI_FONTA_FIXMETRIC

Fixed-width character metrics

GTI_FONTA_NOSTRETCH

Keep glyphs at their original size within a cell

GTI_FONTATTRIBUTE

Query or change how characters are drawn

GTI_FONTNAME

Query or change the name of the font

GTI_FONTQ_DRAFT

Draft font rendering quality

GTI_FONTQ_HIGH

High font rendering quality

GTI_FONTQ_NORMAL

Normal font rendering quality

GTI_FONTQUALITY

Query or change the rendering quality of the font

GTI_FONTSEL

Query or change the font by an X11 font description

GTI_FONTSIZE

Query or change the height of a text cell in pixels

GTI_FONTW_BOLD

Bold font weight

GTI_FONTW_NORMAL

Normal font weight

GTI_FONTW_THIN

Thin font weight

GTI_FONTWEIGHT

Query or change the weight of the font

GTI_FONTWIDTH

Query or change the width of a text cell in pixels

GTI_FULLSCREEN

Check cursor-positioning support using the alias for GTI_ISSCREENPOS

GTI_GETWIN

Save the screen and the cursor

GTI_ICONFILE

Set the icon of the window from a file

GTI_ICONRES

Set the icon of the window from a resource

GTI_INKEYFILTER

Query or change a block that filters the keys

GTI_INKEYREAD

Query or change a block that supplies keys

GTI_INPUTFD

Return the input handle of the terminal

GTI_ISCTWIN

Tell whether the driver has its own CT windows

GTI_ISFULLSCREEN

Query or change the full screen mode

GTI_ISGRAPHIC

Tell whether the terminal can draw in pixels

GTI_ISMULTIWIN

Tell whether the driver can open several windows

GTI_ISSCREENPOS

Tell whether the cursor can be placed anywhere on the screen

GTI_ISUNICODE

Tell whether the terminal works with Unicode

GTI_KBD_ALT

Either Alt key is pressed

GTI_KBD_CAPSLOCK

Caps Lock is active

GTI_KBD_CTRL

Either Ctrl key is pressed

GTI_KBD_INSERT

Insert mode is active

GTI_KBD_KEYPAD

Numeric keypad key state

GTI_KBD_LALT

Left Alt is pressed

GTI_KBD_LCTRL

Left Ctrl is pressed

GTI_KBD_LSHIFT

Left Shift is pressed

GTI_KBD_LWIN

Left Windows key is pressed

GTI_KBD_MENU

Application menu key is pressed

GTI_KBD_NUMLOCK

Num Lock is active

GTI_KBD_RALT

Right Alt is pressed

GTI_KBD_RCTRL

Right Ctrl is pressed

GTI_KBD_RSHIFT

Right Shift is pressed

GTI_KBD_RWIN

Right Windows key is pressed

GTI_KBD_SCROLOCK

Scroll Lock is active

GTI_KBD_SHIFT

Either Shift key is pressed

GTI_KBDSHIFTS

Query or change the state of the shift and lock keys

GTI_KBDSUPPORT

Tell whether the terminal reads the keyboard

GTI_LOGICALHEIGHT

Return the height of the logical screen

GTI_LOGICALWIDTH

Return the width of the logical screen

GTI_MAXIMIZED

Query or change whether the window is maximized

GTI_MINIMIZED

Query or change whether the window is minimized

GTI_MOUSEPOS_XY

Return the mouse position in pixels

GTI_MOUSESTATUS

Query or change whether the mouse is used

GTI_MSGBOX

Show a system message box

GTI_NEWWIN

Redraw a rectangular area of the text screen

GTI_ONLINE

Tell whether the terminal is connected

GTI_OPENURL

Open an address in the default program

GTI_OUTPUTFD

Return the output handle of the terminal

GTI_OUTPUTHEIGHT

Return the height of the window in real pixels

GTI_OUTPUTWIDTH

Return the width of the window in real pixels

GTI_PALETTE

Query or change the 16 colors of the text

GTI_PIXELDENSITY

Return the pixels of the display per window unit

GTI_REDRAWMAX

Query or change how unchanged cells are redrawn

GTI_RENDERERNAME

Return the name of the renderer

GTI_RESIZABLE

Query or change whether the user can resize the window

GTI_RESIZEBLOCK

Query or change the block called after a resize

GTI_RESIZEFONT

Query or change what follows a new window size

GTI_RESIZESTEP

Query or change whether the window size follows whole cells

GTI_SCREENDEPTH

Return the number of color bits of the window

GTI_SCREENHEIGHT

Query or change the height of the window in pixels

GTI_SCREENSIZE

Query or change the size of the window in pixels

GTI_SCREENWIDTH

Query or change the width of the window in pixels

GTI_SELECTCOPY

Query or change copying of a mouse selection

GTI_SETPOS_ROWCOL

Query or change the position of the window in text cells

GTI_SETPOS_XY

Query or change the position of the window in pixels

GTI_SETWIN

Restore a screen saved with GTI_GETWIN

GTI_SOUND

Play a sound file

GTI_STDERRCON

Query or change whether error output goes to the screen

GTI_STDOUTCON

Query or change whether standard output goes to the screen

GTI_SYSMENUADD

Add an item to the system menu of the window

GTI_SYSTEMTHEME

Return the color theme of the system

GTI_VERSION

Return the name of the GT driver

GTI_VIEWMAXHEIGHT

Return the largest number of visible rows

GTI_VIEWMAXWIDTH

Return the largest number of visible columns

GTI_VIEWPORTHEIGHT

Return the number of rows in view

GTI_VIEWPORTWIDTH

Return the number of columns in view

GTI_WINDOWALWAYSONTOP

Query or change whether the window stays on top

GTI_WINDOWBORDERED

Query or change whether the window has a frame

GTI_WINDOWHEIGHT

Return the height of the window area

GTI_WINDOWOPACITY

Query or change the opacity of the window

GTI_WINDOWWIDTH

Return the width of the window area

GTI_WINHANDLE

Return the system handle of the window

GTI_WINTITLE

Query or change the title of the window

GtInfo()

Query or change a setting or invoke a service of the active GT driver

GTSDL3

SDL3 terminal driver for xDev

GtVersion()

Return the identifier or description of the active GT driver

GTWVT

Windows terminal driver for xDev

GTXWC

X11 terminal driver for xDev

GUI

Create a native graphical application for Windows

guiApplication

Run the message loop of a GUI program

guiBrowse

Browse records in rows and columns

guiButton

Run an action from a push button

guiCheckBox

Select an independent logical option

guiComboBox

Select text from a drop-down list

guiControl

Use the members shared by GUI controls

guiDatePicker

Select a date from a drop-down calendar

guiDialog

Show an owned dialog window

guiEdit

Edit one line of text, a number or a date

guiFont

Describe the font used by a GUI control

guiFontIcon

Describe a control picture taken from an icon font

guiGet

Edit a variable through a GET field

guiGroupBox

Draw a captioned frame around controls

guiLabel

Show a line of text in a window

guiListBox

Select an item from a list of text

guiListView

Show rows of text in columns

guiMemo

Edit text in several lines

guiMenu

Build a menu bar or context menu

guiPanel

Group controls in one part of a window

guiProgressBar

Show the progress of an operation

guiRadioButton

Select one option from a group

guiSay

Show a fixed-width SAY field

guiSidebar

Sidebar with a strip of page pictures and a panel for the shown page

guiSlider

Select a numeric value with a slider

guiStatusBar

Show status information at the bottom of a window

guiTabControl

Arrange controls on selectable pages

guiTabPage

Contain controls on one page of a tab control

guiTimer

Run an action at a regular interval

guiToolbar

Add a bar of command buttons to a window

guiTreeView

Show hierarchical text items

guiWindow

Create and control a top-level window

H

Header()

Return the database header length

HexToNum()

Decode hexadecimal digits as a signed 64-bit integer

I

IIF()

Return one of two values according to a logical condition

IndexExt()

Return the default index-file extension

IndexKey()

Return the key expression of an index

IndexOrd()

Return the controlling index position

IntNeg()

Convert an unsigned 16-bit or 32-bit integer to a signed one

IntPos()

Convert a signed 16-bit or 32-bit integer to an unsigned one

InvertAttr()

Exchange the foreground and background color

InvertWin()

Exchange the foreground and background color on the screen

IsAffirm()

Test whether an answer means "yes"

IsAlNum()

Check if the first character of a string is alpha-numeric

IsAscii()

Check if the first character of a string is a 7-bit ASCII character

IsBit()

Test a bit of a number

IsCntrl()

Check if the first character of a string is a control character

IsDefColor()

Check if the default color is set

IsDir()

Test whether a name or a mask finds a directory

IsDirectory()

Test whether a name or a mask finds a directory

IsDisk()

Test whether a drive letter is a drive of the system

IsGraph()

Check if the first character of a string is a 7-bit graphical ASCII character

IsLeap()

Check if a Date value belongs to a leap year

IsNegative()

Test whether an answer means "no"

IsPrint()

Check if the first character of a string is a printable 7-bit ASCII character

IsPunct()

Check if the first character of a string is a punctuation character

IsSpace()

Check if the first character of a string is a white-space character

IsXDigit()

Check if the first character of a string is a hexadecimal digit

J

json_Decode()

Parse UTF-8 JSON into an xDev value

json_Encode()

Serialize an xDev value as UTF-8 JSON

json_Error()

Read the error from the last JSON encode or decode

JustLeft()

Justify the characters of a string to the left

JustRight()

Justify the characters of a string to the right

K

KbdStat()

Return the state of the Shift, Ctrl and Alt keys and of the lock keys

KeyPut()

Put keys at the end of the keyboard buffer

KSetCaps()

Query or change the state of Caps Lock

KSetIns()

Query or change the state of Insert

KSetNum()

Query or change the state of Num Lock

KSetScroll()

Query or change the state of Scroll Lock

L

LastDayOM()

Return the number of days in a month

LastRec()

Return the number of records in the current file

LenNum()

Return the unpadded display length of a number

Log10()

Calculate the base-10 logarithm

LToC()

Convert a logical value to a character

LToN()

Convert a logical value to a numeric value

LUpdate()

Return the last database modification date

M

Mantissa()

Calculate the mantissa of a floating point number

MaxLine()

Return the byte length of the longest text line

MD5()

Calculate a message digest for a stream of data using the MD5 algorithm

MD5File()

Calculate a message digest for a file using the MD5 algorithm

MDY()

Format a date as "Month dd, yy"

MilliSec()

Define a time delay in milliseconds

MilliSeconds()

Return the current UTC time as a Julian timestamp in milliseconds

ModuleCall()

Call a function of a module loaded by ModuleLoad()

ModuleLoad()

Load a DLL module and run its INIT procedures

ModuleUnload()

Run the EXIT procedures of a module and free it

N

NationMsg()

Return a message of the national language

NetErr()

Read or set the network-error flag

NToC()

Convert an integer to a string of digits for a specified number base

NToCDoW()

Convert a numeric week day to its name

NToCMonth()

Convert a numeric month to its name

NToColor()

Convert a numeric color attribute to a color string

Nul()

Return an empty string, whatever the argument

NumAnd()

Join numbers with a bitwise AND

NumAt()

Count multiple occurrences of a substring within a string

NumButtons()

Return the number of mouse buttons

NumCount()

Read, set or increment a shared integer counter

NumHigh()

Return the high byte of an unsigned 16-bit integer

NumLine()

Count text lines after fixed-width byte wrapping

NumLow()

Return the low byte of an unsigned 16-bit integer

NumMirr()

Reverse the low 8 or 16 bits of a 16-bit integer

NumMirrX()

Reverse a selected number of low bits of a 32-bit integer

NumNot()

Return the 16-bit complement of a number

NumOr()

Join numbers with a bitwise OR

NumRol()

Rotate the bits of a 16-bit value to the left

NumToken()

Return the number of tokens in a string

NumXor()

Join numbers with a bitwise exclusive OR

O

Occurs()

Count the occurrences of a substring, also those that overlap

OrdBagExt()

Return the default order-bag extension

OrdBagName()

Return the order-bag name of an order

OrdCondSet()

Set a condition and scope for the next order build

OrdCreate()

Create an order in an order bag

OrdDescend()

Return or change an order's descending flag

OrdDestroy()

Remove an order from an order bag

OrdFor()

Return the FOR expression of an order

OrdIsUnique()

Return the unique flag of an order

OrdKey()

Return the key expression of an order

OrdKeyCount()

Return the number of keys in an order

OrdKeyNo()

Return the current key position in an order

OrdKeyVal()

Return the current key value

OrdListAdd()

Add orders from an order bag

OrdListClear()

Clear the current order list

OrdListRebuild()

Rebuild all orders in the order list

OrdName()

Return the name of an order

OrdNumber()

Return the position of an order

OrdScope()

Set or return order-scope boundaries

OrdSetFocus()

Set the controlling order

OrdSetRelation()

Relate areas and scope the child order

OsDriveSeparator()

Return the character that ends the drive in a path

OsNewLine()

Return the end of line of the operating system

OsPathDelimiters()

Return the characters that delimit the parts of a path

OsPathListSeparator()

Return the character that separates the paths in a list of paths

P

PadLeft()

Pad a character string on the left

PadRight()

Pad a character string on the right

Payment()

Calculate a periodical payment for loans

PCount()

Return the number of arguments passed to the current routine

Periods()

Calculate the duration for paying back a loan at fixed interest rate and payments

Pi()

Return the mathematical constant pi

PosAlpha()

Return the position of the first alphabetic characters in a character string

PosChar()

Replace a single character at a specified position in a string

PosDel()

Delete character(s) at a specified position in a string

PosDiff()

Search the first position where two character strings differ

PosEqual()

Search the first position where two character strings are equal

PosIns()

Insert character(s) at a specified position in a string

PosLower()

Return the position of the first lower case letter in a character string

PosRange()

Retrieve the position of the first character out of a range found in a string

PosRepl()

Replace characters in a string beginning at a specified position

PosUpper()

Return the position of the first upper case letter in a character string

ProcLine()

Return the source line number of a call in the call stack

ProcName()

Return the name of a procedure or function in the call stack

PV()

Calculate the present value of future capital, based on periodic investments

Q

Quarter()

Return the quarter a date belongs to

R

RangeRem()

Delete character(s) within a specified range of characters

RangeRepl()

Replace character(s) within a specified range of characters

RAScan()

Search an array from a starting position towards the first element

Rate()

Calculate the interest rate for a loan

RddInfo()

Return or change information about a database driver

RddList()

Return the available database drivers

RddName()

Return the driver name of the current work area

RddSetDefault()

Return or set the default RDD

ReadLine()

Locate the next line inside a string without allocating a file or changing input

RecCount()

Return the number of records

RecNo()

Return the identity at the record pointer

RecSize()

Return the record length

RemAll()

Delete a specified character from both sides of a string

RemLeft()

Delete a specified character from the left side of a string

RemRight()

Delete a specified character from the right side of a string

RenameFile()

Rename a file and handle errors

ReplAll()

Replace a specified character on both sides of a string

ReplLeft()

Replace a specified character on the left side of a string

ReplRight()

Replace a specified character on the right side of a string

RestCursor()

Restore the position and the shape of the cursor

RestSetKey()

Restore the SetKey() assignments saved by SaveSetKey()

RestToken()

Restore the global environment of the incremental tokenizer

RLock()

Lock the current record and release other record locks

RToD()

Convert radians to degrees

S

SaveCursor()

Save the position and the shape of the cursor

SaveSetKey()

Save all SetKey() assignments

SaveToken()

Save the global environment of the incremental tokenizer

SayDown()

Write a string downwards, one character after another

SayMoveIn()

Write a string that moves in character by character

SayScreen()

Write a string on the screen and keep the colors there

SaySpread()

Write a string that spreads from its middle to both sides

SClone()

Duplicate a structure

ScreenAttr()

Return the numeric color attribute for a specified coordinate on the screen

ScreenMark()

Find a string on the screen and change its color

SecondsCPU()

Return the CPU time used by the current process

SecondsSleep()

Suspend thread execution for a number of seconds

Secs()

Calculate the number of seconds from a time string

SecToTime()

Convert numeric seconds into a time formatted character string

Select()

Return the selected work-area number

SetBit()

Set bits of a number

SetClearA()

Set the default color attribute for clearing the screen

SetClearB()

Set the default character attribute for clearing the screen

SetClrPair()

Replace a color value in a color string

SetColor()

Return the current colors and optionally set new colors

SetDate()

Change the date of the system clock

SetFAttr()

Set file attributes

SetFDaTi()

Set the last change date and time of a file

SetKeyArray()

Give one action to several keys

SetKeyCheck()

Run the action of a key

SetKeyGet()

Return the action and the condition of a key

SetKeySave()

Return all SetKey() assignments and optionally replace them

SetLastKey()

Change the value returned by LastKey()

SetPosBS()

Move the cursor one column to the right

SetPrec()

Specify the computing precision for trigonometric functions

SetTime()

Change the time of the system clock

Sign()

Convert the sign of a number to a numeric value

Sin()

Calculate the sine of an angle in radians

SinH()

Calculate the hyperbolic sine

Standard()

Select the standard color of SetColor()

SToD()

Convert a YYYYMMDD string to a date

StrDel()

Delete bytes selected by a position mask

StrDiff()

Calculate the similarity of two strings

StrFile()

Write a string to a file starting at a specified position

StringToLiteral()

Represent a byte string as an xDev source expression

StrIsUTF8()

Check whether an entire character string contains well-formed UTF-8

StrPeek()

Read the unsigned byte value at a string position

StrPoke()

Replace one byte in a string

StrSwap()

Exchange characters between two strings

svgArc()

Draw an arc of a circle

svgCircle()

Draw the outline of a circle

svgClose()

Finish an SVG drawing and close its file

svgComment()

Write an XML comment to an SVG file

svgEllipse()

Draw the outline of an ellipse

svgFilledCircle()

Draw a filled circle

svgFilledEllipse()

Draw a filled ellipse

svgFilledPath()

Draw a filled shape from SVG path data

svgFilledPie()

Draw a filled circular sector

svgFilledPolygon()

Draw a filled polygon

svgFilledRect()

Draw a filled rectangle

svgInit()

Create an SVG file and write its header

svgLine()

Draw a straight line segment

svgPath()

Draw an SVG path with the current pen

svgPen()

Set the pen for subsequent outlines and lines

svgPie()

Draw the outline of a circular sector

svgPolygon()

Draw the outline of a closed polygon

svgRect()

Draw the outline of a rectangle

svgText()

Draw UTF-8 text with font and alignment options

T

TabExpand()

Replace a tab with a specified number of another character

TabPack()

Insert a Tab (Chr(9)) for multiple occurrances of a character

Tan()

Calculate the tangent of an angle in radians

TanH()

Calculate the hyperbolic tangent

TimeToSec()

Calculate the number of seconds since midnight

TimeValid()

Check if a character string is a valid time string

Token()

Retrieve the n-th token from a string

TokenAt()

Return the start and end position of a token

TokenEnd()

Test if tokens can still be found with TokenNext()

TokenExit()

Release memory resources of the global tokenizer environment

TokenInit()

Initialize the environment for the incremental tokenizer

TokenLower()

Change the first character of tokens to lower case

TokenNext()

Retrieve the next token from a string

TokenNum()

Return the number of tokens in a tokenizer environment

TokenSep()

Retrieve the separating characters of a token

TokenUpper()

Change the first character of tokens to upper case

Transform()

Convert any value into a formatted character string

TrueName()

Complete a relative path to include the root directory

TString()

Convert numeric seconds into a time formatted character string

U

UChars()

of its own, and so is every invalid byte, kept unchanged like in USubStr()

Unselected()

Select the unselected color of SetColor()

Unused()

Mark variables and parameters that are not used on purpose

UPeek()

Read the Unicode scalar value at a character position in a UTF-8 string

UPoke()

Replace one UTF-8 character with a specified Unicode scalar value

URAt()

Find the last occurrence of a substring using UTF-8 character positions

Used()

Determine whether a database file is open

UTF8Asc()

Return the Unicode scalar value of the first UTF-8 character

UTF8Chr()

Encode a Unicode scalar value as one UTF-8 character

UUDecode()

Decode and validate a complete UUencode body or file envelope

UUDecodeFile()

Decode a UUencoded file to an explicit destination

UUEncode()

Encode bytes as a complete UUencode data body

UUEncodeFile()

Encode a binary file in a UUencode envelope

V

ValPos()

Return the numeric value of a digit at a specified position in a string

W

W2Bin()

Encode an unsigned 16-bit number as two bytes

WAClose()

Close all windows

WaitPeriod()

Start a time period and test whether it has elapsed

WBoard()

Set the screen area for windows

WBox()

Draw a frame around the selected window

WCenter()

Make the selected window completely visible or center it

WClose()

Close the selected window

WCol()

Return the left column of the selected window

WebGUI

Windows desktop interfaces rendered by WebView2

Week()

Calculate the numeric calendar week from a date

WFCol()

Return the left column of the usable area of the selected window

WFLastCol()

Return the right column of the usable area of the selected window

WFLastRow()

Return the bottom row of the usable area of the selected window

WFormat()

Change the usable area of the selected window

WFRow()

Return the top row of the usable area of the selected window

wgBox

Base class for WebGUI layout containers

wgBrowse

Display an array in a table with a current row

wgButton

Run an xDev code block from a button

wgCheckBox

Edit a logical value with a check box

wgColumn

Lay out controls vertically

wgComboBox

Choose one item from a drop-down list

wgControl

Common properties and events of WebGUI controls

wgEdit

Edit a single line of text

wgGet

Edit a typed value with an input picture and validation

wgLabel

Display text in a WebGUI container

wgMenu

Add menus and keyboard shortcuts to a window

wgPanel

Container for the controls on a sidebar page

wgRow

Lay out controls horizontally

wgSidebar

Add an icon strip and a page panel to a window

wgSplit

Divide a layout into two resizable columns

wgWindow

Create a Windows window with a WebView2 page

WildMatch()

Match a string against a pattern with question marks and asterisks

WLastCol()

Return the right column of the selected window

WLastRow()

Return the bottom row of the selected window

WMode()

Allow or forbid moving windows over the borders of the screen

WMove()

Move the selected window

WNum()

Return the highest handle of the open windows

WoM()

Calculate the week number in a month

WOpen()

Open a new window and select it

WRow()

Return the top row of the selected window

WSelect()

Select an open window or return the selected window

WSetMove()

Allow or forbid moving windows interactively

WSetShadow()

Set the shadow color of windows

WStep()

Set the step of interactive window moving

X

XToC()

Convert values of data type C, D, L, M, N to a string