text stringlengths 14 6.51M |
|---|
{
gui -- gui of calculator program
version 1.0, August 4th, 2012
Copyright (C) 2012 Florea Marius Florin
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is grant... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs;
type
TStringy = class
{ These variables and methods are not visible outside this class. They are purely used in the
implementation below. Note that variables are all prefixed by 'st'. Thi... |
unit udmAverbacaoPortoWS;
interface
uses
System.SysUtils, System.Classes, udmPadrao, DBAccess, IBC, Data.DB, MemDS,
IdIOHandler, IdIOHandlerSocket, IdIOHandlerStack, IdSSL, IdSSLOpenSSL,
IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP,
IdMultipartFormData, IdCookieManager, IdURI, Data.DBXJS... |
unit ServerContainerUnit1;
interface
uses System.SysUtils, System.Classes,
Vcl.SvcMgr,
Datasnap.DSTCPServerTransport,
Datasnap.DSServer, Datasnap.DSCommonServer,
Datasnap.DSAuth, IPPeerServer, uConfig;
type
TServerContainer1 = class(TService)
DSServer1: TDSServer;
DSTCPServerTransport1: TDSTCPServe... |
unit Boss.Modules.PackageProcessor;
interface
uses
System.IniFiles, System.Classes, System.SysUtils, System.Types;
type
TBossPackageProcessor = class
private
FDataFile: TStringList;
function GetBplList(ARootPath: string): TStringDynArray;
function GetBinList(ARootPath: string): TStringDynArray;
... |
unit SendMessagesForma;
interface
{$I defines.inc}
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, SynEditHighlighter,
StdCtrls, Menus, ActnList, ExtCtrls, ComCtrls, FIBQuery,
pFIBQuery, Mask, DBCtrlsEh, System.Actions, DBGridEh, DBLookupEh, Data.DB,
FIBDataSet, pF... |
unit V_ADS;
interface
procedure errorIfOutOfRange(pos : integer);
procedure add(val : integer);
procedure getElementAt(pos : integer; var val : integer);
procedure setElementAt(pos : integer; val : integer);
procedure removeElementAt(pos : integer);
function size : integer;
function capacity : integer;
function isEmpt... |
{
$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... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit IdTypes;
interface
uses classes;
type
TGraphInfo=record
GraphName:String;
VertexCol:Cardinal;
Offx,Offy,Offz:smallint;
end;
PGraphInfo=^TGraphInfo;
TMapIdInfo=record
Defined:Cardinal;
IdType:Cardinal;
Reversed:Cardinal;
Modx,Mody:longint;
MinimapColor:C... |
unit TrackingHistoryUnit;
interface
uses
REST.Json.Types, System.Generics.Collections,
Generics.Defaults,
JSONNullableAttributeUnit,
NullableBasicTypesUnit;
type
/// <summary>
/// Tracking History
/// </summary>
/// <remarks>
/// https://github.com/route4me/json-schemas/blob/master/TrackingHistor... |
unit IniClasses;
interface
uses
SysUtils, Classes;
const
iniBOOLTRUE = '1';
const
tidGeneral = 'General';
tidInherits = 'inherits';
tidName = 'Name';
tidId = 'Id';
type
TIniClass =
class
public
constructor Create(const aPath : string; aId : int... |
unit D_DateNumberEditor;
{ $Id: D_DateNumberEditor.pas,v 1.32 2016/08/11 11:37:09 lukyanets Exp $ }
interface
{$I arDefine.inc}
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, ExtCtrls, Mask,
k2Interfaces, k2Tags,
l3Date,
DT_Const, DT_Types, DT_DictTypes,
... |
unit FormTextForm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, StdCtrls;
type
TformText = class(TForm)
memoOut: TMemo;
pBar: TPanel;
btnResource: TButton;
btnCurrent: TButton;
btnPanel: TButton;
procedure btnResourceClick(Sender: TO... |
unit UseList;
{$ifdef fpc}
{$mode delphi}
{$endif}
interface
uses SysUtils, Classes, tfNumerics;
// ListSize must be a power of 2
function DLog(const Value, Base, Modulo: BigInteger;
ListSize: Integer = 1024 * 1024): Int64;
implementation
type
PData = ^TData;
TData = reco... |
unit akTotalLog;
interface
uses Windows, SysUtils;
type
ELoggedAssertion = class(Exception);
TTotalLog = class
private
fIsLogging: Boolean;
fFileName: string;
fIsDetailed: Boolean;
protected
procedure logdirect(str: string);
function IsDetailedLog(fn: string): boolean;
public
pro... |
unit cStatistics;
interface
uses OffsetList, contnrs, SysUtils, iNESImage;
type
TStatistic = class(T1ByteProperty)
protected
_MaximumValue : Byte;
_List : String;
function GetValue : Byte;override;
procedure SetValue(pByte : Byte);override;
public
constructor Create(pROM : TiNESImage;pName ... |
unit Controller.Usuarios;
interface
uses System.SysUtils, FireDAC.Comp.Client, Forms, Windows, Common.ENum, Model.UsuariosJornal;
type
TUsuarioControl = class
private
FUsuarios : TUsuarios;
public
constructor Create;
destructor Destroy; override;
property Usuarios: TUsuarios read FUsuarios wri... |
unit m6805;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
dialogs,sysutils,timer_engine,main_engine,cpu_misc;
const
tipo_m6805=0;
tipo_m68705=1;
tipo_hd63705=2;
type
band_m6805=record
h,i,n,z,c:boolean;
end;
reg_m6805=record
pc:word;
... |
{$include lem_directives.inc}
unit LemTerrain;
interface
uses
Classes,
UTools,
LemPiece;
const
// Terrain Drawing Flags
tdf_Erase = 1; // bit 0 use terrain bitmap as eraser
tdf_Invert = 2; // bit 1 invert terrain bitmap
tdf_NoOverwrite ... |
//---------------------------------------------------------------------------
// This software is Copyright (c) 2015 Embarcadero Technologies, Inc.
// You may only use this software if you are an authorized licensee
// of an Embarcadero developer tools product.
// This software is considered a Redistributable ... |
unit flImageList;
interface
uses
SysUtils, Classes, ImgList, Controls;
type
TflImageList = class(TImageList)
private
FWidths: TStrings;
procedure SetWidths(const Value: TStrings);
{ Private declarations }
protected
{ Protected declarations }
public
constructor Create(AOw... |
unit CsReply;
{ $Id: CsReply.pas,v 1.17 2012/02/24 09:15:25 narry Exp $ }
// $Log: CsReply.pas,v $
// Revision 1.17 2012/02/24 09:15:25 narry
// Запись последнего пинга
// вывод в лог информации
//
// Revision 1.16 2011/12/08 12:32:12 narry
// Отображается не вся очередь заданий (304874341)
//
// Revision 1.15 2... |
unit Unit_Row_Heights;
interface
{
Several test with multi-line text in Grid Header and Cells
}
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, VCLTee.Control, VCLTee.Grid,
Vcl.StdCtrls, Vcl.ExtCtrls,
VCLTee.Editor... |
unit Solid.Samples.DIP.Books.Step2;
interface
uses
System.IOUtils;
type
{ TPdfBook }
TPdfBook = class
private
FPath: string;
public
constructor Create(const APath: string);
function Read: TArray<Byte>;
end;
{ TBookReader }
TBookReader = class // Simple refactoring... |
unit atSynchroPoint;
{* "Точка синхронизации". Для синхронизации типа "дойти до определенного места и ждать пока все не достигнут этого места". }
// Модуль: "w:\quality\test\garant6x\AdapterTest\CoreObjects\atSynchroPoint.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TatSynchroPoint" MUID: (491D9DFA0288)
inte... |
unit kwPopEditorResizeTableColumn;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "ScriptEngine"
// Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwPopEditorResizeTableColumn.pas"
// Родные Delphi интерфейсы (.pas)
// Ge... |
{
$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 d_DateEdit;
{ $Id: d_DateEdit.pas,v 1.2 2005/03/28 14:02:16 voba Exp $ }
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
BottomBtnDlg, StdCtrls, Buttons, ExtCtrls,
stDate, Mask, vtCombo, vtDateEdit, vtBndLabel;
type
TDateEditDlg = class(TBottomBtnDlg)
edtDat... |
{ Subroutine SST_W_C_SMENT_END
*
* Write the end of the statement. This will cause the semicolon statement
* terminator to be written. The indentation level will be restored by
* decreasing it one level. This is compatible with what was done in
* subroutine SST_W_C_SMENT_START.
*
* The state for the pare... |
{*******************************************************}
{ Проект: Repository }
{ Модуль: uReportListImpl.pas }
{ Описание: Реализация IReportList }
{ Copyright (C) 2015 Боборыкин В.В. (bpost@yandex.ru) }
{ ... |
unit fmuSlipConfigure;
interface
uses
// VCL
Windows, ExtCtrls, Classes, Controls, StdCtrls, Buttons, SysUtils,
Grids, ValEdit, Dialogs,
// This
untPages, untDriver, untTypes, untUtil, untTestParams;
type
{ TfmSlipConfigure }
TfmSlipConfigure = class(TPage)
btnConfigureStandardSlipDocument: TBitBt... |
unit MDIChilds.ProgressForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics,
Controls, Forms, Dialogs, ComCtrls, StdCtrls, ExtCtrls;
type
TFmProgress = class(TForm)
Bevel: TBevel;
btnBreak: TButton;
lblProcessCaption: TLabel;
PB: TProgressBar;
procedure FormCreate(S... |
(*
JCore WebServices, Embedded HTTP Server Application Handler Classes
Copyright (C) 2015 Joao Morais
See the file LICENSE.txt, included in this distribution,
for details about the copyright.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied... |
Program Aufgabe1;
{$codepage utf8}
Var Zahl: Integer;
ZahlMod2: Integer;
Begin
Write('Bitte gib eine Zahl ein: ');
Read(Zahl);
ZahlMod2 := Zahl Mod 2;
If ZahlMod2 = 0 Then
Begin
WriteLn('Die eingegebene Zahl ist gerade.');
End Else Begin
WriteLn('Die eingegebene Zahl ist... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls;
type
TATMissedPoint = (
ampnTopLeft,
ampnTopRight,
ampnBottomLeft,
ampnBottomRight
);
type
{ TForm1 }
TForm1 = class(TForm)
chkAntialias: TCheckBox;
chkSho... |
unit DelphiUp.View.Components.Button003;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls,
FMX.Controls.Presentation, FMX.Objects, FMX.Layouts,
DelphiUp.View.Services.Utils, FMX.Ef... |
unit Frame.DataTypes;
interface
uses
System.SysUtils,
System.Types,
System.UITypes,
System.Classes,
System.Variants,
FMX.Types,
FMX.Graphics,
FMX.Controls,
FMX.Forms,
FMX.Dialogs,
FMX.StdCtrls,
FMX.Controls.Presentation;
type
TFrameDataTypes = class(TFrame)
ButtonObject: TButton;
Bu... |
unit NativeEdObjects;
interface
uses
XMLFile, EditableObjects;
type
TNativeMetaEditableObject =
class(TMetaEditableObject)
public
function Instantiate( aName, aValue : string; const data ) : TEditableObject; override;
procedure Clone( aMetaEditableObject : TMetaEditable... |
{
DBAExplorer - Oracle Admin Management Tool
Copyright (C) 2008 Alpaslan KILICKAYA
This program 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 Software Foundation, either version 3 of the License, or
(at... |
unit frame.pianoroll;
interface
uses
Winapi.Windows, Winapi.Messages,
System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls,
Vcl.GraphUtil;
type
TPianoRollMode = (Select, AdjustSize);
TNoteCountEvent = procedure(sender: TObject; var count: inte... |
{***********************************************************************************************************************
*
* TERRA Game Engine
* ==========================================
*
* Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com)
*
***************************************************... |
unit afTextNormalizer;
{ Убирает разрядку пробелами из слов }
// $Id: afTextNormalizer.pas,v 1.4 2014/04/29 14:06:19 lulin Exp $
// $Log: afTextNormalizer.pas,v $
// Revision 1.4 2014/04/29 14:06:19 lulin
// - вычищаем ненужные зависимости.
//
// Revision 1.3 2014/04/11 15:30:52 lulin
// - переходим от интерфейсо... |
unit FFSRPTSTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TFFSRPTSRecord = record
PCNumber: String[20];
PInstallDate: String[10];
PNumberOfRuns: Integer;
PRunNumberNow: Integer;
End;
TFFSRPTSBuffer = class(TDataBuf)
protected
fun... |
{$include lem_directives.inc}
unit LemSteel;
interface
uses
LemPiece;
type
TSteelClass = class of TSteel;
TSteel = class(TSizedPiece)
end;
type
TSteels = class(TPieces)
private
function GetItem(Index: Integer): TSteel;
procedure SetItem(Index: Integer; const Value: TSteel);
p... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit ADLSUnitTest.Classes;
interface
uses
DUnitX.TestFramework, ADLSConnector.Interfaces, ADLSFileManager.Interfaces,
ADLSConnector.Presenter, ADLSFileManager.Presenter,
System.Generics.Collections, IPPeerCommon;
type
TADLSFakeView = class(TInterfacedObject, IADLSConnectorView, IADLSFileManagerView)
prote... |
unit OreStorage;
interface
uses
Warehouses, Kernel, Surfaces, WorkCenterBlock, BackupInterfaces, CacheAgent;
type
TMetaOreStorage =
class(TMetaWarehouse)
public
constructor Create(anId : string;
aCapacities : array of TFluidValue;
... |
unit DeleteRoutesUnit;
interface
uses SysUtils, BaseExampleUnit, CommonTypesUnit;
type
TDeleteRoutes = class(TBaseExample)
public
procedure Execute(RouteIds: TStringArray);
end;
implementation
procedure TDeleteRoutes.Execute(RouteIds: TStringArray);
var
ErrorString: String;
DeletedRouteIds: TStri... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit Main;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls,
FMX.Layouts, FMX.Memo;
type
TFormMain = class(TForm)
ButtonListen: TButton;
StatusBar: TStatusBar;
LabelStatus: TL... |
{********************************************************************}
{ TPARAMTREEVIEW component }
{ for Delphi & C++Builder }
{ }
{ Written by ... |
unit caFromClause;
// Модуль: "w:\common\components\rtl\Garant\ComboAccess\caFromClause.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TcaFromClause" MUID: (574D5A9900B6)
{$Include w:\common\components\rtl\Garant\ComboAccess\caDefine.inc}
interface
{$If Defined(UsePostgres) AND Defined(TestComboAccess)}
uses
... |
ALGORITHME: Jeu_de_l'oie
//BUT: le jeu de l'oie
//Entree: la validation pour continuer
//Sorties: Le jeu sous forme d'entier
CONST :
départ <- 0:ENTIER
fin <- 66:ENTIER
double <- 9:ENTIER
pas de double <- 63:ENTIER
mort <- 58:ENTIER
min <- 2:ENTIER
max <- 12:ENTIER
VAR : dés, place :ENTIER
DEBUT
Ecrire "Appuyez... |
unit MultiMM;
// $Id: MultiMM.pas,v 1.2 2001/02/01 14:21:20 law Exp $
// $Log: MultiMM.pas,v $
// Revision 1.2 2001/02/01 14:21:20 law
// - добавлены директивы Id и Log.
//
interface
uses HPMM;
var
PrevMemoryManager:TMemoryManager;
MemoryManager:TMemoryManager;
type
TMainMemManager=class(TMemManager)
... |
unit DW.Androidapi.JNI.FileProvider;
{*******************************************************}
{ }
{ Kastri Free }
{ }
{ DelphiWorlds Cross-Platform Library ... |
unit frm_ListadoResponsables;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, db, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls,
Buttons, DBGrids
,dmGeneral
;
type
{ TfrmListadoResponsables }
TfrmListadoResponsables = class(TForm)
btnSalir: TBitBtn;
btnAgregar:... |
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Program: TNEMULVT.PAS
Description: Delphi component combining both TnCnx and EmulVT components.
Hence it does ANSI emulation using TCP/IP telnet protocol.
Author: François PIETTE
Creation: May, 1996
Version: ... |
unit uMainForm;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, IdContext,
IdCustomHTTPServer, IdBaseComponent, IdComponent, IdCustomTCPServer,
IdHTTPServer, FMX.Media, FMX.Objects, FMX.Std... |
unit nevVScrollerSpy;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "Everest"
// Модуль: "w:/common/components/gui/Garant/Everest/new/nevVScrollerSpy.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML model, root ele... |
{ *********************************************************** }
{ * TForge Library * }
{ * Copyright (c) Sergey Kasandrov 1997, 2016 * }
{ *********************************************************** }
unit tfSHA256;
{$I TFL.inc}
{$IFDEF TFL_CPUX86_WIN32... |
unit MFichas.Model.Pagamento.Formas.Factory;
interface
uses
MFichas.Model.Pagamento.Interfaces,
MFichas.Model.Pagamento.Formas.Interfaces,
MFichas.Model.Pagamento.Formas.Dinheiro,
MFichas.Model.Pagamento.Formas.Debito,
MFichas.Model.Pagamento.Formas.Credito;
type
TModelPagamentoFormasFactory = class(TInt... |
unit TTSMAPPINGSTABLE;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TTTSLENDRecord = record
PLenderNum: String[4];
PModCount: Integer;
PName: String[40];
PAddr1: String[40];
PAddr2: String[40];
PCity: String[25];
PState: String[2];
... |
unit D2009Win2kFix;
{
Inno Setup
Copyright (C) 1997-2010 Jordan Russell
Portions by Martijn Laan
For conditions of distribution and use, see LICENSE.TXT.
When Windows 2000 with SP<4 is detected, this unit reverts the change in
Delphi 2009 Update 3 that causes VCL apps (even new, empty projects) to
crash... |
unit vg_colors;
{$I vg_define.inc}
interface
uses
{$IFNDEF NOVCL}
{$IFDEF UCL} UControls, {$ELSE} Controls, {$ENDIF}
{$ENDIF}
Classes, Variants, SysUtils, vg_objects, vg_scene, vg_controls, vg_textbox,
vgCustomCanvas,
vgBitmap
;
const
colorPickSize = 10;
type
TvgBitmapTrackBar = class(TvgTrackB... |
unit ElevationMoniker;
{$WARN SYMBOL_PLATFORM OFF}
interface
uses
Winapi.Windows, Winapi.ActiveX, System.Classes, System.Win.ComObj, ADCommander_TLB,
System.SysUtils, System.Win.Registry, System.Variants, Vcl.AxCtrls, System.AnsiStrings,
System.StrUtils, ADOX_TLB, ElevationMonikerFactory, MSXML2_TLB, ADC.Types... |
{
1 правая - не четная, 2 левая - четная, сторона | мс5 0 лева 1 правая
}
unit sql;
interface
uses
SysUtils, Classes, Windows, ActiveX, Graphics, Forms, System.Variants,
ZAbstractDataset, ZDataset, ZAbstractConnection, ZConnection, ZAbstractRODataset,
ZStoredProcedure;
type
TIdHeat = Record
tid ... |
{-------------------------------------------------------------------------------
This unit contains:
o the dos decompression algorithm, based on the c-code of ccexplore.
o a dos compression algorithm, based on free basic code of Mindless
o an easy to use sectionlist
----------------------------------------... |
{
Copyright (C) 2013-2018 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 UFunctions;
interface
uses IdHashMessageDigest, FireDAC.Comp.Client;
function fcm_GetStringHashAsString(str: String):String;
function fCheckRequirements(sTableName, sColumnName, sParams, sParamsValue: String):Boolean;
function fCheckPassLength(sPassword: String):Boolean;
function fCheckUsername(sUsername: Strin... |
{*********************************************************************}
{ TInspectorBar inplace edit controls }
{ for Delphi & C++Builder }
{ }
{ written by ... |
{$MODE OBJFPC}
unit entity;
interface
uses
model,camera;
type
TPosition=record
x,y,z:extended;
end;
type
TEntity=class;
type
TOnMouseLeftFunc =procedure(Sender:TEntity);
TOnMouseRightFunc =procedure(Sender:TEntity);
TOnSelectFunc =procedure(Sender:TEntity);
TOnCreateFunc =procedure(Sender:TEntity);
... |
{ dependency: pl_indy
Edit copy_demo_files.cmd before compiling
Run this demo and note the tray icon to open log or exit
Browse to http://localhost
Demo will reply with "Hello world!"
}
unit FormMain;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCt... |
unit evControlParaHotSpot;
{* Реализация "горячей точки" для параграфа, представляющего контрол ввода }
// Модуль: "w:\common\components\gui\Garant\Everest\evControlParaHotSpot.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TevControlParaHotSpot" MUID: (4A27A7D5019E)
{$Include w:\common\components\gui\Garant\E... |
PROGRAM FindLarge;
{ THIS PROGRAM READS IN TWO INTEGERS. IT
WILL DETERMINE WHICH IS THE LARGER OF THE TWO,
AND PRINT AN APPROPRIATE MESSAGE }
VAR Number1: INTEGER ;{FIRST NUMBER READ}
Number2: INTEGER;{SECOND NUMBER READ}
Larger:INTEGER; {THE LARGER ONE}
BEGI... |
namespace Sugar;
interface
type
{$IF COOPER}
Url = public class mapped to java.net.URL
public
constructor(UriString: String);
property Scheme: String read mapped.Protocol;
property Host: String read mapped.Host;
property Port: Int32 read mapped.Port;
property Path: String read... |
unit MenuPrincipal;
interface
uses
Windows, SysUtils, Variants, Classes, Controls, Forms,
Dialogs, ActnList, Menus, ComCtrls, ExtCtrls, DB, StdCtrls, System.Actions,
ZSqlProcessor, sSkinProvider, sSkinManager, ZAbstractRODataset,
ZAbstractDataset, ZDataset, ZAbstractConnection, ZConnection, sMemo,
... |
unit InfoCLAIMTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TInfoCLAIMRecord = record
PClaimNumber: String[6];
PModCount: Integer;
PPrefix: String[3];
PPolicy: String[7];
PLenderID: String[4];
PName: String[30];
PRcvdDate: String[... |
unit MainMenuNewRes;
// Библиотека : Проект Немезис;
// Название : MainMenuNewRes;
// Автор : М. Морозов;
// Назначение : Ресурсы основного меню системы;
// Версия : $Id: MainMenuNewRes.pas,v 1.3 2016/04/04 09:14:25 morozov Exp $
{----------------------------------------------------------------------------... |
{ ***************************************************************************
Copyright (c) 2015-2019 Kike Pérez
Unit : Quick.Config.Registry
Description : Save config to Windows Registry
Author : Kike Pérez
Version : 1.5
Created : 21/10/2017
Modified : 12/04/2019
This file is ... |
unit dmPrincipal;
interface
uses
System.SysUtils, System.Classes, System.IniFiles, Vcl.Forms, Vcl.Dialogs,
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,... |
unit SimpleSVD;
interface
uses
System.Classes,
System.SysUtils,
System.Math;
type
TSVDFloat = Double;
TSVDFloatArray = TArray<TSVDFloat>;
TMatrix = class
private
FRows: Integer;
FCols: Integer;
FName: string;
FType: Integer;
FMat: TSVDFloatArray;
function GetMat(Index: Integer)... |
{
Copyright (C) 2013-2021 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 a... |
{-----------------------------------------------------------------------------
hpp_database (historypp project)
Version: 1.0
Created: 31.03.2003
Author: Oxygen
[ Description ]
Helper routines for database use
[ History ]
1.0 (31.03.2003) - Initial version
[ Modifications ]
[ Knows... |
unit liEngine;
interface
uses
l3Types,
l3Interfaces,
l3Base,
l3DatLst,
l3Filer
;
const
cLastColumn = 'X';
type
TListRow = array['A'..cLastColumn] of Il3CString;
TListImporter = class(Tl3Base)
private
f_FileName: string;
f_Header: TListRow;
f_OnProgress: Tl3ProgressProc;
procedure LoadRow(aFiler: ... |
unit Script.Interfaces;
interface
type
IscriptLog = interface
procedure Log(const aString: String);
end;//IscriptLog
implementation
end.
|
unit socket.io;
interface
uses
NodeJS.Core, NodeJS.http,
socket.io.Core;
type
JSocketIO = class;
JSocketNamespace = class;
JSocketManager = class;
JSocketIOSocketFunction = procedure(aSocket: JSocketIO);
JSocketIODataFunction = procedure(aData: variant);
JSocketIODataFnFunction = procedure(aData: ... |
unit ActionTypeControl;
interface
uses
TypeControl;
const
_ACTION_UNKNOWN_ : LongInt = -1;
ACTION_NONE : LongInt = 0;
ACTION_CLEAR_AND_SELECT : LongInt = 1;
ACTION_ADD_TO_SELECTION : LongInt = 2;
ACTION_DESELECT : LongInt = 3;
A... |
unit Unit2;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, System.JSON,
FMX.Objects, FMX.ScrollBox, FMX.Memo, FMX.StdCtrls, FMX.Edit,
FMX.Controls.Presentation, FMX.ListBox, FMX.Layouts, REST.Types,
... |
PROGRAM Tree;
TYPE
NodePtr = ^Node;
Node = RECORD
value: INTEGER;
left: NodePtr;
right: NodePtr;
END;
TreePtr = NodePtr;
FUNCTION InitTree: TreePtr;
BEGIN
InitTree := NIL;
END;
FUNCTION NewNode(value: INTEGER): NodePtr;
VAR
n: NodePtr;
BEGIN
New(n);
n^.value := value;
n^.left := NI... |
{
Clever Internet Suite
Copyright (C) 2013 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clImapFetch;
interface
{$I clVer.inc}
uses
{$IFNDEF DELPHIXE2}
Classes, SysUtils, Contnrs,
{$ELSE}
System.Classes, System.SysUtils, System.Contnrs,
{$ENDIF}
clMailMessage, clMailHeader;
ty... |
unit Mat.Components;
interface
uses System.SysUtils, System.JSON, System.IOUtils, WinApi.Windows, Dialogs, FireDAC.Stan.Param;
type
TComponentParser = class
private
FTitle: string;
FPackage: string;
FVendor: string;
FProjectHomeUrl: string;
FLicenseName: string;
... |
unit TaskForma;
{$I defines.inc}
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, GridForma, DBGridEhGrouping,
ToolCtrlsEh, DBGridEhToolCtrls, DynVarsEh, CnErrorProvider, Vcl.Menus,
System.Actions, Vcl.Actn... |
{| Unit: pmavio
| Version: 1.00
| translated from file pmavio.H
| Original translation: Peter Sawatzki (ps)
| Contributing:
| (fill in)
|
| change history:
| Date: Ver: Author:
| 11/19/93 1.00 ps original translation by ps
}
Unit pmavio;
Interface
Uses
Os2Def,
PmWin;
{*****************************... |
unit AceStr;
{ ----------------------------------------------------------------
Ace Reporter
Copyright 1995-2005 SCT Associates, Inc.
Written by Kevin Maher, Steve Tyrakowski
---------------------------------------------------------------- }
interface
{$I ace.inc}
uses classes;
type
TAceStream... |
unit MvvmClasses;
{$mode objfpc}{$H+}
interface
uses
Windows, Classes, Controls, Contnrs, SyncObjs, MvvmInterfaces;
const
CM_MVVM = CM_BASE + 100;
CM_SOURCECHANGED = CM_MVVM + 1;
type
TInterfacedHelper = class(IUnknown)
protected
function QueryInterface(constref IID: TGUID; out Obj): HResult; stdcall... |
unit Unit39;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls;
type
TForm39 = class(TForm)
Memo1: TMemo;
Button1: TButton;
Button2: TButton;
Panel1: TPanel;
Label1... |
unit HintBox;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, InternationalizerComponent;
type
THintBoxWindow = class(TForm)
Frame : TShape;
Text : TLabel;
InternationalizerComponent1: TInternationalizerComponent;
procedure FormMouse... |
unit nsRubricatorList;
{* Структура "одноуровневое дерево" для узла рубрикатора }
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\Rubricator\nsRubricatorList.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TnsRubricatorList" MUID: (46836A280235)
{$Include w:\garant6x\implementation\Garant\nsDefine.inc}... |
unit evControlGroup;
{* Группа реквизитов (блок параграфов) }
// Модуль: "w:\common\components\gui\Garant\Everest\qf\evControlGroup.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TevControlGroup" MUID: (48DB819600D8)
{$Include w:\common\components\gui\Garant\Everest\evDefine.inc}
interface
uses
l3IntfUses
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.