text stringlengths 14 6.51M |
|---|
unit ExcelImportUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, ExtCtrls, StdCtrls,SharedTypes,comobj, Spin;
const
atXLS=0;
atCSV=1;
type
TExcelImportForm = class(TForm)
FieldsGrid: TStringGrid;
StringGrid1: TStringGrid;
Splitter1... |
{
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... |
{ 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.Composites.Sequence;
interface
uses
Behavior3, Behavior3.Core.Composite, Behavior3.Core.BaseNode, Behavior3.Core.Tick;
... |
(*-----------------------------------------------------------------------------
Название: npUtils
Автор: М. Морозов
Назначение:
История:
$Id: vtNavigatorUtils.pas,v 1.9 2009/07/29 06:59:02 oman Exp $
$Log: vtNavigatorUtils.pas,v $
Revision 1.9 2009/07/29 06:59:02 oman
- new: {RequestLink:158336069}
... |
unit BackupThread;
interface
uses
Classes, SyncObjs, Collection, BackupInterfaces, Kernel, World;
type
TBackupThread =
class(TThread)
public
constructor Create(Writer : IBackupWriter; Coll : TCollection; Lock : TCriticalSection; prior : TThreadPriority);
destructor Dest... |
unit kw_Form_MemoryUsage;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "View"
// Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/View/kw_Form_MemoryUsage.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML mode... |
unit ddAutolinkArbitraryDocEntry;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "dd"
// Модуль: "w:/common/components/rtl/Garant/dd/ddAutolinkArbitraryDocEntry.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML model... |
unit daTableDescription;
// Модуль: "w:\common\components\rtl\Garant\DA\daTableDescription.pas"
// Стереотип: "UtilityPack"
// Элемент модели: "daTableDescription" MUID: (55CB200E0058)
{$Include w:\common\components\rtl\Garant\DA\daDefine.inc}
interface
uses
l3IntfUses
, l3ProtoObject
, daInterfaces
, daTypes
... |
{ Date Created: 5/22/00 11:17:33 AM }
unit InfoSYSTEMTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TInfoSYSTEMRecord = record
PSite: String[4];
PNextID: String[5];
End;
TInfoSYSTEMBuffer = class(TDataBuf)
protected
function PtrIndex(Index... |
unit vendetta_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
nz80,konami,main_engine,controls_engine,gfx_engine,rom_engine,
pal_engine,sound_engine,ym_2151,k052109,k053260,k053246_k053247_k055673,
k054000,k053251,timer_engine,eepromser;
function iniciar_vendetta:boolean;
implementation
const
... |
unit UpdateConfigValueUnit;
interface
uses SysUtils, BaseExampleUnit, EnumsUnit;
type
TUpdateConfigValue = class(TBaseExample)
public
function Execute(Key, Value: String): boolean;
end;
implementation
function TUpdateConfigValue.Execute(Key, Value: String): boolean;
var
ErrorString: String;
begin
... |
unit ntvProgressBars;
{**
* 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 distribution,
* @author Belal Alhamed <b... |
unit ufrmSupplier;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ufrmDefault, cxGraphics, cxControls, cxLookAndFeels,
cxLookAndFeelPainters, cxStyles, cxClasses, ActnList, dxBar, ExtCtrls,
dxStatusBar, cxContainer, cxEdit, cxTextEdit, StdCtrls, ClientClass... |
unit ListAnalizeKeywordsPack;
{* Набор слов словаря для доступа к экземплярам контролов формы ListAnalize }
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\List\Forms\ListAnalizeKeywordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "ListAnalizeKeywordsPack" MUID: (4E36959002CA_Pack)
{... |
unit ResequenceRouteDestinationsUnit;
interface
uses SysUtils, BaseOptimizationExampleUnit, DataObjectUnit;
type
TResequenceRouteDestinations = class(TBaseOptimizationExample)
public
procedure Execute(Route: TDataObjectRoute);
end;
implementation
uses
AddressUnit, AddressesOrderInfoUnit;
procedure TRe... |
unit ContextSearchSupportUnit;
// Модуль: "w:\garant6x\implementation\Garant\tie\Garant\GblAdapterLib\ContextSearchSupportUnit.pas"
// Стереотип: "Interfaces"
// Элемент модели: "ContextSearchSupport" MUID: (456FED4903D8)
{$Include w:\garant6x\implementation\Garant\nsDefine.inc}
interface
uses
l3IntfUses
;
type
... |
inherited dmTabelaIR: TdmTabelaIR
OldCreateOrder = True
inherited qryManutencao: TIBCQuery
SQLInsert.Strings = (
'INSERT INTO STWOPETTBIR'
' (CONTROLE, ALIQ_BASE, VLR_DEPEND, TETO_INSS, VLR_ISENTO, FAIXA' +
'_1, FAIXA_2, FAIXA_3, FAIXA_4, FAIXA_5, DEDUCAO_1, DEDUCAO_2, DE' +
... |
unit
GX_ProofreaderCorrection;
{$I GX_CondDefine.inc}
interface
uses
GX_ProofreaderData, GX_EditorChangeServices;
type
IAutoTypeWriterNotifier = interface(IGxEditorNotification)
['{D66A2AD2-27F4-11D4-A87C-000000000000}']
procedure Detach;
end;
function GetNewAutoTypeWriterNotifier(cons... |
{
*****************************************************************************
* *
* This file is part of the iPhone Laz Extension *
* *
*... |
// the code formatter expert as an editor expert
// Original Author: Thomas Mueller (http://blog.dummzeuch.de)
unit GX_eCodeFormatter;
{$I GX_CondDefine.inc}
interface
uses
SysUtils,
Classes,
GX_EditorExpert,
GX_CodeFormatterExpert,
GX_ConfigurationInfo,
GX_KbdShortCutBroker,
GX_Gene... |
Unit udmCatCheckList;
interface
uses
System.SysUtils, System.Classes, udmPadrao, DBAccess, IBC, Data.DB, MemDS;
type
TdmCatCheckList = class(TdmPadrao)
qryManutencaoTP_VEICULO: TSmallintField;
qryManutencaoCATEGORIA: TStringField;
qryManutencaoDESCRICAO: TStringField;
qryManutencaoSTATUS: TString... |
unit TelematicActionsUnit;
interface
uses
SysUtils, BaseActionUnit, VendorUnit, EnumsUnit,
NullableBasicTypesUnit, CommonTypesUnit;
type
TTelematicActions = class(TBaseAction)
public
/// <summary>
/// GET a telematics vendor
/// </summary>
function Get(VendorId: integer; out ErrorString: St... |
unit Land;
interface
uses
Windows, Graphics;
type
TLandVisualClassId = word;
const
lndPrimaryClassShift = 8;
lndSecondaryClassShift = 4;
lndTypeShift = 12;
lndVarShift = 0;
type
TLandClass =
( lncZone1,
lncZone2,
lncZone3,
lnc... |
unit k051316;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}gfx_engine,main_engine;
type
t_k051316_cb=procedure(var code:word;var color:word;var priority_mask:word);
k051316_chip=class
constructor create(pant,ngfx:byte;call_back:t_k051316_cb;rom:pbyte;rom_size:dword;tipo:byte);
... |
unit LabelMenu;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, menus;
type
TFFSPopupMenu = class(TPopupMenu)
public
constructor create(AOwner:TComponent);override;
end;
TLabelMenu = class(TLabel)
private
FPopupMenu: TPopupMenu... |
unit np.url;
Interface
uses np.Buffer, sysUtils;
type
TNameValue = record
Name : string;
Value : string;
end;
TNameValues = TArray<TNameValue>;
EURL = class(Exception);
TURL = record
private
FSchema: string;
FUserName: string;
... |
unit tutankham_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
m6809,main_engine,controls_engine,gfx_engine,rom_engine,
pal_engine,konami_snd,sound_engine;
function iniciar_tutankham:boolean;
implementation
const
tutan_rom:array[0..14] of tipo_roms=(
(n:'m1.1h';l:$1000;p:$0;crc:$da18679... |
unit D_ShowInfo;
{ $Id: D_ShowInfo.pas,v 1.17 2014/08/14 10:48:49 dinishev Exp $ }
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
OvcBase, vtlister, StdCtrls, Buttons, ExtCtrls,
BottomBtnDlg, HelpCnst, vtStringLister, afwControl, afwInputControl,
l3Types, l3Interface... |
unit ssSpeedButton;
interface
uses
SysUtils, Classes, Controls, Buttons, Windows, Types, Graphics, CommCtrl,
Messages, ImgList, ActnList;
const
cl_HotTrack = 550944437;
cl_HotBorder = 543892488;
type
TssSpeedButton = class;
TssButtonStyle = (ssbsFlat, ssbsUser);
TssButtonState = (ss... |
program Project1;
type
nameType=string[50];
ageType=0..150; {age range: from 0 to 150}
var
name:nameType;
age:ageType;
begin
write('Enter your name: ');
readln(name);
write('Enter your age: ');
readln(age);
writeln;
writeln('Your name: ',name);
writeln('Your age: ',age);
readln;
end.
|
unit Model.ControleTransporte;
interface
type
TControleTransporte = class
private
var
FID: Integer;
FDataTransporte: System.TDate;
FCliente: Integer;
FOperacao: String;
FPlaca: String;
FMotorista: Integer;
FKmSaida: Double;
FHoraSaida: System.TTime;
FKmRetorno: Double;
FH... |
PROGRAM Xref (input, output);
{Generate a cross-reference listing from a text file.}
CONST
MaxWordLength = 20;
WordTableSize = 500;
NumberTableSize = 2000;
MaxLineNumber = 999;
TYPE
charIndexRange = 1..MaxWordLength;
wordIndexRange = 1..WordTableSize;
numberIndexRang... |
unit NtUtils.Processes;
interface
uses
Winapi.WinNt, Ntapi.ntpsapi, NtUtils.Exceptions;
const
// Ntapi.ntpsapi
NtCurrentProcess: THandle = THandle(-1);
type
TProcessHandleEntry = Ntapi.ntpsapi.TProcessHandleTableEntryInfo;
// Open a process (always succeeds for the current PID)
function NtxOpenProcess(out ... |
unit lukIDGenerator;
{ Генератор номеров документов для документов ЛУКойла }
interface
uses
l3Base, l3ValLst;
type
TlukGetSelfID = procedure (out NewID: Integer) of Object;
TlukGetLinkID = procedure (const aFileName: String; out NewID: Integer) of Object;
TlukIDGenerator = class(Tl3Base)
private
f_CurDocID: ... |
{=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=]
Copyright (c) 2013, Jarl K. <Slacky> Holta || http://github.com/WarPie
All rights reserved.
For more info see: Copyright.txt
[=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=}
{*
Returns a cropped area of th... |
unit DeleteAvoidanceZoneUnit;
interface
uses SysUtils, BaseExampleUnit;
type
TDeleteAvoidanceZone = class(TBaseExample)
public
procedure Execute(TerritoryId: String);
end;
implementation
procedure TDeleteAvoidanceZone.Execute(TerritoryId: String);
var
ErrorString: String;
begin
Route4MeManager.Av... |
Program horas_extras;
{Uma empresa decidiu dar uma gratificação de Natal a seus funcionários, baseada no número de horas
extras e no número de horas que o funcionário faltou ao trabalho. O valor do prêmio é obtido pela consulta
à tabela que se segue, na qual:
H = número de horas extras – (2/3 * (número de horas falta))... |
{******************************************************************************}
{ }
{ Library: Fundamentals 5.00 }
{ File name: flcUtils.pas ... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
{
Double Commander
-------------------------------------------------------------------------
Plugins options page
Copyright (C) 2006-2018 Alexander Koblov (alexx2000@mail.ru)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public Lic... |
UNIT squeue;
INTERFACE
USES deftypes;
PROCEDURE InitQueue(VAR q : Queue);
PROCEDURE EnQueue(VAR tn : Tree; VAR q : Queue);
PROCEDURE DeQueue(VAR q : Queue; VAR tn : Tree);
FUNCTION IsQueueEmpty(VAR q : Queue) : Boolean;
IMPLEMENTATION
PROCEDURE InitQueue(VAR q : Queue);
BEGIN
WITH q DO
BEGIN
front :... |
{ Routines to add call arguments to the current call opcode.
}
module sst_r_syn_arg;
define sst_r_syn_arg_syn;
define sst_r_syn_arg_match;
%include 'sst_r_syn.ins.pas';
{
********************************************************************************
*
* Subroutine SST_R_SYN_ARG_SYN
*
* Add SYN (the SYN library ... |
unit Services.Cliente;
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.ConsoleUI.Wait,
FireDAC.Stan.Param, FireDAC.DatS, FireDAC.DApt.I... |
{ 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.NodeTypes;
interface
uses
System.Generics.Collections, System.Generics.Defaults,
Behavior3.Core.BaseNode;
type
TB3N... |
unit ChangePasswordForm;
interface
uses
WinTypes, WinProcs, Classes, Graphics, Forms, Controls, StdCtrls, Buttons,
ExtCtrls, LMDCustomButton, LMDButton, LMDCustomControl, LMDCustomPanel,
LMDCustomBevelPanel, LMDBaseEdit, LMDCustomEdit, FFSMaskEdit, dcEdit,
LMDCustomParentPanel, LMDBackPanel, FFSDat... |
// Nanocurrency EdDSA unit, Copyleft 2019 FL4RE - Daniel Mazur
unit ED25519_Blake2b;
interface
uses
System.SysUtils, Velthuis.BigIntegers, ClpBigInteger, HlpBlake2BConfig,
HlpBlake2B, HlpHashFactory, ClpDigestUtilities, HlpIHash, misc, secp256k1;
function nano_privToPub(sk: AnsiString): AnsiString;
function na... |
unit ssGroupBox;
interface
uses
SysUtils, Classes, Controls, cxControls, cxGroupBox, Graphics, cxGraphics,
Messages, ssBevel;
const
clXPHotTrack = $206B2408;
type
TxMouseMoveEvent = procedure(Sender: TObject) of object;
TssGroupBox = class(TcxGroupBox)
private
FCaptionBkPicture: T... |
{***********************************************************************
* Unit Name: GX_eSampleEditorExpert
* Purpose : To show one way of coding an Editor Expert.
* This expert puts up a modal window and does nothing else
* Author : Scott Mattes <smattes@erols.com>
****************************... |
{
\file DGLE_CoreRenderer.pas
\author Korotkov Andrey aka DRON
\version 2:0.3.1
\date 17.11.2014 (c)Korotkov Andrey
\brief This header provides interface of low-level DGLE rendering API.
This header is a part of DGLE_SDK.
}
unit DGLE_CoreRenderer;
interface
{$I include.inc}
{$IFNDEF D... |
unit uLicenseDM;
interface
uses
System.SysUtils, System.Classes, OnGuard, OgUtil, IniFiles, Forms;
type
TLicenseDataModule = class(TDataModule)
OgDateCode: TOgDateCode;
procedure DataModuleCreate(Sender: TObject);
procedure OgDateCodeChecked(Sender: TObject; Status: TCodeStatus);
proc... |
UNIT VectorD;
{$mode objfpc}{$H+}
INTERFACE
USES
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads, cmem
{$ENDIF}{$ENDIF}
math, sysutils;
TYPE
Cls_Vector = class
Private
xCell: array of extended;
OrdenN: integer;
Function GetCell(i: integer): extended;
Procedure SetCell(i: integ... |
unit aeCamera;
interface
uses types, aeSceneNode, aeSceneObject, aeMaths, aeTransform, aeDebugHelpers;
type
TaeCameraViewType = (AE_CAMERA_VIEW_LOOKATCENTER, AE_CAMERA_VIEW_LOOKFROMCENTER);
// type
// IaeBaseCamera = Interface(IInterface)
// procedure LookAt(pos: TPoint3D);
// End;
//
// type
// TaeArcBallCamera... |
//Exercicio : Dizemos que um número inteiro positivo é triangular se ele for o produto de três números naturais consecutivos.
//Por exemplo, o número 120 é triangular, pois 120 = 4 X 5 X 6. Escreva um algoritmo que receba um número inteiro positivo n
//e verifique se ele é triangular.
{ Solução em Portugol
Al... |
unit RDOObjectRegistry;
interface
uses
Classes;
const
NoId = 0;
type
TRegistryEntries = TList;
type
TRDOObjectsRegistry = class
private
fRegistryEntries : TRegistryEntries;
procedure CleanUpRegistryEntries;
public
constructor Create;
destructor D... |
unit Exportar;
interface
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ExtCtrls, Dialogs, Mask, DB, DBClient, JvToolEdit, JvExMask;
type
TExportDlg = class(TForm)
OKBtn: TButton;
CancelBtn: TButton;
Bevel1: TBevel;
Label1: TLabel;
OpenDlg: TOpenDialog;
rgF... |
unit tfwScriptsRunningAndDebugging;
// Модуль: "w:\common\components\rtl\Garant\ScriptEngine\tfwScriptsRunningAndDebugging.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "tfwScriptsRunningAndDebugging" MUID: (56F556230193)
{$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc}
interface
{$... |
unit PreviewFormUnit;
interface
uses
Windows,
Messages,
SysUtils,
Variants,
Classes,
Graphics,
Controls,
Forms,
Dialogs,
OvcBase,
arCommonTypes,
afwControlPrim,
afwBaseControl,
afwControl,
afwCustomCommonControlPrim,
afwCustomCommonControl,
vtPreviewPanel;
type
TPreviewForm = ... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, XPMan, ComCtrls, Menus, ImgList,
IdCoderQuotedPrintable, IdCoderXXE, IdCoderUUE, IdCoder, IdCoder3to4,
IdCoderMIME, IdBaseComponent;
type
TForm1 = class(TForm)
MainMenu1:... |
unit ZXIng.ByteSegments;
interface
type
/// <summary>
/// implements the ByteSegments (which was declared as a TList<TArray<Byte>>
/// throughout the code as reference-counted interface object)
/// </summary>
IByteSegments = Interface
['{0994FC90-E8F5-40D8-8A48-9B05DFFF2635}']
function Co... |
{
MIT License
Copyright (c) 2017 Marcos Douglas B. Santos
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, copy, mo... |
unit BinCoffs;
interface
uses tfNumerics;
function BinomialCoff(N, K: Cardinal): BigCardinal;
procedure WriteCoff(N, K: Cardinal);
implementation
function BinomialCoff(N, K: Cardinal): BigCardinal;
var
L: Cardinal;
begin
if N < K then
Result:= 0 // Error
else begin
if K > N -... |
unit ActivityRequestUnit;
interface
uses
REST.Json.Types, System.Generics.Collections,
JSONNullableAttributeUnit, GenericParametersUnit, NullableBasicTypesUnit,
EnumsUnit;
type
/// <summary>
/// Activity
/// </summary>
/// <remarks>
/// https://github.com/route4me/json-schemas/blob/master/Activity.... |
unit ex.CalculatorDisplay;
interface
uses
ex.Operations, SysUtils;
type
TCalculatorDisplay = class
public
procedure Press(key: string);
Function GetDisplay(): string;
end;
var
display: string;
lastArgument: Integer;
res: Integer;
newArgument: Boolean = false;
shouldReset: Boolean = false;
... |
unit HopfieldApp;
(*Elric Werst*)
interface
uses
GBMatrixOperations, HopFieldNetwork,
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Grids, AdvObj, BaseGrid, AdvGrid, Shader,
AdvSmoothLabel;
type
THopfieldForm = class(TForm)
sheet: TAdvStringGri... |
unit UPipeline;
{ Copyright (c) 2019 by Herman Schoenfeld
Distributed under the MIT software license, see the accompanying file LICENSE
or visit http://www.opensource.org/licenses/mit-license.php.
This unit is a part of the PascalCoin Project, an infinitely scalable
cryptocurrency. Find us here:
Web: https... |
unit K361038156;
{* [RequestLink:361038156] }
// Модуль: "w:\common\components\rtl\Garant\Archi_Tests\K361038156.pas"
// Стереотип: "TestCase"
// Элемент модели: "K361038156" MUID: (4FA138AB0003)
// Имя типа: "TK361038156"
{$Include w:\common\components\rtl\Garant\Archi_Tests\TestDefine.inc.pas}
interface
{$If Def... |
{
$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... |
{
tcutils.pas
General utility functions
Copyright (C) 2007 Felipe Monteiro de Carvalho
This file is part of Turbo Circuit.
Turbo Circuit is free software;
you can redistribute it and/or modify it under the
terms of the GNU General Public License version 2
as published by the Free Software Foundation.
Turbo Circuit... |
{ CoreGraphics - CGFunction.h
* Copyright (c) 1999-2002 Apple Computer, Inc. (unpublished)
* All rights reserved.
}
{ Pascal Translation: 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 ma... |
unit functions_file;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, U_ExtFileCopy;
function fb_FindFiles( var astl_FilesList: TStringList; as_StartDir : String ; const as_FileMask: string ; const ab_CopyAll : Boolean ):Boolean;
Function fb_CopyFile ( const as_Source, as_Destination : String ; const ab_Ap... |
unit ConflictsTree;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, sqldb, FileUtil, Forms, Controls, Graphics, Dialogs,
ComCtrls, MetaData, ConflictsMeta, Filters, References;
type
{ TConflictsTreeForm }
TConflictsTreeForm = class(TForm)
TreeView: TTreeView;
procedure FormShow(Sender: TObje... |
{ @abstract(Сервисы Firebird)
@author(Николай Войнов)
@created(2006-03-27) @lastmod() }
unit uFBServices;
interface
uses
SysUtils, Classes, fib, IB_Services;
type
TServerSettings = record
SrvrName: string;
UserName: string;
UserPass: string;
end;
TFBServiceClass = class of TpFIBCustomServic... |
{:: This unit contains the reader and writer classes to support ANSI (*.TXT) files }
{$IFNDEF CLRUNIT}unit WPIOHTTAGS;
{$ELSE}unit WPTools.IO.HTTAGS; {$ENDIF}
{ -----------------------------------------------------------------------------
Copyright (C) 2002-2014 by wpcubed GmbH - Author: Julian Ziersch
info:... |
//
// ASN1 Parser for Delphi 7 and above
// 2015 Alexey Pokroy (apokroy@gmail.com)
//
// TODO:
// Parse stream sequentially (like XML SAX parsers)
// Support Indefinite length tags
// Support Real tag
// Pass test by Yury Strozhevsky http://www.strozhevsky.com/free_docs/free_asn1_testsuite_descr.pdf
//
// I... |
unit ADCommander_TLB;
// ************************************************************************ //
// WARNING
// -------
// The types declared in this file were generated from data read from a
// Type Library. If this type library is explicitly or indirectly (via
// another type library referring to this type librar... |
//=============================================================================
// sgText.pas
//=============================================================================
//
// The Font unit relates to writing text to the screen,
// and to loading and styling the associated fonts.
//
// Change History:
//
// Version... |
// SYNTAX TEST "Packages/Pascal/Pascal.sublime-syntax"
// double slash comment
// <- punctuation.whitespace.comment.leading.pascal
// <- punctuation.definition.comment.pascal
// ^^^^^^^^^^^^^^^^^^^^ comment.line.double-slash.pascal.two
-- double dash comment
// <- punctuation.whitespace.comment.leading.pascal... |
unit l3MetafileHeader;
// Модуль: "w:\common\components\rtl\Garant\L3\l3MetafileHeader.pas"
// Стереотип: "UtilityPack"
// Элемент модели: "l3MetafileHeader" MUID: (552616EE02DF)
{$Include w:\common\components\rtl\Garant\L3\l3Define.inc}
interface
uses
l3IntfUses
, Windows
;
const
c_WMFKey = Integer($9AC6CDD7);... |
unit fmWorkBench;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.WebBrowser,
FMX.StdCtrls, FMX.Controls.Presentation, FMX.ScrollBox, FMX.Memo, FMX.TabControl, FMX.Edit;
type
TForm1 = class(TForm... |
//
// Created by the DataSnap proxy generator.
// 10/10/2019 00:58:50
//
unit ClientClassesUnit1;
interface
uses System.JSON, Datasnap.DSProxyRest, Datasnap.DSClientRest, Data.DBXCommon, Data.DBXClient, Data.DBXDataSnap, Data.DBXJSON, Datasnap.DSProxy, System.Classes, System.SysUtils, Data.DB, Data.SqlExpr, Data.DBX... |
unit Benjamim.Signature;
interface
uses
{$IF DEFINED(FPC)}
Classes, SysUtils, TypInfo,
{$ELSE}
System.Classes, System.TypInfo, System.NetEncoding, System.Hash, System.SysUtils,
{$ENDIF}
Benjamim.Utils, Benjamim.Signature.Interfaces, Benjamim.Interfaces;
type
TSignature = class(TInterfacedObject, iSigna... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit clRestricoes;
interface
uses clConexao;
type
TRestricoes = Class(TObject)
private
function getAgente: Integer;
function getCodigo: Integer;
function getEntregador: Integer;
function getValor: Double;
procedure setAgente(const Value: Integer);
procedure setCodigo(const Value: Integer... |
unit SpellDemoUnit;
// TSpellChecker demo
// Simple rich-text format editor with spelling check capability
// Author: Alexander Obukhov
//
// see comments in the listing to understand some
// TSpellChecker methods and properties
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, For... |
{ Subroutine SST_R_SYO_DECLARE
*
* Process DECLARE syntax.
}
module sst_r_syo_declare;
define sst_r_syo_declare;
%include 'sst_r_syo.ins.pas';
procedure sst_r_syo_declare; {process DECLARE syntax}
const
max_msg_parms = 1; {max parameters we can pass to a message}
var
tag: sys_int_... |
unit HGM.BlurGaussian;
interface
uses
Windows, Graphics, SysUtils;
type
PRGBTriple = ^TRGBTriple;
TRGBTriple = packed record
R:Byte;
G:Byte;
B:Byte;
end;
PRow = ^TRow;
TRow = array[0..1000000] of TRGBTriple;
PPRows = ^TPRows;
TPRows = array[0..1000000] of PRow;
const
MaxKernelSize = 100;
type
TKe... |
unit FrmMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TMainForm = class(TForm)
lblButtonPressed: TLabel;
procedure FormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftSt... |
{
$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 ElHeaderDemoMain;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ElImgFrm, ElBtnEdit, ElPopBtn, StdCtrls, ElACtrls, ElSpin, ElBtnCtl,
ElVCLUtils, ElCheckCtl, ElGroupBox, ElHeader, ExtCtrls, ElPanel,
ElImgLst, ElCheckItemGrp, ElXPThemedControl, ImgList, ElEdits;
... |
unit tfwScriptDebugger;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, afwTextControlPrim, afwTextControl, vtPanel,
vtSizeablePanel, OvcBase, afwControlPrim, afwBaseControl, afwControl,
nevControl, evCustomEditorWindowPrim, evEditorWindow,
evCustomEditorWi... |
unit Unit1;
{$mode objfpc}{$H+}
{*
* PascalCoin Layer-2 Example
* Copyright (c) 2020 by Preben Bjorn Biermann Madsen
* Distributed under the MIT software license
*
* This is a very simple example to show how to
* send or receive data in the Pascal network
* using JSON-RPC calls to the build in server.
*
* All operati... |
unit atSharedBuffer;
{* Класс для создания буфера памяти, общего для нескольких процессов на одной машине. }
// Модуль: "w:\quality\test\garant6x\AdapterTest\CoreObjects\atSharedBuffer.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TatSharedBuffer" MUID: (491D776401B4)
interface
uses
l3IntfUses
, l3_Base
,... |
unit TrackedItemFrame;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, ExtCtrls, Grids, AdvGrid, FFSAdvStringGrid, DBISAMTb, FFSUtils,
ImgList, NotesDialog, Menus, LMDControl, LMDBaseControl,
LMDBaseGraphicControl, LMDBaseLabel, LMDCustomS... |
{
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 calculator;
interface
uses
Classes, SyncObjs, fvm.Combinations, Generics.Collections;
procedure FindCombinationsIncludingAllOf(ResultList, SourceList, IncludeList: TCombinationList);
procedure FindRandomCombinations(ResultList, SourceList: TCombinationList; Count: integer);
function CalculateHigh... |
unit frPipePrinter;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls;
type
TframPipePrinter = class(TFrame)
edtPipe: TEdit;
Label1: TLabel;
cmbxPrinter: TComboBox;
Label2: TLabel;
btnDelete: TButton;
lbl... |
unit DBDateTimePicker;
interface
uses
System.SysUtils, System.Classes, Vcl.Controls, Vcl.ComCtrls, Data.DB,
Vcl.DBCtrls, Vcl.Forms, Winapi.Messages;
type
TDBDateTimePicker = class(TDateTimePicker)
private
FDataLink: TFieldDataLink;
function GetDataSource: TDataSource;
procedure SetD... |
unit ShutDownKeywordsPack;
{* Набор слов словаря для доступа к экземплярам контролов формы ShutDown }
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\PrimCommon\ShutDownKeywordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "ShutDownKeywordsPack" MUID: (7FB5E199E37C)
{$Include w:\garan... |
program TESTSIN2 ( OUTPUT ) ;
(**********************************************************************)
(*$A+ *)
(**********************************************************************)
var X : REAL ;
function F1 ( X : REAL ) : REAL ;
begin (* F1... |
unit PercentBar;
interface
uses
SysUtils, Windows, Messages, Classes, Graphics, Controls,
Forms, Dialogs, ExtCtrls, StdCtrls;
const
SensitiveRadius = 2;
const
InitRepeatPause = 500; { pause before repeat timer (ms) }
RepeatPause = 100; { pause before hint window displays (ms)}
typ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.