text
stringlengths
14
6.51M
unit frmSettingGlobal; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, // Auto Generate frmUni, Menus, cxLookAndFeelPainters, cxDropDownEdit, cxCalc, cxMaskEdit, cxSpinEdit, cxTextEdit, cxContainer, cxEdit, cxCheckBox, StdCtrls, cxPC, cxContro...
unit NFService; interface uses ACBrNFe, pcnConversao, ACBrEAD, System.SysUtils, Generics.Collections, System.StrUtils, pcnAuxiliar, Nfc00VO, Nfc01VO, BasicService, Classes, Vcl.Dialogs, Nfc02VO, Nfc03VO, pcnConversaoNFe; type TNFService = class(TBasicService) private FNF: TACBrNfe; FEAD: TACBrEAD; ...
unit Menu.ModSelectorContextMenu; interface uses Classes, eeEnumMenu, Lucidity.Enums, Menu.CustomPopupMenu, eePlugin, Vcl.Menus; type TModSourceMenu = TEnumMenu<TModSource>; TModSelectorContextMenu = class(TCustomPopupMenu) private protected ModSourceMenu : TModSourceMenu; ModViaMenu : TMod...
unit unitStreamTextReader; interface uses Windows, Classes, SysUtils; type TStreamTextReader = class private fStream : TStream; fBuffer : PChar; fbufPos : Integer; fBufSize : Integer; fBlockSize : Integer; procedure GetChunk; function GetPosition: Integer; procedure SetPosition(...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { PRETEST 6.6.6.2-12, FILE=ERR51...
(*----------------------------------------------------------------------------- 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/MPL-1.1...
unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls; type { TForm1 } TForm1 = class(TForm) Button1: TButton; CheckBox1: TCheckBox; Edit1: TEdit; Label1: TLabel; Label2: TLabel; Label3: TLabel; Label4: ...
unit uWidget; interface uses Generics.Collections, System.SysUtils; type // An interface definition IWidget = interface function GetId: Integer; function GetDescription: string; procedure SetDescription(Value: String); property ID: Integer read GetId; property Description: string read GetDescriptio...
unit JSON; interface uses // Constants, Types & Utils // Non-Visual Dependencies // Visual Dependencies // Custom Compiler Dependencies // Automated Compiler Dependencies System.Classes, System.SysUtils, System.StrUtils, System.Variants, System.TypInfo, System.RTTI; type EJSONError = cl...
unit uWSManager; interface uses Classes, SysUtils, SyncObjs; type TWSManager = class private cs: TCriticalSection; class function UpdateWSBH(wsbh: string; flag: integer): boolean; public function Apply(yhbh, xzqh, wsbb, wslb: string; num: integer): string; class function Rollback(wsbh: string...
unit ufTarefa1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf...
unit rTask; interface uses XSuperObject, uTask, uRessource; type TRessource_Task = class(TRessource, IRessource) private public function GetRessourceName: string; function GET(const id: string; jsonResponse: ISuperObject): Boolean; function POST(const id: string; const payload: string; json...
unit UCL.MenuAnyWhere; interface uses SysUtils, Windows, Classes, Controls, Menus, Messages, Types, Graphics, ComCtrls, {$IF CompilerVersion > 29} UITypes, {$ELSE} ImgList, {$IFEND} UCL.Classes, UCL.Types, UCL.Utils, UCL.Graphics, UCL.Colors; type TMenuTriggerMode = (mtmUnknown, mtm...
unit uTroco; interface uses uEnumerado; type TTroco = class private FTipo: TCedula; FQuantidade: Integer; public constructor Create(Tipo: TCedula; Quantidade: Integer); reintroduce; function GetTipo: TCedula; function GetQuantidade: Integer; function ValorCedulas(Cedula: TCedula): Dou...
unit UnitTAddCardView; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, UnitTDeck, UnitTCard; type TAddCardView = class(TForm) SaveCardButton: TButton; QuestionTextBox: TMemo; Answ...
unit AggSpanInterpolatorAdaptor; //////////////////////////////////////////////////////////////////////////////// // // // Anti-Grain Geometry (modernized Pascal fork, aka 'AggPasMod') // // Maintained by Christian-W. Budde (Chr...
UNIT UGroup; INTERFACE USES UShape, MLObj, MLColl, MLVect; TYPE Group = ^GroupObj; GroupObj = OBJECT(ShapeObj) CONSTRUCTOR Init; destructor Done; VIRTUAL; PROCEDURE Draw; VIRTUAL; PROCEDURE MoveBy(dx, dy: INTEGER); VIRTUAL; PROCEDURE AddShape(s: Shape; VAR ok: BOOLEA...
unit uGenericDAO; interface uses Data.DB, RTTI, TypInfo, System.SysUtils, uIConexaoDatabase, uEntityAttributes; type TGEnericDAO = class private class function GetTableName<T: class>(const aObj: T): string; class function ExecSql(const aSql: string; const aConnDB: IConexao): TDataSet; static; ...
unit uConexao; interface uses System.SysUtils, System.Classes, 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.Phys.MySQLDef, FireDAC.Phys.FB, FireDAC.DApt...
////////////////////////////////////////////////////////// // DLZO.pas -- data compression library for Delphi // ---------------------- // This library is partial Delphi translation of minilzo.*, // developed by Markus F.X.J. Oberhumer <markus@oberhumer.com>, // available at http://www.oberhumer.com/opensourc...
{******************************************************************************} { } { Part of speech } { ...
unit Cayan.Vault; interface uses System.Classes, System.SysUtils, Cayan, Cayan.Common, Cayan.MerchantWare, Cayan.MWv4.Intf; type TCayanVault = class; TCayanMWVaultInfoEvent = procedure(Sender: TObject; const Info: IMWVaultPaymentInfoResponse) of object; TCayanVault = class(TComponent) private ...
{ ****************************************************************** Simulation by Markov Chain Monte Carlo (MCMC) with the Metropolis-Hastings algorithm. This algorithm simulates the probability density function (pdf) of a vector X. The pdf P(X) is written as: P(X) = C * Exp(- F(X) / T) Simulat...
unit FormTextFMX; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Controls.Presentation, FMX.StdCtrls; type TFormArm = class(TForm) Compress: TButton; Uncompress: TButton; Label1: TLa...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.5.3-1, FILE=CONF122, CLAS...
unit ufrmLongProcessMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls, Vcl.ExtCtrls; type TfrmLongProcessMain = class(TForm) btnStart: TButton; btnStop: TButton; Stat...
unit unitCodeSoftSample; interface uses classes,sysutils,unitLog; type TPrintData=record m_bComplete : boolean; //代表USER是否下令開始PRINT m_iQty : integer; m_tsParam : tstrings; //儲存PARAMETER NAME的BUFFER m_tsData : tstrings; //儲存資料的BUFFER...
{ *************************************************************************** } { Data: 04/12/2016 } { Resenha: { *************************************************************************** } { Licença segue a mesma estabelecida no código original determinada pelo seu } { autor } { } { ******************************...
unit Model.Validator; interface uses Vcl.Graphics, System.Classes, System.SysUtils, Vcl.StdCtrls, System.Generics.Collections, Model.Validator.Interfaces, Model.Validator.Text.Constraints; type TValidator = Class(TInterfacedObject, IModelValidator) private FOnChanged: TNotifyEvent; FT...
unit AggRendererBase; //////////////////////////////////////////////////////////////////////////////// // // // Anti-Grain Geometry (modernized Pascal fork, aka 'AggPasMod') // // Maintained by Christian-W. Budde (Christian@savi...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.3.7.1-11, FILE=LEV1F2...
Unit uConstants; Interface {$I Compiler.inc} // Speed , precision // Default all float are Double (8 bytes = 64 bits) Good , aceptable { .$DEFINE EXTENDEDREAL } // all float are Extended (12 bytes = 96 bits) Slowest, Best {$DEFINE SINGLEREAL } // all float are Single (4 bytes = 32 bits) F...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.3.6-8, FILE=LEV1F04, ...
unit OLS3Parser; interface uses Classes; Type TShocRecord = Packed Record Sign: Array[0..3] of Char; Size: LongWord; Data: Array[0..3] of Char; end; TFillRecord = Packed Record Sign: Array[0..3] of Char; Size: LongWord; end; TOlsHeader = Packed Record Sign: Array[0..3] of Char; ...
unit LED; interface uses CommandInterface, System.Generics.Collections; type TLED = class procedure LightBlue; procedure LightRed; procedure LightPurple; procedure LightGreen; procedure LightOff; constructor Create; var LedAtual : Integer; end; TBlueLED = class(TInterfacedObj...
{ ****************************************************************** Mean and standard deviations ****************************************************************** } unit umeansd; interface uses utypes, uConstants; function Mean(X: TVector; Lb, Ub: Integer): Float; { Mean of sample X } functio...
{**************************************************************************** SQL Factory Consolidation Unit &nbsp; This unit simply consolidates the types defined in the separate SQLFactory(xxx) units to allow the developer to use only one unit and get the entire library. @author Jeff Chaney @author Guar...
unit JWKS.TestCase; interface uses TestFramework; type TJKWS_TestCase = class(TTestCase) public class constructor Create; published procedure alg; procedure kty; procedure use; procedure crv; procedure jwks; procedure jwk_to_pem; procedure jwk_without_alg; end; implementati...
PROGRAM ASTTest; Uses Ast; Function CreateTree: NodePtr; VAR node: NodePtr; BEGIN node := NIL; node := CreateNode(nil, '1', nil); node^.left := CreateNode(nil, '2', nil); node^.right := CreateNode(nil, '3', nil); node^.left^.left := CreateNode(nil, '4', nil); node^.left^.right := CreateNod...
unit VamArrows; interface uses Classes, RedFox, RedFoxColor, RedFoxGraphicControl, VamGraphicControl; type TVamArrows = class(TVamGraphicControl) private procedure SetColor(const Value: TRedFoxColorString); protected fColor : TRedFoxColorString; procedure Paint; override; public constructo...
{**************************************************************************************************} { } { Project JEDI Code Library (JCL) } { ...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { PRETEST 6.5.5-3, FILE=ERR16P, ...
unit lb_form_repeat_settings; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls, lb_repeat_settings; type TControlPanel = record panel : tpanel; checkBoxShowTarget, checkBoxShowTranslation, checkBoxPlayAudio : TChecKBox; end; TFormRepeatSe...
unit RDLuCircleGauge; interface uses System.SysUtils, System.Classes, System.Types, System.UITypes, FMX.Types, FMX.Controls, FMX.Layouts, FMX.Graphics, FMX.Objects; type TRDLCircleGauge = class(TLayout) private { Private declarations } FBitmapPanel, FBitmapNeedle : TBitmap; FTextLabel : stri...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.2.3.5-1, FILE=ERR01T, C...
unit libudp; interface uses Idudpclient,idudpserver,extctrls,messagequeue,classes, idsockethandle; const TICK_TIME=30; const UDP_SEND=42; const UDP_ACK=47; const MAX_BUFFER_SIZE=30000; type tudpconnection=class private client_udp:TidUDPClient; server_udp:TidUDPServer; timer:ttimer; destinat...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.5.3-17, FILE=ERR41T, ...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.4.3.5-7, FILE=CONF071, CLAS...
unit AudioPlugin.Interfaces; interface uses VamVst2.DAEffect, VamVst2.DAEffectX, AudioPlugin.Types; type IPlugMain = interface ['{4AB3FA68-027F-400C-A9C7-AE5CBBA73E2B}'] procedure SetPrivateParameter(const ParIndex : integer; const ParName : string; const ValueA : integer; const ValueB : single); ove...
unit AppWorkflowUser; {$I ERPVersion.inc} interface uses Classes, SysUtils, AppBean; type TAppWorkflowUserRecord = class public UserCode: String; FlowType: Integer; StopTime: Integer; MinMoney, MaxMoney: Double; constructor Create; end; IAppWorkflowUserList = interface ['{7B3640F2-4...
unit ViewModel.Main.Interfaces; interface uses System.Generics.Collections, Model.DataBase.Interfaces, Model.Declarations, Model.ProSu.Interfaces, Model.Main.Interfaces; type IMainViewModelInterface = interface ['{62CF0DAC-C808-4B1A-A6DC-57D7DC1912CB}'] procedure ValidateRangeDate (const newFr...
{ ******************************************************************************* * * * LGPL with linking exception (like Lazarus). See the file license.md, * * included in this distribution, for details about the copyright. ...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.9.3.6-4, FILE=ERR88T, C...
unit UGraph; interface uses Windows, Graphics, Classes, SysUtils, controls, // Sergroj aka Grayface units rsdef, rssysutils, // Self-made units Ucommon; type TRGBArray = array[0..32767] of TRGBTriple; PRGBArray = ^TRGBArray; TDevice = HDC; const transCol = $FFFF00; terCount = 9; ...
unit BeRoClass; {$IFDEF FPC} {$MODE DELPHI} {$WARNINGS OFF} {$HINTS OFF} {$OVERFLOWCHECKS OFF} {$RANGECHECKS OFF} {$IFDEF CPUI386} {$DEFINE CPU386} {$ASMMODE INTEL} {$ENDIF} {$IFDEF FPC_LITTLE_ENDIAN} {$DEFINE LITTLE_ENDIAN} {$ELSE} {$IFDEF FPC_BIG_ENDIAN} {$DEFINE BIG_ENDIAN} {$EN...
unit soStepFilter; interface uses eeBiquadFilterCore; type TStepFilter = class private fSampleRate: integer; fDecayTime: double; procedure SetSampleRate(const Value: integer); procedure SetDecayTime(const Value: double); protected FilterL, FilterR : TBiquadFilterCore; ...
unit XPJSON; interface uses StrUtils, SysUtils, Math; type TXPJsonType = ( JSON_UNDEFINED = 0, JSON_NULL = 1, JSON_INTEGER = 2, JSON_BOOLEAN = 3, JSON_FLOAT = 4, JSON_STRING = 5, JSON_ARRAY = 6 ); TXPJsonNull = class(TInterfacedObject, IInterface) end...
unit soFivePointEnvelope; interface {$INCLUDE Defines.inc} uses VamLib.MoreTypes; type TFivePointEnvelope = class private fSampleRate: single; fIsActive: boolean; function GetStageTime(const Index: Integer): single; procedure SetStageTime(const Index: Integer; const Value: singl...
unit Wait4D.View.Sample; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Wait4D.Interfaces, Wait4D; type TPageSample = class(TForm) btnLoading: TButton; ...
unit soSawSquareOsc; interface uses uHarmonicWaveTableGen; type TWaveData = array of single; TSawSquareOsc = class private fSampleRate: single; fFreq: single; fOscRootFreq: single; fShape: single; fPulseWidth: single; fTableSize: integer; fWaveData: TWaveData; ...
program matnmul; const MaxSize = 1000; type matrix = array[1..MaxSize,1..MaxSize] of integer; procedure writemat(n:integer; M : matrix); var i,j : integer; begin for i := 1 to n do begin for j := 1 to n do begin write(M[i,j]:4); end; writeln; end; end; function randmat(n:integer...
unit JsonSaver; interface uses JsonableInterface, System.Generics.Collections, MVCFramework.Logger; type /// A class that saves given state in a file. TJsonSaver = class(TObject) strict private const Suffix = '-YYYY-mm-dd-hh-nn-ss'; TAG = 'TJsonSaver'; var FLockObject: TObject; /// a par...
program RGBtoHSI_Demo; uses RGBtoHSI; const DemoRGB: tRGBA = (R: 255; G: 0; B: 0; A: 255); DemoHSI: tHSI = (H: 0.5; S: 0.5; I: 0.5; A: 128); var ResultRGB: tRGBA; ResultHSI: tHSI; begin writeln('########## Calculation of colors ##########'); writeln; ResultHSI := calcHSI(DemoRGB); writeln('Red/...
{ ****************************************************************** Minimization of a function of several variables by Marquardt's method Modifications 20120210 Alex Vergara Gil Ported to class design ****************************************************************** } unit umarq; interface ...
unit ClsPlane_u; interface Uses sysutils, dialogs, dateutils, math; type TPlane = Class(TObject) private fAirline: String; fFlightnum: String; fNumOfPas: Integer; fTimeOfDeparture: tdate; fDateofFlight: tdate; public constructor create(sAirline, sFlightnum: String; i...
// HTML5 Boiledplate integration with Synopse mORMot Framework // Licensed under GNU General Public License Version 3 from 29 June 2007 unit BoilerplateHTTPServer; (* This file is a path of integration project between HTML5 Boilerplate and Synopse mORMot Framework. http://synopse.info https://htm...
{ ****************************************************************** This unit fits the Michaelis equation : Ymax . x y = -------- Km + x ****************************************************************** } unit umichfit; interface uses utypes, ulinfit, unlfit, umachar, uconstants; pro...
{ Copyright 2009-2011 10gen Inc. 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 ...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.9.1-3, FILE=CONF196, CLASS=...
Program telefon; uses crt; var nume:string; begin clrscr; Writeln('Acesta este un program care va va spune numerele de telefon a unor'); Writeln('persoane daca veti introduce numele acestora.Persoanele ale caror'); Writeln('numere de telefon sunt in memorie sunt:Fobis-Body Building,Neamtu'); Writeln('Victor,Dum...
unit Dao.IQueryBuilder; interface uses System.Generics.Collections, SQLBuilder4D, System.Rtti,Data.DB, Dao.IResultAdapter, Model.CampoValor; type IQueryBuilder<T: class> = interface ['{F649F94B-C9B2-4C73-8C77-C49E2D4FE48F}'] function Get(): T; function ToList(): TList<T>; function Exec(): LongI...
unit uListViewCommand; interface uses Vcl.ComCtrls; type IListViewCommand = interface ['{A430B233-1207-416C-85B3-AE2CD44DD60E}'] /// <summary> Add an item to a given listView. /// </summary> /// <param name="aEventName">A new event name. /// </param> /// <param name="aEventUrl">A new even...
{ This file is part of the Free Component Library XML reading routines. Copyright (c) 1999-2000 by Sebastian Guenther, sg@freepascal.org Modified in 2006 by Sergei Gorelkin, sergei_gorelkin@mail.ru See the file COPYING.FPC, included in this distribution, for details about the copyright...
unit TimeLineBar; interface uses SysUtils, Classes, Controls, Types; type TTimeLineBar = class(TGraphicControl) // KeyFrameWidth private m_nCurrentLeft : Integer; m_nGraduationHeight : Integer; { Private declarations } protected { Protected declarations } procedure Paint; ...
unit TIM2; interface Type TTIM2Header = Packed Record thSignTag: Array[0..3] of Char; // 'TIM2' ($324D4954) thFormatTag: Byte; // 3 or 4 thAlign128: Boolean; // 0 - 16, 1 - 256 thLayersCount: Word; thReserved1: Integer; // null thReserved2: ...
unit UCadModelo; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.ExtCtrls, Vcl.DBCtrls, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC....
unit CsvStrategy; interface uses Document, CsvParser; type TCsvStrategy = class(TDocumentStrategy) private FParser: TCsvParser; protected public constructor Create(ADocument: TDocument); override; destructor Destroy; override; procedure SearchAndReplace(const AFindText, AR...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.1.1-3, FILE=CONF003, CLASS=...
unit Iocp.MemoryPool; {* 实际测试发现,32位下小块内存(<4K)的分配,Delphi自带的GetMem比HeapAlloc效率高很多 * 即使GetMem + ZeroMemory也比HeapAlloc带$08(清0内存)标志快 * 但是64位下或者大块内存(>4K)的分配HeapAlloc/HealFree性能略高 *} {$define __HEAP_ALLOC__} interface uses Windows, Types, Classes, SysUtils, SyncObjs, Iocp.Logger; type TIocpMemoryPool = class priv...
unit eeEnvelopeFollowers; interface uses VamLib.MoreTypes; // The Peak Followers are simple classes that calculate the level of a signal (stereo or mono). // The output of the follower will need to be fed into an Envelope Generator (EG) to create // a control signal for compressors etc, or anyth...
// ------- this is a freeware -------- // TComPort component, version 1.0 // for Delphi 2.0, 3.0, 4.0 // written by Dejan Crnila // email: emilija.crnila@guest.arnes.si // ------- this is a freeware -------- unit Comms; interface uses Windows, Classes, SysUtils; type TBaudRate = (br110, br300, br600, br1200...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.7.2.2-16, FILE=ERR68T, ...
unit DelphiMaps.Browser.Event; interface uses Generics.Collections, DelphiMaps.Browser, DelphiMaps.Browser.External, DelphiMaps.Browser.ExternalContainer; type TJsEventHandler = reference to procedure; TJsListener = class (TJsClassWrapper) private FHandler: TJsEventHandler; FEv...
unit ufrAbout; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls; type TfrmAbout = class(TFrame) pnlVersion: TPanel; imgIcon: TImage; lblVersion: TLabel; bvlSplit: TBevel; lblFeedback: TLabel; lblName: TLabel; privat...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.1.9-2, FILE=CONF020, CLASS=...
(*****************************************************) (* Programmname : ERRORS.PAS *) (* Programmautor : Michael Rippl *) (* Compiler : Turbo Pascal V5.0 *) (* Letzte Žnderung : 13-Mar-1990 *) (* Inhalt : Fehlerbehandlu...
{ Just another Lase Show Editor (Jlse) (based on Heathcliff) Copyright (C) 1999,2000,2010 Patrick Michael Kolla. 2013 Christian Ulrich (info@cu-tec.de) This source is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Fre...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.7.2.5-6, FILE=DEV183, C...
unit unitCExpression; interface uses Classes, SysUtils; type TValueType = (vInteger, vString, vReal); TValue = record tp : TValueType; iVal : Integer; sVal : string; rVal : extended end; TStrValue = class private fValue : string; public constructor Create (const AValue : string); ...
unit Classe.PessoaDado; interface uses Classe.Pessoa; type TPessoaDado = class(TPessoa) private FCpf: string; FRg: String; procedure SetCpf(const Value: string); procedure SetRg(const Value: String); public property Cpf : string read FCpf write SetCpf; property Rg : String read FRg write Set...
{ MIT License Copyright (c) 2017 Jamie Geddes 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, di...
program TD_CarreMagique; uses crt; const taille=5; type Tableau2D=array[1..taille,1..taille] of integer; procedure InitiaTabl (T1:Tableau2D); var i,j,compteur,curseurligne,curseurcolonne:integer; begin //Initialisation des coordonnees du point de depart et du compteur: curseurligne...
unit uHBrowsers; interface uses Windows, Registry, SysUtils; function IEHandle: HWND; function ChromeH: THandle; implementation function GetIEVersion : string; var Reg: TRegistry; begin Reg := TRegistry.Create; try Reg.RootKey := HKEY_LOCAL_MACHINE; Reg.OpenKeyReadOnly('Software\Microsoft\Internet ...
unit uSQLHelper; interface uses Classes, Activex, SysUtils, DB, ADODB; type TSQLHelperError = procedure(const SQL, Description: string); TSQLHelper = class private FConnectionstring: string; FOnError: TSQLHelperError; FDBName: String; FDBServer: String; FDBUser: String; FDBPWD: Strin...
{ *************************************************************************** } { TAdvDetailDropDown components } { for Delphi & C++Builder } { } ...
program lab6c; {insert name here} {This program is to read data from a file and place it in a linked list. The list is printed, then modified, then printed again. You need to complete the printing and modification procedures} type Npointer = @Listnode; ListNode = Record X : Integer; Ne...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { PRETEST 6.6.6.2-5, FILE=ERR50P...
unit CadCliente; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Data.DB, Validador, IBX.IBCustomDataSet, IBX.IBQuery, model.Cliente, System.Generics.Collections; type TFrmCadCliente = class(TF...
unit ReceptionRequestBuilderTest; interface uses DUnitX.TestFramework; type [TestFixture] TReceptionRequestBuilderTest = class(TObject) public [Test] procedure SetHtml; [Test] procedure SetText; end; implementation uses SendDataTemplate, System.JSON, ObjectsMappers; procedure TRecepti...
unit Projeto.Interfaces; interface uses System.SysUtils, System.Generics.Collections, DAO.RTTI.Types; type iDAOInterface<T : class> = interface procedure Insert; procedure Update; procedure Delete; procedure Display ( aValue : TProc<String> ); function This : T; end; IDAOFinder<T : c...