text stringlengths 14 6.51M |
|---|
unit udmValePedagio;
interface
uses
System.SysUtils, System.Classes, udmPadrao, DBAccess, IBC, Data.DB, MemDS;
type
TdmValePedagio = class(TdmPadrao)
qryManutencaoNR_MANIFVALEPED: TStringField;
qryManutencaoCNPJFORNVALEPED: TStringField;
qryManutencaoRESPPAGAMENTOVALEPED: TStringField;
qryManute... |
unit IdMessageBuilder;
interface
{$i IdCompilerDefines.inc}
uses
Classes, IdMessage;
type
TIdMessageBuilderAttachment = class(TCollectionItem)
private
FContentID: String;
FContentTransfer: String;
FContentType: String;
FData: TStream;
FFileName: String;
FName: String;
... |
{ Mark Sattolo 428500
CSI-1100A DGD-1 TA: Chris Lankester
1996 Final Exam, Question 5 }
program ListOrder_recursive (input,output);
{ Recursive program to find if an array is in increasing order. }
{ Data Dictionary
Givens: L, N - L is an array of N numbers.
Intermediates: J - an index to write out ... |
{ **************************************************************
Package: XWB - Kernel RPCBroker
Date Created: Sept 18, 1997 (Version 1.1)
Site Name: Oakland, OI Field Office, Dept of Veteran Affairs
Developers: Joel Ivey
Description: Unit testing MFunStr code - requires dUnit for
unit testing.
Curr... |
{
girfiles.pas
Copyright (C) 2011 Andrew Haines andrewd207@aol.com
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 2
of the License, or (at your option) any later version.
This progr... |
unit StructureEnumeration;
interface
uses
SysUtils, Rtti, TypInfo, System.Generics.Collections, Data.DbxJson
;
type
TStructureItem = TPair<string, TValue>;
IArrayAccess = interface
function GetLength: integer;
function GetItemAt(const idx: integer): TStructureItem;
function GetEnumer... |
unit l3CStringDataObject;
// Модуль: "w:\common\components\rtl\Garant\L3\l3CStringDataObject.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "Tl3CStringDataObject" MUID: (55E5CAA801A1)
{$Include w:\common\components\rtl\Garant\L3\l3Define.inc}
interface
uses
l3IntfUses
, l3StorableDataObject
, l3Interfaces
;... |
unit evDecorHotSpot;
// Модуль: "w:\common\components\gui\Garant\Everest\evDecorHotSpot.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TevDecorHotSpot" MUID: (4E1D961D02D6)
{$Include w:\common\components\gui\Garant\Everest\evDefine.inc}
interface
{$If Defined(evNeedHotSpot)}
uses
l3IntfUses
, evHotSpotProxy... |
unit StopStatementParsingTest;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FpcUnit, TestRegistry,
ParserBaseTestCase,
WpcScriptCommons,
WpcStatements,
WpcScriptParser,
WpcExceptions;
type
{ TStopStatementParsingTestCase }
TStopStatementParsingTestCase = class(TParserBaseTestCase)
prote... |
unit evdNativeUnpackedWriter;
{* Писатель тегов в формате evd. }
{ Библиотека "Эверест" }
{ Автор: Люлин А.В. © }
{ Модуль: evEvdWrt - генератор текстов в формате evd }
{ Начат: 05.10.1999 13:00 }
{ $Id: evdNativeUnpackedWriter.pas,v 1.15 2014/09/01 09:42:07 lulin Exp $ }
// $Log: evdNativeUnpackedWriter.pas,v... |
unit K623486769_4;
{* [Requestlink:623486769] }
// Модуль: "w:\common\components\rtl\Garant\Daily\K623486769_4.pas"
// Стереотип: "TestCase"
// Элемент модели: "K623486769_4" MUID: (574EAFB50329)
// Имя типа: "TK623486769_4"
{$Include w:\common\components\rtl\Garant\Daily\TestDefine.inc.pas}
interface
{$If Defined... |
{
$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 MFichas.Model.Permissoes.Metodos.Editar;
interface
uses
System.SysUtils,
System.Generics.Collections,
System.StrUtils,
MFichas.Model.Permissoes.Interfaces,
MFichas.Model.Entidade.USUARIOPERMISSOES,
MFichas.Controller.Types;
type
TModelPermissoesMetodosEditar = class(TInterfacedObject, iModelPerm... |
unit QueueADT;
(* This unit implements a Queue ADT as a linked list. Sam Scott, 1999 *)
interface
(**************************** TYPE DEFINITIONS ************************)
type
Element = integer;
NodePointer = ^QueueNode;
QueueNode = record
Contents: Element;
... |
{
* CGRemoteOperation.h
* CoreGraphics
*
* Copyright (c) 2000 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>
}
{$m... |
{Sabine Wolf,5999219,q5999219@bonsai.fernuni-hagen.de}
{In dieser Unit werden die Typen deklariert, die von mehreren Units gebraucht
werden.}
unit gomtypes;
interface
uses q5999219;
const
MINFELDSIZE = 5;
MAXFELDSIZE = 30;
type
{Belegungsmoeglichkeiten fuer ein Feld}
tStein = (Leer,Weiss,Schwarz... |
(*
-----------------------------------------------------------------------------------------
STATE
-----------------------------------------------------------------------------------------
THIS SOFTWARE IS FREEWARE AND IS PROVIDED AS IS AND COMES WITH NO WARRANTY OF ANY
KIND, EIT... |
unit FMainMobile;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.TabControl,
FMX.StdCtrls, FMX.Gestures, FMX.Layouts, FMX.Memo, IPPeerClient, IPPeerServer,
System.Tether.Manager, System.Tether.Ap... |
unit ce_synmemo;
{$I ce_defines.inc}
interface
uses
Classes, SysUtils, controls,lcltype, Forms, graphics, ExtCtrls, crc,
SynPluginSyncroEdit, SynCompletion, SynEditKeyCmds, LazSynEditText, SynEdit,
SynHighlighterLFM, SynEditHighlighter, SynEditMouseCmds, SynEditFoldedView,
ce_common, ce_observer, ce_writable... |
unit uCidadeVO;
interface
uses
System.SysUtils, uKeyField, uTableName;
type
[TableName('Cidade')]
TCidadeVO = class
private
FAtivo: Boolean;
FUF: string;
FCodigo: Integer;
FId: integer;
FNome: string;
procedure SetAtivo(const Value: Boolean);
procedure SetCodigo(const Value: Integ... |
program backup;
{---------------------------------------------------------------------}
{Author: Travis Keep
Modification history:
3-1-97 Added drive letter as second argument of command line}
{---------------------------------------------------------------------}
uses dos;
type
backuptype=record
... |
unit untCamposPersonalizadosMDL;
interface
uses
untDescricaoJson;
type
TCamposPersonalizadosMDL = class
private
FResponsavelProposta002: string;
FEntregaEmbalagem001: string;
FCargoResponsavelProposta003: string;
FCondicoesPagamento006: string;
FEmailResponsavelProposta004: string;
FTel... |
unit nsTreeStruct;
{* Дерево. Фасад к адаптерному дереву }
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\Data\Tree\nsTreeStruct.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TnsTreeStruct" MUID: (46835B4001A4)
{$Include w:\garant6x\implementation\Garant\nsDefine.inc}
interface
uses
l3IntfUses
,... |
unit CustomerQuestionAbout7StopsUnit;
interface
uses
SysUtils, Classes,
OutputUnit, AddressUnit;
const
//your api key
Default_ApiKey = '11111111111111111111111111111111';
type
TCustomerQuestionAbout7Stops = class
private
FOutput: IOutput;
FApiKey: String;
function MakeAddress(Name: String; ... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
{ Subroutine SST_RWCHECK (RW_USED,RW_ALLOWED,STAT)
*
* Check for proper read/write access. RW_USED indicates the type of
* access attempted, and RW_ALLOWED indicates the legal access types.
* STAT is returned with no error if the access is legal.
}
module sst_RWCHECK;
define sst_rwcheck;
%include 'sst2.ins.pas... |
unit TestMarshalOptimizationParametersUnit;
interface
uses
TestFramework, SysUtils, TestBaseJsonMarshalUnit;
type
TTestMarshalOptimizationParameters = class(TTestBaseJsonMarshal)
published
procedure MultipleDepotMultipleDriver();
procedure MultipleDepotMultipleDriverTimeWindow();
procedure Multiple... |
program a4;
{This program tests the shortest path algorithm from program strategy 10.16
Below you will find a test program, and some procedure headers.
You must fill in the bodies of the procedures. Do not alter the test program
or type definitions in any way.
You are given a constant for INFINITY, whic... |
unit simplex_code;
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.Grids,
Vcl.ExtCtrls,simplex_,Matrix_;
type
TSimplexForm = class(TForm)
SGRestrMatrix: TStringGrid;
U... |
unit eeg_type;
{$mode delphi}{$H+}
interface
uses filter_rbj, sysutils;
const
kMaxChannels = 64;
type
SingleRA0 = array [0..0] of Single;
Singlep0 = ^SingleRA0;
TChannel = record
previ: integer;
SignalLead: boolean;
Info,UnitType: string;
DisplayMin,DisplayMax,DisplayScale,Sa... |
{
Clever Internet Suite
Copyright (C) 2013 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clMailHeader;
interface
{$I clVer.inc}
uses
{$IFNDEF DELPHIXE2}
Classes, SysUtils,
{$ELSE}
System.Classes, System.SysUtils,
{$ENDIF}
clHeaderFieldList, clEmailAddress, clEncoder;
type
Tc... |
unit Model.CadastroFinanceiro;
interface
uses Common.ENum, FireDAC.Comp.Client, System.SysUtils, DAO.Conexao;
type
TCadastroFinanceiro = class
private
FID: Integer;
FSequencia: Integer;
FTipoConta: String;
FBanco: String;
FAgencia: String;
FConta: String;
FOperacao: Str... |
unit tcsettings;
{$IFDEF FPC}
{$MODE DELPHI}{$H+}
{$ENDIF}
{$IFDEF Win32}
{$DEFINE Windows}
{$ENDIF}
interface
uses
{$IFDEF Windows}
Windows,
{$ENDIF}
{$ifdef Darwin}
MacOSAll,
{$endif}
Classes, SysUtils, IniFiles, Forms,
constants;
type
{ TConfigurations }
TConfigurations = class(TObject)
priva... |
unit evReq;
{* Класс реквизита (одельная строка в таблице) }
// Модуль: "w:\common\components\gui\Garant\Everest\qf\evReq.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TevReq" MUID: (48D3BD0A02D7)
{$Include w:\common\components\gui\Garant\Everest\evDefine.inc}
interface
uses
l3IntfUses
, evCustomControlTo... |
unit proses_user_program;
interface
uses crt, tipe_data, konversi, proses_data, proses_buku;
procedure Riwayat (var H : tabPinjam ; var B : TabBuku ; var active_user : tuser );
(*Procedure ini berfungsi untuk melihat riwayat peminjaman seorang user*)
procedure Statistik (var U : TabUser; var B :... |
unit VclTransfer;
interface
uses
Controls, Forms, CoreTypes, Transfer;
type
TVclPropertyStorage =
class(TInterfacedObject, IPropertyStorage)
public
constructor Create(ctrl : TWinControl; lineal : boolean);
private // IPropertyStorage
function GetClass : string;
function Ge... |
unit nsSettingsUtils;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "View"
// Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/View/nsSettingsUtils.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML model, root ... |
unit FileBin;
interface
uses
Windows, SysUtils, Classes;
type
CFile=class
filename:string;
public
//
function Open(fname:string;read:boolean):boolean;
procedure Close;
function Size:DWORD;
function GetHandle:THandle;
procedure WriteString(str:string);
procedure Re... |
unit nsContextSearchParams;
(*-----------------------------------------------------------------------------
Название: nsContextSearchParams
Автор: Лукьянец Р. В.
Назначение: Утилита для создания фильтра дла контекстного _поиска_
Версия:
$Id: nsContextSearchParams.pas,v 1.3 2011/01/27 15:01:56 lulin Exp $... |
program a4;
{This program tests the shortest path algorithm from program strategy 10.16
Below you will find a test program, and some procedure headers.
You must fill in the bodies of the procedures. Do not alter the test program
or type definitions in any way.
You are given a constant for INFINITY, whic... |
unit uTask.Image;
interface
uses
{ TThread }
System.Classes,
{ IViewControl }
uIViews,
{ TPicture }
Vcl.Graphics;
type
TTaskImage = class(TThread)
protected
FBitmap: TBitMap;
FFileName: String;
class var
RMain: IViewControl;
procedure Execute; override;
procedure ThreadCom... |
unit kwFontIsItalic;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "ScriptEngine"
// Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwFontIsItalic.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML model, root... |
{ 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 nscNavigator;
// Библиотека : "Визуальные компоненты проекта Немезис"
// Автор : М. Морозов.
// Начат : 06.12.2006 г.
// Назначение : Компонент с вкладками
// Версия : $Id: nscNavigator.pas,v 1.15 2016/09/13 18:32:40 kostitsin Exp $
// $Log: nscNavigator.pas,v $
// Revision 1.15 2016/09/13 18:32:4... |
unit GetOptimizationUnit;
interface
uses SysUtils, BaseExampleUnit;
type
TGetOptimization = class(TBaseExample)
public
procedure Execute(OptimizationProblemId: String);
end;
implementation
uses
OptimizationParametersUnit, DataObjectUnit, EnumsUnit;
procedure TGetOptimization.Execute(OptimizationProble... |
{******************************************************************************}
{ }
{ Delphi FB4D Library }
{ Copyright (c) 2018-2022 Christoph Schneider ... |
unit armedf_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
nz80,m68000,main_engine,controls_engine,gfx_engine,rom_engine,ym_3812,
pal_engine,sound_engine,dac,timer_engine,nb1414_m4;
function iniciar_armedf:boolean;
implementation
const
//Armed F
armedf_rom:array[0..5] of tipo_roms=(
... |
unit FindUnit.CompilerInterceptor;
interface
uses
ToolsAPI, FindUnit.EnvironmentController, SysUtils;
type
TCompilerInterceptor = class(TNotifierObject, IOTANotifier, IOTAIDENotifier, IOTAIDENotifier50)
protected
class var FNotifierIndex: Integer;
FEnvControl: TEnvironmentController;
procedure File... |
unit uEstado;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, contnrs, uParamTransicao;
type
{ TEstado }
TEstado = class(TObject)
private
FId: string;
FFinal: Boolean;
FListaParamTransicoes: TListaParamTransicao;
public
constructor Create(const pId: string; con... |
unit LoggingUnit;
{* Операции логирования действий пользователя }
// Модуль: "w:\garant6x\implementation\Garant\tie\Garant\GblAdapterLib\LoggingUnit.pas"
// Стереотип: "Interfaces"
// Элемент модели: "Logging" MUID: (45ED58CF03E6)
{$Include w:\garant6x\implementation\Garant\nsDefine.inc}
interface
uses
l3IntfUses... |
unit uFileFolder;
interface
uses
SysUtils, Classes, Windows, Dialogs, uLNG, uSuperReplace;
const
{ Parametry k funkci GetFileVersion }
//GET_FILE_VER_ALL = 9; // Vrací celou verzi souboru
GET_FILE_VER_MAJOR = 0; // Vrací pouze číslo MAJOR verze
GET_FILE_VER_MINOR = 1; // Vrací pouze číslo... |
unit fvm.Combinations;
interface
uses
Generics.Collections, Classes, SyncObjs;
function CalculateNumberOfCombinations(NumPlaces, MaxValue: cardinal): cardinal;
const MaxPlacesConst = 6;
type TCombination = uint64;
TCombinationRec = packed record
case integer of
... |
unit Provect.ModalController;
interface
uses
System.SysUtils, System.Classes, System.UITypes, System.Threading,
FMX.Controls, FMX.TabControl, FMX.Forms, FMX.Types, FMX.Objects;
type
TFrameClass = class of TFrame;
TModalController = class(TTabControl)
private
FWaitTask: ITask;
FWaitTaskFuture: IFu... |
unit TTSDCRUNTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TTTSDCRUNRecord = record
PRunNumber: Integer;
PLenderNumber: String[4];
PUserID: String[10];
PDateTimeStart: String[20];
PDateTimeStop: String[20];
PStopStatus: String[10];
... |
unit uRoadRunnerAPI;
{ Copyright 2012 Herbert M Sauro
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 la... |
{
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 EasyExample;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, V8AddIn, fpTimer, FileUtil, LazUTF8;
type
{ TTimerThread }
TTimerThread = class (TThread)
public
Interval: Integer;
OnTimer: TNotifyEvent;
procedure Execute; override;
end;
{ TAddInEasyExample }
TAddInEasyExample =... |
unit PDijkstra;
interface
uses
PPriorityQ, Sysutils, Generics.Collections, PPlaceRoad, Vcl.Dialogs;
type
TDijkstra = class(TMinHeap)
public
function ShortestPath(s, d: string; Map: TObjectList<TPlace>)
: TObjectList<TPlace>;
function ReturnPath(List: TObjectList<TPlace>; Current, Sour... |
unit Project.Endereco;
interface
uses
Project.Interfaces;
type
TEndereco<T : IInterface> = class(TInterfacedObject , iEndereco<T>)
private
[Weak]
FParent : T;
FRua : String;
FNumero : Integer;
public
constructor Create(Parent : T);
destructor Destroy; o... |
{*****************************************
* Unit for basic statistical Functions *
*****************************************}
Unit Stats;
Interface
Const SIZE = 500;
Type
pVec = ^VEC;
VEC = Array[1..SIZE] of Real;
Procedure NormalStats(a:pVec; n:Integer; flag:Char; Var avg,
... |
unit frxMarkEditor;
interface
uses frxDsgnIntf, frxMarkDateTime, frxMarkItem, frxMarkNoItem, frxMarkOptionItem;
type
TmrxCellItemProperty = class(TfrxStringProperty)
public
function GetAttributes: TfrxPropertyAttributes; override;
procedure GetValues; override;
end;
implementation
{ Tm... |
{ <wayland_xml.pas>
Copyright (C) <2018> <Andrew Haines> <andrewd207@aol.com>
This source 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 2 of the License, or (at your option)
any later ... |
unit vcmBaseOperationsCollection;
{* Коллекция операций }
// Модуль: "w:\common\components\gui\Garant\VCM\implementation\Components\vcmBaseOperationsCollection.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TvcmBaseOperationsCollection" MUID: (55D30E6601A8)
{$Include w:\common\components\gui\Garant\VCM\vcmDefi... |
// islip - IneQuation's Simple LOLCODE Interpreter in Pascal
// Written by Leszek "IneQuation" Godlewski <leszgod081@student.polsl.pl>
// C-like type declarations for convenience
unit typedefs;
interface
type
int = integer; // short-hand for integer
float = single; // 32-bit IEEE float
pfloat =... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, ComCtrls;
type
TForm1 = class(TForm)
Panel1: TPanel;
Button1: TButton;
Button2: TButton;
RadioGroup1: TRadioGroup;
GroupBox1: TGroupBox;
TreeView1: TTr... |
unit XMLEditor.Defaults;
interface
uses
SysUtils, Forms;
const
APP_DIR = '';
DATA_DIR = 'Data';
TEMP_DIR = 'temp';
BCKP_DIR = 'BackupData';
function ApplicationPath: string;
function DataPath: string;
function TempPath: string;
function BackUpPath: string;
implementation
function ApplicationPath: strin... |
unit modELMTypes;
interface
type
TmodELMMessageDataSource = function(var data: ansistring): integer of object;
type
TmodELMMessageDataDest = function(data: ansistring): integer of object;
type
TmodELMState = (modELMState_Idle, modELMState_awaiting_response);
// normal - normal operation.
//... |
unit ListInterfaces;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "Business"
// Автор: Люлин А.В.
// Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/Business/ListInterfaces.pas"
// Начат: 07.09.2009 14:34
// Родные Delph... |
unit uString;
interface
function somenteNumeros(texto: string): string;
implementation
function somenteNumeros(texto: string): string;
var
I: integer;
S: string;
Virgula: Boolean; // Pra verificar se ja Possui virgula
begin
S := '';
Virgula := False;
for I := 1 To Length(texto) Do
begin
if (texto... |
unit ColoredGauge;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls;
type
TColorGauge =
class(TCustomControl)
private
fPosition : integer;
fSpacing : integer;
fYellowPerc : integer;
fRedPerc : integer;
//... |
unit StockDetailDataAccess;
interface
uses
define_DealItem,
define_datasrc,
define_datetime,
BaseDataSet,
QuickList_DetailData,
define_stock_quotes;
type
TStockDetailDataAccess = class(TBaseDataSetAccess)
protected
fStockItem: PRT_DealItem;
fDetailDealData: TDetailDataList;
fDataSourc... |
unit FullScreenWindow;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
DDraw, ExtCtrls, SpriteImages, FullScreenWindowMgr;
type
TFullScreenForm =
class(TForm)
OpenDialog: TOpenDialog;
procedure FormCreate(Sender: TObject);
p... |
unit GX_eQuote;
{$I GX_CondDefine.inc}
interface
uses
GX_EditorExpert, GX_eSelectionEditorExpert, GX_ConfigurationInfo,
Classes, StdCtrls, Controls, Forms, GX_BaseForm, Graphics;
type
TQuoteExpert = class(TSelectionEditorExpert)
protected
function GetDisplayName: string; override;
clas... |
program exampleOnSets(input, output);
type
nums = 0 .. 100;
integers = set of nums;
var
w : integers;
s : integer;
procedure printSet(arg : integers);
var i : integer;
begin
for i in arg do
write(i, ' ');
writeln();
end;
procedure readSet();
var size, i, number : integer;
begin
write('Ente... |
unit tfwParserService;
// Модуль: "w:\common\components\rtl\Garant\ScriptEngine\tfwParserService.pas"
// Стереотип: "Service"
// Элемент модели: "TtfwParserService" MUID: (57726B250063)
{$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc}
interface
uses
l3IntfUses
, l3ProtoObject
, l3StringList
... |
unit TTSNOTICETAGTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TTTSNOTICETAGRecord = record
PCifFlag: String[1];
PLoanNum: String[20];
PCollNum: Integer;
PTrackCode: String[8];
PCategorySub: Integer;
PSendToType: String[1];
PSepar... |
unit evdTextToFirstParaAdder;
{* Фильтр, добавляющий текст к первому параграфу }
// Модуль: "w:\common\components\rtl\Garant\EVD\evdTextToFirstParaAdder.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TevdTextToFirstParaAdder" MUID: (4CDD7C01013F)
{$Include w:\common\components\rtl\Garant\EVD\evdDefine.inc}
in... |
unit uimemo;
interface
uses SysUtils, Math, ui, uimpl, uihandle, uicomp, datastorage;
type
TWinMemo=class(TWinComp)
private
wTopItem:integer;
wLines:TStringListEx;
protected
public
constructor Create(Owner:TWinHandle);override;
procedure CustomPaint;override;
procedure Cr... |
unit Provect.Pipes;
/// /////////////////////////////////////////////////////////////////////////////
//
// Unit : Pipes
// Author : rllibby, Nick Remeslennikov
//
/// /////////////////////////////////////////////////////////////////////////////
interface
uses
Winapi.Windows, System.SysUtils, System.Classes, Syste... |
unit CustomActionWordpack;
// Модуль: "w:\common\components\rtl\Garant\ScriptEngine\CustomActionWordpack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "CustomActionWordpack" MUID: (57FB3E5D00AD)
{$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc}
interface
{$If NOT Defined(NoScripts) A... |
{------------------------------------------------------------------------------
TNotepad component
Developed by Rodrigo Depiné Dalpiaz (digão dalpiaz)
Non visual component to store TStrings at DFM file
https://github.com/digao-dalpiaz/NoteEditor
Please, read the documentation at GitHub link.
-----------------... |
unit VzorGUI;
(* Formular pro vyber vzoru a editaci cviceni s nakresem *)
(* ===================================================== *)
interface
uses
Windows, Messages, Variants, Graphics, Dialogs, Buttons,
SysUtils, Forms, StdCtrls, Controls, Classes, ExtCtrls,
MyUtils;
type
TForm2 = class(TForm)
Image1:... |
unit RESTRequest4D.Request.Body.Intf;
interface
uses System.JSON, REST.Types;
type
/// <summary>
/// Interface to represent the body of a request.
/// </summary>
IRequestBody = interface
['{D0D60888-6E42-4718-8E2D-1F6A9F10445A}']
/// <summary>
/// Removes all content added in the request body... |
const inputFileName = 'input.dat';
const outputFileName = 'output.dat';
const numbersCount = 64;
const generatedArraySize = numbersCount;
const partArraySize = 16;
const resultingArraySize = generatedArraySize div 16 + 1;
type integerArrayType = array [1..generatedArraySize] of integer;
type sixteenArra... |
// Upgraded to Delphi 2009: Sebastian Zierer
(* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
* 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 a... |
unit kangaroo_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
nz80,main_engine,controls_engine,gfx_engine,rom_engine,ay_8910,pal_engine,
sound_engine,qsnapshot;
function iniciar_kangaroo:boolean;
implementation
const
kangaroo_rom:array[0..5] of tipo_roms=(
(n:'tvg_75.0';l:$1000;p:0;crc:... |
{ ***************************************************************************
Copyright (c) 2016-2021 Kike Pérez
Unit : Quick.Parameters
Description : Map comandline to class
Author : Kike Pérez
Version : 1.4
Created : 12/07/2020
Modified : 01/08/2021
This file is part of Quick... |
unit uBaseMainForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uBaseForm, ActnList, cxGraphics, cxControls, cxLookAndFeels,
cxLookAndFeelPainters, dxSkinsCore,
dxSkinscxPCPainter, dxRibbonSkins, dxSkinOffice2013White,
dxSkinsdxRibbonPainter, dxRibbonC... |
unit ComponentPoolData;
interface
uses System.SysUtils, System.Classes, CrossPlatformHeaders, fmx.Forms,
System.Generics.Collections, System.Diagnostics, System.SyncObjs, FMX.Types;
type
TcomponentPool<ComponentType : TFmxObject> = class
private
container : TStack<ComponentType>;
genSize : Integ... |
{*******************************************************************************
作者: dmzn@163.com 2008-08-07
描述: 系统数据库常量定义
备注:
*.自动创建SQL语句,支持变量:$Inc,自增;$Float,浮点;$Integer=sFlag_Integer;
$Decimal=sFlag_Decimal;$Image,二进制流
*******************************************************************************... |
UNIT Statistic;
INTERFACE
CONST
AlphabetUp = ['A'..'Z', 'À'..'ß', '¨'];
AlphabetDown = ['a'..'z', 'à'..'ÿ', '¸'];
Alphabet = AlphabetUp + AlphabetDown;
LetterChange = 32;
PROCEDURE GetWord(VAR FInput: TEXT; VAR WordTree: STRING);
IMPLEMENTATION
PROCEDURE Checking(VAR Uncheked: CHAR);
BEGIN{Check... |
unit ufrmTesteAtributos;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls,
Atributos, teste;
type
TfrmTesteAtributos = class(TForm)
pnl1: TPanel;
lb1: TLabel;
mmo1: TMem... |
unit akAutoMover;
interface
uses
Classes, Menus, Windows, Controls, Forms;
const
VM_MENUITEM = 0;
VM_TOCLOSE = 1;
VM_CONTROL = 2;
type
TAutoMover = class(TThread)
private
FMenuItem: TMenuItem;
FMode: Integer;
FTargetForm: TForm;
FTargetControl: TControl;
procedure SetMenuItem(const V... |
unit mnSynHighlighterGo;
{$mode objfpc}{$H+}
{**
* NOT COMPLETED
*
* 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... |
unit Creature;
interface
uses Engine, DGLE, DGLE_Types, Entity, Types, Bar, Digit;
const
CreatureFName: array [0..CREATURES_COUNT - 1] of AnsiString = (
'Gnome.png', 'Spider.png'
);
function GetDist(x1, y1, x2, y2: single): word;
type
TForce = (fcAlly, fcEnemy);
type
TCreature = cla... |
unit evSavedCursor;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "Everest"
// Автор: Люлин А.В.
// Модуль: "w:/common/components/gui/Garant/Everest/evSavedCursor.pas"
// Начат: 21.03.2008 19:09
// Родные Delphi интерфейсы (.pa... |
unit clipbrdFunctions;
interface
uses
Classes, clipbrd, windows, SysUtils;
type
{$ifndef UNICODE}
RawByteString = AnsiString;
{$endif}
TClipboardEx = class(TClipboard)
public
procedure SetBuffer(Format: Word; var Buffer; Size: Integer);
procedure AddToCurrent(Format: Word; Handle: Cardi... |
{***********************************************************************}
{ TMacroRecorder component }
{ for Delphi & C++Builder }
{ version 1.0 }
{ ... |
program BCD; // Devoir Maison N°1 de Programmation Pascal :
// Gestion d'un afficheur 7 segments.
uses Crt, DOS; // On inclus le package Crt contenant GotoXY et ClrScr
// (pour l'affichage), DOS contient GetTime pour afficher
// l'heure.
... |
unit Thread.EDITFO;
interface
uses
System.Classes;
type
Thread_ImportEDITFO = class(TThread)
private
FTotalRegistros: Integer;
FCliente: Integer;
FTotalInconsistencias: Integer;
FCancelar: Boolean;
FLog: String;
FProgresso: Double;
FArquivo: String;
FProcesso: Boolean;
proce... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.