/lazarus-lib

Rotinas uteis para códigos em freepascal e lazarus/ Useful routines for coding in freepascal and lazarus.

Primary LanguagePascalMIT LicenseMIT

lazarus-lib

Amilton de Souza Maciel (AcidBytes) - amiltonsmaciel@gmail.com

English

Useful routines and codes in Freepascal and Lazarus. This repository aims to be a place to store useful routines and functions in Freepascal, Lazarus first and foremost, many of the routines can be converted to Delphi as well, but they were tested with Lazarus.

The routines are separated into individual files, so you don't need to download a file with all the functions, but you can get the files with only the functions you need.


Portugues

Rotinas uteis e códigos em freepascal e lazarus. Este repositório visa ser um local para armazenamento de rotinas e funções úteis em freepascal, lazarus em primeiro lugar, muitas das rotinas podem ser convertidas para Delphi também, mas elas foram testadas com lazarus.

As rotinas estão separadas em arquivos individuais, de maneira que não é precisa baixar um arquivo com todas as funções, mas pode pegar os arquivos apenas com as funções necessárias.

zipfiles.pas = Functions for create a rar file and for extract content from a rar file, without need rar installed in machine

sanitize.pas = Function for "sanitize" strings before store it in a table in database, this function erase some chars sequences that may cause problems in SQL, avoid users inject escape sequences in a string.

AutoFitDbGridCol.pas = Turn the column in the grid passed as argument in a autofit column that self adjust it's size on Form resize.

cpf_cnpj.pas = Functions for calculate digits and validate Brazilian Tax IDs (Personal and Business).