text
stringlengths
14
6.51M
unit unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls, ComCtrls, OpenGLContext, dglOpenGL; type { TForm1 } TForm1 = class(TForm) Button1: TButton; Image1: TImage; OpenGLControl1: TOpenGLCo...
{------------------------------------------------------------------------------- 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...
unit DWUtils; interface uses Classes, Windows, Forms, Controls, DW.CORE.Server, System.SysUtils, System.StrUtils, DW.VCL.CustomForm, DW.CORE.DWApplication, DW.VCL.Container, DWElementTag, DW.VCL.InputForm, DW.VCL.Region, DWTypes, DB, DW.VCL.Frame; function DWServer: TDWServer; function MakeValidFileUrl(...
unit Soccer.Preferences; interface uses System.SysUtils, System.Classes, System.Generics.Collections; type TSoccerVotingIndividualPreferenceProfile = TList<string>; TSoccerVotingCollectivePreferenceProfile = TObjectList<TSoccerVotingIndividualPreferenceProfile>; TSoccerVotersPreferencesProperties =...
Procedure Quadratic(Data : PhraseTYPE; Letter : char; Var Position : integer); {Quadratic search for Letter. Return negative Position if not found.} Type STATUS = (searching, found, absent, CloseEnough); Var State : STATUS; JumpSize : integer; Begin JumpSize := trunc(sqrt(MAX)); Position := 1; Stat...
unit ProdutoDao; interface uses Produto, FireDAC.Comp.Client; type TProdutoDao = class public // function BuscarProduto(ID: Integer): TProduto; function CadastrarProduto(Produto: TProduto): string; function EditarProduto(Produto: TProduto): string; function RemoverProduto(Produto: TProduto): st...
{******************************************************************************* Title: T2Ti ERP Description: VO relacionado à tabela [NFE_CABECALHO] The MIT License ...
unit HCmdAPI.ColorConsole; interface uses System.StrUtils, HCmdAPI.CmdIO; const HCmd_Backspace = #8; HCmd_DeleteCharacter = HCmd_Backspace + ' ' + HCmd_Backspace; procedure SetColour(const Colour: String); overload; procedure SetColour(const Colour: Byte); overload; procedure WriteLnColour(const Msg, Colou...
unit ezthreads.functional; {$mode delphi}{$H+} {$ModeSwitch nestedprocvars} interface uses Classes, SysUtils, ezthreads, fgl; type { IMapResult } (* specialized IEZThread that contains a result list *) IFPGListResult<T> = interface(IEZThread) ['{B0984019-8951-4233-A7DB-3499A0AE9A20}'] //prope...
{*******************************************************} { } { Borland Delphi Visual Component Library } { } { Copyright (c) 1997,99 Inprise Corporation } { ...
unit IdIOHandlerWebSocket; { .$DEFINE DEBUG_WS } {$WARN SYMBOL_DEPRECATED OFF} {$WARN SYMBOL_PLATFORM OFF} // The WebSocket Protocol, RFC 6455 // http://datatracker.ietf.org/doc/rfc6455/?include_text=1 interface {$I wsdefines.inc} uses System.Classes, System.SyncObjs, System.Generics.Collections, IdIOHandl...
object AgingAnalysisForm: TAgingAnalysisForm Left = 416 Top = 298 BorderStyle = bsDialog Caption = 'Print Aging Analysis' ClientHeight = 131 ClientWidth = 313 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'MS Sans Serif' Font.Style = [] ...
{ Copyright 2020-2020 Eugene Loza, Michalis Kamburelis. This file is part of "Castle Game Engine". "Castle Game Engine" is free software; see the file COPYING.txt, included in this distribution, for details about the copyright. "Castle Game Engine" is distributed in the hope that it will be useful,...
unit Process; interface uses Windows; type TProcess = class strict private lpApplicationName: PChar; lpCommandLine: PChar; lpProcessAttributes: PSecurityAttributes; lpThreadAttributes: PSecurityAttributes; bInheritHandles: boolean; dwCreationFlags: cardinal; lpEnviro...
unit Pas.栈与队列.逆波兰表达式; interface uses System.Math, System.SysUtils, System.Character; type ElemType = double; P_ElemType = ^ElemType; R_SqStack = record top: P_ElemType; base: P_ElemType; stackSize: integer; end; const INIT_STACK_SIZE = 20; SIZE_OF_ELEM_TYPE = SizeOf(ElemType); proced...
{ HM NIS Edit (c) 2003 Héctor Mauricio Rodríguez Segura <ranametal@users.sourceforge.net> For conditions of distribution and use, see license.txt Search text form } unit USearch; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, SynEdit, SynEditTy...
{----------------------------------------------------------------------------- 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.html...
unit IsotopeMetric; interface uses CandidateFinder, CombinationList, IsotopeTable, MassSpectrum, System.Classes; const c_MeanIsoDistWeight = 1.0; c_StdDevIsoDistWeight = 1.0; type TEleMetric = class public FKey: String; FDistMetric: Double; FAbundMetric: Double; FBestComb: TComb; Destructo...
unit fMameOptions; interface uses Windows, Graphics, SysUtils, StdCtrls, Controls, Classes, fJWinFontForm, JvSelectDirectory, JvBrowseFolder, Dialogs, Mask, JvExMask, JvToolEdit, ComCtrls; type TStringArray = array of string; TFrmMameOptions = class(TJWinFontForm) MameOptsOk: TButton; BtnCancel: TBut...
unit StockDaylineUnit; //http://push2his.eastmoney.com/api/qt/stock/fflow/daykline/get?lmt=2&secid=0.300033&fields1=f1,f2,f3,f7&fields2=f51,f52,f53,f54,f55,f56,f57,f58,f59,f60,f61,f62,f63,f64,f65&ut=b2884a393a59ad64002292a3e90d46a5 interface uses System.Classes, System.SysUtils, System.SyncObjs, FireDAC.Com...
unit RoleOM; interface uses rtorm.maps, Spring.Collections, rtorm.PersistentObject; type { What I'd like to do is this TRoleType = (rtUser = 1, rtSystem = 2); But I can't because delphi will not give rtti for enums with ordinal positions. } TRoleType = (rtUser, rtSystem); IPermission = inter...
unit CLimitFormUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, CDataobjectFormUnit, StdCtrls, Buttons, ExtCtrls, ComCtrls, CComponents, CDatabase, CBaseFrameUnit; type TCLimitForm = class(TCDataobjectForm) GroupBox2: TGroupBox; Label1: TLabel; ...
unit uLocalPagamentoModel; interface { CREATE TABLE LOCAL_PAGAMENTO ( ID_LOCAL_PAGAMENTO VARCHAR(36) NOT NULL, ID_ORGANIZACAO VARCHAR(36) NOT NULL, DESCRICAO VARCHAR(60) ); } uses Windows, Messages, Classes, SysUtils,uOrganizacaoModel; type TLocalPagamentoModel = class(TObject) ...
{ program 11.9 recursive formulation of gcd } program recursivegcd(output); var x,y,n : integer; function gcd(m, n: integer) : integer; begin if n=0 then gcd := m else gcd := gcd(n,m mod n) end; {gcd} procedure try(a,b : integer); begin write(a,b, gcd(a,b)) end; begin try(18,27); try(312,21420)...
unit TDropV; (* TreeDropView Component (Object Pascal - Delphi 2.0) (c) Daniel Doubrovkine Stolen Technologies Inc. - University of Geneva - 1996 - All Rights Reserved for XReplace-32, version 1.51 This source code is free for educa...
unit GeradorSimpleORM.Model.Conexoes.TableFiredac; interface uses GeradorSimpleORM.Model.Conexoes.Interfaces, FireDAC.Comp.Client, FireDAC.UI.Intf, FireDAC.VCLUI.Wait, FireDAC.Stan.Intf, FireDAC.Comp.UI, System.Classes, Data.DB; Type TModelConexoesTableFiredac = class(TInterfacedObject, iModelDataS...
(**************************************************************************** mouse.pas: obsluga myszy autor: Lukasz Lasek (lasekl@softlab.ii.uj.edu.pl) kompilator: Borland Pascal v7.0 wymagania: mysz microsoft lub kompatybilna biblioteka moze byc rozpowszechniana w postaci niezmienionej wraz z kodem...
unit oglLogForm; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls, Buttons, Clipbrd; type { TLogForm } TLogForm = class(TForm) private Memo: TMemo; CloseButton, ClipbrdButton, SaveButton: TBitBtn; SaveDialog: TSaveDialog; ...
unit GKONTROLM; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, GSablon, cxGraphics, cxGridCustomPopupMenu, cxGridPopupMenu, Menus, cxEditRepositoryItems, cxEdit, cxPropertiesStore, cxStyles, cxContainer, DB, ADODB, ImgList, dxBar, dxBarExtItems, cxCheckBo...
{******************************************************************************* Title: T2Ti ERP Description: Controller do lado Servidor relacionado à tabela [NFE_CABECALHO] ...
unit CheckDlg; interface uses WinTypes, oWindows, oDialogs; type PCheckDlg = ^TCheckDlg; TCheckDlg = object(TDialog) Text: PChar; Good: Boolean; constructor Init(AParent: PWindowsObject; AText: PChar; AGood: Boolean); procedure SetupWindow; virtual; destructor Done; virtual; end; implemen...
unit LoaderDeDicoms; interface uses SysUtils, UtilsDoGeronimo; type { Encapsula os mecanismos de carga dos DICOM. } TLoaderDeDicoms = class private VTKLoadFromDir:function(dir:PAnsiChar):PAnsiChar;stdcall; public { Cria uma nova instancia, usando o handler dado pra carregar as funções ...
unit UWP.QuickButton; interface uses Classes, Windows, Types, Messages, Controls, Forms, Graphics, UWP.Classes, UWP.ColorManager, UWP.Utils, UWP.Graphics, UWP.Colors; type TUWPQuickButtonStyle = (qbsNone, qbsQuit, qbsMax, qbsMin, qbsHighlight); TUWPQuickButton = class(TGraphicControl, IUWPControl) private...
{----------------------------------------------------------------------------- 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.html...
unit URBAPBuilder; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, URBAP, Menus, IBCustomDataSet, IBUpdateSQL, IBDatabase, Db, IBQuery, DBGrids, DBCtrls, StdCtrls, ExtCtrls, UEditRBAP, UEditRBAPBuilder; type TfmRBAPBuilder = class(TfmRBAP) procedure FormCreate(Sen...
unit uColorBorderComboBox; //简单扩展的 TComboBox,因为自定义要求比较高所以没用第三方控件//如果能实现背景色更好 interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, //GDIPAPI, GDIPOBJ, XMLDoc, XMLIntf, ComCtrls, //uTabControlEx,// TPageControl //DB, Menus //暂时不用 AdvMenus,...
{******************************************************************************} { } { WiRL: RESTful Library for Delphi } { ...
{*******************************************************} { } { Audorra Digital Audio Library } { Copyright (c) Andreas Stöckel, 2009 } { Audorra is an "Andorra Suite" Project } { ...
{********************************************************** Copyright (C) 2012-2016 Zeljko Cvijanovic www.zeljus.com (cvzeljko@gmail.com) & Miran Horjak usbdoo@gmail.com ***********************************************************} {%BuildWorkingDir /usr/local/pandroid/example/DemoOpenGL/android} {%BuildCommand sh buil...
{$REGION 'documentation'} { Copyright (c) 2016, Vencejo Software Distributed under the terms of the Modified BSD License The full license is distributed with this software } { Directory object @created(10/02/2016) @author Vencejo Software <www.vencejosoft.com> } {$ENDREGION} unit ooFS.Directory; interface ...
(* SvBindings.pas * Created: 2012-03-26 14:23:01 * Copyright (c) 2012, Linas Naginionis * Contacts: lnaginionis@gmail.com or support@soundvibe.net or linas@vikarina.lt * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the fol...
(* Origian : Turbocash 4.0.1.0 changed for osFinacials fork 2006/06/12 Pieter Valentijn Released under the GNU General Public License *) unit FinancialCategories; interface uses Windows, Messages, SysUtils, Variants,Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, StdCtrls, Buttons, ExtCtrls, ImgLis...
// ************************************************************************ // // The types declared in this file were generated from data read from the // WSDL File described below: // WSDL : http://192.168.2.8/kalite/qdmsNET/ExportData/dokuman.asmx?WSDL // Encoding : utf-8 // Version : 1.0 // (11.06.2010 12:42:1...
unit FactoryController; interface uses Forms, Sysutils, FactoryEntity, InterfaceController, System.Classes, RTTI, Dialogs; type TFactoryController = class private class function GetControllerClassName(E: TEnumEntities): string; static; public class function GetController(E: TEnumEntities ): IControl...
unit Warhouses; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, DBCtrls, Grids, DBGrids, Db, DBTables; type TForm_Warhouses = class(TForm) Table_Warhouses: TTable; DataSource_Warhouses: TDataSource; DBGrid1: TDBGrid; DBNa...
// LAZARUS, WIN10\XP *** FileWriterClass.pas *** // **************************************************************************** // * FileWriter [160] Класс побайтовой записи строк в файл через буфер * // ****************************************************************************...
program restserver; uses sysutils,custhttpapp, fpwebfile, httproute, restdata; Type { THTTPApplication } THTTPApplication = Class(TCustomHTTPApplication) private FQuiet: Boolean; procedure Usage(Msg: String); published procedure DoLog(EventType: TEventType; const Msg: String); overr...
{----------------------------------------------------------------------------- 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.html...
unit uCamHelper; //From XtremeRAT 3.6 source code interface uses Windows, UnitFunctions, Graphics, VFrames; type TCamHelper = class constructor Create(Handle: THandle); destructor Destroy; override; private Vid : TVideoImage; FCamNumber, FCamCount: Integer; FStarted: Boolean; public f...
unit uCidadeDAO; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, FireDAC.Stan.Intf, FireDAC.Stan.Option,uCidadeModel, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, uEstadoModel, uEst...
unit Pattern.Director; interface uses Pattern.Builder; type { Director } TDirector = class public procedure Construct(Builder: IBuilder); end; implementation { TDirector } procedure TDirector.Construct(Builder: IBuilder); begin Builder.StartVehicle; Builder.BuildFrame; Builder.BuildEngine; B...
unit Unit1; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, System.Rtti, FMX.Grid.Style, Data.Bind.Controls, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.Dat...
{** @abstract(Clase principal del proyecto. Encapsula los procedimientos de ajuste y metodos asociados.) @author(Agustin Barto <abarto@gmail.com>) @created(January 1, 2003) @lastmod(February 06, 2005) Este modulo contiene la clase principal de todo el proyecto. Agrupa estructuras de datos y metodos asociados al ...
unit uPhotoListVO; interface uses System.SysUtils, System.Generics.Collections, uPhotoItemVO; type TPhotoListVO = class private FItems: array of TPhotoItemVO; public function GetItems: TArray<TPhotoItemVO>; procedure InsertItem(Index: Integer; const item: TPhotoItemVO); procedure AddItem(const...
{----------------------------------------------------------------------------- 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.html...
unit MalinaZReportFilter; interface uses // VCL SysUtils, // 3'd TntSysUtils, // This FiscalPrinterImpl, LogFile, MalinaCard, PrinterTypes, FiscalPrinterTypes, NonfiscalDoc, FptrFilter, CustomReceipt, MalinaParams, PrinterParameters, StringUtils; type { TDepartmentTotals } TDepartmentTotals = re...
unit PTEndpointJCs; { PTserver endpoint /jc/. } interface uses IdContext, IdCustomHTTPServer, JsonDataObjects, PTEndpoint, SysUtils, Generics.Collections; type TPTEndpointJCs = class(TPTEndpoint) private const _ENDPOINT_MATCH_REGEX = '^/jc/?$'; public procedure OnGET(AContext: TIdContext...
unit DataBloky; // TBlkTableData - trida resici zobrazovani tavulky bloku interface uses ComCtrls, SysUtils, StrUtils, Classes; type TBlocksTablePainter = class private LV: TListView; changed: array of Boolean; public reload: Boolean; procedure LoadTable(); procedure UpdateTable(); ...
unit uBuildEngine; interface {$I BuildEvents.inc} uses Windows, Messages, SysUtils, Classes, Forms, Dialogs; type EPipeError = class(Exception); EBuildEngineError = class(Exception); TBuildEngine = class(TObject) private FLastCmd: string; FLastOutput: string; FMacroList: TStringList; func...
{ This file is part of the Free Pascal run time library. A file in Amiga system run time library. Copyright (c) 1998-2003 by Nils Sjoholm member of the Amiga RTL development team. See the file COPYING.FPC, included in this distribution, for details about the copyright. This program is dis...
{ Copyright (C) 2006-2015 Matteo Salvi Website: http://www.salvadorsoftware.com/ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later versio...
unit EMSTable; interface uses SysUtils, Classes, DB, DBClient; type TEMSTable = class(TClientDataSet) private { Private declarations } FSchema : string; FTableName : string; FPrimaryKey : string; FDetailFields : string; FReadOnly : Boolean; FListFields : TStrings; ...
unit KBViewer; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type TFKBViewer=class(TForm) lbKB: TListBox; lbIDR: TListBox; Panel3: TPanel; bPrev: TButton; bNext: TButton; btnOk: TButton; btnCancel: TButto...
unit Model.Contact; interface uses Generics.Collections, System.Classes, MVVM.Model, Aurelius.Mapping.Attributes, Model.Company, Aurelius.Types.Nullable; type TContact = class; TContacts = class(TObjectEnumerable<TContact>) public function AddContact(Contact : TContact): Integer; procedur...
unit OrderFrm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, ComCtrls; type TOrderForm = class(TForm) pnlZy: TPanel; lblZy: TLabel; lblZNo: TLabel; lblZContent: TLabel; edtMobileNumber: TEdit; bvlDept: TBevel; ...
// // Dragon // A game for Windows based on a modified and improved version of the // DelphiDoom engine // // Copyright (C) 1993-1996 by id Software, Inc. // Copyright (C) 2004-2022 by Jim Valavanis // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU Genera...
{ This unit deals with managing - and removing - group policy on PCs. Group Policy is basically a couple of settings in the Registry which are read when explorer starts up and applied. This works to our benefit as its possible to erase these settings and then kill and reload explorer and as these settings arent in the...
{******************************************************************************} { } { Indy (Internet Direct) - Internet Protocols Simplified } { ...
program ejercicio9; const valorAlto = 9999; type dimF = 1..15; regArreglo = record categoria : dimF; precioHs : real; end; regMae = record departamento : integer; division : integer; numEmp : integer; categoria : integer; cantHsExt : integer; end; maestro = file of regMae; ar...
{*****************************************************************************} { This file is part of the Free Pascal's "Free Components Library". Copyright (c) 2005 by Giulio Bernardi This file contains classes used to quantize images. See the file COPYING.FPC, included in this distribution, for...
unit uPangram; interface function isPangram(aValue: string): boolean; implementation uses SysUtils, RegularExpressions; function isPangram(aValue: string): boolean; const alphabet = 'abcdefghijklmnopqrstvxwyz'; var regex: string; begin if (aValue.IsEmpty) then begin Exit(false); end; regex := For...
unit tsvCrypter; interface uses Classes, SysUtils; type TTsvHashAlgorithm=(haMD4,haMD5,haSHA,haSHA1,haRipeMD128,haRipeMD160,haRipeMD256,haRipeMD320, haHaval128,haHaval160,haHaval192,haHaval224,haHaval256,haSapphire128, haSapphire160,haSapphire192,haSapphire224,haSapphire2...
unit Main; // A few common view based functions as well as the start up method // Mainly holds all the components and controls // and redirects on events to the different files interface uses classBooking, classResultsArray, classCalendarItem, Misc, System.SysUtils, System.Types, System.UITypes, System.Classes, ...
unit ScaleParameters; interface uses // VCL Windows, SysUtils, Registry, // Opos Opos, Oposhi, OposException, // Shared LogFile, // Tnt TntSysUtils, TntClasses, TntRegistry, // this ScaleTypes, StringUtils; const ///////////////////////////////////////////////////////////////////////////// //...
 unit u_appParamsFuncs; // модуль получения дополнит. информации при запуске программы о пользователе, системе и путях, исп. // для заполнения структуры appParams interface function wa_Local_GetSpecialFolderPath(afolder: integer): string; function wa_Local_CreateAppCurrentUserDirectory(const nAppName:string; var aRes...
unit DeclaraTypeDsg; interface uses Classes, dbTables, db, sysUtils, TypInfo,DesignIntf,DesignEditors; Type TDataFieldProperty = class(TStringProperty) public function GetAttributes: TPropertyAttributes; override; function GetDataSourcePropName: string; virtual; procedure GetValueList(List: TStrings)...
{******************************************************************************} { } { Indy (Internet Direct) - Internet Protocols Simplified } { ...
{ ******************************************************************************* Copyright 2010-2015 Daniele Teti 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...
{*********************************************************} { } { Zeos Database Objects } { DBC Layer Proxy Connectivity Classes } { } { Originally ...
unit errors; interface uses Classes, Sysutils, IniFiles, Generics.Collections; const LOCK_VIOLATION = 'LOCK_VIOLATION'; FK_VIOLATION = 'FK_VIOLATION'; OTHER_ROW_ERROR = 'OTHER_ROW_ERROR'; OTHER_ERROR = 'OTHER_ERROR'; CONNECTION_ERROR = 'CONNECTION_ERROR'; NbErrorTypes = 5; TCcErrorTypes...
unit EpikTimermain; { Name: EpikTimer Demo Program Description: Test application Author: Tom Lisjac <vlx@users.sourceforge.net> Demonstrates the capabilities of TEpikTimer in epiktimer.pas } { Copyright (C) 2003 by Tom Lisjac <vlx@users.sourceforge.net> This program is free software; you can redistribute it...
unit DefaultController; interface uses Windows, Classes, GR32_Image, GR32_Layers, RzTabs, NBTReader, Controller, HistoryLog; type TDefaultController = class(TController) protected fBlocks : TMemoryStream; fLayerPos :array[TViewMode] of Integer;//Memorize layer fMouseX,fMouseY...
unit WiRL.Configuration.Converter; interface uses System.Classes, System.SysUtils, System.TypInfo, System.Generics.Collections, System.Generics.Defaults, System.JSON, WiRL.Configuration.Core; type TWiRLFomatSettingDictionary = class(TDictionary<Pointer,string>) public procedure AddFormat(ATypeInfo: PT...
unit simpsons_hw; interface uses {$IFDEF WINDOWS}windows,{$ENDIF} nz80,konami,main_engine,controls_engine,gfx_engine,rom_engine, pal_engine,sound_engine,ym_2151,k052109,k053260,eepromser,timer_engine, k053251,k053246_k053247_k055673; procedure cargar_simpsons; implementation const simpsons_rom...
unit neato.D.GetUserSettings; interface uses fmx.dialogs, classes, sysutils, neato.Commands, neato.errors, neato.helpers; const // response for this call is a bit goofy. // sort of a line by line response, but with some commas and spaces { // example response data looks silly right? Language, EL_NO...
unit uAccountsReceivables; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Grids, DBGrids, Buttons, DB, ffdb, ExtCtrls; type TfrmAccountsReceivables = class(TForm) DBGrid1: TDBGrid; Label1: TLabel; Label2: TLabel; lblTrans: TLabel; ...
unit FrmBaseDBForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, FrmBaseForm, DB, DBClient, BaseUnit, PmkResStr, GeoDlgs; type TBaseDBForm = class(TBaseForm) procedure FormCreate(Sender: TObject); private { Private declarations } protected D...
unit UEditRBCalcPeriod; interface {$I stbasis.inc} uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, UEditRB, StdCtrls, Buttons, ExtCtrls, IBServices, IBQuery, db, IBDatabase, IB, ComCtrls; type TfmEditRBCalcPeriod = class(TfmEditRB) lbName: TLabel; edName: TEdit; DTP1...
{ LibLeptUtils.pas Utilities for working with Leptonica's liblept image processing library Copyright (C) 2011 Malcolm Poole <mgpoole@users.sourceforge.net> 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 Fr...
unit Listing_3; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs; type TKeyValues = array of TVarRec; TKey = class private fKeyValues: TKeyValues; public constructor Create(AKey: array of const); virtual; property KeyValues: TKeyValues read ...
unit ORM.modelBase; interface uses Classes, Rtti, ORM.attributes, SysUtils, WLick.Constantes, WLick.Types; type TORMModelBaseClass = class of TORMModelBase; TORMModelBase = class(TObject) private public function AssemblerClass: String; virtual; abstract; function GetTableName(): string; function...
{$MODE OBJFPC} unit ExceptionUnit; { Possibly this violates good encapsulation, but as this is } { a fairly small project, it makes sense to keep all the } { exceptions in one place. } interface uses SysUtils; type ETISBLException = class(Exception); ETestFailed = class(ETISBLException); EStackUnderflow ...
(* Origian : Turbocash 4.0.1.0 changed for osFinacials fork 2006/06/12 Pieter Valentijn Released under the GNU General Public License *) unit BudgetPerformanceOptions; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DBCtrls, Mask, ExtCtrls, Buttons, ComCtr...
{ This software is distributed under GPL in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the warranty of FITNESS FOR A PARTICULAR PURPOSE. @abstract(Contains definition of interface for creating curve instances.) @author(Dmitry Morozov dvmorozov@hotmail.com, LinkedIn: https://www.li...
unit NPCompiler.ConstCalculator; interface uses System.SysUtils, NPCompiler.Classes, NPCompiler.Operators; function ProcessConstOperation(Left, Right: TIDExpression; Operation: TOperatorID): TIDExpression; overload; function ProcessConstOperation(const Left, Right: TIDConstant; Operation: TOperatorID): TIDConstant; ...
unit rtLancamento; interface uses pFIBDatabase, pFIBQuery, SysUtils, Dialogs, Controls, DB, DBClient, Classes, Graphics, rtTypes; type TDadosLan = packed record id : Integer; Empre : Integer; DataLancto : TDateTime; CategoriaEnt : Integer; CategoriaSai : Integer; Valo...
{ Copyright (c) 2020, Vencejo Software Distributed under the terms of the Modified BSD License The full license is distributed with this software } unit FirebirdEngine_test; interface uses Classes, SysUtils, DB, FailedExecution, SuccededExecution, ExecutionResult, DatasetExecution, DatabaseEngine, Fireb...
{* ***** BEGIN LICENSE BLOCK ***** *} {* Version: MPL 1.1 *} {* *} {* The contents of this file are subject to the Mozilla Public License ...
unit PerformanceTime; { ============================================================================= Модуль PerformanceTime содержит описание класса TPerformanceTime, который позволяет измерить время выполнения куска кода. Необходимо инициализировать переменную типа TPerformanceTime, выполнить метод Start. проделать...
program StringBuilder_vs_Concat; uses System; uses System.Diagnostics; uses System.Text; const d: real = 2.28; perc_str: string = '%'; repeats: integer = 1000000; //short string concat procedure Test1; begin Write('short string concat'.PadRight(35) + ' - '); var sw := new Stopwatch(); var Result: string...