text stringlengths 14 6.51M |
|---|
unit Entidade.DespesaFixa;
interface
uses SimpleAttributes;
type
TDESPESA_FIXA = class
private
FVALOR: Double;
FDESCRICAO: string;
FVENCIMENTO: Integer;
FID_TIPO_LANCAMENTO: Integer;
FID_CONGREGACAO: Integer;
FID: Integer;
FID_FORNECEDOR: Integer;
FID_IGREJA: Integer;
procedure Se... |
unit uResourcestring;
interface
uses SysUtils;
resourcestring
APPLICATIONTITLE = 'Rock And Roll v2.0 ~ The Mega Man Editor';
APPLICATIONTITLESHORT = 'Rock And Roll v2.0';
implementation
end.
|
unit GX_ProofreaderExpert;
{$I GX_CondDefine.inc}
interface
uses
GX_ProofreaderData, GX_ConfigurationInfo, GX_Experts;
type
TCodeProofreaderExpert = class(TGX_Expert)
private
FProofreaderData: TProofreaderData;
protected
procedure SetActive(New: Boolean); override;
procedure Inter... |
unit Settings_Form;
interface
uses
Windows,
Messages,
SysUtils,
Classes,
Graphics,
Controls,
Forms,
Dialogs,
ExtCtrls,
vtPanel,
l3Types,
l3InternalInterfaces,
OvcBase,
vcmInterfaces,
vcmBase,
vcmEntityForm,
vcmEntities,
vcmContainerForm,
vcmBaseEntities,
vcmComponent,
ns... |
{
Unfortunately, Turbo Pascal does not do a very good job of rounding
numbers when using the built-in REAL data type. For instance:
WRITELN(87.75:8:1);
returns:
87.7 Yikes!
This program contains two routines to round REALs and demonstrates the
problem with the PASCAL str function (which also app... |
unit GenericParametersUnit;
interface
uses
REST.Json.Types, HttpQueryMemberAttributeUnit, JSONNullableAttributeUnit,
SysUtils, Rtti, System.JSON,
CommonTypesUnit;
type
TGenericParameters = class
private
const
IsNullFieldCaption = 'FIsNull';
ValueFieldCaption = 'FValue';
protected
[JSONMars... |
{ CSI 1101-X, Winter, 1999 }
{ Assignment 2 }
{ Identification: Mark Sattolo, student# 428500 }
{ tutorial group DGD-4, t.a. = Manon Sanscartier }
program a2 (input,output) ;
label 190;
type
element_type = real ;
pointer = ^node ; { CHANGED FROM ASSIGNMENT #1 }
node = reco... |
unit DAO.CCEPDistribuidor;
interface
uses
FireDAC.Comp.Client, System.SysUtils, DAO.Conexao, Model.CCEPDistribuidor;
type
TCCEPDistribuidorDAO = class
private
FConexao : TConexao;
public
constructor Create;
function Inserir(ACCEP: TCCEPDistribuidor): Boolean;
function Alterar(ACCEP: TCCEP... |
{ ***************************************************************************
Copyright (c) 2015-2019 Kike Pérez
Unit : Quick.Config.Base
Description : Quick Config Base classes
Author : Kike Pérez
Version : 1.5
Created : 26/01/2017
Modified : 12/02/2019
This file is part of Qu... |
{
Author: William Yang
Website: http://www.pockhero.com
}
unit Graphix.Web2Button;
interface
uses
System.SysUtils, System.Classes, System.Types, System.UITypes, System.UIConsts,
FMX.Types, FMX.Controls, FMX.StdCtrls, FMX.Objects,
Graphix.Helpers, FMX.Layouts;
type
TWeb2BaseButton = cl... |
{ 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.Decorators.Limiter;
interface
uses
System.JSON,
Behavior3, Behavior3.Core.Decorator, Behavior3.Core.BaseNode, Behavior... |
unit ArraySubroutines;
interface
procedure GenerateArray(var A : Array of Integer);
procedure PrintArray(A : Array of Integer);
procedure Swap(var a, b : Integer);
implementation
procedure GenerateArray(var A : Array of Integer);
var
i, size : Integer;
begin
Randomize;
size := Length(A);
f... |
unit FindUnit.DcuDecompiler;
interface
uses
Classes, FindUnit.Utils, Windows, ShellAPI;
const
DCU32INT_EXECUTABLE = 'dcu32int.exe';
type
TDcuDecompiler = class(TObject)
private
FDir: string;
FFiles: TStringList;
FExecutablePath: string;
FGeneratedFiles: TStringList;
procedure CreateDir... |
{====================================================}
{ }
{ EldoS Visual Components }
{ }
{ Copyright (c) 1998-2003, EldoS Corporation }
{ ... |
unit FiveIsometricMap;
interface
uses
Classes, IsometricMap, IsometricMapTypes, FocusTypes;
type
TZoomLevel = IsometricMap.TZoomLevel;
const
cDefaultZoomDelta = 10;
type
TFiveIsometricMap =
class(TIsometricMap)
public
constructor Create(Owner : TComponent); override;
private
... |
{
$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 ipf_disk;
interface
uses {$ifdef windows}windows,{$else}main_engine,{$endif}dialogs;
function ipf_format(DrvNum:byte;longi_ini:dword;datos:pbyte):boolean;
implementation
uses disk_file_format;
type
tipf_header=packed record
name:array[0..3] of ansichar;
size:dword;
crc32:dword;
e... |
{******************************************************************************}
{ }
{ Hook and Translate }
{ ... |
unit kwGetMember;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "ScriptEngine"
// Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwGetMember.pas"
// Начат: 15.02.2012 19:15
// Родные Delphi интерфейсы (.pas)
// Generated... |
unit DAO.Funcoes;
interface
uses DAO.Base, Model.Funcoes, Generics.Collections, System.Classes;
type
TFuncoesDAO = class(TDAO)
public
function Insert(aFuncoes: Model.Funcoes.TFuncoes): Boolean;
function Update(aFuncoes: Model.Funcoes.TFuncoes): Boolean;
function Delete(sFiltro: String): Boolean;
... |
unit StockDetail_Get_163;
interface
uses
BaseApp;
procedure GetStockDataDetail_163_All(App: TBaseApp);
implementation
uses
Windows,
define_datasrc,
define_price,
define_dealitem,
define_dealstore_file,
DB_DealItem,
DB_DealItem_Load,
DB_DealItem_Save,
UtilsHttp,
Uti... |
{ This program finds and prints the "double characters"
(e.g., "ee", ""oo) in a file.}
program doubleChars;
const
BLANK = ' ';
var
oldchar, newchar: char;
begin
oldchar := BLANK;
while not eof do
begin
read(newchar);
if (newchar <> BLANK) and (oldchar = newchar)
then writeln(oldchar, newchar);
oldchar ... |
{
$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 Unit1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls;
type
TForm1 = class(TForm)
RgpColor: TRadioGroup;
private
{ Private-Deklarationen }
protected
procedure WMNCPaint(var Msg: TWMNCPaint) ; message WM_NCPAINT;
... |
unit GX_IdeUtils;
{ A number of utility functions that work directly on the
IDE using mechanism provided by the VCL.
None of the functions in this unit use the "official"
way through the Open Tools API, as the Open Tools API
does not deliver whatever is needed here.
See GX_OtaUtils.pas for routine... |
object DmCompanies: TDmCompanies
OldCreateOrder = False
Left = 304
Top = 161
Height = 370
Width = 417
object DataCompanies: TIBDataSet
Database = DmMain.IBDatabase1
Transaction = IBTransaction1
BufferChunks = 1000
CachedUpdates = False
DeleteSQL.Strings = (
'delete from COMPANIES'
... |
unit ZMHash19;
(*
ZMHash19.pas - Hash list for entries
Copyright (C) 2009, 2010 by Russell J. Peters, Roger Aelbrecht,
Eric W. Engler and Chris Vleghert.
This file is part of TZipMaster Version 1.9.
TZipMaster is free software: you can redistribute it and/or modify
it under the terms ... |
unit uMsg;
interface
uses Classes,
// Own units
UCommon;
type
TMsg = class(THODObject)
private
FTyping: Boolean;
procedure SetTyping(const Value: Boolean);
function CutChar(cnt: Byte = 1): string;
public
MsgList: TStringList;
//** Конструктор.
constructor Create;
... |
unit TestStepParams;
interface
uses
TestFramework, StepParamIntf, StepParams, StepParamsIntf, TestBaseClasses;
type
TestTStepParams = class(TParseContext)
strict private
FStepParams: IStepParams;
FParam: Variant;
public
procedure SetUp; override;
procedure TearDown; override;
procedure R... |
unit ExtAIMsgActions;
interface
uses
Classes, SysUtils,
ExtAICommonClasses, ExtAISharedNetworkTypes, ExtAISharedInterface;
// Packing and unpacking of Actions in the message
type
TExtAIMsgActions = class
private
// Main variables
fStream: TKExtAIMsgStream;
// Triggers
fOnSendAction ... |
unit ExtractorComment;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TCommentForm = class(TForm)
DescMemo: TMemo;
OkBtn: TButton;
CancelBtn: TButton;
procedure FormResize(Sender: TObject);
public
function ShowComment... |
unit TaskBarMenu;
interface
uses
SysUtils, Classes, Menus, Messages, Windows, Forms, Controls;
type
TTaskBarMenu = class(TPopupMenu)
private
hookHandle : THandle;
oldWndProc: Pointer;
newWndProc: Pointer;
protected
procedure Hook;
procedure UnHook;
procedure AppWnd... |
unit Model.PlanilhaEntradasSPLOG;
interface
uses Generics.Collections;
type
TPlanilhaEntradaSPLOG = class
private
FCodigoUltimaOcorrencia: String;
FICMSTransporte: String;
FFreteValor: String;
FPesoCalculado: String;
FPares: String;
FPlacaColeta: String;
FNumeroFatura: String;
... |
object fmProcedureListOptions: TfmProcedureListOptions
Left = 410
Top = 219
BorderIcons = [biSystemMenu]
BorderStyle = bsDialog
Caption = 'Procedure List Configuration'
ClientHeight = 196
ClientWidth = 526
Color = clBtnFace
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Heig... |
unit uDMMSS;
interface
uses
System.SysUtils, System.Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def,
FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, FireDAC.VCLUI.Wait,
FireDAC.Phys.ODBCBase, FireDAC.Phys.MSSQL, FireDAC.Comp.UI, Da... |
unit MFichas.Model.Caixa.Metodos.Suprimento;
interface
uses
System.SysUtils,
System.Bluetooth,
MFichas.Model.Caixa.Interfaces,
MFichas.Model.Entidade.CAIXA,
MFichas.Model.Entidade.CAIXAOPERACOES,
MFichas.Model.Conexao.Interfaces,
MFichas.Model.Conexao.Factory,
MFichas.Controller.Types;
type
TMode... |
unit samples;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
dialogs,sysutils,sound_engine,file_engine,main_engine;
const
MAX_SAMPLES=30;
MAX_CHANNELS=6;
type
tipo_nombre_samples=record
nombre:string;
restart,loop:boolean;
end;
tipo_audio=record
long:dword;
playin... |
{$REGION 'Copyright (C) CMC Development Team'}
{ **************************************************************************
Copyright (C) 2015 CMC Development Team
CMC is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Sof... |
unit FindUnit.PasParser;
interface
uses
ComCtrls, Classes, SysUtils, DelphiAST.Classes, Generics.Collections, FindUnit.Utils,
SimpleParser.Lexer.Types, FindUnit.Header, FindUnit.IncluderHandlerInc;
type
TPasFile = class(TObject)
private
FHashKey: string;
FLastModification: TDateTime;
FOriginUnit... |
PROGRAM textToAscii;
USES
Sysutils,
crt;
VAR
text : STRING;
i : LONGINT;
BEGIN
TextBackground(White);
TextColor(Black);
ClrScr();
writeln('Insert text you want to code!');
writeln('-----------------------------');
write('Text... |
object HouseRepository: THouseRepository
OldCreateOrder = False
OnCreate = DataModuleCreate
Height = 513
Width = 751
object HousesQuery: TFDQuery
SQL.Strings = (
'SELECT '
' h."ID", '
' h."Favorite", '
' h."Address", '
' h."City", '
' h."State", '
... |
{
Clever Internet Suite
Copyright (C) 2013 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clDnsServer;
interface
{$I clVer.inc}
{$IFDEF DELPHI7}
{$WARN UNSAFE_CODE OFF}
{$WARN UNSAFE_TYPE OFF}
{$WARN UNSAFE_CAST OFF}
{$ENDIF}
uses
{$IFNDEF DELPHIXE2}
Classes, SysUtils, Contnrs... |
unit clEnderecoAgente;
interface
uses
clEndereco, clConexao;
type
TEnderecoAgente = class(TEndereco)
private
function getCodigo: Integer;
function getSequencia: Integer;
function getTipo: String;
function getCorrespondencia: Integer;
procedure setCodigo(const Value: Integer);
procedure... |
unit IPersist;
interface
uses
System.Variants, System.Classes, db, System.SysUtils, DBTables, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Async,
FireDAC.Phys, FireDAC.Phys.FB, FireDAC.Phys.FBDef, FireDAC... |
program ROMAN ( OUTPUT ) ;
//***********************
// write roman numerals
//***********************
var X , Y : INTEGER ;
begin (* HAUPTPROGRAMM *)
Y := 1 ;
repeat
X := Y ;
WRITE ( X , ' ' ) ;
while X >= 1000 do
begin
WRITE ( 'm' ) ;
X := X - 1000
end (* while *) ;
... |
unit Commune_APIUtilities;
{ ==============================================================================================================================
Centralize Utilities for accessing the Windows API
MIT License
Copyright (c) 2020 Keith Latham
Permission is hereby granted, free of charge, to any pers... |
unit AutoCompletePanel;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs,
ExtCtrls, StdCtrls, LCLType;
type
TAutocompleteEvent = procedure(Sender: TObject; SearchText: string; Items: TStrings) of object;
{ TAutoCompletePanel }
TAutoCompletePanel = cla... |
unit DB.Conect;
interface
Uses
Vcl.ComCtrls,
Base.Color,
FireDAC.Comp.Client,
Base.GetConexao,
Winapi.Messages,
Vcl.Dialogs,
System.JSON,
Base.System.JSON.Helper,
Base.System.JsonFiles,
System.SysUtils,
System.Win.ScktComp,
Winapi.Windows,
Base.Key,
Base.Crypt,
Form.Modulo;
Type
TDBCo... |
unit uFirebirdConnection;
interface
uses uIConnection, Data.DB, Data.SqlExpr, System.SysUtils, Data.DBXFirebird;
type
TFirebirdConnection = class(TInterfacedObject, IConnection)
private
FConnection: TSQLConnection;
function GetConnection: TSQLConnection;
public
constructor Create(EndDB: string);
... |
{ Date Created: 5/25/00 5:01:02 PM }
unit InfoTRCKCODETable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TInfoTRCKCODERecord = record
PCode: String[2];
PDescription: String[30];
End;
TInfoTRCKCODEBuffer = class(TDataBuf)
protected
function Ptr... |
unit fHexadecimalEntry;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, DanHexEdit,cMegaROM, cConfiguration;
type
TfrmHex = class(TForm)
lblDescription: TLabel;
txtHexEntry: TDanHexEdit;
cmdOK: TButton;
cmdCancel: TButton;
procedu... |
{*******************************************************}
{ }
{ EldoS MlGen Demo }
{ }
{ Copyright (c) 1999-2003 Mikhail Chernyshev }
{ ... |
unit clContatoEntregador;
interface
uses
clContatos, clConexao;
type
TContatoEntregador = class(TContatos)
private
constructor Create;
destructor Destroy;
function getCodigo: Integer;
function getSequencia: Integer;
procedure setCodigo(const Value: Integer);
procedure setSequencia(con... |
unit fcDemoRichEdit;
{
//
// Components : TfcDemoRichEdit
//
// Copyright (c) 1999 by Woll2Woll Software
//
}
interface
{$i fcIfDef.pas}
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ComCtrls;
type
TfcDemoRichEdit = class(TCustomRichEdit)
private
ReloadStream:... |
unit sdlgameinterface;
{
$Id: sdlgameinterface.pas,v 1.4 2005/08/03 18:57:31 savage Exp $
}
{******************************************************************************}
{ }
{ JEDI-SDL : Pascal units for SDL - Simple DirectMed... |
unit Main;
{$mode objfpc}{$H+}
interface
uses
Classes, Forms, Controls, Dialogs, StdCtrls, ComCtrls, Menus, ActnList,
ExtCtrls, LCLIntf, LCLType, IRC, ChannelList, SysUtils, IRCViewIntf;
type
{ TMainForm }
TMainForm = class(TForm, IIRCView)
ActionExit: TAction;
ActionPart: TAction;
Acti... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit define_datasrc;
interface
uses
define_dealitem;
type
TDealDataSource = (
src_unknown,
src_all,
src_ctp,
src_offical,
src_tongdaxin,
src_tonghuasun,
src_dazhihui,
src_sina,
src_163,
src_qq,
src_xq
);
const
DataSrc_All = 1;
DataSrc... |
unit mnSynParamsHint;
{$mode objfpc}{$H+}
{**
* MiniLib project
*
* This file is part of the "Mini Library"
*
* @url http://www.sourceforge.net/projects/minilib
* @license modifiedLGPL (modified of http://www.gnu.org/licenses/lgpl.html)
* See the file COPYING.MLGPL, included in this distribu... |
program FolgenMaximum (input, output);
{ liest eine Folge von 5 integer-Zahlen ein und bestimmt das Maxmimum }
const
FELDGROESSE = 5;
type
tIndex = 1..FELDGROESSE;
tZahlenFeld = array [tIndex] of integer;
var
Feld : tZahlenFeld;
Maximum : integer;
i,
MaxPos : tIndex;
begin
... |
{ SYN <input file name> [ options ]
*
* Version of the SST program specific to SYN input files.
}
program syn;
%include 'sst2.ins.pas';
const
max_msg_parms = 8; {max parameters we can pass to a message}
var
fnam_in, {input file name from command line}
fnam_out, ... |
unit U_SaveLoadOptions;
interface
uses IniFiles, Variants;
const
IniFileName = 'options.ini';
type
ROptionIni = record
section : string;
key : string;
value : Variant;
end;
TOptionsIni = record
options : array of ROptionIni;
procedure AddOption(section, key: string; value: Varia... |
(* ***** BEGIN LICENSE BLOCK *****
* Version: GNU GPL 2.0
*
* The contents of this file are subject to the
* GNU General Public License Version 2.0; you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
* http://www.gnu.org/licenses/gpl.html
*
... |
unit MaskEditFMX.Main;
interface
uses
System.SysUtils, System.Classes, FMX.Types, FMX.Controls,
FMX.Controls.Presentation, FMX.Edit, Providers.Mascaras.Types,
Providers.Mascaras.Factory, System.UITypes;
type
TMaskEditFMX = class(TEdit)
private
FMaskType: TMaskType;
BackspaceDeleteKey: Boolean;
co... |
{ GDAX/Coinbase-Pro client library
Copyright (c) 2018 mr-highball
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, co... |
unit vtPILSizedImgCopyDlg;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, vtPngImgList,
vtInterfaces
;
type
TvtPILCopySizedDlg = class(TForm)
cbxFrom: TGroupBox;
rb16from: TRadioButton;
Label1: TLabel;
rb24from: TRadioB... |
unit Rects;
// Copyright (c) 1996 Jorge Romero Gomez, Merchise.
interface
uses
Windows;
function RectSize( const R : TRect) : TPoint;
function RectFromSize( x, y : integer; const Size : TPoint) : TRect;
function RectFromBounds( x, y : integer; Width, Height : integer ) : TRect;
procedure MovePoint( v... |
unit RTTIUtils;
interface
type
TRTTIUtils = class
private
public
class procedure ExecutarMetodo<T : Class>(Sender : T; aMethod : String; aParam : String);
end;
implementation
uses
System.RTTI;
{ TRTTIUtils }
class procedure TRTTIUtils.ExecutarMetodo<T>(Sender : T; aMethod :... |
{
$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 fmuFiscalMemory;
interface
uses
// VCL
ExtCtrls, StdCtrls, Controls, Classes, SysUtils, Buttons, Graphics,
// This
untPages, untUtil, untDriver;
type
{ TfmFiscalMemory }
TfmFiscalMemory = class(TPage)
grpRecordsSum: TGroupBox;
lblSumm1: TLabel;
lblSumm3: TLabel;
lblSumm2: TLabel;
... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit aeBoundingVolume;
interface
uses types, windows, aeMaths, aeRenderable, aeConst, aetypes;
// AE_BOUNDINGVOLUME_TYPE_UNINITILIZED means that we have an abstract, not good!
type
TaeBoundingVolumeType = (AE_BOUNDINGVOLUME_TYPE_UNINITILIZED, AE_BOUNDINGVOLUME_TYPE_OBB);
type
TaeBoundingVolume = class(TaeRender... |
unit K395658761;
{* [Requestlink:395658761] }
// Модуль: "w:\archi\source\projects\Archi\Tests\K395658761.pas"
// Стереотип: "TestCase"
// Элемент модели: "K395658761" MUID: (506A965C0032)
// Имя типа: "TK395658761"
{$Include w:\archi\source\projects\Archi\arDefine.inc}
interface
{$If Defined(nsTest) AND Defined(I... |
inherited dmConfiguracaoLayouts: TdmConfiguracaoLayouts
OldCreateOrder = True
inherited qryManutencao: TIBCQuery
SQLInsert.Strings = (
'INSERT INTO CONFIGLAYOUT'
' (ITEMIDLAYOUT, CAMPO, POSINICIAL, TAMANHO, DESCRICAO, VALOR_DE' +
'FAULT, TRATAMENTO, ORDEM, IDLINHA, CAMPOREF, DT_ALT... |
program binaryHandling(output);
const
MIN = 1;
MAX = 5;
type
bit = 0 .. 1;
bitString = array [MIN .. MAX] of bit;
var
b : bitString;
procedure printBits(var b : bitString);
var i : integer;
begin
for i := MIN to MAX do
write(b[i]);
writeln;
end;
function to_decimal(b : bitString) : integer;
... |
unit MdiChilds.FmPluginInstaller;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, MdiChilds.CustomDialog, JvComponentBase, JvDragDrop, Vcl.ComCtrls, JvExComCtrls, JvComCtrls, JvCheckTreeView,
Vcl.StdCtrls, Vcl.... |
unit TestBaseJsonUnmarshalUnit;
interface
uses
TestFramework, Classes, SysUtils;
type
TTestBaseJsonUnmarshal = class abstract(TTestCase)
protected
procedure SaveTestDataToFile(s: String);
function EtalonFilename(TestName: String): String;
end;
implementation
{ TTestOptimizationParametersToJson }
u... |
unit PaletteIO;
interface
uses
Palettes;
procedure JascLoadFromFile( const Filename : string; var LogPalette );
procedure JascSaveToFile( const Filename : string; const LogPalette );
implementation
uses
SysUtils, GDI;
procedure JascLoadFromFile( const Filename : string; var LogPalette );
var... |
unit MainForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Menus, ExtCtrls, StdCtrls, ComCtrls, ImgList, Registry,
xLngManager,
FR_View, FR_Desgn, FR_Class, FR_Rich, FR_ChBox, FR_Cross, FR_RRect, FR_BarC, FR_Shape, FR_Chart,
cxControls, cxConta... |
unit enRememberPassword;
(*-----------------------------------------------------------------------------
Название: enRememberPassword
Автор: mmorozov
Назначение: Форма для отсылки пользователю забытого пароля.
Версия: $Id: enRememberPassword.pas,v 1.24 2013/08/14 14:10:32 kostitsin Exp $
История:
$Lo... |
unit PrimTasksPanelMenu_Module;
// Модуль: "w:\common\components\gui\Garant\VCM\View\TasksPanel\PrimTasksPanelMenu_Module.pas"
// Стереотип: "VCMFormsPack"
// Элемент модели: "PrimTasksPanelMenu" MUID: (4C8DD8C602D3)
// Имя типа: "TPrimTasksPanelMenuModule"
{$Include w:\common\components\gui\sdoDefine.inc}
interface... |
unit uWorkSpace;
interface
uses
uWorkSpaceIntf, uEditorBase, Classes, Graphics, StdCtrls, Dialogs, uEditorIntf;
type
TWorkSpace = class(TInterfacedObject, IWorkSpaceIntf)
private
// 该类作为编辑器的代理。
FEditor: TEditorBase;
FIndex: Integer;
protected
// 获取索引
function GetIndex: Integer;
// 设置激活... |
unit TestUnmarshalAvoidanceZoneUnit;
interface
uses
TestFramework, SysUtils,
TestBaseJsonUnmarshalUnit,
System.Generics.Collections,
IAvoidanceZoneProviderUnit;
type
TTestUnmarshalAvoidanceZone = class(TTestBaseJsonUnmarshal)
private
procedure CheckEquals(Etalon: IAvoidanceZoneProvider; TestName: Str... |
// 为了兼容Lazarus与Delphi对于资源窗口数据中图片读取的处理
// 比如在Delphi中TPngImage是没有Size标识的,但Lazarus中一定有
// 于是只能进行修改,统一都有图片Size标识,但在Delphi读取时经过判断后跳过相关的
unit uImages;
interface
uses
System.Classes,
System.SysUtils,
Vcl.Graphics,
Vcl.Imaging.pngimage,
Vcl.Imaging.GIFImg,
Vcl.Imaging.GIFConsts;
type
TPngImage = class(Vcl.Im... |
unit FastMM4DataCollector;
{$I FastMM4Options.inc}
interface
type
TStaticCollector = record
strict private const
CDefaultPromoteGen1_sec = 1; // promote every second
CDefaultPromoteGen1Count = 1; // promote allocations with Count > 1
CGeneration1Size = 1024;
CGeneration2Size = 256;
CCollecte... |
unit Sorting;
{=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=]
Copyright (c) 2013, Jarl K. <Slacky> Holta || http://github.com/WarPie
All rights reserved.
For more info see: Copyright.txt
[=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=}
{$mode objfp... |
{$I ok_sklad.inc}
unit WBMovSetPT;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, ExtCtrls, StdCtrls, cxButtons,
ssFormStorage, ActnList, ssBaseSkinForm, ssBevel, ImgList, ssSpeedButton,
ssPanel, ssGradientPanel, ssBaseDlg, xB... |
unit RegularPolygon;
interface
uses
System.SysUtils, System.Classes, System.Types, System.Math,
FMX.Types, FMX.Controls, FMX.Objects, FMX.Graphics;
type
TRegularPolygon = class(TShape)
private
FNumberOfSides: Integer;
FPath: TPathData;
procedure SetNumberOfSides(const Value: Integer);
{ Priva... |
unit l3PrimString;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "L3"
// Автор: Люлин А.В.
// Модуль: "w:/common/components/rtl/Garant/L3/l3PrimString.pas"
// Начат: 05.02.2008 16:57
// Родные Delphi интерфейсы (.pas)
// Genera... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
{$MODE OBJFPC}
{$DEFINE RELEASE}
{$R-,Q-,S-,I-}
{$OPTIMIZATION LEVEL2}
{$INLINE ON}
program Marksman;
const
InputFile = 'ARCHER.INP';
OutputFile = 'ARCHER.OUT';
maxN = 2000;
maxC = 2000;
infty = High(QWord);
type
TCoord = SmallInt;
TCode = QWord;
TVector = record
x, y, z: Integer;
end;
TPoint =... |
{####################################################################################}
{ }
{ DATA AUTOR Descrição }
{----------- ------------------ -----------------------... |
{> P2ada test - mathematical stuff }
program NPTest6;
{ Mandelbrot set in text-mode. Standard Pascal with "Double" type }
{ G. de Montmollin 2003 }
procedure Mandelbrot_ASCII(mx,my: Integer);
procedure Plot_area_absolute( ar,br,ai,bi: Double; itmax: Integer );
const ncol=6;
type Com... |
unit UpdateAvoidanceZoneUnit;
interface
uses SysUtils, BaseExampleUnit;
type
TUpdateAvoidanceZone = class(TBaseExample)
public
procedure Execute(TerritoryId: String);
end;
implementation
uses AvoidanceZoneUnit, TerritoryContourUnit;
procedure TUpdateAvoidanceZone.Execute(TerritoryId: String);
var
... |
unit Col;
interface
uses
Classes;
const
NoIndex = -1;
type
TRelationshipKind = (rkUse, rkBelonguer);
type
CCollection = class of TCollection;
PCollection = ^TCollection;
TCollection =
class
public
constructor Create( aLimit, aDelta : integer; aRelKind : TRela... |
{
Clever Internet Suite
Copyright (C) 2014 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clDkimKey;
interface
{$I clVer.inc}
uses
{$IFNDEF DELPHIXE2}
Classes, SysUtils, Contnrs,
{$ELSE}
System.Classes, System.SysUtils, System.Contnrs,
{$ENDIF}
clConfig;
type
TclDkimKeyFlag =... |
program ex;
uses crt,Graph;
{описание абстрактного класса}
Type TChar=object
ch:char; {символ}
x,y:integer; {исходное положение}
constructor Init(ach:char; ax,ay:integer);
procedure Move(t:integer);
procedure Rel(t:integer); virtual;
end;
constructor TChar.Init(ach:char; ax,ay:integer);
begin
ch:=ach;
... |
unit m3DBActions;
{ Библиотека "M3" }
{ Автор: Люлин А.В. © }
{ Модуль: m3DBActions - }
{ Начат: 21.12.2007 11:19 }
{ $Id: m3DBActions.pas,v 1.3 2009/03/23 11:24:02 lulin Exp $ }
// $Log: m3DBActions.pas,v $
// Revision 1.3 2009/03/23 11:24:02 lulin
// - используем кошерный конструктор индекса потока ... |
unit DirectionUnit;
interface
uses
REST.Json.Types, SysUtils, System.Generics.Collections, Generics.Defaults,
JSONNullableAttributeUnit,
DirectionLocationUnit, DirectionStepUnit, NullableBasicTypesUnit;
type
/// <summary>
/// A course or path on which something is moving or pointing
/// </summary>
///... |
unit LUX.GPU.Vulkan.Pooler;
interface //#################################################################### ■
uses System.Generics.Collections,
vulkan_core,
LUX.GPU.Vulkan.Comman;
type //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$【型】
TVkPoolers<TVkDevice_:class> = cla... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.