text stringlengths 14 6.51M |
|---|
UNIT UEquipes;
INTERFACE
USES UStructures;
PROCEDURE initEquipes ( VAR psg:equipe; VAR manC:equipe; VAR manU:equipe; VAR barca :equipe; VAR roma:equipe; VAR liv:equipe;VAR besiktas:equipe; VAR totenam :equipe;VAR bale:equipe; VAR munich:equipe; VAR chelsea :equipe; VAR juve:equipe; VAR seville:equipe; VAR done... |
namespace CirrusCache;
interface
uses
System.Collections.Generic;
type
Calculator = abstract class
public
method Calculate(aNumber: Int32): Int64; virtual; empty;
end;
// FibonacciNumberCalculator and CachedFibonacciNumberCalculator classes calculate Fibonacci numbers
// Note that Calculate method ... |
unit DynamicArrays;
{
Dynamic arrays and hashes for storing a various types of data.
Arrays:
THArray - Common array. Parent of all dynamic arrays.
THArrayObjects, THArrayByte, THArraySmallInt, THArrayWord, THArrayInt64,
THArrayLongWord, THArrayInteger, THArrayPointer, THArrayBoolean, THArrayDoub... |
Unit Xception; { Exception handling via Catch and Throw }
{$D+}
Interface
Type
Target = Record
Private: Array[1..10] of Byte; { Abstract Data Type }
Point: Pointer;
End;
ExceptionMode =
(ExceptionSet, ExceptionUsed);
Function Catch(Var Exception: Target): Exception... |
{
New script template, only shows processed records
Assigning any nonzero value to Result will terminate script
}
unit userscript;
// Called before processing
// You can remove it if script doesn't require initialization code
function Initialize: integer;
begin
Result := 0;
end;
// called for every... |
unit uI2XDLL;
interface
uses
Graphics,
SysUtils,
Classes,
Windows,
uStrUtil,
uFileDir,
OmniXML,
GR32,
GR32_Image,
MCMImage,
uHashTable,
MapStream,
uDWImage,
uI2XConstants,
uI2XMemMap;
const
MAX_BUFFER=10240;
AUTO_CLEANUP_DEFAULT_VALUE = 1; // 0 = off, 1 = on
... |
unit U_SP_Post_Add_Dates;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ComCtrls, ActnList;
type
TFDates = class(TForm)
Label3: TLabel;
Label6: TLabel;
Label1: TLabel;
DTP_Beg: TDateTimePicker;
Label2: TLabel;
DTP_E... |
unit FillUselessGapsTool;
interface
uses BasicDataTypes, Voxel, VoxelMap;
type
TFillUselessGapsTool = class
private
FRayMap: TVoxelMap;
public
// Constructors and Destructors
constructor Create(var _Voxel: TVoxelSection); overload;
destructor Destroy; o... |
unit Demo.GeoChart.ProportionalMarkers;
interface
uses
System.Classes, Demo.BaseFrame, cfs.GCharts;
type
TDemo_GeoChart_ProportionalMarkers = class(TDemoBaseFrame)
public
procedure GenerateChart; override;
end;
implementation
procedure TDemo_GeoChart_ProportionalMarkers.GenerateChart;
var
Chart: Icfs... |
unit ulightform;
(* ╔══════════════════════════════════════╗
║ TJSForm PROJECT ║
║ ----------------------------------- ║
║ created by: warleyalex ║
╚══════════════════════════════════════╝ *)
{$mode objfpc}{$H+}
interface
uses
JS, Web, Types, Math, Cla... |
{ALGORITHME AllumetteVsIa
//BUT Simulerer une partie entre l'ordinnateur au jeu de nym
//ENTREE
//SORTIE
CONST
PAQUET←21 :ENTIER
VAR
compteur,CompteurJoueur,nombre,aleatoire :ENTIER
DEBUT
aleatoire(3)//cette methode retourne un etier entre 1 et 3, celle-ci est simulée
nombre←paquet
CompteurJoueur←2
... |
namespace Events.EventClasses;
interface
type
OnSetNameDelegate = delegate(SimpleClassWithEvents: SimpleClassWithEvents; var aNewName: String);
SimpleClassWithEvents = class
private
fOnSetName : OnSetNameDelegate;
fName : String := 'NoName';
protected
procedure SetName(Value : String);
publi... |
unit cn_Lgots_AddEdit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, cxContainer, cxEdit, cxTextEdit,
StdCtrls, cxControls, cxGroupBox, cxButtons, cxLabel, cxCurrencyEdit,
cxRadioGroup, cxMaskEdit, cxDropDownEdit, cxCalendar, cnConsts... |
unit UsuariosModel;
interface
uses connection, Ragna, System.JSON, 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.ConsoleUI.Wait, Data.DB,
FireDAC.Comp.Client, FireDAC.Phys.PG, FireDAC.... |
program HowToCollideASpriteWithRectangle;
uses
SwinGame, sgTypes;
procedure Main();
var
leftRect, rightRect, topRect, bottomRect: Rectangle;
ball: Sprite;
begin
OpenGraphicsWindow('Bouncing Ball', 800, 600);
ClearScreen(ColorWhite);
LoadBitmapNamed('ball', 'ball_small.png');
leftRect := ... |
unit KFWksp;
interface
uses
Windows, Classes, Forms, ShellAPI,
SysUtils, UFuncoes, IOUtils;
type
TKFItemType = (KFMap, KFmod, KFUnknowed);
TKFWorkshop = class(TObject)
private
var
svPath: string;
public
var
constructor Create(serverPath: string);
destructor Destroy; override;
func... |
unit Memory;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
TMemory = class
private
FRam: QWord;
public
constructor Create();
property Ram: QWord read FRam;
end;
implementation
{$IFDEF WINDOWS}
uses
uWin32_ComputerSystem;
{$ENDIF}
constructor TMemory.Create();
{$IFDE... |
unit InputMinMaxGasFlow;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls,
SMBLabeledEdit;
type
TfmInputMinMaxGasFlowValue = class(TForm)
leMin: TSMBLabeledEdit;
leMax: TSMB... |
program lab_06;
uses crt, dos, list;
const
//Для парсинга
alphabet = ['A'..'Z', 'a'..'z'];
symbols = ['0'..'9', 'A'..'Z', 'a'..'z', '[', ']', '?', ':'];
//Синонимы кодов клавиш
enter = #13;
space = #32;
up = #72; down = #80;
left = #75; right = #77;
tab = #09;
backspace = #08;
del = #83;
//При... |
{
"name": "Gamma System",
"creator": "TokenELT",
"version": "1",
"description" : "Created for pvp. Be fast or die",
"planets": [
{
"name": "Gibbes",
"mass": 10000,
"position_x": 12676.490234375,
"position_y": 778.8408203125,
"veloc... |
unit ISincronizacaoNotifierUnit;
interface
Uses System.Generics.Collections;
type
TCustomParams = TDictionary<string, string>;
ISincronizacaoNotifier = interface
procedure flagSalvandoDadosServidor;
procedure unflagSalvandoDadosServidor;
procedure flagBuscandoDadosServidor;
procedure unflagBusca... |
{ Wheberson Hudson Migueletti, em Brasília, 18 de janeiro de 2000.
Referências: "Resxplor, Borland" e "PEDUMP, Matt Pietrek"
Delphi : /Delphi/Demos/Resxplor/ExeImage.pas
/Delphi/Demos/Resxplor/Rxtypes.pas
Internet : http://msdn.microsoft.com/library
http://msdn.microsoft.com/li... |
{-------------------------------------------------------------------------------
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
--------------------------------------... |
// 303. 区域和检索 - 数组不可变
//
// 给定一个整数数组 nums,求出数组从索引 i 到 j (i ≤ j) 范围内元素的总和,包含 i, j 两点。
//
// 示例:
//
// 给定 nums = [-2, 0, 3, -5, 2, -1],求和函数为 sumRange()
//
// sumRange(0, 2) -> 1
// sumRange(2, 5) -> -1
// sumRange(0, 5) -> -3
// 说明:
//
// 1.你可以假设数组不可变。
// 2.会多次调用 sumRange 方法。
//
// class NumArray
// {
//
... |
unit ExplorerTypes;
interface
uses
System.Classes,
System.SysUtils,
System.SyncObjs,
Winapi.Windows,
Vcl.Graphics,
UnitDBDeclare,
Vcl.ActnPopup,
Vcl.Imaging.JPEG,
Dmitry.Utils.System,
Dmitry.PathProviders,
Dmitry.PathProviders.MyComputer,
Dmitry.PathProviders.Network,
Dmit... |
unit Sortiment;
interface
uses System.SysUtils, System.Variants,
System.Classes, System.Generics.Collections, HilfsFunktionen;
type
TArtikel = class
private
FWert: double;
FName: string;
procedure setWert(wert : double);
public
property Wert: double read FWert write setWert;
property Nam... |
{
Clever Internet Suite Version 6.2
Copyright (C) 1999 - 2006 Clever Components
www.CleverComponents.com
}
unit clDnsQuery;
interface
{$I clVer.inc}
uses
Classes, clDnsMessage;
type
TclHostInfo = class
private
FIPAddress: string;
FName: string;
public
property Name: string read FName;
... |
unit UFasad;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls,
Vcl.ExtCtrls, Vcl.MPlayer, Unit1;
type
IFasad = interface
function getLabel1: TLabel;
function getComboBox1:... |
unit Class_Cate;
//YXC_2010_04_06_20_34_12
//TBL_CATE
//类别,产品类别,套餐类别
interface
uses
Classes,SysUtils,ADODB,Class_DBPool;
type
TCate=class(TObject)
public
UnitLink: string; //单位编码
CateKind: string; //类别类型
CateIdex: integer;//类别序列
PrevIdex: integer;//上一级
CateCode: string; //类别编... |
unit sgDriverTimer;
//=============================================================================
// sgDriverTimer.pas
//=============================================================================
//
// The timer driver is responsible for controling delay and timer functions.
//
// Notes:
// - Pascal PChar is equ... |
unit DQPnl; { TDQPanel component. }
{ Created 12/10/97 9:58:00 AM }
{ Eagle Software CDK, Version 2.02 Rev. C }
interface
uses
Windows,
SysUtils,
Messages,
Classes,
Graphics,
Controls,
Forms,
Dialogs,
Menus,
ExtCtrls;
type
TDQPanel = class(TPanel)
private
{ Private declarations }... |
{================================================================================
Copyright (C) 1997-2002 Mills Enterprise
Unit : rmInspector
Purpose : This control is similar to Delphi's properties inspector.
Date : 01-18-2001
Author : Ryan J. Mills
Version : 1.92
=================================... |
unit StoreCls;
interface
uses Classes;
type
TStoreRegistry = class
private
FidStore: Integer;
Fname : String;
function getName: String;
procedure setName(value: String);
// ... other atributtes
protected
procedure setIdStore(value: Integer);
function getIdStor... |
unit VirtualThread;
// Version 1.3.0
//
// The contents of this file are subject to the Mozilla Public License
// Version 1.1 (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.mozilla.org/MPL/
//
// Alternatively, you may red... |
unit uConexao;
interface
uses
Winapi.Windows, Vcl.Forms, System.SysUtils, System.Classes, Data.DB, Data.SqlExpr,
Data.DBXMySQL, IniFiles;
type
TdmConexao = class(TDataModule)
SQLConnection: TSQLConnection;
procedure DataModuleCreate(Sender: TObject);
procedure SQLConnectionBeforeConnect(Sender: TOb... |
(* OVCBUFF.PAS - Copyright (c) 1995-1996, Eminent Domain Software *)
unit OvcBuff;
{-Orpheus buffer manager for EDSSpell component}
interface
uses
Classes, Controls, Graphics, SysUtils, Forms, StdCtrls,
WinProcs, WinTypes,
OvcEdit, OvcEF,
AbsBuff, MemoUtil, SpellGbl;
type
TSpellOvcEditor = class (TOvcEdit... |
unit ServerMethodsUnit1;
interface
uses System.SysUtils, System.Classes, Datasnap.DSServer, Datasnap.DSAuth,
uADStanIntf, uADStanOption, uADStanError, uADGUIxIntf, uADPhysIntf,
uADStanDef, uADStanPool, uADStanAsync, uADPhysManager, Data.DB, uADCompClient,
uADStanParam, uADDatSManager, uADDAptIntf, uADDAp... |
unit uAskManager;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, siComp, siLangRT, PaiDeForms;
type
TFrmAskManager = class(TFrmParentForms)
EditPassword: TEdit;
Panel1: TPanel;
Panel9: TPanel;
Panel3: TPanel;
Label3: TLabel;
... |
unit FreeOTFEExplorerConsts;
// Description:
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.FreeOTFE.org/
//
// -----------------------------------------------------------------------------
//
{$ERROR obsolete}
interface
const
// Set to "-1" to indicate release/non-bet... |
unit CFMonthCalendar;
interface
uses
Windows, Graphics, Classes, CFControl, Controls;
type
TDisplayModel = (cdmDate, cdmMonth, cdmYear, cdmCentury);
TPaintDateEvent = procedure(Sender: TObject; const ACanvas: TCanvas; const ADate: TDate; const ARect: TRect) of object;
TCFCustomMonthCalendar = cla... |
unit Authors_Main_Unit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, jpeg, ExtCtrls, cxControls, cxContainer, cxEdit, cxLabel,
cxLookAndFeelPainters, StdCtrls, cxButtons, Unit_ZGlobal_Consts, ZProc;
type
TAuthorForm = class(TForm)
Bevel1: TBevel;
... |
unit windowslib;
{$mode objfpc}{$H+}
interface
uses
Windows,registry;
procedure SetExecutePermission(const FileName: string);
function GetMimeType(const Ext:string):string;
function GetOSEXEExt():String;
function InstallExitHandler():boolean;
implementation
uses
Twexemain, //For CleanupOnExit()
exedata, //... |
unit ThDbText;
interface
uses
Classes, DB, DBCtrls,
ThLabel, ThDbData;
type
TThCustomDbText = class(TThLabel)
private
FData: TThDbData;
protected
function GetFieldName: string;
function GetDataSource: TDataSource;
procedure SetFieldName(const Value: string);
procedure SetDataSource(con... |
unit Ils.Utils.SQL;
interface
uses
StrUtils;
function HasSqlStopWords(const ASql: string): Boolean;
implementation
function HasSqlStopWords(const ASql: string): Boolean;
var
s: string;
const
a: array [1..7] of string = ('insert', 'update', 'delete', 'drop', 'alter', 'grant', 'create');
begin
Result := Fals... |
unit uReportForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxControls, cxContainer, cxEdit, cxTextEdit, cxMaskEdit,
cxDropDownEdit, cxCalendar, StdCtrls, Spin, Buttons,dmMain, frxClass,
frxDBSet, frxDesgn;
type
TReportMainForm = class(TForm)
Lab... |
unit PerfUtils;
interface
uses
Windows, SysUtils, WinPerf;
type
PPerfLibHeader = ^TPerfLibHeader;
TPerfLibHeader = packed record
Signature: array[0..7] of Char;
DataSize: Cardinal;
ObjectCount: Cardinal;
end;
type
PPerfDataBlock = ^TPerfDataBlock;
TPerfDataBlock = record
Signature: array... |
unit Clientes;
interface
uses
Windows, SysUtils, Classes, Controls, Forms, ComCtrls, DB, SqlExpr, DBClient,
StrUtils, Math, Controle;
type
TClientes = class
private
iCodigo: integer;
sNome: string;
sCidade: string;
sUF: string;
protected
oControle: TControl... |
unit DSA.List_Stack_Queue.ArrayListStack;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
Rtti,
DSA.List_Stack_Queue.ArrayList,
DSA.Interfaces.DataStructure;
type
{ TArrayListStack }
generic TArrayListStack<T> = class(TInterfacedObject, specialize IStack<T>)
private
type
TArrayList_... |
unit Equipment;
{$IFDEF FPC}
{$MODE Delphi}
{$ENDIF}
interface
uses
ItemInstance,
ItemTypes,
{Third Party}
List32,
IdContext
;
type
TEquipLocationID = array[0..Byte(High(TEquipLocations))] of LongWord;
TEquipment = class
private
ClientInfo : TIdContext;
fList : TIntList32;
fSprites ... |
{
Clever Internet Suite Version 6.2
Copyright (C) 1999 - 2006 Clever Components
www.CleverComponents.com
}
unit clThreadPool;
interface
{$I clVer.inc}
uses
Windows, Classes, contnrs, SyncObjs;
type
TclWorkItem = class
protected
procedure Execute; virtual; abstract;
end;
TclThreadPool = class;
... |
unit MainUnit;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls,
ComObj,
ActionsUnit,
ActiveX,
SPIClient_TLB, Vcl.Menus;
type
TfrmMain = class(TF... |
unit URegraCRUDEmpresaMatriz;
interface
uses
URegraCRUD
, URepositorioDB
, URepositorioEmpresaMatriz
, UEntidade
, UEmpresaMatriz
, UUtilitarios
, UMensagens
, SysUtils
;
type
TregraCRUDEEmpresaMatriz = class (TRegraCRUD)
protected
procedure ValidaInsercao (const coENTIDADE: TENTIDADE... |
unit St_Proc;
interface
uses Forms, Windows, SysUtils, Classes, StrUtils,Dialogs,StdCtrls, ShellAPI, Registry;
function IsMDIChildFormShow(AClass:TClass):boolean;
function cnLanguageIndex:byte;
procedure LanguageSwitch;
function IntegerCheck(const s : string) : boolean;
implementation
function IsMDIChildFormShow... |
unit LCMOpTest;
interface
uses
DUnitX.TestFramework,
uIntX;
type
[TestFixture]
TLCMOpTest = class(TObject)
public
[Test]
procedure LCMIntXBothPositive();
[Test]
procedure LCMIntXBothNegative();
[Test]
procedure LCMIntXBothSigns();
end;
implementation
procedure TLCMOpTest.LCMIn... |
//------------------------------------------------------------------------------
// File: dxva2SWDev.h
// Desc: DirectX Video Acceleration 2 header file for software video
// processing devices
// Copyright (c) 1999 - 2002, Microsoft Corporation. All rights reserved.
//-----------------------------------------------... |
{*****************************************************************}
{ }
{ by Jose Benedito - josebenedito@gmail.com }
{ www.jbsolucoes.net }
{***********************************************... |
{******************************************************************************}
{ CnPack For Delphi/C++Builder }
{ 中国人自己的开放源码第三方开发包 }
{ (C)Copyright 2001-2017 CnPack 开发组 }
{ ... |
{
OSM map types & functions.
Ref.: https://wiki.openstreetmap.org/wiki/Slippy_Map
based on unit by Simon Kroik, 06.2018, kroiksm@gmx.de
which is based on UNIT openmap.pas
https://github.com/norayr/meridian23/blob/master/openmap/openmap.pas
New BSD License
}
unit OSM.SlippyMapUtils;
{$IFDEF FPC}
... |
unit API_Controls;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants
,System.Classes
,System.JSON
,Vcl.ComCtrls
,Vcl.Menus
,System.UITypes
,Vcl.Forms
,Vcl.StdCtrls
,Vcl.Buttons
,Vcl.Controls
,Vcl.Dialogs;
type
TArrayOfInteger = array of Integer;
TJSONClass = ... |
unit ibSHFieldsFrm;
interface
uses
SHDesignIntf, ibSHDesignIntf, ibSHTableObjectFrm,
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, ToolWin, ComCtrls, ImgList, ActnList, StrUtils,
SynEdit, pSHSynEdit, AppEvnts, Menus, VirtualTrees, TypInfo;
type
Ti... |
unit uExplorerCollectionProvider;
interface
uses
System.SysUtils,
System.StrUtils,
Vcl.Graphics,
Data.DB,
Dmitry.Utils.System,
Dmitry.Utils.Files,
Dmitry.Utils.ShellIcons,
Dmitry.PathProviders,
Dmitry.PathProviders.MyComputer,
uConstants,
uMemory,
uTranslate,
uPhotoShelf... |
unit Win32.MFCaptureEngine;
// Updated to SDK 10.0.17763.0
// (c) Translation to Pascal by Norbert Sonnleitner
{$IFDEF FPC}
{$mode delphi}
{$ENDIF}
interface
uses
Windows, Classes, SysUtils, ActiveX,
Win32.MFObjects, Win32.MFIdl;
const
IID_IMFCaptureEngineOnEventCallback: TGUID = '{aeda51c0-9025-4983-9... |
unit CadContasAvista;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Imaging.jpeg,
Vcl.ExtCtrls, System.ImageList, Vcl.ImgList, Vcl.Buttons, Vcl.Mask,
Vcl.DBCtrls, Data_Module, Pesq... |
//
// Generated by JavaToPas v1.5 20180804 - 083055
////////////////////////////////////////////////////////////////////////////////
unit android.service.autofill.FillResponse_Builder;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes,
android.view.autofill.AutofillId,
android.content.ClipData,
... |
unit Invoice.Model.Entity.TypePayment;
interface
uses System.SysUtils, Data.DB, Invoice.Model.Interfaces, Invoice.Controller.Interfaces, Invoice.Controller.Query.Factory;
type
TModelEntityTypePayment = class(TInterfacedObject, iEntity)
private
FQuery: iQuery;
//
procedure Prep... |
unit ReeDepVo_UDMPrint;
interface
uses
SysUtils, Classes, DB, FIBDataSet, pFIBDataSet, FIBDatabase, pFIBDatabase,
frxClass, frxDBSet, frxDesgn, IBase, IniFiles, Forms, Dates, Variants,
Unit_SprSubs_Consts, ZProc, ZSvodTypesUnit, Controls, FIBQuery,
pFIBQuery, pFIBStoredProc, ZMessages, Dialogs, Math, ZSvodPro... |
unit Wwqbe;
{
//
// Components : TwwQBE - Query by Example
//
// Copyright (c) 1995 by Woll2Woll Software
//
// 6/8/95 - New property BlankAsZero
// 6/14/95 - Add method SetParam
//
}
interface
uses
SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
Forms, DB, DBTables, dialogs, wwfilter, wwStr,... |
unit MilBilanCarbone;
////////-----------------------------------------------------////////
// Cette unité regroupe l'ensemble des procédures permettant
// le calcul de l'évolution du bilan carbonné pour la culture
// annuelle du Mil. Ces procédures sont basées sur
// l'unité biomasse.pas (de C. Baron) avec quelques m... |
unit fos_firmbox_storeapp;
{$mode objfpc}{$H+}
{$modeswitch nestedprocvars}
interface
uses
Classes, SysUtils,
FOS_TOOL_INTERFACES,
FRE_DB_INTERFACE;
type
{ TFRE_FIRMBOX_STORE_APP }
TFRE_FIRMBOX_STORE_APP=class(TFRE_DB_APPLICATION)
private
procedure _UpdateSitemap (const session: T... |
//------------------------------------------------------------------------------
//ZoneInterCommunication UNIT
//------------------------------------------------------------------------------
// What it does -
// Houses our Zone<->Inter server communication routines... |
unit main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls,ADODB,LogsUnit,Ini, UniProvider,
OracleUniProvider, DB, DBAccess, Uni, MemDS,Common, MySQLUniProvider,
ODBCUniProvider, AccessUniProvider;
type
TMainForm = class(TForm... |
// Copyright (c) 2009, ConTEXT Project Ltd
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
//
// Redistributions of source code must retain the above copyright notice, this list of condition... |
{*********************************************************}
{* VPEDFMT.PAS 1.03 *}
{*********************************************************}
{* ***** BEGIN LICENSE BLOCK ***** *}
{* Version: MPL 1.1 ... |
//=============================================================================
// sgWindowManager.pas
//=============================================================================
//
// Code to keep track of the open windows.
//
//=============================================================================
/// T... |
program sieve;
const max_number = 2000000;
var n,i,j:longint;
is_prime:array[2..max_number] of boolean;
begin
writeln('This program finds out all prime numbers up to a number n, by using the Sieve of Eratosthenes');
write('n='); readln(n);
writeln('Primes ');
{we first initialize the boolean array, marking a... |
unit uMap;
interface
uses uArrayList;
{
Automatic dynamic map
}
type Map = class
protected
vals: ArrayList;
keys: ArrayList;
public
constructor Create(); virtual;
function find(key: TObject): integer;
procedure add(key, value: TObject);
function remove(... |
//==============================================================================
// Product name: CalcExpress
// Copyright 2000-2002 AidAim Software.
// Description:
// CalcExpress is an interpreter for quick and easy
// evaluation of mathematical expressions.
// It is a smart tool easy in use.
// Supports 5 operat... |
unit Magento.Interfaces;
interface
uses
System.JSON, Data.DB, System.Generics.Collections, System.Classes;
type
TTipoProduto = (tpConfigurable, tpSimple);
TTipoProdutoHelper = record helper for TTipoProduto
function ToString : String;
end;
iMagentoExtensionAttributes = interface;
iMa... |
{..............................................................................}
{ Summary Demo how to move parameters of a component }
{ by changing the Location property }
{ ... |
{ Wheberson Hudson Migueletti, em Brasília, 18 de junho de 1998.
Arquivo : DelphiArqDir.Pas
Internet: http://www.geocities.com/SiliconValley/Program/4527
E-mail : whebersite@zipmail.com.br
Tratamento de Arquivos/Diretórios em Delphi.
}
unit DelphiArqDir;
interface
uses
Windows, SysUtils, Classes, Forms, G... |
unit ufrmDialogSatuan;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ufrmMasterDialog, ufraFooterDialog2Button, ExtCtrls,
StdCtrls, uRetnoUnit, ufraFooterDialog3Button, uModSatuan,
uDMClient, uAppUtils, System.Actions, Vcl.ActnList, uDXUtils, uInterface;
t... |
unit GetVerFile;
interface
uses
Windows, MSysUtils;
const
sfiCompanyName = 'CompanyName';
sfiFileDescription = 'FileDescription';
sfiFileVersion = 'FileVersion';
sfiInternalName = 'InternalName';
sfiLegalCopyright = 'LegalCopyright';
sfiLegalTrademark = 'LegalTrademark';
sfiO... |
unit LrCollection;
interface
uses
SysUtils, Classes, Contnrs;
type
TLrCustomCollection = class(TPersistent)
private
FEditor: Pointer;
FItems: TObjectList;
FName: string;
FOwner: TComponent;
protected
function FindComponent(const inName: string): TComponent;
function GetCount: Integer;... |
unit uMultiDisplay;
interface
uses System.Generics.Collections, Winapi.Windows, System.SysUtils,
Winapi.MultiMon, System.Win.Registry, System.Classes, Winapi.Messages,
System.Generics.Defaults, System.Messaging;
type
TMonitorOrientation = (moUnknown, moLandscape, moPortrait, moLandscapeFlipped,
moPortraitF... |
unit uUnit;
interface
uses
SysUtils, Windows, Messages, Classes, Graphics, Controls, Forms, Dialogs,
uCompany, uRetnoUnit, UTSBaseClass, StdCtrls, cxButtonEdit;
type
TUnitInfo = class(TSBaseClass)
private
FID : Integer;
FUnitID : Integer;
FAddress : string;
FNpWp ... |
unit ProducerModel;
interface
uses connection, Ragna, System.JSON, 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.ConsoleUI.Wait, Data.DB,
FireDAC.Comp.Client, FireDAC.Phys.PG, FireDAC.P... |
namespace PictureViewer;
interface
uses
System,
System.IO,
System.Windows,
System.Windows.Input,
System.Windows.Media,
System.Windows.Documents;
type
RubberbandAdorner = public class(Adorner)
const
RUBBERBAND_MIN_SIZE: Integer = 3;
RUBBERBAND_THICKNESS: Integer = 1;
private
fWindow: W... |
unit CCJS_RP_QuantIndicatorsUserExperience;
{ © PgkSoft. 26.01.2015 }
{ Отчет количественные показатели работы пользователей (quantitative indicators of user experience) }
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ActnList, ComCtrls, ToolWin, ExtCtrls, Std... |
unit GLDConeParamsFrame;
interface
uses
Classes, Controls, Forms, ComCtrls, StdCtrls, GL, GLDTypes, GLDSystem,
GLDCone, GLDNameAndColorFrame, GLDUpDown;
type
TGLDConeParamsFrame = class(TFrame)
NameAndColor: TGLDNameAndColorFrame;
GB_Params: TGroupBox;
L_Radius1: TLabel;
L_Radius2:... |
unit Main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, StdCtrls, ComCtrls, ExtCtrls, Buttons, ImgList, Common;
type
TMainForm = class(TForm)
panHead: TPanel;
Lable1: TLabel;
Label2: TLabel;
cbUser: TComboBox;
pcPage... |
Program sushi (input,output);
{Jesse Anderson
8/26/95
c1e15}
uses
crt;
var
nbrpieces:Integer;
time:Real;
const
joghour=240;
sushicalories=120;
begin
clrscr;
Write ('How many pieces of sushi? ');
Readln (nbrpieces);
Writeln;
time:=(nbrpieces*sushicalories)/joghour;
Writeln ('You will ha... |
{------------------------------------
功能说明:工厂接口
创建日期:2014/08/12
作者:mx
版权:mx
-------------------------------------}
unit uFactoryIntf;
interface
type
TIntfCreatorFunc = procedure(out anInstance: IInterface);//直接返回创建对象
TIntfClassFunc = function(AClassItem: Pointer): TObject;//根据传入的类地址创建对象
ISysFactory = i... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
unit OTFEFreeOTFEBase_U;
// Description: Delphi FreeOTFE Component
// Description:
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
{
TOTFEFreeOTFEBase is a wrapper round the driver a... |
program Draw;
uses Crt;
type
TLoc = object
X,Y: Integer;
constructor Init(X1,Y1: Integer);
procedure Point; virtual;
end;
TPoint = object(TLoc)
C: Integer;
constructor Init(X1,Y1,C1: Integer);
procedure Point; virtual;
procedure Draw; virtual;
end;
constructor TLoc.Init(X1,Y1: I... |
unit uRFIDBase;
interface
uses
SysUtils, System.Classes, System.StrUtils, System.Threading,
System.Bluetooth, System.Types;
const
CRLF: string = #13#10;
SleepTime: integer = 100;
type
TRFIDBase = class(TObject)
private
fTaskReader: ITask;
fClientUUID: TGUID;
fDeviceName: string;
fBTDevic... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
unit MDProvider;
interface
uses
System.SysUtils,
System.Types,
Data.DB,
//IB_Components,
//Datasnap.DBClient,
BI.Data,
BI.Dataset,
FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param,
FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf,
FireDAC.Stan.Storag... |
unit DSA.Sorts.MergeSort;
interface
uses
System.SysUtils,
System.Math,
DSA.Interfaces.Comparer,
DSA.Utils,
DSA.Sorts.InsertionSort;
type
TMergeSort<T> = class
private type
TArr_T = TArray<T>;
ICmp_T = IComparer<T>;
TInsertionSort_T = TInsertionSort<T>;
var
class var __cmp: ICmp_T;
... |
unit Unit4;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, jpeg, ExtCtrls;
type
TForm4 = class(TForm)
Button1: TButton;
Label1: TLabel;
Image1: TImage;
procedure Button1Click(Sender: TObject);
procedure FormCreate(S... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.