text stringlengths 14 6.51M |
|---|
unit GetLimitedZipCodesUnit;
interface
uses SysUtils, BaseExampleUnit;
type
TGetLimitedZipCodes = class(TBaseExample)
public
procedure Execute(ZipCode: String; Limit, Offset: integer);
end;
implementation
uses GeocodingAddressUnit;
procedure TGetLimitedZipCodes.Execute(ZipCode: String; Limit, Offse... |
unit Eagle.Alfred;
interface
uses
System.SysUtils,
Eagle.ConsoleIO,
Eagle.Alfred.Command,
Eagle.Alfred.CreateCommand,
Eagle.Alfred.MigrateCommand,
Eagle.Alfred.ProjectCommand,
Eagle.Alfred.HelpCommand,
Eagle.Alfred.DprojParser;
type
TAlfred = class
private
FCurrentPath: strin... |
unit GX_ProjOptMap;
{$I GX_CondDefine.inc}
interface
uses
TypInfo;
type
// It is possible to specify a translator that
// translates a passed in string value to a
// longer, more elaborate option value - e.g.
// "0" -> False etc.
TGxOptionValueTranslator = function(const ValueString: strin... |
unit uVerificarLiberacao;
interface
uses IdHTTP, vcl.Forms, System.SysUtils, vcl.Dialogs, StrUtils;
function getValidadeSistema(serial: string): Boolean;
implementation
const
RADIUS_URL_LIBERACAO = 'http://radius.tudosobre.info/liberacao';
RADIUS_ARQUIVO_WEB_LIBERACAO = 'liberacao.php';
RADIUS_CODIGO_GET = '... |
unit eInterestSimulator.Controller.Resultado.Observer;
interface
uses
eInterestSimulator.Controller.Observer.Interfaces,
eInterestSimulator.Model.Interfaces, System.Generics.Collections;
type
TControllerObserverResultado = class(TInterfacedObject, iSubjectResultado)
private
FObserverResultados: TList<iOb... |
//************************************************
//*
//* Поиск минимума функции нескольких переменных
//*
//* Что-то вроде градиентного спуска
//*
//************************************************
unit Minimize;
interface
uses Math;
type
TDoubleFunction=function:Double;
PDouble=^Double;
procedure MinimizeFun... |
(*
Challenge 120
TASK #1 - Swap Odd/Even bits
Submitted by: Mohammad S Anwar
You are given a positive integer $N less than or equal to 255.
Write a script to swap the odd positioned bit with even positioned bit and
print the decimal equivalent of the new binary representation.
Example
Input: $N = 101
Output: 154
Bi... |
unit MemManeger;
interface
function SysGetMem(size: Integer): Pointer;
function SysFreeMem(p: Pointer): Integer;
function SysReallocMem(p: Pointer; size: Integer): Pointer;
function GetAllocMemCount: Integer;
function GetAllocMemSize: Integer;
procedure DumpBlocks;
function GetHeapStatus: THeapStatus... |
unit ISMLS;
interface
uses
Languages;
const
mtidSystem : TRegMultiString = nil; // 'SYSTEM';
mtidClientAware : TRegMultiString = nil; // UserName + ' has entered ' + fServer.WorldName + '.'
mtidClientUnAware : TRegMultiString = nil; // UserName + ' has le... |
unit uCadastroCardapio;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons, uDAOGrupo,
uTDPNumberEditXE8, Vcl.ExtCtrls, uDAOCardapio, DMPrincipal;
type
TFCadastroCardapio = c... |
unit AtrStrUtils;
interface
uses Classes, SysUtils, Variants, RxStrUtils, DB;
const
Codes64 = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz+/';
type
TStringArray = array of string;
function MonthFirstDay(const aDate: TDateTime): TDateTime;
// Возвращаем последнее число месяца
// соответству... |
unit dialogZipProgress;
interface
uses
Winapi.Windows, Winapi.Messages,
System.SysUtils, System.Variants, System.Classes, System.UITypes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.WinXCtrls,
Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.Buttons, Vcl.ComCtrls,
RzPanel, RzDlgBtn, RzPrgres, RzBorder,... |
{ Date Created: 5/22/00 11:17:33 AM }
unit InfoLENDERGROUPSTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TInfoLENDERGROUPSRecord = record
PIndex: Integer;
PGroupIndex: Integer;
PLenderID: String[4];
End;
TInfoLENDERGROUPSBuffer = class(TData... |
unit SWIFT_UTypes;
interface
uses Windows, Messages, SysUtils, Graphics, VirtualTrees, Classes, StdCtrls,
Controls, Forms, ImgList;
type
{ Узел дерева }
TSwiftNode = class(TObject)
private
FParent: TSwiftNode;
FChildren: TList;
FCheckState: TCheckState;
FTagName, FTagValue: string;
FEdi... |
unit IdUriUtils;
interface
{$i IdCompilerDefines.inc}
{$IFDEF DOTNET}
{$DEFINE HAS_ConvertToUtf32}
{$ENDIF}
{$IFDEF HAS_TCharacter}
{$DEFINE HAS_ConvertToUtf32}
{$ENDIF}
{$IFDEF DOTNET}
{$DEFINE HAS_String_IndexOf}
{$ENDIF}
{$IFDEF HAS_SysUtils_TStringHelper}
{$DEFINE HAS_String_IndexOf}
{... |
unit BaseForms;
(*
The module contains classes of the Base DataModule, Base Form and Base Frame,
which is intended to replace the standard classes.
These Base classes will help get around some bugs VCL, and expand the standard
functionality
***************************************************************... |
{***********************************************************************************************************************
*
* TERRA Game Engine
* ==========================================
*
* Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com)
*
***************************************************... |
unit arTextUtils;
{ $Id: arTextUtils.pas,v 1.5 2015/07/08 12:03:59 dinishev Exp $ }
{$Include evDefine.inc }
interface
uses
evCustomEditor,
evCommonTypes,
l3Chars;
const
cc_DigitEX = cc_Digits + [cc_Dot];
cc_SeparatorChars = [cc_Dot, cc_HardSpace];
function arMakeNameStr(const aEditor : TevCustomEdito... |
unit MainClientFormU;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.StdCtrls;
type
TForm7 = class(TForm)
Button1: TButton;
Button2: TButton;
Memo1: TMemo;
procedure Button... |
unit perIB;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Datasnap.DBClient, cxGraphics,
cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit,
EnPngGr, Vcl.ExtCtrls, Vcl.StdCtrls,... |
unit frmInSQLMgrEditor;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, iocp_sqlMgr, ComCtrls, ExtCtrls, StdCtrls, Buttons, ActnList;
type
TFormInSQLManager = class(TForm)
lvSQLNames: TListView;
Panel1: TPanel;
Panel2: TPanel;
pgSQLMgr: TPageCo... |
unit Control.Sistema;
interface
uses
System.SysUtils, Forms, System.Classes, DAO.Conexao, Common.Utils, Global.Parametros, Control.Bases,
FireDAC.Comp.Client;
type
TSistemaControl = class
private
FConexao: TConexao;
FStart: Boolean;
FBases: TBasesControl;
class var FInstante :... |
const firstNamesCount: integer = 10;
type firstNamesType = array [1..firstNamesCount] of string;
var firstNames: firstNamesType = ('Mike', 'Jack', 'Mini', 'Nelly', 'Casandra', 'Artem', 'Valera', 'Boosh', 'Lesly', 'Lilly');
const lastNamesCount: integer = 10;
type lastNamesType = array [1..lastNamesCount] of stri... |
// --------------------------------------------------------------------------
// Archivo del Proyecto Ventas
// Página del proyecto: http://sourceforge.net/projects/ventas
// --------------------------------------------------------------------------
// Este archivo puede ser distribuido y/o modificado bajo lo terminos ... |
unit DataService;
interface
uses
JunoApi4Delphi.Interfaces,
REST.JSON,
System.JSON,
System.Generics.Collections,
Banks,
AuthorizationService,
CompanyType;
type
TDataService = class(TInterfacedObject, iDataService)
private
FParent : iJunoApi4DelphiConig;
FAuth : iAutho... |
(*------------------------------------------------------------------
BinominalCoefficient || Neuhold Michael 24.10.2018
Calculate the binomial coefficient (k choose n).
bc = n! DIV (k! *(n-k)!)
------------------------------------------------------------------*)
PROGRAM BinominalCoefficient;
USES
Crt;
V... |
unit afwVirtualCaret;
{* Виртуальная каретка. }
// Модуль: "w:\common\components\gui\Garant\AFW\implementation\Visual\afwVirtualCaret.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TafwVirtualCaret" MUID: (474154CE0081)
{$Include w:\common\components\gui\Garant\AFW\afwDefine.inc}
interface
uses
l3IntfUses
... |
unit fmCreateGroup;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls,
ADC.Types, ADC.DC, ADC.GlobalVar, ADC.Common, ActiveDs_TLB;
type
TForm_CreateGroup = class(TForm)
Edit_Grou... |
unit ModHashTableChaining;
interface
function addOrInc(w : string) : integer;
function find(w : string) : integer;
procedure writeTable;
procedure init;
implementation
uses ModStringHash;
const
M = 53;
type
NodePtr = ^NodeRec;
NodeRec = record
key : string;
val : integ... |
{
$Project$
$Workfile$
$Revision$
$DateUTC$
$Id$
This file is part of the Indy (Internet Direct) project, and is offered
under the dual-licensing agreement described on the Indy website.
(http://www.indyproject.org/)
Copyright:
(c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r... |
unit ModelServer;
interface
uses
Windows, Classes, Protocol, Kernel, Population, RDOServer, ExtCtrls, BackupObjects,
SyncObjs, RDOInterfaces, MailServerInterfaces;
const
tidRDOHook_World = 'World';
const
tidRegKey_ModelExtensions = '\SOFTWARE\Oceanus\FIVE\ModelServer\Extensions';
const
... |
unit uHelloWorld;
interface
uses uEvo;
type
THelloWorld = class(TBFPrgValidatorBase)
protected
procedure GetInput(Index: integer; var S: string); override;
function ValidateResult: single; override;
class function CommandSet: string; override;
function MaxSteps: integer; override;
end;
implem... |
unit ExtAI_DLLs;
interface
uses
IOUtils, Classes, System.SysUtils, Generics.Collections,
ExtAI_DLL, ExtAISharedInterface;
// Expected folder structure:
// - ExtAI
// - dll_delphi
// - dll_delphi.dll
// - dll_c
// - dll_c.dll
type
// List available DLLs
// Check presence of all valid DL... |
unit Unit1;
//https://developers.google.com/chrome-developer-tools/docs/protocol/tot/runtime
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, ComCtrls,
SynEdit, SynHighlighterDWS, SynEditHighlighter, SynHighlighterJScript,
dwsJSF... |
unit SimulacaoPagamento.Cartao;
interface
uses
SimulacaoPagamento.Interfaces;
type
TSimulacaoPagamentoCartao = class(TInterfacedObject, iSimulacaoCartao)
private
[Weak]
FParent : iSimulacaoPagamento;
FBandeira : String;
public
constructor Create(Parent : iSimulacaoPa... |
unit UGContactsDemo;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
FMX.TMSCloudBase, FMX.TMSCloudGContacts,
FMX.Layouts, FMX.ListBox, FMX.Edit, FMX.Objects, FMX.TMSCloudImage, FMX.Memo, IOUtils,
F... |
unit Providers.Consts;
interface
uses ToolsAPI;
const
C_BPL_FOLDER = '.bpl';
C_BIN_FOLDER = '.bin';
C_MODULES_FOLDER = 'modules\';
C_BOSS_CACHE_FOLDER = '.boss';
C_DATA_FILE = 'boss.ide';
C_BOSS_TAG = '[Boss]';
C_BUTTON_SEPARATOR_POSITION = pmmpRunNoDebug + 10;
C_BUTTON_INSTALL_POSITION = pmmpRunNoDe... |
{
Criador: Bruno Deuner
Contato
Email: bruno_deuner@hotmail.com
Informações
Autorização de contas:
Gmail: https://myaccount.google.com/lesssecureapps
Hotmail: Não precisa
}
unit Tora.Email;
interface
uses
System.Classes,
System.Generics.Collections,
System.SysUtils,
System.... |
unit DelphiUp.View.Components.Button002;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.Controls.Presentation, FMX.StdCtrls, FMX.Objects, FMX.Layouts,
DelphiUp.View.Styles, FMX.Effects, F... |
unit EmailOrdering.Controllers.MainControllerInt;
interface
uses
IdMessage, Wddc.Inventory.Order, EmailOrdering.Models.EmailMsg;
type
IMainController = Interface(IInterface)
procedure NewOrder(const msg: TEmailMsg);
procedure ShowMessageForm();
procedure OpenSuccess();
procedure OpenFailure();
... |
unit Unt_Coletor;
interface
uses
System.Classes,
System.Generics.Collections,
System.SyncObjs;
type
/// <summary>
/// Classe singleton com o propósito de liberar objetos
/// </summary>
TColetorDeLixo = class(TThread)
private
/// <summary>
/// Instância única desta classe
/// </summary>
... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
{$I ViewerOptions.inc}
unit ATxMsgProc;
interface
uses
Windows;
function MsgCaption(N: integer): string;
function MsgString(N: integer): string; overload;
function MsgString(const Section, Key: string): string; overload;
function MsgStrip(const S: string): string;
procedure MsgInstall(sAdded, sDups: string; FromZ... |
unit evTableColumnHotSpot;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "Everest"
// Модуль: "w:/common/components/gui/Garant/Everest/evTableColumnHotSpot.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML model, ro... |
//Exercício 12: Escreva um algoritmo que calcule e exiba o custo médio do quilômetro rodado (considerando apenas o
//consumo de combustível) para uma dada distância percorrida e certo volume de combustível consumido. O algoritmo
//deve ler a distância percorrida (em quilômetros), o volume de combustível consumido (em... |
(* WordCounter: HDO, 2003-02-28 *)
(* ----------- *)
(* Template for programs that count words in text files. *)
(*===============================================================*)
PROGRAM WordCounter;
USES
Timer, WordRead... |
(**********************************************)
(* Проверка правильности задания и вычисление *)
(* значений функций нескольких переменных *)
(* Function Analizer 32 bit *)
(* (c) Вшивцев Виктор (W. Vitek) *)
(**********************************************)
unit FA32;
interface
u... |
namespace Sugar.Collections;
interface
uses
Sugar;
type
KeyValuePair<T, U> = public class
public
constructor(aKey: T; aValue: U);
method {$IF TOFFEE}isEqual(obj: id){$ELSE}&Equals(Obj: Object){$ENDIF}: Boolean; override;
method {$IF COOPER}ToString: java.lang.String{$ELSEIF ECHOES}ToSt... |
unit Unit2;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TForm2 = class(TForm)
Button1: TButton;
Memo1: TMemo;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public d... |
unit fmRename;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls,
ADC.ADObject, ADC.Types, ADC.Common, ADC.AD, ADC.LDAP, ADC.GlobalVar;
type
TForm_Rename = class(TForm)
Label_Name: TLabel;
... |
unit np.httpParser;
interface
uses np.Buffer, Generics.Collections;
type
THTTPHeader = Class(TDictionary<Utf8String,Utf8String>)
private
FKeys : TList<Utf8String>;
function GetFields(const AName: Utf8String): Utf8String;
public
ContentLength : int64;
ContentType : Utf8St... |
{*******************************************************}
{ Проект: Repository }
{ Модуль: uEditRecordParametersImpl.pas }
{ Описание: Реализация IEditRecordParameters }
{ Copyright (C) 2015 Боборыкин В.В. (bpost@yandex.ru) }
{ ... |
unit LumberMill;
interface
uses
ClassStorageInt, Protocol, Kernel, WorkCenterBlock, Surfaces, OutputEvaluators, Accounts,
StdFluids, BackupInterfaces, Inventions, Languages, PolluterWorkCenter, Population;
type
TLumberMillBlock = class;
TLumberOutputEvaluator = class;
TMetaLumberMillBl... |
unit GameXOImpl;
interface
uses
SysUtils, Variants, Classes, XOPoint;
type
TGameXOImpl = class
private
MovePatterns: array[0..4] of TXOPoint;
//matched to external X/O/' ' layout button texts
GamePane: array[0..2,0..2] of char;
Moves: array[0..2,0..2] of byte;
... |
unit ce_editor;
{$I ce_defines.inc}
interface
uses
Classes, SysUtils, FileUtil, ExtendedNotebook, Forms, Controls, lcltype,
Graphics, SynEditKeyCmds, ComCtrls, SynEditHighlighter, ExtCtrls, Menus,
SynMacroRecorder, SynPluginSyncroEdit, SynEdit, SynHighlighterMulti,
ce_widget, ce_interfaces, ce_synmemo, ce_dl... |
unit MFichas.Controller.Venda.Metodos.Pagamento;
interface
uses
System.SysUtils,
MFichas.Controller.Venda.Interfaces,
MFichas.Controller.Types,
MFichas.Model.Venda.Interfaces,
MFichas.Model.Pagamento.Interfaces;
type
TControllerVendaMetodosPagar = class(TInterfacedObject, iControllerVendaMetodosPagar)
... |
unit DaoFireDac;
interface
uses Db, Base, Rtti, Atributos, system.SysUtils, system.Classes,
FireDAC.Comp.UI,FireDAC.Comp.Client, system.Generics.Collections;
type
TTransacaoFireDac = class(TTransacaoBase)
private
// transação para crud
FTransaction: TFDTransaction;
public
constructor Create(ABan... |
unit SingleDriverRoundTripTestDataProviderUnit;
interface
uses
SysUtils,
BaseOptimizationParametersProviderUnit, AddressUnit, RouteParametersUnit,
OptimizationParametersUnit;
type
TSingleDriverRoundTripTestDataProvider = class(TBaseOptimizationParametersProvider)
protected
function MakeAddresses(): TAr... |
unit Model.MergeCadastroGeral;
interface
uses Data.SisGeF, Control.CadastroGeral, Control.CadastroEnderecos, Control.CadastroContatos, Control.CadastroFinanceiro,
Control.CadastroRH, Control.CadastroGR, Control.CadastroHistorico, FireDAC.Comp.Client;
type
TMergeCadastroGeral = class
private
FCadastro : TC... |
unit dcDateEdit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, datacontroller, db, FFSUtils, FFSTypes,
LMDCustomControl, LMDCustomPanel, LMDCustomBevelPanel, LMDBaseEdit,
LMDCustomEdit, LMDEdit, lmdgraph, dcEdit;
type
// TFFSPopupWindow = cla... |
unit main;
interface
{$WARN UNIT_PLATFORM OFF}
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls, Vcl.FileCtrl, ShellApi, SearchThread;
{$WARN UNIT_PLATFORM ON}
const
IMAGES_EXT = '.jpg;.jpeg;.j... |
unit uTypes;
interface
uses
adl_structures,
Contnrs;
type
TUser = class(TObject)
public
id: Integer;
Name: String;
Password: String;
Email: String;
Phone: String;
EthAddress: String;
credits: Integer;
end;
TAlgorithm = class(TObject)
public
id: Int... |
{******************************************************************************}
{ }
{ Delphi FB4D Library }
{ Copyright (c) 2018-2022 Christoph Schneider ... |
unit K459284359;
{* [Requestlink:459284359] }
// Модуль: "w:\common\components\rtl\Garant\Daily\K459284359.pas"
// Стереотип: "TestCase"
// Элемент модели: "K459284359" MUID: (51AC93AE000C)
// Имя типа: "TK459284359"
{$Include w:\common\components\rtl\Garant\Daily\TestDefine.inc.pas}
interface
{$If Defined(nsTest)... |
unit DAO.EntregadoresExpreessas;
interface
uses
FireDAC.Comp.Client, System.SysUtils, DAO.Conexao, Model.EntregadoresExpressas;
type
TEntregadoresExpressasDAO = class
private
FConexao : TConexao;
public
constructor Create;
function Inserir(AEntregador: TEntregadoresExpressas): Boolean;
func... |
unit Main;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, Menus,
StdCtrls, ExtCtrls, ComCtrls, About, Reading, HMUtils;
type
{ TMainForm }
TMainForm = class(TForm)
AboutBtn: TMenuItem;
DbgHex: TMemo;
unkTxtExportBtn: TMenuItem;
txtExportBtn: TMenuI... |
unit via6522;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}main_engine,sysutils,dialogs,lib_sdl2;
type
tin_handler=function:byte;
tout_handler=procedure(valor:byte);
via6522_chip=class
constructor create(clock:dword);
destructor free;
public
Joystick1,Joystick2:byte;
procedure rese... |
unit uCategoriaVO;
interface
uses
System.SysUtils, uTableName, uKeyField;
type
TCategoriaVO = class
private
FAtivo: Boolean;
FCodigo: Integer;
FId: Integer;
FNome: string;
procedure SetAtivo(const Value: Boolean);
procedure SetCodigo(const Value: Integer);
procedure SetId(const Valu... |
program VokaleundKonsonanten (input, output);
{ bestimmt in einem einzulesenden Satz die Anzahl der vorkommenden Vokale und Konsonanten }
type
tBuchst = 'a'..'z';
tNatZahl = 0..maxint; { maxint ist ein definierter Wert von Pascal und entspricht den maximalen Wert, den ein Integer annehmen kann }
tHaeuf... |
unit RemoteConnector;
interface
uses
Forms, SysUtils, Classes, WideStrings,
CommunicationTypes, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient;
type
TdmRemoteConnector = class(TDataModule)
IdTCPClient1: TIdTCPClient;
private
public
constructor Create(AOwner: TComponent); ov... |
unit Control.Devolucao;
interface
uses System.SysUtils, FireDAC.Comp.Client, Forms, Windows, Common.ENum, Model.Devolucao, TFO.Barras, System.StrUtils;
type
TDevolucaoControl = class
private
FDevolucao : TDevolucao;
FBarras: TBarrTFO;
public
constructor Create;
destructor Destroy; override;
... |
unit evImageIndexProperty;
{ Библиотека "Эверест" }
{ Начал: Люлин А.В. }
{ Модуль: evImageIndexProperty - }
{ Начат: 06.03.2007 12:44 }
{ $Id: evImageIndexProperty.pas,v 1.1 2007/03/06 11:59:05 lulin Exp $ }
// $Log: evImageIndexProperty.pas,v $
// Revision 1.1 2007/03/06 11:59:05 lulin
// - сделана возмо... |
unit uWorkSpaceMgr;
interface
uses
uWorkSpace, Classes, SysUtils, ComCtrls, uConstFile;
type
TWorkSpaceStatusRec = record
Opened: Boolean;
end;
TWorkSpaceMgr = class
private
FWorkSpaceList: array[0..cst_WokeSpace_MaxCount] of TWorkSpace;
FWorkSpaceStatusList: array[0..cst_WokeSpace_MaxCount] of... |
unit Thread._201010_importar_pedidos_direct;
interface
uses
System.Classes, Dialogs, Windows, Forms, SysUtils, Messages, Controls, System.DateUtils, System.StrUtils, Generics.Collections,
Model.PlanilhaEntradaDIRECT, Control.Entregas, Control.PlanilhaEntradaDIRECT, Control.Sistema, FireDAC.Comp.Client, Common.ENu... |
{
$Project$
$Workfile$
$Revision$
$DateUTC$
$Id$
This file is part of the Indy (Internet Direct) project, and is offered
under the dual-licensing agreement described on the Indy website.
(http://www.indyproject.org/)
Copyright:
(c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r... |
unit FileChannel;
{
Copyright (C) 2006 Luiz Américo Pereira Câmara
TFileChannel modified by devEric69 ( Éric Moutié ):
- it became thread safe, eg TMemoChannel's modifications.
- added the possibility to have an overview, a "film" of the events for which we want to anderstand the order of their inter-calls.
This lib... |
//=============================================================================
// sgTypes.pas
//=============================================================================
//
// The Types unit contains the data types used by SwinGames for shapes,
// Sprites, Bitmaps, Sounds, etc.
//
// Change History:
//
// Version ... |
unit UOrderedAccountKeysList;
interface
uses
UPascalCoinSafeBox, UThread, Classes, UAccountKey, UOrderedCardinalList, UAccountKeyArray;
type
// This is a class to quickly find accountkeys and their respective account number/s
{ TOrderedAccountKeysList }
TOrderedAccountKeysList = Class
Private
FAutoAdd... |
unit tmsUXlsChart;
{$INCLUDE ..\FLXCOMPILER.INC}
interface
uses tmsUXlsBaseRecords, tmsUXlsBaseRecordLists, tmsUXlsOtherRecords,
tmsXlsMessages, tmsUXlsTokenArray, Classes, SysUtils, tmsUXlsBaseList;
type
TChartRecord = class (TBaseRecord)
end;
TBeginRecord = class(TChartRecord)
end;
TEndRecord = cla... |
unit l3Metafile;
{* Метафайл }
// Модуль: "w:\common\components\rtl\Garant\L3\l3Metafile.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "Tl3Metafile" MUID: (47DFD79200BD)
{$Include w:\common\components\rtl\Garant\L3\l3Define.inc}
interface
uses
l3IntfUses
, Graphics
, l3Interfaces
, Classes
, l3PureMixIn... |
unit BaseStockApp;
interface
uses
BaseWinApp, BaseApp, SysUtils,
StockAppPath, db_dealitem,
{$IFDEF DEALINSTANT}
db_quote_instant,
{$ENDIF}
db_stock;
type
TBaseStockAppData = record
StockDB: TDBStock;
end;
TBaseStockApp = class(TBaseWinApp)
protected
fBaseStockAppData: TBaseStockAppD... |
unit CompareEditions_Controls;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "View"
// Автор: Люлин А.В.
// Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/View/CompareEditions_Controls.pas"
// Начат: 17.08.2009 19:42
// ... |
unit vcmRegister;
{* Модуль для регистрации компонент библиотеки vcm. }
{ Библиотека "vcm" }
{ Автор: Люлин А.В. © }
{ Модуль: vcmRegister - }
{ Начат: 11.03.2003 11:16 }
{ $Id: vcmRegister.pas,v 1.87 2016/07/15 13:18:56 lulin Exp $ }
// $Log: vcmRegister.pas,v $
// Revision 1.87 2016/07/15 13:18:56 l... |
{ behavior3delphi - a Behavior3 client library (Behavior Trees) for Delphi
by Dennis D. Spreen <dennis@spreendigital.de>
see Behavior3.pas header for full license information }
unit Behavior3.Core.Action;
interface
uses
Behavior3, Behavior3.Core.BaseNode;
type
(**
* Action is the base class for all action... |
{***********************************************************************************************************************
*
* TERRA Game Engine
* ==========================================
*
* Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com)
*
***************************************************... |
{$I ACBr.inc}
unit ASCIOTWebServices;
interface
uses Classes, SysUtils,
{$IFDEF VCL} Dialogs, {$ELSE} QDialogs, {$ENDIF}
{$IFDEF ACBrCTeOpenSSL}
HTTPSend,
{$ELSE}
SOAPHTTPTrans, WinInet, ACBrCAPICOM_TLB, SOAPConst,
{$ENDIF}
pcnAuxiliar, pcnConversao,
ASCIOTConfiguracoes,
pciotCiot, ASCIOTUtil... |
unit uDepartamentoAcesso;
interface
uses System.Generics.Collections, System.SysUtils;
type
TDepartamentoAcesso = class
private
FExcluir: Boolean;
FIncluir: Boolean;
FTabela: string;
FPrograma: Integer;
FRelatorio: Boolean;
FAcesso: Boolean;
FEditar: Boolean;
public
property Pro... |
unit uProjectConstants;
interface
type
TXMLFldNames = (xfnLastBuildStatus,
xfnLastBuildLabel,
xfnactivity,
xfnName,
xfnLastBuildTime,
xfnwebUrl);
const
LIST_OF_COLUMNS : Array[TXMLFldNames] of Stri... |
program Swap_Char;
procedure swap(var c1, c2 : char);
var c : char;
begin
c := c1;
c1 := c2;
c2 := c
end;
var test_str : string;
var i : integer;
begin
test_str := 'Test String for Swap';
for i := 1 to length(test_str) - 1 do
swap(test_str[i], test_str[i + 1]);
write(test_str)
... |
{***********************************************************************************************************************
*
* TERRA Game Engine
* ==========================================
*
* Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com)
*
***************************************************... |
//Exercicio 61: Escreva um algoritmo para ler um número real e, a seguir, ler e exibir uma lista de números reais até
//que seja lido um número igual ao primeiro lido. Nem o primeiro número nem o último devem ser exibidos
{ Solução em Portugol
Algoritmo Exercicio 61;
Var
segredo, numero: real;
Inicio
exiba... |
program DammCheckDigit;
uses
sysutils;
const damm : array[0..9,0..9] of integer =
( (0,3,1,7,5,9,8,6,4,2),
(7,0,9,2,1,5,4,8,6,3),
(4,2,0,6,8,7,1,3,5,9),
(1,7,5,0,9,8,3,4,2,6),
(6,1,2,3,0,4,5,9,7,8),
(3,6,7,4,2,0,9,5,8,1),
(5,8,6,9,7,2,0,1,3,4),
(8,9,4,5,3,6,2,0,1,7),
... |
unit SimulacaoPagamento.Crediario;
interface
uses
SimulacaoPagamento.Interfaces;
type
TSimulacaoPagamentoCrediario = class(TInterfacedObject, iSimulacaoCrediario)
private
[Weak]
FParent : iSimulacaoPagamento;
FdiaVencimento : Integer;
FJuros : Boolean;
public
... |
{ ***************************************************************************
Copyright (c) 2016-2019 Kike Pérez
Unit : Quick.Compression
Description : Compression functions
Author : Kike Pérez
Version : 1.2
Created : 14/08/2018
Modified : 05/09/2019
This file is part of QuickL... |
inherited dmNotasEmitidas: TdmNotasEmitidas
OldCreateOrder = True
inherited qryManutencao: TIBCQuery
SQLInsert.Strings = (
'INSERT INTO STWARMTNOTA'
' (SERIE, FIL_COBR, NOTA, CGC, SITUACAO, OPERACAO, COD_OPERACAO,' +
' DT_EMISSAO, DT_SAIDA, HR_SAIDA, BASE_ICMS, VLR_ICMS, ISS_BASE, ... |
unit fmuCustomerBalance;
interface
uses
WinAPI.Windows, WinAPI.Messages, System.SysUtils, System.Variants, System.Classes,
VCL.Graphics, VCL.Controls, VCL.Forms, Vcl.Menus, System.Actions,
VCL.Dialogs, Data.DB, VCL.ComCtrls, VCL.ToolWin, VCL.ActnList,
EhLibVCL, DBGridEhGrouping, DynVarsEh, FIBDatabase, pFIB... |
unit
{$MODE OBJFPC}
interface
uses uMinPrioQueue;
implementation
{
Return an Array where each index position represents a node and the value
of that position represents the previous node to arrive at it through
the shortest path from the source node
}
function DijkstraShortestPathAlgorithm(graph: TGraph; so... |
unit RemoveOrdersUnit;
interface
uses SysUtils, BaseExampleUnit, CommonTypesUnit, OrderUnit;
type
TRemoveOrders = class(TBaseExample)
public
procedure Execute(OrderIds: TIntegerArray);
end;
implementation
uses OrderParametersUnit;
procedure TRemoveOrders.Execute(OrderIds: TIntegerArray);
var
Err... |
unit ColorQuant;
interface
uses
Classes, Windows, GDI, Dibs;
//
// ColorQuant implements the Gervautz-Purgathofer octree
// color quantization algorithm that creates optimized color palettes for
// for 16, 24, and 32-bit DIBs
//
// Taken from Jeff Prosise. Translated and modified by Jorge Romer... |
unit cSound;
interface
uses Contnrs, ROMObj;
type
TSoundEffect = class
private
_Name : String;
_Offset : Integer;
_Index : Integer;
function GetSEIndex() : Byte;
procedure SetSEIndex(pIndex : Byte);
public
property Name : String read _Name write _Name;
property Offset : Integer read... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.