text stringlengths 14 6.51M |
|---|
unit Main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, Spin, Math, jpeg, Buttons;
const // Constante HelpText : le texte d'aide du programme ^^
HelpText='Ce programme vous permettra d''approximer Pi graçe à une méthode statist... |
unit Interfaces.Box;
interface
uses
System.Classes,
System.Types,
Vcl.ExtCtrls;
type
IBox = Interface(IInterface)
['{2D0FD04F-D399-40D1-ACF4-86B24EB2230A}']
function Position(const Value: TPoint): IBox; overload;
function Position: TPoint; overload;
function Owner(const Value: TGridPanel): IBox... |
unit InflatablesList_HTML_Document;
{$INCLUDE '.\InflatablesList_defs.inc'}
interface
uses
Classes,
AuxTypes, CountedDynArrayObject, CountedDynArrayUnicodeChar,
InflatablesList_Types,
InflatablesList_HTML_TagAttributeArray;
type
TILHTMLElementNode = class(TObject)
private
fParent: TILHTMLElemen... |
unit uFrmMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, StrUtils;
type
TfrmMain = class(TForm)
mmoSQLList: TMemo;
btnDo: TButton;
procedure btnDoClick(Sender: TObject);
private
{ Private declarations }
public
{ Public d... |
unit UEngineArchivesExt;
(*====================================================================
Functions for accessing RAR and ACE archives via DLLs from RAR and ACE
======================================================================*)
interface
const
ERAR_END_ARCHIVE = 10;
ERAR_NO_MEMORY =... |
unit HS4Bind.Send;
interface
uses
RESTRequest4D,
HS4Bind.Interfaces,
System.Classes,
Vcl.ExtCtrls;
type
THS4BindSend = class(TInterfacedObject, iHS4BindSend)
private
FParent : iHS4Bind;
FFileName : String;
FContentType : String;
FFileStream : TBytesStream;
FEndPoint : stri... |
unit fmForma20;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, cxLabel, cxControls, cxContainer, cxEdit, cxTextEdit,
cxMaskEdit, cxButtonEdit, cxLookAndFeelPainters, StdCtrls, cxButtons,
cxDropDownEdit, cxCalendar, ActnList, IBase, uCommonSp,
Asu... |
{$I CetusOptions.inc}
unit ctsUtils;
interface
function OutRange(const aIndex, aLow, aHight: LongInt): Boolean;
implementation
function OutRange(const aIndex, aLow, aHight: LongInt): Boolean;
begin
Result := (aIndex < 0) or (aIndex >= aHight);
end;
end.
|
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
unit ibSHDDLCompiler;
interface
uses
SysUtils, Classes, Dialogs, Types,
SynEditTypes,
SHDesignIntf, SHOptionsIntf, pSHIntf,
ibSHDesignIntf, ibSHDriverIntf, ibSHConsts, ibSHComponent;
type
TibBTDDLCompiler = class(TibBTComponent, IibSHDDLCompiler)
private
FDDLParser: TComponent;
FDRV... |
unit Sample;
interface
//http://www.maxmind.com/download/geoip/database/
function LookupCountry(IP: string): string;
//function LookupCity(IP: string): string;
//function LookupOrg(IP: string): string;
implementation
uses GeoIP;
function LookupCountry(IP: string): string;
var
GeoIP: TGeoIP;
GeoIPCountry: TGe... |
unit Chapter09._04_Solution2;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
Math,
DeepStar.Utils;
/// 198. House Robber
/// https://leetcode.com/problems/house-robber/description/
/// 动态规划
/// 时间复杂度: O(n^2)
/// 空间复杂度: O(n)
type
TSolution = class(TObject)
public
function rob(nums: TArr_int):... |
unit preamble;
{$X+}
{ Interpret preamble paragraph, compose PMX preamble }
interface uses globals;
function thisCase: boolean;
procedure preambleDefaults;
procedure interpretCommands;
procedure doPreamble;
procedure doPMXpreamble;
procedure respace;
procedure restyle;
function startString(voice: voice_index0): stri... |
unit UDAreaFormat;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls,
Forms, Dialogs, StdCtrls, Buttons, ExtCtrls, UCrpe32;
type
TCrpeAreaFormatDlg = class(TForm)
pnlAreaFormat: TPanel;
lblArea: TLabel;
cbPrintAtBottomOfPage: TCheckBox;
cbNewPageBefore: TCheckBox;
cbNe... |
unit uVSRuleReader;
interface
uses
Classes,Contnrs,xmldom, XMLIntf, msxmldom,XMLDoc,
uVSRules,uVSSimpleExpress,uVSCombExpress;
type
TVSRuleReader = class
private
m_XMLDoc : IXMLDocument;
m_RuleList : TList;
m_ExpressList : array of TVSExpression;
protected
procedure LoadRuleInfo(Node : IXM... |
unit uCommonDB;
interface
uses DB, uCommonDBParams, NagScreenUnit;
type
TCommonDBTransaction = class;
TCommonDB = class(TObject)
public
procedure SetHandle(const Handle); virtual; abstract;
procedure GetHandle(var Handle: Integer); virtual; abstract;
function GetTransaction: TCo... |
unit CFPopupEdit;
interface
uses
Windows, Classes, Controls, CFButtonEdit, CFControl, CFPopupForm;
type
TCFPopupEdit = class(TCFButtonEdit)
private
FPopup: TCFPopupForm;
procedure DoPopupControl;
function GetPopupControl: TWinControl;
procedure SetPopupControl(const Value: TWinCont... |
(*
Unité : UTimer.pas
Date : 28/10/2002
Auteur : Sébastien TIMONER (sebastien@timoner.com)
Description : Timer utilisant l'api SetWaitableTimer, permettant d'avoir
un timer beaucoup plus fiable que le TTimer de delphi
*)
unit UTimer;
interface
uses
SysUtils,
Windows,
C... |
unit Management;
interface
uses
idSNTP,
Winapi.Windows, Winapi.WinSock2, System.SysUtils;
function getInternetDateTime: TDateTime;
Var
WSAData: TWSAData;
SNTPClient : TIdSNTP;
implementation
procedure Startup;
begin
if WSAStartup($0101, WSAData) <> 0
then raise Exception.Create('WSAStartup');
end... |
namespace Main;
interface
implementation
uses
System.Collections.ObjectModel, // Note: this sample requires Beta 2 of the .NET Framework 2.0
System.Collections.Generic;
method GenericMethod;
var
x: array of Integer;
y: ReadOnlyCollection<Integer>;
z: IList<String>;
begin
x := [123,43,2,11];
y := &Ar... |
unit NewFrontiers.Reflection.ValueConvert;
interface
uses System.TypInfo, System.Rtti;
type
TTypeKindSet = set of TTypeKind;
TValueConverter = class
public
class function convertTo(aValue: TValue; aTarget: PTypeInfo): TValue;
end;
implementation
uses SysUtils;
{ TValueConverte... |
(***** 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 at
* http://www.mozilla.org/MPL/
*
* Software... |
{
Role
Draw shapes using the mouse actions.
}
unit ThDrawObject;
interface
uses
System.Classes,
System.Generics.Collections,
GR32, GR32_Polygons, GR32_VectorUtils,
clipper,
ThTypes, ThClasses, ThItemStyle,
ThCanvasEventProcessor,
ThItem, ThShapeItem, ThItemCollections;
type
TThCustomDrawObje... |
{
Clever Internet Suite Version 6.2
Copyright (C) 1999 - 2006 Clever Components
www.CleverComponents.com
}
unit clProgressBar;
interface
{$I clVer.inc}
uses
Classes, clDC, clMultiDC, clDCUtils, Graphics, Windows, {$IFDEF DEMO}Forms,{$ENDIF} Controls;
type
TclDrawPaintOption = (dpDrawTotal, dpDrawItems);
... |
{*******************************************************************************
Title: T2Ti ERP
Description: Controller do lado Cliente relacionado à tabela [EMPRESA]
The M... |
unit TestUPrecoGasController;
{
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, DB, DBXJSON, UPrec... |
unit StringUtils;
interface
function StrZero(number, width: Integer): string;
implementation
function StrZero(number, width: Integer): string;
begin
Str(number, Result);
while (Length(Result) < width) do
Insert('0', Result, 1);
end;
end.
|
unit Geo.Hash;
//------------------------------------------------------------------------------
// реализация гео-хэширования
//------------------------------------------------------------------------------
// набор фунций для гео-кодирования и декодирования
//
// подробное описания функций - перед ними
//
// ВАЖНО... |
unit uFormNewShtat;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, uFloatControl, uDateControl, uFControl,
uLabeledFControl, uCharControl, uFormControl, uInvisControl, uLogicCheck;
type
TfmFormNewShtat = class(TForm)
OkButton: TBitBtn... |
// ----------- Parse::Easy::Runtime -----------
// https://github.com/MahdiSafsafi/Parse-Easy
// --------------------------------------------
unit Parse.Easy.Parser.Action;
interface
uses
System.Classes,
System.SysUtils;
type
TActionType = (atUnkown,atShift, atReduce, atJump);
TAction = class(TObject)
pr... |
{***********************************************
* *
* *
* 这个模块是用来获取CPU、硬盘序列号,CPU的*
* *
* 速率、显示器的刷新率网卡的MAC地址等信息 *
* *
* ... |
unit rECS;
interface
uses SysUtils, Windows, Classes, Forms, ORFn, rCore, uConst, ORClasses, ORNet, uCore;
type
TECSReport = Class(TObject)
private
FReportHandle: string; // PCE report or Patient Summary report
FReportType : string; // D: display P: print
FPrintDEV : string... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.Imaging.pngimage, Vcl.ExtCtrls, Vcl.StdCtrls;
type
TForm1 = class(TForm)
Image1: TImage;
Label1: TLabel;
Image2: TImage;
Label2... |
unit USVGGraphics32;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs,UMatrix,USVG,GR32, GR32_Image, GR32_Layers,GR32_Transforms,
GR32_VectorUtils,GR32_Polygons, GR32_Paths, GR32_Brushes,GR32_ColorGradients,
UPolylines;
type
TGradMat=class
public
... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [VIEW_COMPRA_MAPA_COMPARATIVO]
The MI... |
unit MainUnit;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls, System.Generics.Collections,
ComObj, ActionsUnit, ActiveX, SPIClient_TLB, Vcl.Menus;
type
... |
program test;
type
nodePtr = ^listElement;
listElement = record
val : Integer;
Prev : nodePtr;
Next : nodePtr;
end;
List = RECORD
first: nodePtr;
last: nodePtr;
END;
function NewNode(val : Integer) : nodePtr;
var temp : nodePtr;
begin
New(temp);
temp^.val := val;
temp^.prev := Nil;
temp... |
unit RashChart;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, TeEngine, Series, DB, MemDS, DBAccess, Ora, ExtCtrls, TeeProcs,
Chart, DBChart, StdCtrls, Mask, ToolEdit, Math, UDbFunc;
type
TRashChartForm = class(TForm)
Chart: TDBChart;
qChart: TOraQ... |
program HowToUseAnimationWithMultipleSprites;
uses
SwinGame, sgTypes;
procedure Main();
var
myFrog, myLizard: Sprite;
begin
OpenAudio();
OpenGraphicsWindow('Dance', 800, 600);
LoadResourceBundle('dance_bundle.txt');
myFrog := CreateSprite(BitmapNamed('FrogBmp'), AnimationScriptNamed('WalkingSc... |
unit uAssociatedIcons;
interface
uses
Winapi.Windows,
Winapi.ActiveX,
Winapi.ShlObj,
System.Classes,
System.SysUtils,
System.Win.Registry,
Vcl.Graphics,
Vcl.Forms,
Dmitry.Utils.ShellIcons,
uConstants,
uRWLock,
uMemory;
type
TAssociatedIcons = record
Icon: TIcon;
... |
unit fmSolverOptions;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ExtCtrls, Mask, ToolEdit, cxControls,
cxContainer, cxMCListBox, RXSplit;
type
TfmSolverOpt = class(TForm)
Panel1: TPanel;
Panel2: TPanel;
bbOk: TBitBtn;
... |
{ ***************************************************************************
Copyright (c) 2016-2020 Kike Pérez
Unit : Quick.Logger.Provider.GrayLog
Description : Log GrayLog Provider
Author : Kike Pérez
Version : 1.2
Created : 15/03/2019
Modified : 25/04/2020
This file is pa... |
unit ThPathUtils;
interface
uses
SysUtils, Classes;
function ThAppendPath(const inPre, inSuff: string): string;
function ThPathToUrl(const inPath: string): string;
function ThUrlToPath(const inUrl: string): string;
function ThEscapePath(const inPath: string): string;
function ThIsFullPath(const inPath: s... |
{ ZADANIE 25
* Vytvorte program, ktorý zo súboru/maturita/data/studbod.txt načíta
* mená žiakov a počty bodov, ktoré žiaci dosiahli v teste a potom
* vypíše mená tých, ktorých výsledok bol lepší ako priemer.
* }
program LepsiAkoPriemer;
uses crt, sysutils;
type ziak = record {typ record je nehomogenn... |
unit Constants;
interface
const
LATIN_WORD_LETTERS = ['-', 'A'..'Z', 'a'..'z'];
ROME_DIGITS = ['I', 'i', 'V', 'v', 'X', 'x'];
CYRILLIC_WORD_LETTERS = ['À'..'ß','à'..'ÿ'];
STR_FILTERNAME_DIRECTSOUND = 'DirectSound';
DIC_SEPARATOR = '_____';
DIR_DIC = 'dicts\';
FILENAME_MUELLER_DICT = 'mueller-base';
F... |
//------------------------------------------------------------------------------
//InterOptions UNIT
//------------------------------------------------------------------------------
// What it does-
// This unit is used to gain access to configuration varia... |
//------------------------------------------------------------------------------
//Helios Program
//------------------------------------------------------------------------------
// What it does-
// Helios is a cross-compatible(Windows & Linux), multi-thr... |
unit uNewtonHelper;
{$I ..\Include\IntXLib.inc}
interface
uses
Math,
uXBits,
uConstants,
uDigitOpHelper,
uDigitHelper,
uIMultiplier,
uMultiplyManager,
uIntXLibTypes;
type
/// <summary>
/// Contains helping methods for fast division
/// using Newton approximation approach and... |
program Jakkat;
{$mode objfpc}
uses GetOpts, Parser, SysUtils;
var
defs: TParserDefinitions;
parsr: TParser;
path: string;
paths: array of string;
outfilename: string;
f: TextFile;
procedure Usage;
begin
writeln('TODO: usage');
halt(255);
end;
procedure ParseCommandLineOptions;
const
optString = ... |
{
"name": "Wadiya is a Comet!",
"description":"Wadiya is a Comet! Waiya but filled with water! Big Naval battles ",
"version":"1.0",
"creator":"TheRealF",
"planets": [
{
"name": "Wadiya",
"mass": 5000,
"position_x": 37500,
"position_y... |
unit SDUSystemTrayIcon;
// Description: System Tray Icon
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
interface
// This just uses the later structures for "TNotifyIconData_...", whic... |
unit UFrmCadastroEmpresaMatriz;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, UFrmCRUD, Menus, Buttons, StdCtrls, ExtCtrls
, UEmpresaMatriz
, UUtilitarios
, URegraCRUDPais
, URegraCRUDCidade
, URegraCRUDEstado
, URegraCRUDEmpresaMatriz
;
type
T... |
unit fmSolveResults;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ExtCtrls;
type
TfmResults = class(TForm)
Panel1: TPanel;
Panel2: TPanel;
memo: TMemo;
bbClose: TBitBtn;
private
{ Private declarations }
public
... |
unit UnitListarPortasAtivas;
interface
uses
Windows,
winsock,
tlhelp32,
UnitFuncoesDiversas;
//resourcestring
const
ResTCPStateClosed = 'CLOSED';
ResTCPStateListen = 'LISTEN';
ResTCPStateSynSent = 'SYNSENT';
ResTCPStateSynRcvd = 'SYNRCVD';
ResTCPStateEst = 'ESTABLISHED';
ResTCPStateFW1 = 'FIN_WA... |
unit OpenCV.Legacy;
interface
uses
Winapi.Windows,
OpenCV.Lib,
OpenCV.Core;
/// ****************************************************************************************\
// * Eigen objects *
// \**********************************... |
unit uDMGlobal;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
IniFiles, siComp, ImgList, siLangRT;
const
LANG_ENGLISH = 1;
LANG_PORTUGUESE = 2;
LANG_SPANISH = 3;
LANG_DIRECTORY = 'Translation\';
type
TDMGlobal = class(TDataModule)
LanguageDispatch... |
{
This applications shows how you should replace string string arrays (if any)
in the case you plan to support runtime language switch.
}
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TForm1 = class(TForm)
Label1: TLabel;
... |
//
// Generated by JavaToPas v1.5 20171018 - 171345
////////////////////////////////////////////////////////////////////////////////
unit android.net.wifi.WifiManager_LocalOnlyHotspotCallback;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes,
android.net.wifi.WifiManager_LocalOnlyHotspotReservation... |
// The MIT License (MIT)
//
// Copyright (c) 2013 by Sivv LLC
//
// 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 u... |
// RemObjects CS to Pascal 0.1
namespace UT3Bots;
interface
uses
System,
System.Collections.Generic,
System.Linq,
System.Text,
UT3Bots.UTItems,
UT3Bots.Communications,
System.IO;
type
GameState = public class
private
class var CHECK_INTERVAL: TimeSpan := new TimeSpan(0, 2, 0); readonly;
... |
{ -----------------------------------------------------------------------------
Unit Name: FileVersionInformationU
Author: Tristan Marlow
Purpose: File Version Information
----------------------------------------------------------------------------
Copyright (c) 2016 Tristan David Marlow
Copyright (c) 2016... |
//
// VXScene Component Library, based on GLScene http://glscene.sourceforge.net
//
{
Base abstract ragdoll class. Should be extended to use any physics system.
}
unit VXS.Ragdoll;
interface
uses
VXS.Scene, VXS.PersistentClasses, VXS.VectorGeometry, VXS.VectorFileObjects,
VXS.VectorLists, V... |
program GUITest_SDL2;
{ Test 1 program for the Simple GUI Library. }
{ Simple GUI is a generic SDL2/Pascal GUI library by Matthias J. Molski,
get more infos here:
https://github.com/Free-Pascal-meets-SDL-Website/SimpleGUI.
It is based upon LK GUI by Lachlan Kingsford for SDL 1.2/Free Pascal,
get it here: ht... |
unit Unit1;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Classes,
System.Math,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.StdCtrls,
Vcl.Imaging.Jpeg,
GLScene, GLObjects, GLCadencer, GLTexture, GLCgShader,
GLWin32Viewer, CgGL, GLVe... |
//
// Generated by JavaToPas v1.5 20180804 - 082550
////////////////////////////////////////////////////////////////////////////////
unit android.app.ApplicationErrorReport_RunningServiceInfo;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes,
Androidapi.JNI.os,
android.util.Printer;
type
JAppl... |
{*******************************************************}
{ }
{ 软件名称 W.MIS CLIENT MODEL }
{ 版权所有 (C) 2003, 2004 Esquel.IT }
{ 单元名称 UAppOption.pas }
{ 创建日期 2004-8-3 11:01:18 ... |
unit MVVM.Rtti;
interface
uses
System.Rtti,
System.TypInfo,
System.Classes;
type
TRttiPropertyHelper = class helper for TRttiProperty
private
function GetSetterField : TRttiField;
function GetGetterField : TRttiField;
public
property SetterField : TRttiField read GetSetterField;
propert... |
unit Banco;
{$mode objfpc}{$H+}
interface
uses
HTTPDefs, BrookRESTActions, BrookUtils;
type
TBancoOptions = class(TBrookOptionsAction)
end;
TBancoRetrieve = class(TBrookRetrieveAction)
procedure Request({%H-}ARequest: TRequest; AResponse: TResponse); override;
end;
TBancoShow = class(TBrookShowAc... |
unit RawDocument;
interface
uses
Classes, Forms, Types,
LrDocument;
type
TRawDocument = class(TLrDocument)
private
FStrings: TStringList;
FEditPos: TPoint;
protected
function GetExtension: string; override;
function GetFilter: string; override;
procedure SetStrings(const Value: TStri... |
//
// VXScene Component Library, based on GLScene http://glscene.sourceforge.net
//
{
Support for MP3 format.
}
unit VXS.FileMP3;
interface
{$I VXScene.inc}
uses
System.Classes,
VXS.ApplicationFileIO,
VXS.SoundFileObjects;
type
{ Support for MP3 format.
*Partial* support only, acc... |
unit OthelloBoard;
interface
uses FMX.Objects3D, System.Classes, FMX.MaterialSources, FMX.Dialogs, OthelloCounters, System.UITypes;
type
TOthelloTile = class;
TOthelloTileClick = procedure(Sender : TOthelloTile) of object;
TOthelloTile = class(TRectangle3D)
private
FX: Integer;
FY: In... |
unit TurboAjaxDocument;
interface
uses
SysUtils, Classes,
htTag, htDocument,
LrDocument, TurboPhpDocument,
Design, Project;
type
TTurboAjaxDocument = class(TTurboPhpDocument)
public
class function DocumentDescription: string;
class function DocumentExt: string;
protected
function Create... |
unit MainUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Menus, ComCtrls, StdCtrls, Grids, DBGrids, DB, IBCustomDataSet,
IBQuery, consts, IBSQL, ShellApi, IniFiles,
cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxDataStorage,
cxEdit, cxDBData,... |
unit ExtractionFrame;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls,
InflatablesList_Types,
InflatablesList_Manager;
type
TfrmExtractionFrame = class(TFrame)
pnlMain: TPanel;
lblExtractFrom: TLabel;
cmbExtractFrom: TComboB... |
unit strings; { String handling primitives. }
{ These should be recoded in C instead of using the p2c code. }
interface
procedure scan1 (s: string; p: integer; var n: integer);
{ Read an integer at position p of s }
function startsWith (s1, s2: string): boolean;
function pos1(c: char; s: string): integer;
funct... |
unit eGroup;
interface
uses
API_ORM,
eCommon,
eLink,
eRecord;
type
TGroupList = class;
TGroup = class(TEntity)
private
FChildGroupList: TGroupList;
FLinkList: TLinkList;
FParentGroupID: Integer;
FRecordList: TRecordList;
FRootChain: string;
function GetChildGroupList: TGroupLis... |
namespace TicTacToe;
interface
uses
Foundation;
type
ComputerPlayer = public class
private
fBoard: Board;
fComputerPlayer: String;
fForkSquares: Array[1..9] of NSInteger;
method playerAtCoordinates(x: Int32; y: Int32): String;
method OpponentInPosition(x, y : Int32):Boolean... |
unit uFrmPreSaleItemDiscount;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, PaideTodosGeral, siComp, siLangRT, StdCtrls, Buttons, ExtCtrls, Math;
type
TFrmPreSaleItemDiscount = class(TFrmParentAll)
btApply: TButton;
Label2: TLabel;
cmbCalcType: T... |
unit uVSSimpleExpress;
{违标简单表达式单元}
interface
uses
classes,Windows,SysUtils,Forms,DateUtils,
uVSConst,uLKJRuntimeFile,uVSAnalysisResultList;
type
TCustomGetValueEvent = function(RecHead:RLKJRTFileHeadInfo;
RecRow:TLKJRuntimeFileRec):Variant of object;
////////////////////////////////////////////////////////... |
unit VSoft.AntPatterns2;
interface
uses
Generics.Collections,
VSoft.AntPatterns;
type
TTestRec = record
path : string;
isDir : boolean;
constructor Create(const APath : string; const AIsDir : boolean);
end;
TAntPattern2 = class(TAntPattern)
private
FFiles : TList<TTestRec>;
protected
... |
{*******************************************************}
{ }
{ Tachyon Unit }
{ Vector Raster Geographic Information Synthesis }
{ VOICE .. Tracer }
{ GRI... |
unit mainclass;
{$mode objfpc}{$H+}
interface
uses
Sysutils;
CONST
PWLOWERCASESTRINGS: String = 'abcdefghijklmnopqrstuvwxyz';
PWUPPERCASESTRINGS: String = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';
PWNUMBERS: String = '0123456789';
PWSPECIAL = '$@&#!+%.,;-=';
PROJECTNAME = 'Advanced Password Generator V1.1.4';
P... |
{
Copyright (c) 2020 Adrian Siekierka
Based on a reconstruction of code from ZZT,
Copyright 1991 Epic MegaGames, used with permission.
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 Softwar... |
unit untEnderecoMDL;
interface
uses
System.Generics.Collections;
type
TEnderecoMDL = class
private
FLogradouro: string;
FBairro: string;
FPrincipal: Boolean;
FCep: string;
FNumero: string;
FMunicipio: string;
FComplemento: string;
FTipo: Integer;
FPais: string;
FEstado: ... |
unit uInstallCloseRelatedApplications;
interface
{$WARN SYMBOL_PLATFORM OFF}
uses
System.Classes,
System.SysUtils,
Dmitry.Utils.System,
uMemory,
uMemoryEx,
uActions,
uInstallUtils,
uInstallScope;
const
InstallPoints_Related_Apps = 1024 * 1024;
type
TInstallCloseRelatedAp... |
unit ParsingForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls, ExtCtrls, Menus,
ComparatorFrame, ExtractionFrame,
InflatablesList_Types,
InflatablesList_HTML_ElementFinder,
InflatablesList_ItemShopParsingSettings,
InflatablesList_... |
program selection_sort;
const
N = 10;
type
array1d = Array[1..N] of Integer;
{ Start pf procedure switchElements }
procedure switchElements(var el1, el2 : Integer);
var
temp : Integer;
begin
temp := el1;
el1 := el2;
el2 := temp;
end;
{ End of procedure switchElements }
{ Start of procedur... |
unit FormStud_Add_Edit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, cxContainer, cxEdit, cxTextEdit,
StdCtrls, cxControls, cxGroupBox, cxButtons, cnConsts, cxMaskEdit,
cnConsts_Messages, cxButtonEdit, uPrK_Loader, uPrK_Resources, i... |
unit NfeLocalEntrega;
{$mode objfpc}{$H+}
interface
uses
HTTPDefs, BrookRESTActions, BrookUtils, FPJson, SysUtils, BrookHTTPConsts;
type
TNfeLocalEntregaOptions = class(TBrookOptionsAction)
end;
TNfeLocalEntregaRetrieve = class(TBrookRetrieveAction)
procedure Request({%H-}ARequest: TRequest; AResponse... |
unit ConnectSettings;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Simplex.Types;
type
TfrmConnectSettings = class(TForm)
GroupBox1: TGroupBox;
btnOK: TButton;
btnCance... |
unit uDlgSelectObjectTypeToLink;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uBASE_DialogForm, Menus, cxLookAndFeelPainters, DB, ADODB,
StdCtrls, cxButtons, ExtCtrls, cxStyles, cxCustomData, cxGraphics,
cxFilter, cxData, cxDataStorage, cxEdit, cxD... |
{------------------------------------------------------------------------------------}
{program p031_000 exercises production #031 }
{statement -> compound_statement }
{----------------------------------------------------------... |
unit UTypes;
interface
const
{ Ошибки при вычислении выражения }
errRANK = 1;
errBRACKETS = 2;
errNOT_ENOUGH_OPERANDS = 4;
errBAD_OPERANDS = 8;
errTG_PI_2 = 16;
errCTG0 = 32;
errASIN = 64;
errACOS = 128;
errL... |
{===============================================================================
Projeto Sintegra
****************
Biblioteca de Componente para geração do arquivo Sintegra
Site: http://www.sultan.welter.pro.br
Direitos Autorais Reservados (c) 2004 Régys Borges da Silveira
Esta biblioteca é software livre; você pode... |
{
Lua4Lazarus Sample1: User Define Object.
}
unit sample1_Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, db, dbf, Forms, StdCtrls;
type
{ TForm1 }
TForm1 = class(TForm)
Button1: TButton;
Dbf1: TDbf;
Memo1: TMemo;
Memo2: TMemo;
procedure Button1Click(S... |
unit ProcessQueue;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
IBX.IBDatabase, ExtCtrls, IBX.IBQuery;
type
TQueueEvent = procedure(Sender: TObject; Process: integer; Params: string) of object;
TEventPriority = integer;
TEventProcess = integer;
TEventSpecific ... |
UNIT TAU_GAME_MAIN;
{$MODE OBJFPC}
{$H+}
{$INCLUDE TAU_SIGNAL}
INTERFACE
USES
SDL,
SDL_IMAGE,
TETRIS_BOARD;
CONST
GAME_STATE_INGAME = 1;
GAME_STATE_PAUSE_STATETIMER = 2;
TYPE
TTauGameMain = CLASS
PRIVATE
b_ok : boolean;
b_pause : boolean;
b_gameover ... |
//
// Generated by JavaToPas v1.5 20180804 - 082445
////////////////////////////////////////////////////////////////////////////////
unit android.service.autofill.RegexValidator;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes,
Androidapi.JNI.os,
android.view.autofill.AutofillId,
java.util.reg... |
unit EraConv;
// -----------------------------------------------------------------------------
// EraConvコンポーネント ver.1.2.0 for Delphi
// Copyright (c) みず
// -----------------------------------------------------------------------------
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms... |
unit uin;
// Генерация и хранение уникальных идентификаторов
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
// Класс создающий и отслеживающий неповторяющиеся идентификаторы
type
TUin=class
private
Number: Integer; // Следующий доступный идентификато... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.