text
stringlengths
14
6.51M
unit PaymentBank; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Grids, DBGridEh, DB, ComCtrls, ToolWin; type TPaymentBankForm = class(TForm) DBGridEh1: TDBGridEh; Panel1: TPanel; CloseButton: TButton; ToolB...
Program DayOfYearToGrigorian; VAR //входящие данные d : 1..366; m : 1..12; y : LongInt; //вспомогательные переменные julianA : LongInt; julianY : LongInt; julianM : LongInt; monthRange : array[0..12] of integer = (0,31,28,31,30,31,30,31,31,30,31,30,31); i : 1..12; grigA : LongInt; grig...
unit ncPendingCommandsList; /// //////////////////////////////////////////////////////////////////////////// // // TPendingCommandsList // Written by Demos Bill, Tue 11/08/2020 // // PendingCommandsList, the equivalent of TStringList // but for the type of TncCommandUniqueID // /// //////////////////////////...
{----------------------------------------------------------------------------- Author: Roman Fadeyev Purpose: Специальный для экспорта котировок History: -----------------------------------------------------------------------------} unit FC.StockData.Export.CSVExporter; {$I Compiler.inc} interface uses Wind...
{ Copyright (C) 2012, 2019-2020 Matthias Bolte <matthias@tinkerforge.com> Redistribution and use in source and binary forms of this file, with or without modification, are permitted. See the Creative Commons Zero (CC0 1.0) License for more details. } unit Base58; {$ifdef FPC}{$mode OBJFPC}{$endif} interface...
unit TestAverageWriteLogger; { 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, Windows, AverageLog...
unit Model.Contato; interface uses Model.Email, Model.Telefone, System.Generics.Collections; type TContato = class private FEmpresa: string; FNome: string; FEmails: TList<TEmail>; FTelefones: TList<TTelefone>; procedure SetEmpresa(const Value: string); procedure SetNome(const Value: strin...
unit FormMain; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, Menus, ExtCtrls, ComCtrls, ActnList; type { TfrmMain } TfrmMain = class(TForm) actExit: TAction; actFullscreen: TAction; actAbout: TAction; actSaveFileAs: TAction; actSave...
unit Thread.Trim.Helper.Partition; interface uses OSFile {$IfNDef UNITTEST}, ThreadToView.Trim {$Else}, Mock.Getter.TrimBasics.Factory{$EndIf}; type TPartitionTrimmer = class abstract(TOSFile) public procedure TrimPartition( const TrimSynchronizationToApply: TTrimSynchronization); virtual; ...
{**********************************************************************} {* Иллюстрация к книге "OpenGL в проектах Delphi" *} {* Краснов М.В. softgl@chat.ru *} {**********************************************************************} unit frmMain; interface u...
unit ClassUnit; interface uses StatusUnit; type TAimType = (atCage, atBonus, atLife, atAttack, atDefence, atMonster, atHero, atExit); TMoveDirection = (mdUp, mdDown, mdRight, mdLeft); TDirection = set of TMoveDirection; TFieldPoint = record x, y : ShortInt; end; TMoveMatrix = array[1...
unit TreeTest1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, ComCtrls, //XPMan, DumbTreeView; type TForm1 = class(TForm) UpperPanel: TPanel; LowerPanel: TPanel; AddRndButton: TButton; RowHeightTrackBar: TT...
{ Module of routines that manipulate menus. These routines all take * a menu object as their first argument. } module gui_menu; define gui_menu_create; define gui_menu_setup_top; define gui_menu_delete; define gui_menu_place; define gui_menu_drawable; define gui_menu_draw; define gui_menu_clear; define gui_menu_er...
unit uH; interface procedure Register; implementation uses Windows, SysUtils, Classes, ToolsAPI; type TCMDHighlighter = class(TNotifierObject, IOTAWizard, IOTAHighlighter, IOTAHighlighterPreview) const SIDString = 'DelphiNotes.Highlighter.CMD'; SName = 'CMD/BAT Highlighter'; SDisplayName = 'CMD/B...
unit gpslistform; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ButtonPanel, ComCtrls, ExtCtrls, Buttons, StdCtrls, mvGpsObj, mvMapViewer; const // IDs of GPS items _CLICKED_POINTS_ = 10; _TRACK_POINTS_ = 20; type { TGPSListViewer } TGPSListViewer = class...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2012-2018 Embarcadero Technologies, Inc. } { All rights reserved } { ...
unit uHTPredictor; interface uses dxmdaset; type TPlayerPosition = (pOnbekend, pKP, pRB, pRCV, pCV, pLCV, pLB, pRW, pRCM, pCM, pLCM, pLW, pRCA, pCA, pLCA); TPlayerOrder = (oNormaal, oVerdedigend, oAanvallend, oNaarVleugel, oNaarMidden); TTeamZelfvertrouwen = (zNietBestaand, zRampzalig, zWaardeloos, zSlecht, ...
unit EscolhaConexaoFormUn; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, acStrUtils; type TOpcaoConexao = record nome: string; nomeArquivo: string; end; TEscolhaConexaoForm = class(TForm) ListBox: TListBox; ...
{* Additional functions *} unit uFunctions; interface uses ShellApi; function WindowsCopyFile(FromFile, ToDir : string) : boolean; implementation function WindowsCopyFile(FromFile, ToDir : string) : boolean; var F : TShFileOpStruct; begin F.Wnd := 0; F.wFunc := FO_COPY; FromFile:=FromFil...
unit Unit6; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, Grids, StdCtrls, ExtCtrls, Types; type { TForm6 } TForm6 = class(TForm) BtnAdd: TButton; ClBtnGroupColor: TColorButton; ColorDialog1: TColorDialog; EditClass: TEdit; EditGrou...
{------------------------------------------------------------------------------- // EasyComponents For Delphi 7 // 一轩软研第三方开发包 // @Copyright 2010 hehf // ----------------------------...
program systemy_liczbowe; {$APPTYPE CONSOLE} uses SysUtils; const pattern: String = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'; var binary: string; //return value of x or -1 if an error occurs function valueOf( x: Char; base: Integer ): Integer; var i: Integer; begin result := -1; for i := 1 to base do begin ...
unit zlibex; (************************************************************************* DESCRIPTION : Customizable inflate and deflate zlib routines REQUIREMENTS : TP7, D1-D7/9/10, FPC, VP EXTERNAL DATA : --- MEMORY USAGE : 64K (2*CHUNK) heap for buffers + zlib memory DISPLAY MODE...
{ TODO: - Make tabstop and focusable - Disabled - Keyboard support } unit MUIButton; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Graphics, Controls, MUICommon, LCLIntf; type { TMUIButton } TMUIButton = class(TCustomControl) private FMouseOver, FPressed: boolean; FBackgrou...
unit MinWholeSaleForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, dxSkinsCore, dxSkinBlack, dxSkinBlue, dxSkinBlueprint...
unit TreeVisitor; //{$MODE Delphi} interface uses Contnrs, Nodes; type TTreeVisitor = class(TObject) procedure Visit(ANode: TNode); virtual; abstract; procedure PreOrder(ANode: TNode); virtual; procedure Postorder(ANode: TNode); virtual; procedure BreadthFirst(ANode: TNode); vi...
unit SearchParameterQuery; 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, FireDAC...
{ GMFunctionsVCL unit ES: unidad con funciones de caracter general específicas para FireMonkey EN: unit with a general functions specific for FireMonkey ========================================================================= History: ver 0.1.9 ES: nuevo: documentación nuevo: se hace compatible con Fi...
unit DragDropDesign; // ----------------------------------------------------------------------------- // // NOT FOR RELEASE // // ----------------------------------------------------------------------------- // Project: Drag and Drop Component Suite // Module: DragDropDesign // Description: ...
{*******************************************************} { Unit Name: Stats.IO.Base } { Unit Description: Input and Output for Statistics } { Copyright: © 1994-2016 SIMCON s.r.o. } { ----------------------------------------------------- } { Maintainer: Michal Ko...
{-Test prog for Shacal-2 CTR Seek, (c) we Aug 2010} program T_SC_CSK; {$i STD.INC} {$ifdef APPCONS} {$apptype console} {$endif} {$ifdef BIT16} {$N+,F+} {$endif} uses {$ifdef WINCRT} wincrt, {$endif} HRTimer, BTypes, {$ifdef USEDLL} {$ifdef VirtualPascal} SC_Intv; ...
(************************************************************************* DESCRIPTION : GUI demo for crcmodel/crcm_cat REQUIREMENTS : D3-D7/D9-D10/D12/D25S EXTERNAL DATA : --- MEMORY USAGE : --- DISPLAY MODUS : --- REFERENCES : [1] Ross Williams' public domain C sources...
{ Maximum Perfect Matching My Augmenting Path Alg. O(N2.E) Implementation O(N4) but very near to O(N.E) Implementation O(N3) Input: G: UnDirected Simple Graph N: Number of vertices Output: Mt: Match of Each Vertex (0 if not matched) Matched: size of matching (number of matched edges) By Behdad } prog...
unit MediaProcessing.Convertor.RGB.MJPEG.Impl; interface uses SysUtils,Windows,Classes, Graphics, BitmapStreamMediator, MediaProcessing.Definitions,MediaProcessing.Global, MediaProcessing.Convertor.RGB.MJPEG,JPeg,VFW; type TJPegImageEx = class (TJPegImage); TMediaProcessor_Convertor_Rgb_MJpeg_Imp...
{ @html(<b>) UDP Server Connection @html(</b>) - Copyright (c) Danijel Tkalcec @html(<br><br>) Introducing the @html(<b>) @Link(TRtcUdpServer) @html(</b>) component: @html(<br>) Server connection component for UDP communication using raw data. There will be no special pre-set formatting when sending ...
{*************************************************************** * * Project : HTTPServer * Unit Name: Basic demo showing how to construct a HTTP server and handle basic input * Purpose : * Version : 1.0 * Date : Wed 25 Apr 2001 - 01:21:56 * Author : <unknown> * History : * Tested : Wed 25 Apr 2001 /...
unit POENGINE; {*** The main game engine ***} {*** Game play area dimensions: 5,5,540,475 ***} interface var {* 8 players can have 5 missiles on screen at once} {* Maximum players: 15} NumLives, PCOL: Array[1..15] of ShortInt; X, Y, DIR: Array[1..15] of Integer; NumKills, Alive: Array[1.....
{*******************************************************} { } { Borland Delphi Visual Component Library } { } { Copyright (c) 1999 Inprise Corporation } { ...
unit cUsuario; interface type Usuario = class (TObject) protected codUsu : integer; logUsu : string; senhaUsu : string; nivelUsu : string; statusUsu : String; public Constructor Create (codUsu:integer; logUsu:string; senhaUsu:...
unit InputFrm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TInputForm = class(TForm) GroupBox1: TGroupBox; PromptLabel: TLabel; ValueEdit: TEdit; OkButton: TButton; CancelButton: TButton; procedure OkButtonClick(Sender: TObject...
unit uEditField; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls, {XML} Xml.xmldom, Xml.XMLIntf, Xml.Win.msxmldom, Xml.XMLDoc, Vcl.ImgList, Vcl.ExtCtrls, System.ImageList; type ...
program FileHandling; {$mode objfpc}{$H+} { Example 08 File Handling } { } { This example demonstrates just a few basic functions of file handling which } { is a major topic in itself. ...
unit dbf_prscore; {-------------------------------------------------------------- | TCustomExpressionParser | | - contains core expression parser | | This code is based on code from: | | Original author: Egbert van Nes | With contributions of: John Bultena and Ralf Junker | Homepage: http://www.slm.wau.nl/wkao/parseex...
unit uStudentInfo; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls,xStudentInfo, Buttons, ExtCtrls; type TfStudentInfo = class(TForm) lbl5: TLabel; btn1: TBitBtn; btn2: TBitBtn; pnlStuInfo: TPanel; edtName: TEdit; ...
UNIT StatLib0; {$N+,E+} interface uses MathLib0; CONST {Used with CreateNormTable} NumBands = 100; {this determines how close an estimator this table is} TYPE DevRec = RECORD Deviation, {std. deviations from mean} Difference { difference from previous deviation } : FLOAT; ...
{***************************************} { TeeChart Charting Library } { } { Copyright 1995-2001 by David Berneda. } { All Rights Reserved. } {***************************************} unit udemutil; interface Uses Classes, Graphics, Dialogs; Functio...
unit MoveHelper; interface uses System.Generics.Collections, System.Generics.Defaults, System.SysUtils; type TMoveHelper = class(TObject) private public class function Move(AArray: TArray<TPair<Integer, Integer>>; AUp: Boolean; ACount: Integer): TArray<TPair<Integer, Integer>>; static; end; im...
{ Copyright 2006-2017 Andrey Grigorov 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 law or agreed to i...
{ ---------------------------------------------------------------------------- } { BulbTracer for MB3D } { Copyright (C) 2016-2017 Andreas Maschke } { ---------------------------------------------------------------------------...
{**********************************************************************} {* Иллюстрация к книге "OpenGL в проектах Delphi" *} {* Краснов М.В. softgl@chat.ru *} {**********************************************************************} {/* * (c) Copyright 1993, ...
unit uSettings; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, CoolTrayIcon, System.ImageList, Vcl.ImgList, acAlphaImageList, System.Win.Registry, Vcl.StdCtrls, Vcl.Samples.Spin, JvExControls, JvComC...
{*******************************************************} { } { Delphi FireDAC Framework } { FireDAC SQL Server API wrapping classes } { } { Copyright(c) 2004-2018 Embar...
unit ksSegmentButtonsTest; interface uses DUnitX.TestFramework, ksSegmentButtons; type [TestFixture] TksSegmentButtonsTest = class(TObject) private FSegmentButtons: TksSegmentButtons; public [Setup] procedure Setup; [TearDown] procedure TearDown; end; implementatio...
{*******************************************************} { } { Delphi DBX Framework } { } { Copyright(c) 1995-2018 Embarcadero Technologies, Inc. } { All rights rese...
uses nome_sorgente_contestant, Classes; const MAXBUF = 4096 * 4; var total_bytes_read, bytes_read : int64; input_buffer, output_buffer : array[0..MAXBUF-1] of char; idx_input_buffer, idx_output_buffer : longint; input_stream, output_stream : TFileStream; function fast_read_char() : char; begin (* ...
unit taGlobals; interface const SECONDSINMINUTE = 60; SECONDSINHOUR = 60 * SECONDSINMINUTE; OUTPUTTIMEZONE_UTCDELTA_HRS = +3; TOMATODURATION = 30 * SECONDSINMINUTE; function DataPath(ARelativePath: string): string; procedure NotSupported(const AValue: Variant; const AName: string = ''); implementation use...
unit ncProtecao98; interface uses ExtCtrls, SysUtils, Forms, Dialogs, Messages, Graphics, Classes, Windows, Menus, ncProtecao, {xpButton,} Registry; const PolicyStr : PChar = 'Policy'; Drives_Mask : Array['A'..'Z'] of Cardinal = ( {a} $01, {b} $02, {c} $04, {d} $08, {e}...
unit UnitApiClient; interface uses api; procedure OpenApiClient; var FilesClient: TFilesService.Iface; FileClient: TFileService.Iface; RunWorkClient: TRunWorkService.Iface; CurrFileClient: TCurrentFileService.Iface; ProductsClient: TProductService.Iface; AppCfgClient: TAppConfigService.Iface...
unit VrtecConst; interface uses jvShape, Graphics,Contnrs, Windows, SysUtils, Classes; type TShapeRec = record Type_: TjvShapeType; Voice: AnsiString; end; TCharRec = record Char: char; Voice: AnsiString; end; TColorRec = record Color: TColor; Voice: AnsiString;...
unit LCSynEdit; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Dialogs, controls, graphics , Forms // Unit necessária devido ao MessageBox , LCLType, SynEdit , SynPluginMultiCaret , SynEditKeyCmds, SynEditMouseCmds; resourcestring rsUntitled = 'Sem Nome %d'; rsFileOverride = 'O Arquivo "%s" ja ...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
unit FormsHelper; interface uses Vcl.Forms, System.SysUtils, System.Classes; type TFormsHelper = class(TObject) private const cswsNormal = 'Normal'; cswsMinimized = 'Minimized'; cswsMaximized = 'Maximized'; public class function FormStatsToString(form: TForm): string; static; class proced...
unit MediaStream.Filer.MP6; interface uses SysUtils,Classes, Windows, SyncObjs, MediaStream.Filer, MediaProcessing.Definitions,HHRecorder,HHCommon; type TStreamFilerMp6 = class (TStreamFiler) private FWriter: THHRecorderMpeg6File; protected procedure DoWriteData(const aFormat: TMediaStreamDataHeader; ...
unit Game; interface uses CardPiles; type //---------------------------------------------------------------------------- // TGame acts as a 'facade' for the solitaire game: // - It manages the various piles and their consistency // - It provides functions for accessing the piles // - It provides commands...
{(*} (*------------------------------------------------------------------------------ Delphi Code formatter source code The Original Code is frClarify.pas, released April 2000. The Initial Developer of the Original Code is Anthony Steele. Portions created by Anthony Steele are Copyright (C) 1999-2008 Anthony S...
Program Repetir ; var n1, Contador:integer; Begin //Fazer um loop que mostre os números compreendidos entre 20 e 200 Contador:=20; repeat n1:=Contador; writeln(n1:0:2); Contador:=Contador + 1; until Contador > 200; End.
//////////////////////////////////////////////////////////////////////////////// // // // FileName : SUIGroupBox.pas // Creator : Shen Min // Date : 2002-08-20 V1-V3 // 2003-06-24 V4 // Comment : // // Copyright (c) 2002-2003 Sunisoft // http://www.sunisoft.com // Email: ...
{$WARN SYMBOL_PLATFORM OFF} unit MainDLLValidation; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, StdCtrls; const WM_POSTPROCESSING = WM_USER + 1; type TForm1 = class(TForm) btnValidate: TButton; ListView1: TListView; StatusBar1: TStatusBar; ...
{ v 13.10.20 8:08am } unit cadastro_produto; interface uses Winapi.Windows, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.DBCtrls, Vcl.StdCtrls, Vcl.Mask, cxGraphics, cxPC, cxEdit, cxDropDownEdit, cxDBEdit, Vcl.Menus, cxCheckBox, cxButtons, cxMemo, cxGr...
unit uForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TForm2 = class(TForm) Label1: TLabel; edtValorTotal: TEdit; edtValorRecebido: TEdit; Label2: TLabel; btnCalcul...
unit u_xml_xplplugin_ex; {============================================================================== UnitName = u_xml_xplplugin_ex UnitDesc = Extended classes to handle xml files UnitCopyright = GPL by Clinique / xPL Project =====================================================================...
{*******************************************************} { } { Borland Delphi Visual Component Library } { } { Copyright (c) 1995-2001 Borland Software Corporation } { ...
unit Billiards.Game; interface uses Billiards.GameDay, Billiards.GameType, Billiards.Period, Billiards.Member; type TBilliardGame = class private fGameDay: TBilliardGameDay; fMember1: TBilliardMember; fMember2: TBilliardMember; fTurns: integer; fScore2: integer; fScore1: integer; ...
{** Douglas Colombo * Classe de conversão de arquivos em texto * e de Texto em Arquivos, BASE64 * MODIFICADO 04/12/2019 POR Daniel Rodrigues (ajustes de plataforma) * * **} unit UBase64; interface uses System.Classes, System.netEncoding, System.SysUtils, VCL.Graphics; procedure Base64ToFile (Arqu...
unit rECS; interface uses System.SysUtils, System.Classes; type TECSReport = Class(TObject) private FReportHandle: string; // PCE report or Patient Summary report FReportType: string; // D: display P: print FPrintDEV: string; // if Print, the print device IEN FReportStart: string; // Start D...
// // This unit is part of the GLScene Project, http://glscene.org // {: GLFileWAV<p> Support for Windows WAV format.<p> <b>History : </b><font size=-1><ul> <li>17/11/09 - DaStr - Improved Unix compatibility (thanks Predator) (BugtrackerID = 2893580) <li>25/07/09 -...
unit unities; interface uses Classes, InternalTypes; type TUnityList = class(TStringList) private function GetNames(Index : Integer) : String; procedure SetNames(Index : Integer; Value : String); function GetValues(Index : Integer) : UInt64; procedure SetValues(Index : Integer; Value : UInt64); public p...
unit MainTestU; interface procedure Main; implementation uses TemplateProU, System.IOUtils, System.SysUtils, System.Classes; procedure Main; var lTPro: TTemplateProEngine; lInput: string; lOutput: string; lOutputStream: TStringStream; lFileName: string; lOutputWithoutBOM: string; begin lTPro ...
{*******************************************************} { } { Delphi FireDAC Framework } { FireDAC wait time user interface } { } { Copyright(c) 2004-2018 Embar...
unit Getter.LatestFirmware; interface uses Classes, Windows, SysUtils, Generics.Collections, Web.HTTP; type TFirmwareVersion = (NotMine, OldVersion, NewVersion, NotFound); TFirmwareQuery = record Model, Firmware: String; class operator Equal(const A, B: TFirmwareQuery): Boolean; end; TFirmwareQ...
namespace ComplexNumbers; interface type ConsoleApp = class public class method Main; end; implementation class method ConsoleApp.Main; var x: Double; a,b: Complex; begin a := 5.0; // operator Implicit a.Imaginary := -3; Console.WriteLine(a.ToStrin...
var ThreadList: TThreadList<TIndexed>; FinalList: TList<TIndexed>; Comparison: TComparison<TIndexed>; TmpIndexedRecord: TIndexed; begin Result := []; // Thread-safe unordered storage ThreadList := TThreadList<TIndexed>.Create; try ThreadList.Duplicates := dupAccept; // do the job TParallel....
// // This unit is part of the GLScene Project, http://glscene.org // {: GLSCUDAEditor<p> Editor of TGLSCUDA.<p> <b>History : </b><font size=-1><ul> <li>22/08/10 - Yar - Some improvements for FPC (thanks Predator) <li>19/03/10 - Yar - Creation </ul></font> } unit FCUDAEditor; interface...
unit uDependenteDTO; interface type TDependenteDTO = class private FIsCalculaINSS: Boolean; FNome: String; FIsCalculaIR: Boolean; public property Nome: String read FNome write FNome; property IsCalculaIR: Boolean read FIsCalculaIR write FIsCalculaIR; property IsCalculaINSS: Boolea...
unit treeunit; {$mode objfpc}{$H+} interface uses Classes, SysUtils, nodeunit, Dialogs, ComCtrls; type TFileTree = class(TComponent) private files: TCollection; treeView: TTreeView; Ckk: integer; startFolder: string; function GetCount: Integer; function Get(index: Int...
unit bf_base; (************************************************************************* DESCRIPTION : Blowfish basic routines REQUIREMENTS : TP5-7, D1-D7/D9-D12/D17-D18/D25S, FPC, VP, WDOSX EXTERNAL DATA : --- MEMORY USAGE : --- DISPLAY MODE : --- REFERENCES : B.Sch...
unit SIP_Sound; interface uses Classes; type TSIPAnnouncement=class(TObject) private function GetBuffer: Pointer; function GetSize: Integer; published public Wave:String; Name:String; Text:String; property Size:Integer read GetSize; property Buffer:Pointer read GetBuffer; end; ...
{ ID: nhutqua1 PROG: milk LANG: PASCAL } const fileinp = 'milk.in'; fileout = 'milk.out'; type farmer = record p,a:longint; end; var n,m,c:longint; f:array[1..5000] of farmer; procedure Init; var i:longint; begin assign(input,fileinp); reset(input); ...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2019 The Bitcoin Core developers // Copyright (c) 2020-2020 Skybuck Flying // Copyright (c) 2020-2020 The Delphicoin Developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-...
unit DuplicateCategoryQuery; interface uses FireDAC.Comp.Client, System.Classes, Data.DB, SearchCategoryQuery, NotifyEvents, DSWrap; type TDuplicateCategoryW = class(TDSWrap) private FCaption: TFieldWrap; FID: TFieldWrap; public constructor Create(AOwner: TComponent); override; property Cap...
{ ------------------------------------ 功能说明:实现IListFiller接口 创建日期:2010/05/17 作者:wzw 版权:wzw ------------------------------------- } unit uListFiller; interface uses SysUtils, Classes, DB, DBClient, uDataRecord; type TListFiller = class private public procedure FillList(DataSet: TD...
unit Code.DelphiChallenge01; interface { @subject: Delphi Challenge #01 @author: Jacke Laskiwski @date: 2020-05-09 21:00 Funkcja przyjmująca na wejściu dwa parametry: - łańcuch tekstowy oraz - znak (char), celem funkcji jest usunięcie z zadanego łańcucha wszystkich powtórzonych znaków zgodnych z podanym charem ...
unit ejb_currencyconverter_impl; {This file was generated on 28 Feb 2001 10:06:56 GMT by version 03.03.03.C1.06} {of the Inprise VisiBroker idl2pas CORBA IDL compiler. } {Please do not edit the contents of this file. You should instead edit and } {recompile the original IDL which was located...
unit uFrame4_Page1; interface uses ui_CustomListView, System.Generics.Collections, System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, UI.Frame, UI.Base, UI.Standard, UI.ListView; type TFrame4_Page1 =...
unit classesTelefonie; interface uses System.SysUtils, System.StrUtils, Vcl.Dialogs, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC.Stan.Async, FireDAC.DApt, Data.DB, FireDAC.Comp.DataSet, FireDAC.Comp.Client, System.UI...
// ============================================================================== // // Unit uDefaultPlayer.pas // // This class contains the information about the default Dark Souls player // // Esta classe contém as informações sobre o jogador padrão (player 1, :P) // // ======================================...
Program Area_Circulo ; const pi=3.14; var raio, area:real; Begin //Pede o valor do raio Writeln('Introduza o valor do raio'); Readln(raio); //Calculo da área area:= pi*raio*raio; //Condição.O raio precisa de ser maior que 0 , senão o círculo não existe! if raio > 0 then Writeln('O valor da...
{ ********************************************************************** } { } { Delphi Open-Tools API } { } { Copyright (C) 2000...
{ To include the Zip: protocol, define "IncludeZip" by removing the "..." } { ...$Define IncludeZip } { ********************************************************* } { * UrlConId.PAS * } { * Copyright (c) 1999 by * } { * Metaphor ...
unit Unit1; interface uses System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.Menus, //GLS GLScene, GLHUDObjects, GLObjects, GLCadencer, GLBitmapFont, GLWin32Viewer, GLWindowsFont, GLWindows, GLGui, GLTexture, GLCrossPlatform, GLMaterial, GLCoo...