Escolar Documentos
Profissional Documentos
Cultura Documentos
Funções
Nativas do
AdvPL
Aqui está uma lista de funções Advpl, Clipper e Harbour juntas. Precisa-se filtrar funções que não sejam do
AdvPL.
Índice
1 Funções
1.1 Aplicação
1.3 Conversão
1.6 Ambiente
1.7 Erros
1.8 Eventos
1.11 Internos
1.13 Matemática
1.14 RDD
1.15 Strings
1.16 Terminal
2 Veja Também
Funções
Aplicação
DO() Chama um procedimento ou uma função
Array / Matriz
AADD() Adicionar dinamicamente um elemento a uma vetor
Conversão
BIN2I() Convert signed short encoded bytes into Harbour numeric
Banco de Dados
AFIELDS()* Fills referenced arrays with database field information
DBCOMMIT() Updates all index and database buffers for a given workarea
DBRLOCKLIST() This function return a list of locked records in the database work area
DBSETDRIVER() Establishes the RDD name for the selected work area
DBUNLOCKALL() Unlocks all records and releases all file locks in all work areas.
INDEXEXT() Returns the file extension of the index module used in an application
__dbCreate() Create structure extended file or use one to create new file
__dbDelim() Copies the contents of a database to a delimited text file or appends the contents of a
delimited text file to a database.
__dbSDF() Copies the contents of a database to an SDF text file or appends the contents of an SDF
text file to a database.
Data e Hora
CDOW() Converte uma data em dia da semana
DTOC() Converte tipo data em tipo character de acordo com o formato data do sistema
SETMODE() Change the video mode to a specified number of rows and columns
Erros
BREAK() Exits from a BEGIN SEQUENCE block
Eventos
SETKEY() Assign an action block to a key
Sistema de Arquivos
ADIR() Fill pre-defined arrays with file/directory information
CPYS2T() Função utilizada para copiar um arquivo do servidor para o cliente (Remote)
CPYT2S() Função utilizada para copiar um arquivo do cliente (Remote) para o servidor
Internos
CLIPINIT() Initialize various Harbour sub-systems
__MVDBGINFO() This function returns the information about the variables for debugger
__TextSave() Redirect console output to printer or file and save old settings
Matemática
ABS() Retorna o valor absoluto de um número.
RDD
FIELDBLOCK() Return a code block that sets/gets a value for a given field
FIELDWBLOCK() Return a sets/gets code block for field in a given work area
Strings
ALLTRIM() Removes leading and trailing blank spaces from a string
ASC() Returns the ASCII value of a character
HARDCR() Replace all soft carriage returns with hard carriages returns.
STR() Converte valor numério em string. A diferença entre CVALTOCHAR() e STR() é que essa adiciona
espaços a esquerda do número.
STRTOKARR() Faz um split na string e retorna um array
Terminal
COL() Returns the current screen column position
MAXCOL() Returns the maximun number of columns in the current video mode
RESTORE SCREEN Restore screen image and coordinate from an internal buffer
SAVE SCREEN Save whole screen image and coordinate to an internal buffer
Interface do Usuário
ACHOICE() Allows selection of an element from an array
INKEY() Extracts the next key code from the Harbour keyboard buffer.
LASTKEY() Get the last key extracted from the keyboard buffer.
NEXTKEY() Get the next key code in the buffer without extracting it.
Gerenciamento de Variáveis
EMPTY() Checks if the passed argument is empty.