text stringlengths 14 6.51M |
|---|
{************************************************}
{ }
{ ATPrintPreview- printing procedures }
{ Copyright (C) Alexey Torgashin }
{ http://uvviewsoft.com }
{ }
{*************... |
unit MWpasU;
// Please, don't delete this comment. \\
(*
Copyright Owner: Yahe
Copyright Year : 2007-2018
Unit : MWpasU (platform dependant)
Version: 1.4.5c
Contact E-Mail: hello@yahe.sh
*)
// Please, don't delete this comment. \\
(*
Description:
This unit contains the ... |
{******************************************************************************}
{ }
{ Delphi FB4D Library }
{ Copyright (c) 2018-2023 Christoph Schneider ... |
unit gCitizens;
//=============================================================================
// gCitizens.pas
//=============================================================================
//
// Responsible for managing citizens (creating, looking for work, death, etc)
//
//=========================================... |
unit UOrderedRawList;
interface
uses
Classes, URawBytes;
type
// Maintains a TRawBytes (AnsiString) list ordered to quick search withoud duplicates
{ TOrderedRawList }
TOrderedRawList = Class
private
FList : TList;
public
Constructor Create;
Destructor Destroy; Override;
Procedure Clear;... |
unit uModeloRelatorioController;
interface
uses
System.SysUtils, uDMModeloRelatorio, uRegras, uEnumerador, uDM, Data.DB,
Vcl.Forms, uFuncoesSIDomper, Data.DBXJSON, Data.DBXJSONReflect, uConverter;
type
TModeloRelatorioController = class
private
FModel: TDMModeloRelatorio;
FOperacao: TOperacao;
pr... |
{
This file is part of the Free Pascal run time library.
Copyright (c) 2008 by the Free Pascal development team
Tiff reader for fpImage.
See the file COPYING.FPC, included in this distribution,
for details about the copyright.
This program is distributed in the hope that it will be useful,
... |
unit Translate2TextTest;
{* Преобразовать таблицу или её часть в текст }
// Модуль: "w:\common\components\rtl\Garant\Daily\Translate2TextTest.pas"
// Стереотип: "TestCase"
// Элемент модели: "TTranslate2TextTest" MUID: (4C3463D800E5)
{$Include w:\common\components\rtl\Garant\Daily\TestDefine.inc.pas}
interface
{$I... |
unit UWIZOperationFee_Custom;
{$mode delphi}
{$modeswitch nestedprocvars}
{ Copyright (c) 2018 Sphere 10 Software (http://www.sphere10.com/)
Distributed under the MIT software license, see the accompanying file LICENSE
or visit http://www.opensource.org/licenses/mit-license.php.
Acknowledgements:
Ugochukwu ... |
(*
* TASK #2 - Summations
*
* GUEST LANGUAGE: THIS IS THE C VERSION OF ch-2.pl, suitable for
* the Free Pascal compiler.
*)
uses sysutils;
const maxints = 256;
type intarray = array [0..maxints-1] of integer;
var debug : boolean;
(* process_args( nel, v );
* Process command line arguments,
* specifical... |
unit objItemPedido;
interface
uses System.SysUtils, FireDAC.Comp.Client, Vcl.Dialogs;
type
TItemPedido = class(TObject)
private
FnumeroPedido : Integer;
FcodigoItem : Integer;
Fquantidade : Integer;
Fdesconto : Double;
Fconexao : TFDConnection;
FvalorTotal : ... |
unit IOUnit; {$Z4}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "GCI"
// Модуль: "w:/shared/GCI/IOUnit.pas"
// Delphi интерфейсы для адаптера (.pas)
// Generated from UML model, root element: <<Interfaces::Category>> shared::G... |
// Author : Thierry Parent
// Version : 12.4
//
// HomePage : http://www.codeproject.com/csharp/TraceTool.asp
// Download : http://sourceforge.net/projects/tracetool/
// See License.txt for license informationunit unt_XTraceOptions;
unit unt_XTraceTable;
{$WARN SYMBOL_PLATFORM OFF}
interface
uses
Classes , ComO... |
unit CacheManagerAuto;
interface
uses
Windows, ActiveX, ComObj, CacheManager_TLB, CacheObjects, CacheManagerRDO;
type
TCacheManagerAuto = class(TAutoObject, ICacheManagerAuto)
protected
function ContainsFolder(const Name: WideString): WordBool; safecall;
function GetFolderIterator(const Folder: WideStr... |
unit LisDiaCom;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, Mask, ComCtrls, DateUtils, JvToolEdit, JvBaseEdits,
JvExMask, JvSpin;
type
TFLisDiaCom = class(TForm)
Label7: TLabel;
Label8: TLabel;
GroupBox1: TGroupBox;
lbFec: TLabel... |
unit uExportarParametros;
interface
uses
System.SysUtils, System.Classes, uArquivoTexto, uDM, uFireDAC,
uParametroVO, System.Generics.Collections, uGenericDAO;
type
TExportarParametros = class
private
FArquivo: string;
public
procedure Exportar();
function Importar(): TObjectList<TParametroVO... |
unit QRJpegImage;
{$I QRDEFS.INC}
interface
uses quickrpt, DB, graphics, Windows, classes, jpeg, controls;
type
TQRDBJPGImage = class(TQRPrintable)
private
FField : TField;
FDataSet : TDataSet;
FDataField : string;
FPicture: TPicture;
FStretch: boolean;
FCenter: boolean;
... |
unit TTSNOTLISTTAGTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TTTSNOTLISTTAGRecord = record
PCifFlag: String[1];
PLoanNum: String[20];
PTrackCode: String[8];
PCategorySub: Integer;
PSeparateBy: String[10];
PSortBy: String[120];
En... |
unit CustNodesForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, StdCtrls;
type
TForm1 = class(TForm)
TreeView1: TTreeView;
Button1: TButton;
Label1: TLabel;
procedure TreeView1CreateNodeClass(Sender: TCustomTreeView;
var Nod... |
unit View.CadastroEntregadores;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, dxSkinsCore,
dxSkinsDefaultPainters, cxClasses, dxLayoutContainer, ... |
unit uFuncoes;
interface
uses
System.Types, Winapi.Windows, Vcl.Dialogs, IniFiles, Grids, DBGrids,
uDMServer, IdStackWindows, System.SysUtils, Vcl.Forms,
FireDAC.Comp.Client, FireDAC.Phys.IBWrapper;
Type TConfigINI = record
psCaminhoDB : String;
psPorta : String;
end;
Type TFuncoes = c... |
program TestRtfDoc;
{
Test program for RtfDoc unit.
}
{$IFDEF FPC}
{$MODE Delphi}
{$ELSE}
{$APPTYPE CONSOLE}
{$ENDIF}
{$R+,Q+}
uses
SysUtils,
RtfPars, {Free Pascal unit with TRtfParser class and rtf constants}
RtfDoc; {Descendant class used in this program}
begin
with TRtfDoc.Create do {Create T... |
unit clServicosContratos;
interface
uses clConexao;
type
TServicosContratos = class(TObject)
private
constructor Create;
destructor Destroy;
function getCadastro: Integer;
function getCodigo: Integer;
procedure setCadastro(const Value: Integer);
procedure setCodigo(const Value: Integer);... |
unit vcmMenuManagerRes;
// Модуль: "w:\common\components\gui\Garant\VCM\implementation\vcmMenuManagerRes.pas"
// Стереотип: "UtilityPack"
// Элемент модели: "vcmMenuManagerRes" MUID: (4B8E967F00BE)
{$Include w:\common\components\gui\Garant\VCM\vcmDefine.inc}
interface
{$If NOT Defined(NoVCM)}
uses
l3IntfUses
, l3... |
unit Thread.ImportarPlanilhaEntradaEntregas;
interface
uses
System.Classes, Dialogs, Windows, Forms, SysUtils, Messages, Controls, System.DateUtils, System.StrUtils,
Generics.Collections, Control.Entregas, Control.PlanilhaEntradaEntregas, Control.EntregadoresExpressas,
Control.DestinosTransportes, FireDAC.Comp.... |
unit UWIZSendPASC_EnterRecipient;
{$mode delphi}
{$modeswitch nestedprocvars}
{ Copyright (c) 2018 Sphere 10 Software (http://www.sphere10.com/)
Distributed under the MIT software license, see the accompanying file LICENSE
or visit http://www.opensource.org/licenses/mit-license.php.
Acknowledgements:
Ugochu... |
program GRAPH1 ( OUTPUT ) ;
//***************************************
// graphic representation of a function
// f(x) = exp(-x) * sin(2*pi*x)
//***************************************
const D = 0.0625 ; // 1 / 16, 16 lines for interval [x, x+1]
S = 40 ; // 40 character widths for interva... |
unit evdBadEVDToEmptyDocumentTranslator;
// Модуль: "w:\common\components\gui\Garant\Everest\evdBadEVDToEmptyDocumentTranslator.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TevdBadEVDToEmptyDocumentTranslator" MUID: (53BC0D790357)
{$Include w:\common\components\gui\Garant\Everest\evDefine.inc}
interface
use... |
unit l3MultiThreadIntegerList;
// Модуль: "w:\common\components\rtl\Garant\L3\l3MultiThreadIntegerList.pas"
// Стереотип: "UtilityPack"
// Элемент модели: "l3MultiThreadIntegerList" MUID: (53A2C805017C)
{$Include w:\common\components\rtl\Garant\L3\l3Define.inc}
interface
uses
l3IntfUses
, l3ProtoObject
, l3Proto... |
unit ce_symstring;
{$I ce_defines.inc}
interface
uses
ce_observer, ce_interfaces, ce_project, ce_synmemo, ce_common;
type
(**
* Enumerates the symbol kinds, used to index an associative array.
*)
TCESymbol = (CAF, CAP, CFF, CFP, CI, CPF, CPP, CPO, CPR, CPN, CPFS, CPCD);
(**
* TCESymbolExpander is... |
unit ExcludedTests;
{* Тесты, которые не надо запускать - [$227477825]. }
// Модуль: "w:\common\components\rtl\Garant\DUnitTuning\ExcludedTests.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TExcludedTests" MUID: (4C44675A0269)
{$Include w:\common\components\rtl\Garant\DUnitTuning\tfwDefine.inc}
interface
{$... |
unit CapitolTownsSheet;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, VisualControls, ObjectInspectorInterfaces, PercentEdit,
GradientBox, FramedButton, SheetHandlers, ExtCtrls, ComCtrls,
InternationalizerComponent;
const
tidTownName = 'Town';
ti... |
unit ResumenSel;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, Buttons, Vcl.Imaging.pngimage;
type
TFResumenSel = class(TForm)
lbCampo: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
Label5: TLabel;
Label6... |
unit StockDayData_Parse_Sina_Html3;
interface
uses
win.iobuffer,
define_stockday_sina,
define_stock_quotes,
QuickList_Int;
// 这里一个原则 尽量不引入 AdataAccess 这种外部 数据访问 独立性强
//function DataParse_DayData_Sina(ADataAccess: TStockDayDataAccess; AResultData: PIOBuffer): Boolean; overload;
function DataPar... |
unit cConfiguration;
interface
uses GR32, INIFiles, SysUtils, classes, forms;
type
TRRConfig = class
private
_Changed : Boolean;
_LeftTextColour : TColor32;
_MidTextColour : TColor32;
_GridlineColour : TColor32;
_OptionsFilename : String;
_Palette : String;
_GridlinesEnabled,_Gridline... |
{*************************************************************************}
{ TTodoList component }
{ for Delphi & C++Builder }
{ }
{ Copyright © 20... |
unit ZMDllLoad19;
(*
ZMDLLLoad19.pas - Dynamically load the DLL
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 t... |
{*******************************************************************************
作者: dmzn@163.com 2010-8-6
描述: 服务器模块
*******************************************************************************}
unit UROModule;
{$I Link.Inc}
interface
uses
SysUtils, Classes, SyncObjs, uROIndyTCPServer, uROClient, u... |
unit m3NewStorageStreamPrim;
// Модуль: "w:\common\components\rtl\Garant\m3\m3NewStorageStreamPrim.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "Tm3NewStorageStreamPrim" MUID: (5448F0A40180)
{$Include w:\common\components\rtl\Garant\m3\m3Define.inc}
interface
uses
l3IntfUses
, m3CommonStorageStream
, m3St... |
unit MP3Handler;
interface
uses
VoyagerInterfaces, Classes, Controls, MP3Player, MPlayer;
type
TMP3Handler =
class( TInterfacedObject, IMetaURLHandler, IURLHandler )
public
constructor Create;
destructor Destroy; override;
private
fPlayers : TStringLis... |
//****************************************************************
//
// Inventory Control
//
// Copyright (c) 2002-2005 TAI, Failproof Manufacturing Systems.
//
//****************************************************************
//
// Change History
//
// 09/14/2004 David Verespey Create Form
... |
unit DelphiUp.View.Services.Utils;
interface
uses
FMX.Objects;
type
TServiceUtils = class
private
public
class procedure ResourceImage( aResource : String; aImage : TImage);
end;
implementation
uses
System.Classes, System.Types;
{ TServiceUtils }
class procedure TServic... |
unit UFormConv;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Misc;
type
TFormConv = class(TForm)
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
edX0: TEdit;
edX1: TEdit;
edY1: TEdit;
edY0: TEdit;
edYmin: TEdit;
BtnOk: TB... |
///
/// MVCBr.FormView - implements base class of FormView
/// Auth: amarildo lacerda
/// Date: jan/2017
{
Changes:
29-mar-2017
+ MainViewEvent - send ViewEvent to MainView by: amarildo lacerda
+ ViewEventOther - send ViewEvent to other VIEW
}
unit MVCBr.FormView;
interface
uses {$IFDEF LINUX} {$ELSE} {... |
unit GX_OpenFileConfig;
interface
uses
Classes, Controls, Forms, StdCtrls, Buttons, ComCtrls, ExtCtrls,
GX_ConfigurationInfo, GX_BaseForm;
type
TIDEOverride = class(TStringList)
private
function GetOverrideOpenUnit: Boolean;
procedure SetOverrideOpenUnit(Value: Boolean);
function Get... |
unit NotifyUnit;
// Модуль: "w:\garant6x\implementation\Garant\tie\Garant\GblAdapterLib\NotifyUnit.pas"
// Стереотип: "Interfaces"
// Элемент модели: "Notify" MUID: (45EEA85502B4)
{$Include w:\garant6x\implementation\Garant\nsDefine.inc}
interface
uses
l3IntfUses
, BaseTypesUnit
;
type
TNotifyType = (
NT_LONG... |
{*********************************************************}
{* VPSQLPARADOXDIALECT.PAS 1.03 *}
{*********************************************************}
{* ***** BEGIN LICENSE BLOCK ***** *}
{* Version: MPL 1.1 ... |
unit zsAgentApp;
interface
uses
Windows, Messages, Sysutils,
BaseApp, BaseWinApp, define_zsprocess;
type
TZSAgentAppData = record
ZsProcess : TZsProcess;
ZsMainWnd : TZsWndMain;
end;
TzsAgentApp = class(TBaseWinApp)
protected
fZSAgentAppData: TZSAgentAppData;
functio... |
unit UCommandLine;
interface
function GetCmdLineSwitch(const ASwitch: string; const IgnoreCase: Boolean = True): Boolean;
function GetCmdLineSwitchValue(out AValue: string; const ASwitch: string; const IgnoreCase: Boolean = True): Boolean;
function IsCmdLineSwitch(index:Integer):Boolean;
implementation
... |
unit alcuRegionImportTaskPrim;
// Модуль: "w:\archi\source\projects\PipeInAuto\Tasks\alcuRegionImportTaskPrim.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TalcuRegionImportTaskPrim" MUID: (5408670901C0)
{$Include w:\archi\source\projects\PipeInAuto\alcuDefine.inc}
interface
{$If Defined(ServerTasks)}
uses
... |
unit frm_clientes;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ComCtrls, Buttons,
StdCtrls, ExtCtrls, ActnList, DBGrids, EditBtn, MaskEdit, Menus, Grids,
RTTIGrids, RTTICtrls, cs_cad, m_label, m_edit, m_combobox, m_button,
m_maskedit, m_dbgrid, m_bitbtn, ... |
unit vulkan_core;
(*
** Copyright 2015-2021 The Khronos Group Inc.
**
** SPDX-License-Identifier: Apache-2.0
*)
(*
** This header is generated from the Khronos Vulkan XML API Registry.
**
*)
interface //#################################################################### ■
uses LUX.Code.C;
const DLLNAME = 'vulkan... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls,
fasthtmlparser;
type
TForm1 = class(TForm)
Button1: TButton;
Memo1: TMemo;
bGetElementByID: TButton;
pr... |
unit ATxUserTools;
interface
uses
Classes, Controls;
type
TATUserTool = record
FCaption: string;
FCommand: WideString;
FParams: WideString;
FActions: string;
end;
TATUserTools = array[1..8] of TATUserTool;
procedure ClearUserTool(var Tool: TATUserTool);
procedure ClearUserTools(var Tools: T... |
unit srvMJDService;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.SvcMgr, Vcl.Dialogs, uServidorThread;
type
TMJDService = class(TService)
procedure ServiceStart(Sender: TService; var Started: Boolean);
procedure ServiceStop(Sender: TSe... |
unit Constants;
interface
uses
SysUtils;
const
// Metrik
MET_FIELD_SPACE = 3;
MET_FIELD_SIZE = 37;
MET_HALFTAB_SIZE = (MET_FIELD_SIZE+MET_FIELD_SPACE) div 2; // 20
MET_PREVIEW_SIZE_RATIO = 0.30;
MET_PERCENT_PNL_TIME = 0.28;
MET_PERCENT_PNL_STONES = 0.47;
MET_OUTER_MARGIN = 8;
MET_... |
{*******************************************************************************
作者: dmzn@163.com 2011-11-30
描述: 查看会员信息
*******************************************************************************}
unit UFormMemberView;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Control... |
unit MMO.ServerClient;
interface
uses
IdContext, MMO.Packet, Classes, MMO.Types;
type
TServerClient<ClientType> = class abstract
private
var m_context: TIdContext;
protected
var m_sessionId: TSessionId;
public
constructor Create(AContext: TIdContext);
destructor Destroy; overr... |
{ ***************************************************************************** }
{ * ini,section text library,writen by QQ 600585@qq.com * }
{ * https://github.com/PassByYou888/CoreCipher * }
(* https://github.com/PassByYou888/ZServer4D *)
{ ************************... |
unit xpr.opcodes;
{
Author: Jarl K. Holta
License: GNU Lesser GPL (http://www.gnu.org/licenses/lgpl.html)
stuff
}
{$I express.inc}
interface
uses
SysUtils;
type
EBytecode = (
LOAD_CONST,
LOAD,
STORE_FAST,
DISCARD_TOP,
COPY_FAST,
JMP_IF_FALSE,
JMP_IF_TRUE,
JUMP, {ALIASES:... |
$LENGTH 44
$TITLE INDCOM User command processor for INDENT
module INDCOM;
(*$Y20
$HEADER INDCOM.HDR
*)
$PAGE GLOBAL declarations for program
(*$X10
$OPTIONS NOSOURCE
*)
$INCLUDE INDENT.TYP
(*$X10
$OPTIONS SOURCE
*)
public var
LINE: TEXTLINE; (* processed input line *)
THIS_TOKEN, (* cur... |
{ *********************************************************** }
{ * TForge Library * }
{ * Copyright (c) Sergey Kasandrov 1997, 2017 * }
{ *********************************************************** }
unit tfAlgServ;
interface
{$I TFL.inc}
{$R-}
u... |
unit FFSReportProgress;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, FFSColorLabel, extctrls, ffsTypes, ffsUtils;
type
TProgressFinishEvent = procedure(Sender: TObject) of object;
TStatusProc = function(ID: integer):TFFSReportStatus of object;
... |
{ CoreGraphics - CGContext.h
* Copyright (c) 2000-2003 Apple Computer, Inc.
* All rights reserved.
}
{ Pascal Translation Updated: Peter N Lewis, <peter@stairways.com.au>, August 2005 }
{
Modified for use with Free Pascal
Version 210
Please report any bugs to <gpc@microbizz.nl>
}
{$mode macpas}
{... |
{ 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 mp_utils;
{$mode objfpc}{$H+}
interface
uses SysUtils;
type
{IP Address record}
TIPAdresse = record
{ IP address bytes}
Oct1,
Oct2,
Oct3,
Oct4:Byte;
end;
{ -- Converts string to IP address record}
function StrToIP(const Value:String):TIPAdresse;
{ -- Converts IP Address record to st... |
Program Aufgabe8;
{$codepage utf8}
Var Zahl: Integer;
Fakultaet: Integer = 1;
I: Integer;
Begin
Write('Bitte gib deine Zahl ein: ');
Read(Zahl);
If Zahl < 0 Then
WriteLn('Die Fakultät von negativen Zahlen ist nicht definiert!')
Else If Zahl = 0 Then Begin
WriteLn('Eigentlich ... |
unit sdBessel;
{Double precision special functions: Bessel functions and related}
interface
{$i std.inc}
{$ifdef BIT16}
{$N+}
{$endif}
{$ifdef NOBASM}
{$undef BASM}
{$endif}
(*************************************************************************
DESCRIPTION : Double precision Bessel functions and relat... |
{Demo to illustrate the use of the OnStreamRequest and OnImageRequest events
with TFrameViewer.
For the purpose of this demo, the streams are obtained from existing files,
the demo.htm files in the C:\THTML(Demo) directory (assiming the default
installation is used).
Usage:
Enter the Base path where... |
(* TOPOLOGICAL SORT from Wirth's Book *)
PROGRAM topsort(input,output);
TYPE lref = ^leader;
tref = ^trailer;
leader = RECORD
key : INTEGER;
count: INTEGER;
trail: tref;
next : lref;
END;
trailer = RECORD
id : lref;
next : tref
END;
VAR head,tail,p,q: lref;
t: tref;
... |
unit mod_tappymath;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Types, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
// LCL
ExtCtrls, LCLIntf, LCLType,
// TappyTux
tappyconfig, tappydrawer, tappymodules;
type
{ TTappyMath }
TTappyMath = class(TTappyModule)
private
gameScore... |
program lil2;
{$mode objfpc}{$H+}
{ QEMU VersatilePB Application }
{ Add your program code below, add additional units to the "uses" section if }
{ required and create new units by selecting File, New Unit from the menu. }
{ ... |
unit CustomersServices;
interface
uses
System.Generics.Collections, Customer, CustomersTDGU, System.SysUtils, Commons;
type
TServiceBase = class abstract
strict protected
FDM: TCustomersTDG;
public
constructor Create(DM: TCustomersTDG); virtual;
procedure Commit;
procedure Rollback;
proc... |
unit galivan_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
nz80,main_engine,controls_engine,gfx_engine,dac,rom_engine,pal_engine,
sound_engine,timer_engine,ym_3812;
function iniciar_galivan:boolean;
implementation
const
galivan_rom:array[0..2] of tipo_roms=(
(n:'1.1b';l:$8000;p:0;crc:... |
//=============================================================================
// sgGraphics.pas
//=============================================================================
//
// The Graphics unit is responsible for all of the drawing of anything to the
// screen or other surfaces. The ...OnScreen routines draw di... |
unit Mobile.Component;
interface
uses
System.SysUtils,
System.Types,
System.UITypes,
System.Classes,
System.Variants,
System.IniFiles,
IdCoderMIME,
FMX.Types,
FMX.Controls,
FMX.Forms,
FMX.Graphics,
FMX.Dialogs,
FMX.StdCtrls,
FMX.Controls.Presentation,
FMX.ListBox,
FMX.Objects,
FMX.Ta... |
unit module;
interface
uses types;
{$L ./module_asm.obj}
{сортировка вставками}
procedure sort( var head: ref_list );
pascal; external name 'sort';
{одноточечное скрещивание}
function crossing_one( osob1, osob2: word ) : longword;
pascal; external name 'crossing_one';
{двухточечное скрещивание}
function crossing_two(... |
unit GX_CodeOpt;
interface
uses
Classes, Controls, Forms, StdCtrls, ExtCtrls, ComCtrls, GX_BaseForm;
type
TfmCodeOptions = class(TfmBaseForm)
btnOK: TButton;
btnCancel: TButton;
pgeCodeOpt: TPageControl;
tabPaths: TTabSheet;
tabLayout: TTabSheet;
tabFonts: TTabSheet;
lb... |
unit DAO.VerbaCEP;
interface
uses DAO.Base, Model.VerbaCEP, Generics.Collections, System.Classes;
type
TVerbaCEPDAO = class(TDAO)
public
function Insert(aVerbas: Model.VerbaCEP.TVerbaCEP): Boolean;
function Update(aVerbas: Model.VerbaCEP.TVerbaCEP): Boolean;
function Delete(sFiltro: String... |
unit Tests.Rtti.Util;
{$mode objfpc}{$H+}
interface
uses
TypInfo, Rtti;
{$ifndef fpc}
type
CodePointer = Pointer;
TValueHelper = record helper for TValue
function AsUnicodeString: UnicodeString;
function AsAnsiString: AnsiString;
function AsChar: Char; inline;
function AsAnsiChar: AnsiChar;
... |
{
Copyright (C) 2013-2019 Tim Sinaeve tim.sinaeve@gmail.com
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable... |
unit f2SaveLoadManager;
interface
uses
furqContext;
const
cMaxSlotsNum = 7;
type
Tf2SaveLoadManager = class
private
f_SaveNameBase: string;
f_SavePath: string;
f_SaveNames: array [0..cMaxSlotsNum] of string;
function GetSaveExt(aIdx: Integer): string;
function pm_GetIsAnySaveExists: Boolean;
function... |
(*-------------------------------------------------------------*)
(* Neuhold Michael *)
(* Some initial tests with standard string Function *)
(*-------------------------------------------------------------*)
PROGRAM TestStringFunction;
VAR
s,s2: STRING;
... |
unit vcmDropDownMenuForChromeLike;
interface
uses
Classes,
Controls,
Messages,
Menus,
Graphics,
Types,
Windows,
vcmMainMenuForChromeLikeTypes,
vcmBaseMenuForChromeLike,
vcmMenuForChromeLikeItems;
type
TvcmDropDownMenuForChromeLike = class(TvcmBaseMenuForChromeLike)
private
f_Closing: Boolean;
f_InShow... |
unit UCommon;
interface
uses
Classes, uImage;
type
TObjList = class(TList)
private
FOwns: Boolean;
protected
function GetItem(Index: Integer): TObject;
procedure SetItem(Index: Integer; const Value: TObject);
procedure Notify(Ptr: Pointer; Action: TListNotification); override;
... |
unit Providers.Mascara.CNPJ;
interface
uses
Providers.Mascaras.Intf, System.MaskUtils, System.SysUtils;
type
TMascaraCNPJ = class(TInterfacedObject, IMascaras)
private
procedure RemovePontoTracoBarra(var Value: string);
public
function ExecMask(Value: string): string;
end;
implementation
{ TMasca... |
unit DdhAppX;
interface
uses
SysUtils, Windows, Messages, Classes,
Graphics, Controls, Forms, Dialogs, ShellApi, Menus;
type
TDdhAppExt = class(TComponent)
private
// design time clone or runtime Application
CurrApp: TApplication;
// window procedures
OldWndProc, NewWndProc: Pointer;
// t... |
program MINMAX(input, output);
const
MAX_NUMBER = 25;
var
size, i, number, min, max : integer;
list : array[0..MAX_NUMBER] of integer;
procedure read_list();
begin
write('Enter the numbers, input 1 to indicate termination: ');
size := 0;
number := 1;
while number <> 0 do begin
read(number);
list... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uAudioFH, MMSystem, Vcl.StdCtrls, math, ltc, ltcDecoder,
GradProgress, Vcl.Menus, Vcl.ComCtrls, DateUtils;
const
Buffers = 4;
Buffer... |
unit zsHelperForm;
interface
uses
Windows, Messages, SysUtils, Classes, Controls, Forms, StdCtrls, ExtCtrls,
BaseForm, zsHelperMessage, zsHelperDefine;
type
TZSHelperFormData = record
ZsHelperCmdWnd: HWND;
end;
TfrmZSHelper = class(TfrmBase)
btnbuy: TButton;
mmo1: TMemo;
b... |
unit uCadCliente;
interface
uses System.Classes,
Vcl.Controls,
Vcl.ExtCtrls,
Vcl.Dialogs,
ZAbstractConnection,
ZConnection,
ZAbstractRODataset,
ZAbstractDataset,
ZDataset,
System.SysUtils;
type
TCadCliente = class
private
ConexaoDB:TZConnection;
F_clienteId:In... |
unit MFichas.Model.Impressao.Constantes;
interface
const
FONTE_12PX = chr(27) + chr(33) + chr(1);
FONTE_14PX = chr(27) + chr(33) + chr(0);
QUEBRADELINHA = chr(10);
PULAR_1LINHA_ANTESDOPROXIMOTEXTO = chr(27) + chr(100) + chr(1);
ALINHAR_CENTRO = chr(27) + chr(97) + chr(49);
implementation
end.
|
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit Unit_GDSClasses;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, math, generics.collections,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons,
Unit_GDSdatatypes;
type
TReadBuffer = record
BufferBytes: array of Byte;
... |
unit serial1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, TAGraph, TASeries, Forms, Controls, Graphics,
Dialogs, StdCtrls, Grids;
type
{ TForm1 }
TForm1 = class(TForm)
BtnLoad: TButton;
BtnSave: TButton;
Button1: TButton;
OpenDialog1: TOpenDialog;
SaveDialog1: TSaveD... |
unit UTLInformation;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
dcDateEditBtn, RxCurrEdit, dcCalcEditBtn, StdCtrls, Mask, RxToolEdit, dcEditbtn, DataBuf,
TTSUTLTable, DataController, dcMemo, Buttons, dcLabel, sBitBtn, sLabel,
sMaskEdit, sCustomComboEdit, ... |
unit ItfwScriptEngineWordsPack;
// Модуль: "w:\common\components\rtl\Garant\ScriptEngine\ItfwScriptEngineWordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "ItfwScriptEngineWordsPack" MUID: (559BD7E00278)
{$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc}
interface
{$If NOT Defin... |
unit csProcessTask;
interface
uses
Classes, CsDataPipe, ddProgressObj, ddServerTask, l3LongintList, CsTaskTypes,
DT_types, DT_UserConst;
type
TddProcessTask = class;
TddTaskRunProc = procedure (aSelf: TddProcessTask; aProgressor: TddProgressObject) of object;
TddProcessTask = class(TddTaskItem)
private
... |
unit ColumnsOptionPart;
interface
uses
Classes, SearchOption_Intf, FMX.ListBox, FMX.Controls, UIWappedPartUnit;
type
TColumnsOptionPart = class(TAbsUIWrappedPart)
private
FListBox: TListBox;
FBtnAllSelect: TButton;
FBtnClear: TButton;
protected
FDBMSName: String;
//FColumns:... |
unit StockDetailData_Get_163;
interface
uses
BaseApp,
Sysutils,
UtilsHttp,
StockDayDataAccess,
define_dealitem,
win.iobuffer;
type
TDealDetailDataHeadName_163 = (
headNone,
headDealTime,
headDealPrice,
headDealPriceOffset,
headDealVolume,
headDealAmount,
headDealType);
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.