Commands

at

Position the window cursor (character positioning)

begin_mark

Begin a transaction (transaction logging system)

bell

Send the “Sound Bell” sequence

break

Terminate a loop, or the current case of a switch construct

breakif

Terminate an if construct

caption

Display a message on the caption line

chain

Terminate current process and replace it with another

charmove

Move a window or object (character positioning)

check

Check that a record buffer contains a record

check #

Check if bytes are available in a sequential file, socket or pipe

checkevents

Check if messages are pending

checkpid

Check existence of a specified process

clear

Clear data, controls and buffers

clearall

Clear every control in the window and the window background

clearbatch

Clear a batch buffer

cleardata

Global clear, but without unlocking records or files

clearkey

Disable a programmed function key

close

Close a file, menu, listbox, database or cursor

closefile

Close a file, resetting file position and releasing cached information

close #

Close a sequential file, socket or pipe

commit_mark

Commit a transaction (transaction logging system)

continue

End current iteration of a loop and start the next

crash

Force a program exception

create

Create or recreate a window or control with its original properties

delete

Delete a record from a file

destroy

Destroy a window or object

dialog

Start a dialog

disable[_tabstop]

Disable a window or control from input and focus

display

Display the current state of an object

do

Do statements and repeat while a condition is true

draw hline|vline

Draw a horizontal or vertical line

draw rectangle

Draw a rectangle

enable[_tabstop]

Enable a window or control so that it can receive input focus

end

End a menu option or report statement set

error

Display an error message

exec

Execute a child process

exit

Terminate the current program

fill rectangle

Flood fill a rectangular area of the screen

find[u]

Find and read a record by full or partial key value

flush

Flush file data to disk

flush #

Flush pending output to a specified channel

flushall

Flush all sequential and keyed files to disk

flush screen

Flush pending output to the screen

for

Repeat statements with initialisation and control

get[field] #

Read data into fields from a sequential file, socket or pipe

gosub

Call a subroutine

goto

Transfer program control to a specified line

hide

Hide a window or object, removing it from display

if

Conditionally execute statements

info

Display an information message

input

Input into textboxes and buttons in a specified order

insert

Insert a new record into a keyed file

match[u]

Read next record matching current search data

maximise

Maximise a window

minimise

Minimise a window (to taskbar or icon)

move

Move a window or object (pixel positioning)

move cursor to

Position the window cursor (character positioning)

next[u]

Read the next record in a file

nextkey

Read key data only from the next record in a file

on

Configure a function key to call a ring menu option

on global

Configure a function key to transfer program control

on interrupt

Specify function/subroutine to be called if program is interrupted

on local

Configure a function key until current menu option ends

on ole_error

Register function to be called if an OLE control error occurs

open

Open a keyed file, menu or listbox

open #

Open a sequential file, socket or pipe

openfile

Open a keyed file

preserve

Preserve a record buffer from global clearing

prev[u]

Read the previous record in a file

prevkey

Read key data only from the previous record in a file

prompt

Display user prompt, or await keypress before continuing

put

Write formatted data to a window

put[field] #

Write data to a sequential file, socket or pipe

raise

Raise a window or control to the top

read[u]

Read a record using exact key data

readkey

Read key data only from a record using exact key data

readlock

Lock a file from update by all users

redraw

Redisplay the screen

refresh_cache

Client cache service refresh_cache command

restore

Restore a minimised window to its previous size and position

return

Return from a subroutine or function

rewind

Reposition a file or secondary index at its start

rewind #

Rewind a sequential file to the beginning

rollback_mark

Undo database updates (transaction logging system)

save_text

Save text typed into a textbox before a function call

scroll

Scroll a listbox or table vertically to a specified position

seek #

Position a sequential file at a stated position

setcol

Set the default subscript for the first dimension

setdim4

Set the default subscript for the fourth dimension

setfocus

Specify control to receive input focus when current function returns

setpen

Set the default pen for put commands

setplane

Set the default subscript for the third dimension

setrow

Set the default subscript for the second dimension

show

Show a window or control, returning it to display

sleep

Suspend the program for a specified number of seconds

stopsound

Stop a sound from playing

switch

Choose statements to be executed according to the value of a field

sync_indexes

Synchronise the current file position of all secondary indexes to the current main index file position

testkey

Test for a record with a specified key

unlock

Unlock a record or file

unpreserve

Return a record buffer to global clearing status

wait

Suspend the program and await an alarm interrupt

wakeup

Send an alarm interrupt to a program

while

Repeat statements while a condition is true

wind

Position a file or secondary index at the end

wind #

Position a sequential file at the end

write[kl]

Write a record back to a file

writelock

Lock a file from update by other users


RELATED TOPICS

Report commands