text stringlengths 14 6.51M |
|---|
unit floating;
interface
uses
Winapi.Windows, Winapi.Messages,
System.SysUtils, System.Variants, System.Classes,
VCL.Graphics, VCL.Controls, VCL.Forms, VCL.Dialogs, Vcl.ExtCtrls,
GemINI,
ovcbase, ovcsplit;
type
TFloatingForm = class(TForm)
procedure FormCloseQuery(Sender: TObject... |
{ ---------------------------------------------------------------------------- }
{ BulbTracer for MB3D }
{ Copyright (C) 2016-2017 Andreas Maschke }
{ ---------------------------------------------------------------------------... |
unit Util.Mensageria;
interface
uses
System.UITYpes,
FMX.DialogService,
FMX.Dialogs,
TiposComuns;
type
TMensageria = class
private
public
class procedure Mensagem(const ATexto: String; const ATipo: TTipoMensagemIcone;
ACallBack: TInputCloseDialogProc = nil);overlo... |
unit u_J16Receiver;
interface
uses
Classes, SysUtils, u_J08Task;
type
PSetCoffPackate = ^TSetCoffPackate;
{ TSetCoffPackate }
TCoffs = Array[0..2, 0..1] of Single;
TSetCoffPackate = packed Record
SOF: Byte;
LEN: Byte;
Cmd: Byte;
AM_FM: Byte;
Coffs: TCoffs;
EOF: B... |
unit Main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics,
Controls, Forms, Dialogs, StdCtrls, XLSReadWriteII5, xpgParseChart,
XLSRelCells5, ExtCtrls, FormFormatChartItem, Xc12DataStyleSheet5, XLSDrawing5,
Grids, XLSUtils5, Xc12Utils5;
type TSampleChartItemProps = class(TObject)
prot... |
unit TestModel1;
{$IFDEF FPC}
{$mode objfpc}{$H+}
{$ENDIF}
interface
uses
SysUtils,
tiObject,
tiAutoMap,
tiOPFManager,
tiVisitorDB,
tiVisitorCriteria,
tiCriteria,
tiSQLParser,
mapper,
tiQueryXMLLight,
agTIOPF;
type
// ---------------------------------------------
// Generated Classes
/... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2014-2019 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
//: @stopdocumentation
Unit TestOTAIntfSearch.Constants;
{
Delphi DUnit Test Case
----------------------
This unit contains a skeleton test case class generated by the Test Case Wizard.
Modify the generated code to correctly setup and call the methods from the unit
being tested.
}
Interface
Uses
TestFra... |
unit FC.StockChart.UnitTask.Bars.CopyToClipboard;
interface
{$I Compiler.inc}
uses
SysUtils,Classes, BaseUtils, Serialization, StockChart.Definitions.Units,StockChart.Definitions,
FC.Definitions, FC.Singletons,
FC.StockChart.UnitTask.Base;
implementation
uses Clipbrd,StockChart.Definitions.Drawing;
type
... |
{Pascal function that calculates the sum of the digits of a number
To calculate the sum of the digits, we go through each digit by successively dividing the number by 10,
and extracting each digit using the mod operator.}
function digit_sum(number:longint):longint;
var sum:longint;
begin
sum := 0;
while (number > 0... |
(* Ejercicio 17
En los datos de entrada se proporcionan dos tiempos como enteros de la forma hhmm
donde hh representa las horas (menos de 24) y mm los minutos (menos de 60).
Determine la suma de estos dos tiempos, y exhiba el resultado en la forma d hhmm,
donde d es días, ya sea cero o uno.
Ejemplo de entrada : 134... |
unit ncaConfigRecibo;
interface
uses SysUtils, Classes, ncClassesBase;
const
autoprint_nao = 0;
autoprint_pagamento = 1;
autoprint_venda = 2;
type
TncConfigRecibo = class ( TStringList )
private
procedure LoadFromGConfig;
function FName: String;
function ConfigExists: Boolean;
... |
unit CustomExcelTable;
interface
uses
FireDAC.Comp.Client, Data.DB, System.Classes, FieldInfoUnit,
System.Generics.Collections, ErrorTable, DBRecordHolder, NotifyEvents,
ProgressInfo, TableWithProgress, ErrorType, RecordCheck;
type
TCustomExcelTable = class(TTableWithProgress)
private
FErrors: TErrorTa... |
(**
This modules contains a form for specifying the EXE, Params and Working
Directory for external tools.
@Version 1.0
@Author David Hoyle
@Date 03 Jan 2018
**)
Unit ITHelper.ProgrammeInfoForm;
Interface
Uses
Windows,
Messages,
SysUtils,
Variants,
Classes,
Graphics,
Controls,
Forms,
... |
unit LLVM.Imports.Error;
//based on Error.h
interface
uses LLVM.Imports ,
LLVM.Imports.Types;
type
(**
* Opaque reference to an error instance. Null serves as the 'success' value.
*)
TLLVMErrorRef = type TLLVMRef;
(**
* Error type identifier.
*)
TLLVMErrorTypeId = Pointer;
(**
* Returns the type... |
unit uManufacturing;
{$mode objfpc}{$H+}
interface
uses
SynCommons, mORMot, uForwardDeclaration;//Classes, SysUtils;
type
// 1
TSQLProductManufacturingRule = class(TSQLRecord)
private
fProduct: TSQLProductID;
fProductIdFor: TSQLProductID;
fProductIdIn: TSQLProductID;
fRuleSeqId: In... |
unit FunctionsTest;
interface
implementation
uses
SysUtils,
ntxTestUnit, ntxTestResult,
microdom,
udomtest_const, udomtest_init;
function PrtXMLTokenKind(const val: TXMLTokenKind): string;
const
_names: array[TXMLTokenKind] of PChar = (
'tokEOF', 'tokError', 'tokText', 'tokTag', 'tokOpenTag', 'tokClos... |
unit DevExUtil;
interface
uses
DB,
Classes,
Forms,
Dialogs,
SysUtils,
Controls,
Windows,
dxTL,
dxDBCtrl,
dxDBGrid,
dxLayout,
dxDBTLCl,
dxGrClms;
Procedure SaveLayoutToDataSet(ADataSet: TDataSet; AFieldName: String;
AGrid: TdxDBGrid; AParent: TWinControl);
Procedure LoadLayoutFromDataSe... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2015-2018 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
unit BillContentExportQuery;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ProductsBaseQuery, FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS,
FireDAC.Phys.Int... |
unit uMyJoson;
interface
uses
sysutils,strutils,classes,System.json;
type
TMyJson=class
constructor Create(txt:ansiString);overload;
constructor Create(txt:ansiString;bJson:boolean);overload;
destructor Destroy;
private
mTxt:tStrings;
mJSONObject: TJSONObject;
public
function getValue(k... |
{**********************************************}
{ TPoint3DSeries Component Editor Dialog }
{ Copyright (c) 1998-2004 by David Berneda }
{**********************************************}
unit TeePo3DEdit;
{$I TeeDefs.inc}
interface
uses {$IFNDEF LINUX}
Windows, Messages,
{$ENDIF}
SysUtils, Cla... |
unit Finance.Interfaces;
interface
uses
System.JSON;
type
iFinance = interface;
iFinanceCurrency = interface;
iFinanceCurrencies = interface;
iFinanceStocks = interface;
iFinanceStock = interface;
iFinanceTaxes = interface;
iFinanceStockPrice = interface;
iFinance = interface
... |
{*******************************************************}
{ }
{ Delphi DBX Framework }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
{
Algorithme Croix For
But : Dessiner une croix d'une taille saisi par l'utilisateur et avec un caractere saisi par l'utilisateur.
Entrée : Taille, Symbole
Variables : Taille, Largeur, Hauteur : Entier
Symbole : Caractere
DEBUT
ECRIRE("Veuillez entrer le caractere que vous souhaitez utiliser :"");
LIRE(symbol)... |
unit queues;
interface
const
BoardSize = 8;
type
TCell = (cQueen, cUnderAttack, cFree);
TBoard = array[1..BoardSize,1..BoardSize] of TCell;
pQueue = ^Queue;
Queue = record
x: byte;
board: TBoard;
next:pQueue;
end;
procedure CreateQueue(var tail: pQueue);
procedure PushQueue(var tail: pQueu... |
unit Main;
interface
uses
System.SysUtils,
System.Classes,
System.IOUtils,
AppConfiguration;
type
TMainApplication = class
private
fAppConfig: TAppConfiguration;
fSilentMode: boolean;
procedure ValidateSourceConfiguration();
function ExtractInputParameters(): string;
procedure Proces... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC TFDBatchMove SQL driver }
{ }
{ Copyright(c) 2004-2018 Embar... |
{***************************************************************************
*
* Orion-project.org Lazarus Helper Library
* Copyright (C) 2016-2017 by Nikolay Chunosov
*
* This file is part of the Orion-project.org Lazarus Helper Library
* https://github.com/Chunosov/orion-lazarus
*
* This Library is free soft... |
(*
AVR Basic Compiler
Copyright 1997-2002 Silicon Studio Ltd.
Copyright 2008 Trioflex OY
http://www.trioflex.com
*)
unit Funproc;
interface
uses
SysUtils,
EFile,
CompUt,
CompDef,
Common,
NodePool,
bs1lex;
function AddProcedure(Node: PSym): PSym; { Add New Procedure Name }... |
unit Test_FIToolkit.Config.Data;
{
Delphi DUnit Test Case
----------------------
This unit contains a skeleton test case class generated by the Test Case Wizard.
Modify the generated code to correctly setup and call the methods from the unit
being tested.
}
interface
uses
TestFramework,
FIToolkit.Co... |
unit WebServerWizardPage;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, WizardAPI, StdCtrls, ExtCtrls, AppEvnts, InetWiz, ExpertsUIWizard;
type
TWebServerWizardFrame = class(TFrame, IExpertsWizardPageFrame)
CoClassLabel: TLabel;
CreateNewISAPIApp: ... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, Menus;
type
TForm1 = class(TForm)
Button1: TButton;
Edit1: TEdit;
Memo1: TMemo;
Panel1: TPanel;
procedure FormCreate(Sender: TObject);
procedure Panel1Resiz... |
unit ncaFrmEscolhaProdDup;
{
ResourceString: Dario 11/03/13
}
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters, Menus,
cxControls, cxStyles, cxCustomData, cxFilter, cxData, cxDataStorage, cxEdit,
cxNavigat... |
unit MasterMind.View.Console;
{$IFDEF FPC}{$MODE DELPHI}{$ENDIF}
interface
uses
MasterMind.API;
type
TMasterMindConsoleView = class(TInterfacedObject, IGameView)
private
FPresenter: IGamePresenter;
procedure WriteEvaluatedGuess(const PreviousGuess: TEvaluatedGuess);
procedure WriteGuessResult(cons... |
unit SettingsFrame;
{$mode objfpc}{$H+}
interface
uses
Classes, TreeFilterEdit, Forms, StdCtrls, ExtCtrls, ComCtrls, Spin, Dialogs,
IDELocale, AppSettings;
type
{ TSettingsFrame }
TSettingsFrame = class(TFrame)
AssemblerTabSheet: TTabSheet;
CDChange: TColorDialog;
AsmVerboseCheckBox: TCheckBox... |
unit pdv_forma_pagamento;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters, Menus,
StdCtrls, cxButtons, cxControls, cxContainer, cxEdit, dxSkinsCore,
dxSkinBlack, dxSkinBlue, dxSkinCaramel, dxSkinCoffee, dxSkin... |
{*******************************************************}
{ }
{ Delphi Visual Component Library }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
unit GMOPCSrv;
interface
uses
Windows, SysUtils, Classes, prOpcServer, prOpcTypes, GMGlobals;
const OPC_NO_REFRESH_INTERVAL = 300; // в секундах
type
TOpcServer = class(TOpcItemServer)
private
protected
function GetItemInfo(const ItemID: String; var AccessPath: string;
var AccessRights: TAccessRig... |
unit Jet.IO;
{
Console IO, logging and other system facilities.
}
interface
uses Windows, UniStrUtils, Jet.CommandLine;
type
//"Default" states are needed because some defaults are unknown until later.
//They will be resolved before returning from ParseCommandLine.
TLoggingMode = (lmDefault, lmSilent, ... |
unit xProtocolPacks;
interface
uses System.Types, xTypes, xConsts, System.Classes, xFunction,
system.SysUtils;
type
/// <summary>
/// 通讯协议数据包操作类
/// </summary>
TProtocolPacks = class
private
protected
{**************************生成发送数据包******************************}
function ... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{ : FXCollectionEditor<p>
Edits a TXCollection<p>
<b>Historique : </b><font size=-1><ul>
<li>20/01/11 - DanB - Collection items are now grouped by ItemCategory
<li>16/06/10 - YP - Fixed IDE exception when item removed
<li>05/10/... |
unit DirOutln;
{ Directory outline component }
interface
uses Classes, Forms, Controls, Outline, SysUtils, Graphics, Grids, StdCtrls,
Menus;
type
TTextCase = (tcLowerCase, tcUpperCase, tcAsIs);
TCaseFunction = function(const AString: string): string;
TDirectoryOutline = class(TCustomOutline)
private
... |
{ Commence Mister Patate et le termine }
unit MrpInit;
interface
uses MrpText, MrpVga, MrpStr, MrpKey, MrpSon, MrpLoad, MrpPal, MrpTps;
var
{ Handle de la m‚moire Ems }
HandleEms: Word;
{ Erreur d'initialisation }
InitError: Byte;
{ D‚bute mister patate }
procedure Init;
{ Termine le pr... |
{*******************************************************}
{ }
{ Borland Delphi Runtime Library }
{ }
{ Copyright (C) 1998 Inprise Corporation }
{ ... |
unit SourceFile;
interface
uses
SourceLocation,
SourceToken,
SourceNode,
Classes,
SysUtils,
StrUtils,
StringBuilder,
NodeParsing;
type
TCharType = (ctEof, ctWhitespace, ctLetter, ctNumber, ctSymbol);
TStringMode = (smNone, smAt, smOpen, smOpenRaw, smEscape, smRawEscape, smCharOpen, smCharEscape, ... |
unit CSVToDataSet;
interface
uses
System.SysUtils, Datasnap.DBClient, System.IOUtils, Data.DB, System.Variants,
System.Classes, InterfaceConversor;
type
TCSVToDataSet = class(TConversor)
private
DataSet: TClientDataSet;
CaminhoDoArqv: String;
procedure Split(Linha: string; Delimiter: char; ListaD... |
unit u_feuille_style;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,
Controls, ExtCtrls,
Grids,
StdCtrls, Graphics;
type
Tfeuille_style = CLASS
procedure fonte_defaut (ctrl : TControl);
procedure panel_defaut (pnl : TPanel);
procedure panel_selection (pnl : T... |
unit WasmTest_Bench;
interface
uses
System.SysUtils, System.Generics.Collections
, Wasm
{$ifndef USE_WASMER}
, Wasmtime
{$else}
, Wasmer
{$ifend}
;
function Bench() : Boolean;
implementation
uses
Diagnostics, Ownership;
function fibonacci(n : Integer) : Integer;
begin
case n of
0: result := 0;
... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : http://fias.nalog.ru/WebServices/Public/DownloadService.asmx?WSDL
// >Import : http://fias.nalog.ru/WebServices/Public/Dow... |
{*******************************************************}
{ }
{ Delphi Runtime Library }
{ }
{ Copyright(c) 2016 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit fNewLog;
{$mode objfpc}
interface
uses
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
StdCtrls, LCLType, fCommonLocal;
type
{ TfrmNewLog }
TfrmNewLog = class(TfrmCommonLocal)
btnOK: TButton;
Button2: TButton;
cmbContestType: TComboBox;
edtLogName: TEdit;
... |
unit ExportBaseFrm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, ExtCtrls, ComCtrls, DBGrids, Utilits, Db, Mask,
ToolEdit;
type
TExportBaseForm = class(TForm)
ScrollBox: TScrollBox;
StatusBar: TStatusBar;
BtnPanel: TPanel... |
unit uSpeechesClass;
interface
uses
{The various uses which the unit may require are loaded.}
SysUtils, Classes, uMembersClass, uMembersArray;
{Class is created as TSpeeches.}
type TSpeeches = class
{The Private attributes are added.}
private
sSpeechID :integer;
sMemberID : integer;
... |
{ ledger
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, copy, modify, merge, publish... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2014-2019 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
{
Double Commander
-------------------------------------------------------------------------
Basic tool items types for KASToolBar
Copyright (C) 2012 Przemyslaw Nagay (cobines@gmail.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU... |
unit uMain;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.ScrollBox, FMX.Memo,
FMX.Controls.Presentation, FMX.StdCtrls
{$IFDEF MSWINDOWS}
, REST.Authenticator.OAuth.WebForm.Win
{$ELSE}
, R... |
unit Utils;
interface
function GetPath(SubDir: string): string;
implementation
uses
SysUtils,
Dialogs;
function GetPath(SubDir: string): string;
begin
Result := ExtractFilePath(ParamStr(0));
Result := IncludeTrailingPathDelimiter(Result + SubDir);
end;
end.
|
unit ComponentManagerUnit;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, StdCtrls, FileUtil, Forms, Controls, Graphics, Dialogs, IniFiles, ShellApi;
type
TComponentManager = class
private
buttonsList: array of TButton;
myListbox: TListBox;
Ini: Tinifile;
NAMES, CMD_LINES: ar... |
unit TestDelphiNetClass;
{
AFS May 2005
This unit compiles but is not semantically meaningfull
it is test cases for the code formatting utility
Basic test of class heritage, visibility and uses in Delphi.NET
}
interface
uses
Borland.Vcl.SysUtils,
System.Drawing, System.Collections, System.Com... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2014-2019 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
unit ExtraChargeSimpleQuery;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseQuery, FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS,
FireDAC.Phys.Intf, FireD... |
unit IFinanceDialogs;
interface
uses InfoBox, ErrorBox, ConfBox, DecisionBox, WarningBox;
procedure ShowInfoBox(const info: string);
procedure ShowErrorBox(const error: string);
procedure ShowConfirmationBox(const conf: string = 'Changes have been saved successfully.');
function ShowDecisionBox(const confMessage: st... |
unit FC.StockChart.UnitTask.MBB.AdjustWidthDialog;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Contnrs,
Dialogs, BaseUtils,SystemService, ufmDialogClose_B, ufmDialog_B, ActnList, StdCtrls, ExtendControls, ExtCtrls, Spin,
StockChart.Definitions,StockChart.Definitions... |
unit IdMessage;
interface
uses
Classes,
IdBaseComponent,
IdCoder,
IdCoderIMF,
IdCoder3To4,
IdCoderText,
IdException,
IdEMailAddress,
IdHeaderList,
SysUtils;
type
TIdMessagePriority = (mpHighest, mpHigh, mpNormal, mpLow, mpLowest);
const
ID_MSG_NODECODE = False;
ID_MSG_USENOWFORDATE = True;... |
unit LoadFromExcelFileHelper;
interface
uses ExcelDataModule, ProgressBarForm2, CustomErrorForm, ProcRefUnit,
ProgressInfo;
type
TLoad = class(TObject)
private
class var Instance: TLoad;
var
FCustomErrorFormClass: TCustomErrorFormClass;
FfrmProgressBar: TfrmProgressBar2;
FProcRef: TProcRef;
... |
unit uAlarmList;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Buttons, Grids, BaseGrid, AdvGrid, uSubForm,
CommandArray;
type
TfmAlarmList = class(TfmASubForm)
Panel1: TPanel;
cmb_EcuID: TComboBox;
Label1: TLabel;
btn_S... |
unit ShowForms;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, NppForms, NppPlugin, SciSupport, FileCtrl, StrUtils, ShellCtrls, ExtCtrls,
ComCtrls, Mask, ShellAPI, ShlObj, Registry;
type
TShowForms = class(TNppForm)
GetFilesButton: ... |
unit PrnCmd;
interface
uses SysUtils, Windows, MemBuf, PmTypedef;
{$J+ $WARNINGS OFF}
type
TPrnCmd = class(TObject)
public
procedure InitPrinter; virtual; abstract;
procedure CommandEx(lpCmd: Pointer;
cbCmdSize: Cardinal); virtual; //命令扩展
procedure CarriageReturn; virtual; //... |
unit servdata;
{
This is the remote datamodule for this demo. It contains the implementaion
of the OLE automation object that the client application talks to. The
datamodule contains a TDataSetProvider component that has an OnDataRequest event
which is used for dynamically assigning a SQL string. This demo ... |
{ ***************************************************************************
Copyright (c) 2016-2020 Kike Pérez
Unit : Quick.DAO.QueryGenerator.MySQL
Description : DAO MySQL Query Generator
Author : Kike Pérez
Version : 1.0
Created : 22/06/2018
Modified : 31/03/2020
This file ... |
unit ASMZ80;
interface
uses
SysUtils, MessageIntf;
{R-}
{ $M 16384,0,655360 }
CONST
maxSymLen = 16;
maxOpcdLen = 4;
alphaNumeric = '1234567890$ABCDEFGHIJKLMNOPQRSTUVWXYZ_';
numeric = '1234567890';
hex = '0123456789ABCDEF';
white = #9' '; { A tab plus a space }
... |
unit ItemsValidator;
interface
uses SysUtils, Classes, ItemsDef, Forms;
type
TItemsValidator = class
private
CurProject: TNumProject;
CheckedItems: TStringList;
MaxCount: integer;
CurCount: Integer;
procedure CheckNumLabelTpl(Item: TNumLabelTpl);
procedure CheckNumPlanItem(Ite... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLMultisampleImage<p>
This unit provides support for two new types of "multisample
textures" - two-dimensional and two-dimensional array - as well as
mechanisms to fetch a specific sample from such a texture in a shader,
a... |
{******************************************}
{ TPieSeries Editor Dialog }
{ Copyright (c) 1996-2004 by David Berneda }
{******************************************}
unit TeePieEdit;
{$I TeeDefs.inc}
interface
uses {$IFNDEF LINUX}
Windows, Messages,
{$ENDIF}
SysUtils, Classes,
{$IFDE... |
{ }
{ Unicode character functions v3.04 }
{ }
{ This unit is copyright © 2002-2004 by David J Butler ... |
unit uToneGenerator;
interface
uses classes,uSoundTypes;
type
TBasicToneGenerator=class(TPersistent)
private
FStream:TMemoryStream;
FDuration: integer;
FSampleRate: TSampleRate;
FVolume: TVolumeLevel;
FChannel: TSoundChannel;
procedure SetDuration(const Value: integer);
... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
Unit myStek;
Interface
Type element = char;
stekPoint = ^stek;
stek = record
info:integer;
next:stekPoint;
end;
Var empty:boolean;
openPosition:integer;
Procedure add(var point:stekPoint;i:integer);
Procedure pop(var point:stekPoint);
Function isEmpty(point:stekPoint):boolean;
... |
unit PascalCoin.Utility.Classes;
interface
uses System.Generics.Collections, System.Classes, System.SysUtils,
PascalCoin.Utility.Interfaces;
Type
TPascalCoinList<T> = class(TInterfacedObject, IPascalCoinList<T>)
private
FItems: TList<T>;
protected
function GetItem(const Index: Integer): T;
function Count: Int... |
unit uFeriadoEdt;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls,
Vcl.Mask, EDateEd, Vcl.Grids, Vcl.Samples.Calendar, Vcl.ComCtrls, Vcl.DBCtrls;
type
T... |
unit FileStructureInformationUnit;
/////////////////////////////////////////////////////////////////////////
// //
// Description: //
// Container for File Information processing ... |
unit ClassChars;
interface
uses Controls, Windows, Classes, Graphics;
const clChar = clBlack;
type PData = ^TData;
TData = record
Value : char;
Start : TPoint;
Area : integer;
BMP : TBitmap;
end;
TChars = class
private
procedure NacitajData( ImageList : TIm... |
unit uGameManager;
interface
uses
uLd, System.SysUtils, OtlTask, OtlTaskControl, uInterfaces, OtlParallel,
OtlSync, OtlCommon;
type
TGameManger = class(TInterfacedObject, IGameManger)
private
FLoop: IOmniParallelLoop<integer>;
FCancellationToken: IOmniCancellationToken;
//
FTas... |
unit RecursiveParametersQuery;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseQuery, FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS,
FireDAC.Phys.Intf, Fir... |
unit hash;
interface
uses
structs, bool;
type
THashsignature = record
key : int32;
lock : int32;
end;
THashentry = record
lock: int32;
value:Integer;
depth:Integer;
valuetype:Integer;
best:Integer;
end;
procedure positiontohashsignature(var p :TPosition... |
unit SetDBPath;
interface
procedure SetDatabasePath(configPath : String; newPath : String;
databaseName : String;
userId, password : String;
hostName : String;
hostPort : Integer);
implementation
uses
sysUtils,... |
//
// Copyright (c) 2009-2010 Mikko Mononen memon@inside.org
//
// 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 granted to anyone to use this software for any pu... |
{*********************************************}
{ TeeGrid Software Library }
{ VCL TBrush Editor }
{ Copyright (c) 2016 by Steema Software }
{ All Rights Reserved }
{*********************************************}
unit VCLTee.Editor.Brush;
inter... |
unit Router4D.Sidebar;
{$I Router4D.inc}
interface
{$IFDEF HAS_FMX}
uses
Classes,
SysUtils,
FMX.Types,
FMX.ListBox,
FMX.SearchBox,
FMX.Layouts,
Router4D.Interfaces,
System.UITypes;
type
TRouter4DSidebar = class(TInterfacedObject, iRouter4DSidebar)
private
FName : Stri... |
unit Dicts;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, ForestTypes;
type
TfrmDicts = class(TForm)
cmbDicts: TComboBox;
memValues: TMemo;
lblDictionary: TLabel;
lblValidValues: TLabel;
btnClear: TButton;
btnFillF... |
{*******************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ }
{ Copyright (c) 1997,98 Inprise Corporation }
{ ... |
unit uCompactar;
interface
uses
Windows, Dialogs, SysUtils, Classes;
Type
TCompactarWinrar = class
private
FPathInstalacao: String;
FDestino: String;
FOriginal: TStringList;
procedure SetDestino(const Value: String);
procedure SetOriginal(const Value: TStringList);
procedure SetPathInstalacao(const V... |
{$i deltics.inc}
unit Test.InterfaceCasts;
interface
uses
Deltics.Smoketest;
type
TInterfaceCastTests = class(TTest)
procedure ReturnsFALSEWhenInvalidImplementationClassRequested;
procedure ReturnsFALSEWhenInvalidInterfaceRequested;
procedure ReturnsValidImplementationClassWhenReque... |
{*********************************************}
{ TeeBI Software Library }
{ JSON data import }
{ Copyright (c) 2015-2017 by Steema Software }
{ All Rights Reserved }
{*********************************************}
unit BI.JSON;
interface
uses
... |
unit UnMoedas;
{Verificado
-.edit;
}
interface
uses
Db, DBTables, classes, sysUtils, painelGradiente, sqlexpr, tabela;
// calculos
type
TCalculosMoedas = class
private
calcula : TSQLQuery;
public
constructor criar( aowner : TComponent; VpaBaseDados : TSQLConnection ); virtual;
... |
unit HHReadWriter;
interface
uses Windows;
const
ERR_FILE_SUCCESS = 0;
ERR_FILE_INVALID_PARAMETER = -1;
ERR_FILE_INVALID_FILE = -2;
ERR_FILE_OPEN_FAIL = -3;
ERR_FILE_INVALID = -4;
ERR_FILE_NO_OPEN = -5;
ERR_FILE_NO_FRAME = ... |
program even;
var
i: integer;
begin
Writeln('The even numbers from 1 to 100 are : ');
For i:=1 to 100 do
If (i mod 2 = 0) then
Writeln(i)
end. |
{ (C) 2014 ti_dic@hotmail.com
License: modified LGPL with linking exception (like RTL, FCL and LCL)
See the file COPYING.modifiedLGPL.txt, included in the Lazarus distribution,
for details about the license.
See also: https://wiki.lazarus.freepascal.org/FPC_modified_LGPL
}
unit mvMapProvider;
{$mode objfpc... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.