text
stringlengths
14
6.51M
{----------------------------------------------------------------------------- Author: Roman Fadeyev Purpose: Соединение, использующее для источника данных историю котировок (IStockDataStorage) History: -----------------------------------------------------------------------------} unit FC.StockDat...
{$i deltics.interfacedobjects.inc} unit Deltics.InterfacedObjects.InterfacedObject; interface uses Deltics.Multicast, Deltics.InterfacedObjects.Interfaces.IInterfacedObject, Deltics.InterfacedObjects.ObjectLifecycle; type // @TInterfacedObjectBase // // Provides a base class for ob...
unit Expense; interface type TExpense = class private FLocation: string; FCash: currency; FExpenseDate: TDate; FAmount: currency; FTitleCode: string; FTitleName: string; FExpenseId: string; FCheck: currency; public property ExpenseId: string read FExpenseId write FExpenseId; ...
unit IdMappedPortTCP; interface { 2001-12-xx - Andrew P.Rybin -new architecture 2002-02-02 - Andrew P.Rybin -DoDisconnect fix } uses Classes, IdGlobal, IdTCPConnection, IdTCPServer, IdAssignedNumbers, SysUtils; type TIdMappedPortThread = class (TIdPeerThread) protected FOutboundClient: TIdTCPConnecti...
unit Mock.DeviceTrimmer; interface uses SysUtils, Generics.Collections, Windows, OSFile; type TPendingTrimOperation = record IsUnusedSpaceFound: Boolean; StartLBA: UInt64; LengthInLBA: UInt64; end; TTrimOperationList = TList<TPendingTrimOperation>; TDeviceTrimmer = class(TOSFile) privat...
{ Radius NT Directory Watcher Based on FnugryDirWatch Component Copyright (C) 1998 Gleb Yourchenko } {$A-,B-,I-,R-,X+} {.$define PlatformCheck} // Check platform before allocating // DirWatch instance. unit RadDW_NT; interface uses Windows, SysUtils, Classes, Messages, xbase{,...
unit daemon_printer_server; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, DaemonApp, server_thread, fphttpserver, printers, fpjson, jsonparser; type { TPrinterServer } TPrinterServer = class(TDaemon) procedure DataModuleContinue(Sender: TCustomDaemon; var OK: Boolean); procedure Dat...
{******************************************} { Base types and Procedures } { Copyright (c) 1995-2004 by David Berneda } { All Rights Reserved } {******************************************} unit TeeProcs; {$I TeeDefs.inc} interface Uses {$IFNDEF LINUX} Windows, Messages, {...
{*******************************************} { TeeChart Pro Metafile exporting } { Copyright (c) 1995-2004 by David Berneda } { All Rights Reserved } {*******************************************} unit TeeEmfOptions; {$I TeeDefs.inc} interface uses {$IFNDEF LINUX} Windows, Message...
unit uCComunicacao; interface uses System.SysUtils, System.Classes, System.TypInfo, System.Generics.Collections, System.Types, System.JSON, Data.DBXJSONReflect, REST.Client, REST.Types, REST.JSON, REST.Response.Adapter, FireDAC.Comp.Client, IPPeerClient, Data.Bind.Components, Data.Bind.O...
unit Connection.COM; interface uses Windows, SysUtils, GMConst, GMGlobals, Connection.Base, AnsiStrings, StrUtils; type TConnectionObjectCOM = class(TConnectionObjectBase) private hPort : cardinal; StateComPort: bool; FLastError: string; function CheckPortBuf: TComStat; function SendBuf: TChe...
{**************************************************} { TCurveFittingFunction } { TTrendFunction } { Copyright (c) 1995-2004 by David Berneda } {**************************************************} unit CurvFitt; {$I TeeDefs.inc} interface { TCustomFi...
{********************************************************************* * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Autor: Brovin Y.D. * E-mail: y.brovin...
unit uIndicadorOperacoes; interface uses Contnrs, uRegistro; type TIndicadorOperacoes = class(TRegistro) private fID : Integer; // Toda chave primaria nossa no banco dentro do objeto vai chamar ID fCodigo : String; fDescricao : String; ...
{ "Windows Screen Utils (VCL)" - Copyright 2004-2017 (c) RealThinClient.com (http://www.realthinclient.com) @exclude } unit rtcVScreenUtilsWIN; interface {$include rtcDefs.inc} uses Types, Windows, Messages, Classes, SysUtils, {$IFDEF IDE_XEUp} VCL.Graphics, {$ELSE} Graphics, ...
unit Horse.CodeGen.Templates; interface resourcestring sHorseDPR = 'program %0:s;' + sLineBreak + sLineBreak + '{$APPTYPE CONSOLE}' + sLineBreak + sLineBreak + 'uses' + sLineBreak + ' Horse;' + sLineBreak + sLineBreak + '{$R *.res}' + sLineBreak + sLineBreak + 'var' + sLineBreak + ' A...
{*********************************************} { TeeGrid Software Library } { Base abstract Control class } { Copyright (c) 2016 by Steema Software } { All Rights Reserved } {*********************************************} unit Tee.Control; {$I Tee.inc} ...
unit MDIEdit; interface uses SysUtils, Windows, Messages, Classes, Graphics, Controls, Forms, Dialogs, Menus, StdCtrls, ComCtrls; type TEditForm = class(TForm) MainMenu1: TMainMenu; File1: TMenuItem; New1: TMenuItem; Open1: TMenuItem; Save1: TMenuItem; Saveas1: TMenuItem; Print1: TM...
{*******************************************************} { } { Delphi DBX Framework } { } { Copyright(c) 1995-2018 Embarcadero Technologies, Inc. } { All rights rese...
unit uVersionCheck; interface uses ORSystem, rMisc; function IsCorrectVersion(anOption: String; bDebug: Boolean = False): Boolean; implementation uses ORNet, ORFn, Windows, VAUtils, Forms, System.SysUtils; const TX_VER1 = 'This is version '; TX_VER2 = ' of CPRSChart.exe.'; TX_VER3 = CRLF + 'The running ...
unit Getter.CodesignVerifier; interface uses SysUtils, Windows, Getter.CodesignVerifier.Publisher; type TCodesignVerifier = class private type TWinTrustFileInfo = record cbStruct: DWORD; pcwszFilePath: PWideChar; hFile: THandle; pgKnownSubject: PGUID; end; ...
unit test_unit2; interface const MAX_EPISODIOS_POR_TEMPORADA = 25; MAX_TEMPORADAS_POR_SERIE = 10; MAX_CANTIDAD_SERIES = 4; MAX_VISUALIZACIONES_POR_USUARIO = 100; MAX_USUARIOS = 50; CANT_TOP = 10; Type tmlogico = integer; tTitulo = string[72]; tDescripcionVideo = ...
// // Created by the DataSnap proxy generator. // unit UDBAccess; interface uses DBXCommon, DBXJSON, Classes, SysUtils, DB, SqlExpr, DBXDBReaders, DBClient, Variants; type TDBAccess = class(TComponent) private FConnection: TDBXConnection; FErrorCode: Integer; FErrorText: string; ...
unit UDBShortNavigator; // UDBShortNavigator.pas - Toggles between short list of buttons // and long list // Copyright (c) 2000. All Rights Reserved. // by Software Conceptions, Inc. Okemos, MI USA (800) 471-5890 // Written by Paul Kimmel interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Form...
unit MenuPizzaria; interface uses System.SysUtils, ItensDoMenu, IteratorMenu; type TMenuPizzaria = class private ListaMenu: ListaDeMenus; Posicao: Integer; public constructor Create; procedure AdicionarItem(Nome: string; Descricao: string; Preco: currency; Vegano: boolean); function...
unit UAccounts; {$IFDEF FPC} {$MODE Delphi} {$ENDIF} { Copyright (c) 2016 by Albert Molina Distributed under the MIT software license, see the accompanying file LICENSE or visit http://www.opensource.org/licenses/mit-license.php. This unit is a part of Pascal Coin, a P2P crypto currency without need ...
program labEX6; uses graph,crt; const Triangle: Array [1..32] of PointType = ((X: 50; Y: 50), (X: 100; Y:50), (X: 100; Y: 80), (X: 200; Y: 80), ...
unit JASysInfo; {$mode objfpc}{$H+} interface uses sysutils, exec, amigados, Intuition, AGraphics, layers, GadTools, Utility, picasso96api, cybergraphics, linklist, JATypes, JALog; type TJASysInfoCPU = ( JACPU_86000=0, JACPU_86010=1, JACPU_86020=2, JACPU_86030=3, ...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; Memo1: TMemo; procedure Button1Click(Sender: TObject); procedure FormCreate(Sender: TObject); private { Private declaration...
unit Unit1; interface uses System.SysUtils, System.Classes, System.Math, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls, //GLScene GLScene, GLObjects, GLCadencer, GLVectorFileObjects, GLWin32Viewer, GLTexture, GLVectorGeometry, GLCrossPlatform, GLMaterial, GLCoord...
{*******************************************************} { } { Delphi DataSnap Framework } { Copyright(c) 2014-2018 Embarcadero Technologies, Inc. } { All rights reserved } { ...
unit WasmSample_Callback; interface uses System.Classes, System.StrUtils, System.SysUtils, Wasm, Ownership {$ifndef USE_WASMER} , Wasmtime {$else} , Wasmer {$ifend} ; function CallbackSample_Clike() : Boolean; function CallbackSample() : Boolean; implementation procedure wasm_val_print(val : TWasmVal); be...
unit class_8; interface implementation uses system; type TC1 = class FData: Int32; function GetData: Int32; end; TC2 = class FC: TC1; constructor Create; end; function TC1.GetData: Int32; begin Result := FData; end; constructor TC2.Create; begin FC := TC1.Create(); FC.FData ...
PROGRAM Prime(INPUT, OUTPUT); CONST Min = 2; Max = 100; VAR Sieve: SET OF Min .. Max; Count, CountMax, CheckNumber: Min .. Max; BEGIN {Prime} Count := Min; CountMax := Max; Sieve := [Min .. Max]; WRITE('Простые числа от 2 до ', Max, ': ', Min, ' '); WHILE (Count < CountMax) DO B...
{ Routines for sending CAN frames. } module can_send; define can_send; %include 'can2.ins.pas'; { ******************************************************************************** * * Subroutine CAN_SEND (CL, FRAME, STAT) * * Send the CAN frame described by FRAME. The CAN frame may be transmitted * after this ...
unit ToolsU; interface uses ComObj, Windows, Messages, SysUtils, Classes, VCL.Controls, VCL.Forms, VCL.Dialogs, ShellAPI, SHFolder, DB, Variants, Printers, WinSpool, System.UITypes, VCL.Graphics; function IsEmptyString(AValue: string): boolean; function StripExtraSpaces(AValue: string; ARemoveTab: boolean = ...
UNIT huffman; INTERFACE CONST END_OF_INPUT=256; TYPE T_symbolFrequency=array[0..255] of longint; T_modelEntry=record previousSymbol:byte; followerFrequency:T_symbolFrequency end; T_arrayOfBoolean=array of boolean; HuffmanModel=(hm_DEFAULT,hm_LUCKY,hm_NUMBERS,hm_WIKIPEDIA,hm_MNH); CONST DEFAULT_PREV_SYMBOL=32;...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2014-2019 Embarcadero Technologies, Inc. } { All rights reserved } { ...
{ /**********************************************************\ | | | hprose | | | | Official WebSite: http://www.hprose.com/ | | ...
unit Vcl.TCustomEditHelper; interface uses Winapi.Windows, Vcl.StdCtrls, Vcl.Mask; const ECM_FIRST = $1500; EM_SETCUEBANNER = ECM_FIRST + 1; EM_GETCUEBANNER = ECM_FIRST + 2; type TCustomEditHelper = class helper for TCustomEdit private function GetOldValue: String; procedure SetOldValue(InVal: S...
{******************************************************************************* * * * TksImageViewer - Enhanced image viewer component * * ...
unit BenchmarkForm; {$mode delphi} interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, BenchmarkClassUnit, Math, CheckLst, Grids, Buttons, ExtCtrls, ComCtrls, Clipbrd, MMValidation, ToolWin, ImgList, Menus; {$I FASTCODE_MM.INC} const WM_POSTPROCESSI...
unit FC.StockChart.UnitTask.Calendar.Navigator; interface {$I Compiler.inc} uses SysUtils,Classes, BaseUtils, Serialization, StockChart.Definitions.Units,StockChart.Definitions, FC.Definitions, FC.Singletons, FC.StockChart.UnitTask.Base; implementation uses FC.StockChart.UnitTask.Calendar.NavigatorDialog; t...
unit ItemsDef; {$DEFINE DEBUG} {$DEFINE DEBUG_SQL} interface uses SysUtils, Types, Graphics, Contnrs, Classes, ItemsSerialize, DateUtils, MkSqLite3, Variants; const STATE_ARRAY : array[0..2] of string = ('продано', 'сободно', 'неисправно'); type TDbItemField = record Name: string; Value:...
unit xElecPower; interface uses xElecLine, xElecPoint; type TElecPower = class private FVolA: TElecLine; FVolB: TElecLine; FVolC: TElecLine; FVolN: TElecLine; FCurrAIn: TElecLine; FCurrAOut: TElecLine; FCurrBIn: TElecLine; FCurrBOut: TElecLine; FCurrCIn: TElec...
unit dref_float_2; interface implementation var G1, G2: Float64; P: ^Float64; procedure Test; begin G1 := 5.1245789; P := @G1; G2 := P^; end; initialization Test(); finalization Assert(G2 = G1); end.
unit xVCL_FMX; interface uses System.Classes, System.SysUtils, VCL.Dialogs, Vcl.Forms, Vcl.ExtCtrls; type TMySaveDialog = class(TSaveDialog) end; type TMyOpenDialog = class(TOpenDialog) end; type TMyTimer = class(TTimer) end; /// <summary> /// 延时等待函数,等待时处理其它事件 /// </summary> ...
unit BmpToJpg; {-----------------------------------------------------------------------------} { TBmpToJpeg v 1.1 } { Copyright 1998,1999, Eric Pedrazzi. All Rights Reserved. } {----------------------------------------------------------------...
unit frm_estimacionAvances; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls, sPageControl, frm_connection, global, ToolWin, ExtCtrls, DBCtrls, Mask, frm_barra, db, Menus, OleCtrls, frxClass, frxDBSet, Buttons, RxLookup, RxMemDS, utilerias, ...
{*******************************************************} { } { Delphi DataSnap Framework } { Copyright(c) 2012-2018 Embarcadero Technologies, Inc. } { All rights reserved } { ...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2014-2019 Embarcadero Technologies, Inc. } { All rights reserved } { ...
{$R-} {$Q-} unit ncEncRc5; // To disable as much of RTTI as possible (Delphi 2009/2010), // Note: There is a bug if $RTTI is used before the "unit <unitname>;" section of a unit, hence the position {$IF CompilerVersion >= 21.0} {$WEAKLINKRTTI ON} {$RTTI EXPLICIT METHODS([]) PROPERTIES([]) FIELDS([])} {$ENDIF}...
namespace MetalExample; interface uses Metal, MetalKit; type mouseDownstate = enum(none, cmd, shift, alt, ctrl); [IBObject] Metal_View = public class(MTKView) private trackingArea: NSTrackingArea; fMousePos : NSPoint; fMouseDownPos : NSPoint; mState : mouseDownstate; fMousein : Bo...
unit PrnUtils; {PrnUtils Copyright (c) 1989-2000 by Joe C. Hecht All Rights Reserved} {License - Distribution of this souce code prohibited!} {For inclusion in compiled form in your application only!} {Version 3.1 - Use at your own risk - No liability accepted!} {TExcellentHomePage: www.code4sale.com/joehecht} {Author...
{ GS1 interface library for FPC and Lazarus Copyright (C) 2020-2021 Lagunov Aleksey alexs75@yandex.ru This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License,...
unit UCampeonato; interface type TCampeonatos = class private FId : Integer; FNome : String; FAno : Smallint; function getAno: Smallint; function getId: Integer; function getNome: String; procedure setAno(const Value: Smallint); procedure setId(const Value: Integer); procedure setNome(const Val...
{ File Name: AudioIO.PAS V 4.00 Created: 5-Oct-96 by John Mertus on the IBM PC Revision #1: 5-Oct-22 by John Mertus -John Mertus Version 1.00 Initial Release } { There are three Sound Components, the first is the base Component, TAudioIO. This defines the samplin...
unit main; interface uses SysUtils, Types, Classes, QGraphics, QControls, QForms, QDialogs, QActnList, QImgList, QExtCtrls, QComCtrls, QStdCtrls, QStdActns, QMenus, QTypes, About; type TForm1 = class(TForm) Memo1: TMemo; StatusBar1: TStatusBar; ActionList1: TActionList; ImageList1: TImageList...
{************************************************** llPDFLib Version 6.4.0.1389, 09.07.2016 Copyright (c) 2002-2016 Sybrex Systems Copyright (c) 2002-2016 Vadim M. Shakun Al...
{----------------------------------------------------------------------------} { Written by Nguyen Le Quang Duy } { Nguyen Quang Dieu High School, An Giang } {----------------------------------------------------------------------------} ...
unit ncaFrmConfigComanda; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ncaFrmBaseOpcaoImgTxt, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, Menus, cxTextEdit, cxMaskEdit, cxSpinEdit, cxCheckBox, StdCtrls, cxButtons, cx...
unit Grammar; interface uses Classes, Generics.Collections; type TGrammar = Class(TObject) private gAxiom: String; // Map symbols to replacements gRules: TDictionary<String, String>; // Map symbols to turtle movements gMovements: TDictionary<String, String>; public con...
unit ncaFrmBaseCadastroMT; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ncaFrmBaseCadastro, dxBar, cxClasses, LMDControl, LMDCustomControl, LMDCustomPanel, LMDCustomBevelPanel, LMDSimplePanel, Data.DB, kbm...
unit Ex9Unit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, MTUtils, ComCtrls; const UM_PROGRESS_INIT = WM_USER + 1; UM_PROGRESS_CHANGE = WM_USER + 2; type TProgressData = class CurrValue: Integer; CalcResult: Int64; ...
unit StrHelper; interface uses System.Generics.Collections; Type TMySplitRec = record BracketInBalance: Boolean; StringArray: TArray<String>; end; TBracket = class public LeftBracket: Char; RightBracket: Char; constructor Create(ALeftBracket, ARightBracket: Char); end; TBracketList...
unit Vigilante.Controller.Base.Impl; interface uses Vigilante.Controller.Base, Module.ValueObject.URL, Module.DataSet.VigilanteBase, Vigilante.Aplicacao.ModelBase; type TControllerBase<T: IVigilanteModelBase> = class abstract(TInterfacedObject, IBaseController) protected function GetDataSetInterno: TVigi...
// // 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 purpose...
// GLScriptPython {: Python implementation for the GLScene scripting layer.<p> This unit is experimental.<p> <b>History : </b><font size=-1><ul> <li>11/11/2004 - SG - Creation </ul></font> } unit GLScriptPython; interface uses Classes, SysUtils, // GLScene XCollection, GLScrip...
program DNASequenceGenerator; uses crt, Sysutils, DNASequenceGeneratorUnit; var keyP: Char; begin sequences[0]:= 'A';//le asignamos a la posicion 0 el valor de A sequences[1]:= 'C';//le asignamos a la posicion 1 el valor de C sequences[2]:= 'G';//le asignamos a la posicion 2 el valor de G sequences[3]:= ...
//f10_tambah_jumlah_buku //Dev : Sandra //v1.0.0 unit f10_tambah_jumlah_buku; interface uses banana_csvparser; procedure tambah_jumlah_buku; //prosedur untuk menambahkan jumlah buku dengan id tertentu //input : id dan jumlah buku //output : jumlah buku bertambah dari sebelumnya type buku_baru = record b...
unit oPKIEncryptionData; interface uses System.SysUtils, System.StrUtils, oPKIEncryption, oPKIEncryptionEx; type TPKIEncryptionData = class(TInterfacedObject, IPKIEncryptionData, IPKIEncryptionDataEx) protected fBuffer: string; fSignature: string; fSignatureID: string; fCrlURL: string; ...
// Ported CrystalDiskInfo (The MIT License, http://crystalmark.info) unit SMARTSupport.OCZ; interface uses BufferInterpreter, Device.SMART.List, SMARTSupport, Support; type TOCZSMARTSupport = class(TSMARTSupport) private function IsOCZAndNotVector(const IdentifyDevice: TIdentifyDeviceResult; const SM...
unit NtUtils.Exec.Shell; interface uses NtUtils.Exec, NtUtils.Exceptions; type TExecShellExecute = class(TExecMethod) class function Supports(Parameter: TExecParam): Boolean; override; class function Execute(ParamSet: IExecProvider; out Info: TProcessInfo): TNtxStatus; override; end; implementat...
unit TreeExcelDataModule; interface uses System.SysUtils, System.Classes, ExcelDataModule, Excel2010, Vcl.OleServer, CustomExcelTable, Data.DB; type TTreeExcelTable = class(TCustomExcelTable) private function GetExternalID: TField; function GetParentExternalID: TField; function GetValue: TField; ...
//En un evento culinario hay N personas que van a comer y un empleado que los atiende de acuerdo //al orden de llegada. La persona le indica al empleado que plato quiere y este se lo entrega. //Nota: maximizar la concurrencia. PROGRAM Parcial Maxi BEGIN Monitor Cola BEGIN cond colaPersona; cond colaEmpleado:...
unit SMARTSupport; interface uses SysUtils, BufferInterpreter, Device.SMART.List, Support; const LifeNotSupported = Integer.MaxValue; CommonLifeThreshold = 10; type TSMARTStatus = (Unknown, Good, Caution, Bad); TSMARTErrorResult = record Status: Boolean; Override: Boolean; end; TSMARTSupport...
unit Ths.Erp.StrinGrid.Helper; interface {$I ThsERP.inc} uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.ExtCtrls, Vcl.AppEvnts, Vcl.Menus, Data.DB, Ths.Erp.Database.Table, Ths.Erp.Functions; co...
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, System.Actions, Vcl.ActnList; type TMainForm = class(TForm) Label1: TLabel; Panel1: TPanel; ...
unit HttpUnit; interface uses IdHTTP; type TCBRHttp = class(TObject) public class function GetCourses(AValueNames: TArray<String>; ADate: TDateTime = 0) : TArray<Double>; static; class function ParseXML(const AXML: String; AValueNames: TArray<String>) : TArray<Double>; static; end; imple...
{*******************************************************} { } { DelphiWebMVC } { } { 版权所有 (C) 2019 苏兴迎(PRSoft) } { ...
unit fWVPregLacStatusUpdate; { ================================================================================ * * Application: TDrugs Patch OR*3*377 and WV*1*24 * Developer: doma.user@domain.ext * Site: Salt Lake City ISC * * Description: Update form to enter the app...
unit TestDogMau; interface uses TestFramework, DogMau, DogClass, Viralata, System.SysUtils, LatidoNormal; type TestTDogMau = class(TTestCase) strict private FDogMau: TDogMau; protected procedure SetUp; override; procedure TearDown; override; published procedure ClassTest_TipoTDogMau_TDogMau...
unit Monobank; interface uses Monobank.Types, Fix.REST.Client; type TMonobank = class private FClient: TRESTClient; FToken: string; protected procedure DoCheckToken; public /// <summary> /// Отримання курсів валют /// </summary> /// <remarks> /// Отримати базовий пере...
unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, ComCtrls, ExtCtrls, fphttpclient, Process, Registry; type { TLauncherForm } TLauncherForm = class(TForm) Button1: TButton; ButtonCancel: TButton; Message: TLabel; ...
unit BlockChain.Core; interface uses System.SysUtils, System.Classes, System.Hash, BlockChain.BaseBlock, BlockChain.MainChain, BlockChain.Account, BlockChain.Tokens, BlockChain.Transfer, BlockChain.Types, BlockChain.Inquiries, Crypto.RSA; type TBlockChainCore = class private MainChain: ...
unit FIToolkit.Runner.Tasks; interface uses System.SysUtils, System.Threading, System.Generics.Collections, FIToolkit.Config.FixInsight; type TTaskRunner = class sealed strict private FExecutable : TFileName; FOptions : TFixInsightOptions; FOutputFileName : TFileName; private ...
program Sample; VAR C : Integer; procedure Output(A,B : Integer); VAR C : Integer; begin C := 2; WriteLn(A, ', ', B, ', ', C) end; begin C := 1; Output(7, 8); WriteLn('C = ', C) end.
unit uOpenComThread; interface uses Classes, Windows, SysUtils, uCommon, Dialogs; type TOpenComThread = class(TThread) private FPComVar: TPComVar; FComVisibility: Boolean; FExitEvent: THandle; // FThreadTerminated: Boolean; procedure SetPComVar(const Value: TPComVar); procedu...
unit Book; interface type TBook = class private FTitle: AnsiString; FAuthor: AnsiString; public constructor Create; overload; constructor Create(Title, Author: AnsiString); overload; procedure SetTitle(Title: AnsiString); procedure SetAuthor(Author: AnsiString); function GetTitle: An...
unit variant_0; interface implementation var V: Variant; procedure Test; begin V := SizeOF(Variant); Assert(V = 16); end; initialization Test(); finalization end.
(* CIStringSetUnit: MM, 2020-05-30 *) (* ------ *) (* A simple class for CaseInsensitiveStringSet Operations *) (* ========================================================================= *) ...
unit TestCommandSet.Factory; { 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, CommandSet.Factory,...
unit Model.Connection; interface uses System.JSON, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, Data.DB, FireDAC.Comp.Client, Firedac.DApt, FireDAC.Ph...
{ "RTC Bitmap Utils (FMX)" - Copyright 2004-2017 (c) RealThinClient.com (http://www.realthinclient.com) @exclude } unit rtcFBmpUtils; interface {$INCLUDE rtcDefs.inc} uses SysUtils, System.Types, {$IFDEF IDE_XE5up} FMX.Graphics, {$ENDIF} {$IFNDEF IDE_XE6up} FMX.PixelFormats, {$ENDI...
unit Shared; {$mode objfpc}{$H+} interface uses Classes, SysUtils; const Version = '0.1.0'; CommitNum = '5'; function DefaultFormat (Number: Double): UnicodeString; function AdvancedFormat (Number: Double): UnicodeString; implementation function DefaultFormat (Number: Double): UnicodeString; begin Result...
program stack; type LongItemPtr = ^LongItem; LongItem = record data: longint; next: LongItemPtr; end; type StackLongInt = LongItemPtr; procedure StackInit(var stack: StackLongInt); begin stack := nil; end; procedure StackPush(var stack: StackLongInt; n: longint); var tmp: LongItemPtr; begin new(tmp); tm...
// 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 SubsidiaryTypeList; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseGridDetail, Data.DB, RzButton, Vcl.StdCtrls, Vcl.Mask, RzEdit, Vcl.Grids, Vcl.DBGrids, RzDBGrid, RzLabel, Vcl.ExtCtrls, RzPanel, Vc...
unit IdTCPServer; interface uses Classes, sysutils, IdComponent, IdException, IdSocketHandle, IdTCPConnection, IdThread, IdThreadMgr, IdThreadMgrDefault, IdIntercept; type TIdTCPServer = class; TIdListenerThread = class(TIdThread) protected FAcceptWait: Integer; FBindingList: TList; FSer...
unit ChangePassword; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseDocked, Vcl.StdCtrls, RzLabel, Vcl.ExtCtrls, RzPanel, Vcl.Mask, RzEdit, RzButton, StrUtils, SaveIntf; type TfrmChangePassword = class(...