Глава 13. CLIP Functions

13.1. Functions in alhabetic order

13.1.1. A2EDIT()-FNI2BIN()

A2EDIT() Просмотр двухмерного массива в виде таблицы
AADD() Добавляет новый элемент в конец массива.
ABS() Возвращает абсолютную величину арифметического значения.
ACHOICE() Реализует всплывающее меню
ACLONE() Дублирует вложенный или многомерный массив.
ACOPY() Копирует элементы одного массива в другой.
ADDSLASHES() Возвращает строку с символами слеш (\)
ADEL() Удаляет элемент массива.
ADIR() Заполняет группу массивов информацией директории.
AEVAL() Выполняет блок кода для каждого элемента массива.
AFIELDS() Заполняет массив информацией о структуре файла базы данных.
AFILL() Заполняет массив заданным значением.
AINS() Заносит элемент со значением NIL в массив.
ALERT() Выводит на экран простое диалоговое окно.
ALIAS() Возвращает алиас заданной рабочей области.
ALLTRIM() Удаляет ведущие и замыкающие пробелы в строке символов.
ASC() Under construction
ASCAN() Просмотр массива
ASIZE() Under construction
ASORT() Under construction
BETWEEN() Проверка значения
CLIP() Выполнить функцию.
COMPILEFILE() Компиляция файла.
COMPILESTRING() Компиляция строки.
CSCOUNT() Возвращает количество заданных символов в строке.
CURDIR() Under construction
DBCREATE() Under construction
DBEDIT() Under construction
DBEVAL() Under construction
DBSTRUCT() Under construction
DEFPATH() Возвращает правильный путь, установленный по SET DEFAULT.
DIRCHANGE() Under construction
DIRECTORY() Under construction
DOSPATH() Возвращает имя файла как в DOS системах.
DSTRTON() Преобразует строку c "double"-представлнием в clipper-число.
EVAL() Under construction
FACCESS() Проверка прав доступа к файлу.
FERROR() Under construction
FERRORSTR() Under construction
FILEATTR() Under construction
FILEATTRS() Возвращает строку - атрибуты файла.
FILEGETSTR() Возвращает строку.
__FLEDIT() Отбирает из массива структуры DBStruct() элементы, указанные в списке.
FN_BIN2HEX() Convert a binary string to hexidecimal
FN_BIN2I() Convert a binary string to numeric
FN_CLRBIT() Clear a bit in a number
FN_ERROR() Return current error status for a Netware Library function
FN_GETFSI() Under construction
FN_HEX2BIN() Convert a hexidecimal string to to binary
FN_I2BIN() Convert an integer to binary string

13.1.2. FNIPXINIT()-FTD2E()

FN_IPXINIT() This function gets the entry address for the IPX interface.
FN_IS3X() Is the current server a 3.x server?
FN_ISBIT() Determine if a specified bit is set
FN_ISNET() Determine if user is on functioning NetWare node
FN_NAMEL() General purpose string to length+string packet function
FN_NETVER() Under construction
FN_NONULL() Strip a string of trailing nulls
FN_PEEKSTR() Read a string of bytes from memory
FN_PFEVAL() Set preferred server and eval block
FN_POKESTR() Write a string of bytes to memory
FN_SETBIT() Set a bit in a number
_FNSETERR() Set the current Netware Library error status
FN_SSFROMP() Remove the file server name from a path string
FN_TOGBIT() Toggle a bit in a number
FOPEN() Under construction
FSTRTON() Преобразует строку c "float"-представлнием в clipper-число.
FT_AADDITION() Add elements unique of source array to target array
FT_AAVG() Average numeric values in an array
FT_ACCTADJ() Adjust beginning or ending fiscal pd. dates to acctg. dates
FT_ACCTMONTH() Return accounting month data
FT_ACCTQTR() Return accounting quarter data
FT_ACCTWEEK() Return accounting week data
FT_ACCTYEAR() Return accounting year data
FT_ACH2TB() Replace ACHOICE() with a Tbrowse object & multiple features.
FT_ADAPTER() Under construction
FT_ADDER() Pop up a simple calculator
FT_ADDWKDY() Return true number of days to add given number of workdays
FT_ADESSORT() Sort an array in descending order
FT_AEMAXLEN() Find longest element within an array
FT_AEMINLEN() Find shortest element within an array
FT_AMEDIAN() Find middle value in array, or average of two middle values
FT_ANOMATCHES() Find the number of array elements meeting a condition
FT_AREDIT() 2 dimensional array editing function using TBrowse
FT_ASUM() Sum the elements of an array
FT_AT2() Find position of the nth occurrence of a substring
FT_BITCLR() Clear (reset) selected bit in a byte
FT_BITSET() Set selected bit in a byte
FT_BLINK() Display a blinking message on the screen
FT_BRWSWHL() Browse an indexed database limited to a while condition
FT_BYT2BIT() Convert byte to string of 1's and 0's
FT_BYT2HEX() Convert byte to hexadecimal version of its binary value
FT_BYTEAND() Perform bit-wise AND on two ASCII characters (bytes)
FT_BYTENEG() Perform bit-wise negation on an ASCII character
FT_BYTENOT() Perform bit-wise NOT on an ASCII character (byte)
FT_BYTEOR() Perform bit-wise OR on two ASCII characters (bytes)
FT_BYTEXOR() Perform bit-wise XOR on two ASCII characters (bytes)
FT_CALENDAR() Display date/time calendar, find a date, return calendar data.
FT_CIV2MIL() Convert usual civilian format time to military time.
FT_CLRSEL() User Selectable Colour Routine
FT_D2E() Convert decimal to scientific notation

13.1.3. FTDATECNFG()-FTMGETX()

FT_DATECNFG() Set beginning of year/week for FT_ date functions
FT_DAYOFYR() Return calendar, fiscal or accounting day data
FT_DAYTOBOW() Calculate no. of days between date and beginning of week
FT_DEC2BIN() Convert decimal to binary
FT_DFCLOSE() Close file displayed by FT_DISPFILE()
FT_DFSETUP() Set up parameters for FT_DISPFILE()
FT_DISPFILE() Under construction
FT_DISPMSG() Display a message and optionally waits for a keypress
FT_DOSVER Return the current DOS major and minor version as a string
FT_DOY() Find number of day within year
FT_DSKFREE() Return the amount of available disk space
FT_DSKSIZE() Return the maximum capacity of a fixed disk
FT_E2D() Convert scientific notation string to a decimal
FT_EASTER() Return the date of Easter
FT_ELAPMIN() Return difference, in minutes, between two mil format times.
FT_ELAPSED() Return elapsed time between two days and/or times
FT_ELTIME() Compute difference between times in hours, minutes, seconds.
FT_ESCCODE() Convert Lotus style escape codes
FT_FDAY() Return first day of the month
FT_FILL() Declare menu options for FT_MENU1()
FT_FINDITH() Find the "ith" occurrence of a substring within a string
FT_FLOPTST() Test diskette drive status
FT_GCD() Calculate greatest common divisor of two numbers
FT_GETMODE() Get the video mode
FT_GETVCUR() Return info about the cursor on a specified video page
FT_GETVPG() Get the currently selected video page
FT_HEX2DEC() Convert a hex number to decimal
FT_INT86() Under construction
FT_INVCLR() Get the inverse of a color
FT_ISBIT() Test the status of an individual bit
FT_ISBITON() Determine the state of individual bits in a number
FT_ISSHARE() Determine if DOS "Share" is installed
FT_LDAY() Return last day of the month
FT_LINKED() Determine if a function was linked in
FT_MADD() Add or subtract months to/from a date
FT_MBUTPRS() Retrieve button press status
FT_MBUTREL() Get mouse button release information
FT_MCONOFF() Turn mouse cursur off if in specified region
FT_MCURSOR() Set the mouse cursor
FT_MDBLCLK() Return true if a double click was detected
FT_MDEFCRS() Define the mouse cursor
FT_MENU1() Pulldown menu system
FT_MENU2() Vertical lightbar menu
FT_MENUTO() Execute light bar menu using prompts created with @...PROMPT
FT_METAPH() Convert a character string to MetaPhone format
FT_MGETCOORD() Get mouse cursor position (text coord.) and button status
FT_MGETPAGE() Get the display page for the mouse pointer
FT_MGETPOS() Get mouse cursor position and button status
FT_MGETSENS() Get the mouse sensitivity parameters
FT_MGETX() Get mouse cursor row position

13.1.4. FTMGETY()-FTSETCENTURY()

FT_MGETY() Get mouse cursor column position
FT_MHIDECRS() Decrement internal mouse cursor flag and hide mouse cursor
FT_MIL2CIV() Convert time in military format to civilian format.
FT_MIL2MIN() Convert time in military format to number of minute of day.
FT_MIN2DHM() Convert numeric minutes to days, hours and minutes.
FT_MIN2MIL() Convert minute of day to military format time.
FT_MINIT() Initialize the mouse driver, vars and return status of mouse
FT_MINREGION() Test if the mouse cursor is in the passed region
FT_MMICKEYS() Get mickeys
FT_MONTH() Return Calendar or Fiscal Month Data
FT_MRESET() Reset mouse driver and return status of mouse
FT_MSETCOORD() Position the mouse cursor using text screen coordinates
FT_MSETPAGE() Set the display page for the mouse pointer
FT_MSETPOS() Position the mouse cursor using virtual screen coordinates
FT_MSETSENS() Set the mouse sensitivity parameters
FT_MSHOWCRS() Increment internal cursor flag and display mouse cursor
FT_MVERSION() Get the mouse driver version
FT_MXLIMIT() Set vertical bounds of mouse using virtual screen coord.
FT_MYLIMIT() Set horiz. bounds of mouse using virtual screen coordinates
FT_NETPV() Calculate net present value
FT_NOOCCUR() Find the number of times one string occurs in another
FT_NTOW() Translate numeric value to words
FT_NWLSTAT() Return the current Novell NetWare logical station number
FT_NWSEMCLOSE() Close a NetWare semaphore
FT_NWSEMEX() Examine a NetWare semaphore's value and open count
FT_NWSEMLOCK() Perform a semaphore "lock"
FT_NWSEMOPEN() Open or create a NetWare semaphore
FT_NWSEMSIG() Signal a NetWare semaphore (increment)
FT_NWSEMUNLOCK() "Unlock" a semaphore locked by FT_NWSEMLOCK()
FT_NWSEMWAIT() Wait on a NetWare semaphore (decrement)
FT_NWUID() Return the current Novell NetWare User ID
FT_PCHR() Convert printer control codes
FT_PEGS() FT_PEGS GAME (all work and no play...)
FT_PENDING() Display same-line pending messages after a wait.
FT_PICKDAY() Picklist of days of week
FT_POPVID() Restore previously saved video states.
FT_PROMPT() Define a menu item for use with FT_MenuTo()
FT_PUSHVID() Save current video states on internal stack.
FT_QTR() Return Calendar or Fiscal Quarter Data.
FT_RAND1() Generate a random number
FT_RESTARR() Restore a Clipper array from a disc file
FT_RESTSETS() Restore status of all SET command settings
FT_RGNSTACK() Push or pop a saved screen region on or off the stack
FT_ROUND() Rounds a number to a specific place
FT_RSTRGN() Restore region of the screen saved with FT_SAVRGN()
FT_SAVEARR() Save Clipper array to a disc file.
FT_SAVESETS() Save the status of all the SET command settings
FT_SAVRGN() Save a screen region for later display
FT_SCANCODE() Wait for keypress and return keyboard scan code
FT_SETCENTURY() Check/Set the CENTURY Setting

13.1.5. FTSETDATE()-TASKGETMSG()

FT_SETDATE() Set the DOS system date
FT_SETMODE() Set the video mode
FT_SETTIME() Set the DOS system time
FT_SETVCUR() Set the cursor position on a specified video page
FT_SETVPG() Set the current video page
FT_SLEEP Wait for a specified amount of time
FT_SQZN() Compress a numeric value into a character string
FT_SYS2MIL() Convert system time to military time format.
FT_SYSMEM() Determine the amount of conventional memory installed
FT_TEMPFIL() Create a file with a unique name
FT_UNSQZN() Uncompress a numeric compressed by FT_SQZN()
FT_WEEK() Return calendar or fiscal week data
FT_WORKDAYS() Return number of work days between two dates
FT_WOY() Find number of week within year
FT_XBOX() Display a self-sizing message box and message
FT_XTOY() Convert from any data type to any other data type
FT_YEAR() Return calendar or fiscal year data
GLOB() Проверка на соответствие строки регулярному выражению.
HASHNAME() Возвращает строку, из которой был получен хэш-код.
HASHSTR() Возвращает хэш-код строки.
ISFIELD() Проверка, является ли имя переменной именем поля БД.
ISFUNCTION() Проверка, является ли имя переменной именем функции.
ISMEMVAR() Проверка, является ли имя переменной именем переменной памяти.
LIKE() Проверка на соответствие строки простой маске.
LOAD() Загрузка байт-кода или динамической библиотеки.
LOADBLOCK() Загрузка байт-кода.
LTRIM() Under construction
MAKEPATH() Возвращает путь к файлу в UNIX стиле.
MAP() Создает новый пустой объект (ассоциативный массив)
MAPKEYS() Under construction
MAPMODIFY Включает/отключает режим контроля измений атрибутов.
MEMVARGET() Возвращает значение переменной MEMVAR.
MEMVARSET() Устанавливает значение переменной MEMVAR.
PAD() Under construction
PARAM() Возвращает значение параметра.
QOUT() Under construction
RSTR() Under construction
RTRIM() Under construction
RUN_BLANK() Under construction
SEARCH() Поиск подстроки в строке по регулярному выражению.
SELECT() Under construction
SET() Under construction
SLEEP() Остановить выполнение программы на заданное количество секунд и(или) милисекунд.
START() Начать задачу.
STARTPATH() Возвращает полный путь и имя программы.
STR() Under construction
STR2VAR() Конвертировать uucode строку в исходные данные.
SUBSTR() Under construction
SYSCMD() Выполнить системную команду.
TASKGETMSG() Прочитать полученное сообщение.