text
stringlengths
14
6.51M
{ Double Commander ------------------------------------------------------------------------- Unix pseudoterminal device implementation Copyright (C) 2021 Alexander Koblov (alexx2000@mail.ru) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated docume...
{ Clever Internet Suite Version 6.2 Copyright (C) 1999 - 2006 Clever Components www.CleverComponents.com } unit clUploader; interface {$I clVer.inc} uses Classes, clMultiDC, clSingleDC, clDCUtils, clMultiUploader, clHttpRequest; type TclSingleUploadItem = class(TclUploadItem) protected function Get...
{ Double Commander ------------------------------------------------------------------------- Get system folders. Copyright (C) 2006-2022 Alexander Koblov (alexx2000@mail.ru) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Publi...
program hello_triangle_indexed; {$mode objfpc}{$H+} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Classes, SysUtils, gl, GLext, glfw31; const // settings SCR_WIDTH = 800; SCR_HEIGHT = 600; // process all input: query GLFW whether relevant keys are pressed/released this frame and re...
// RemObjects CS to Pascal 0.1 namespace UT3Bots; interface uses System, System.Collections.Generic, System.Linq, System.Text, UT3Bots.UTItems; type BotSpawnedEventArgs = public class(EventArgs) assembly or protected constructor; end; HasDiedEventArgs = public class(EventArgs) private va...
unit Strings; interface resourcestring // This multi-plural pattern has two parameters (hours and minutes). // It uses standard plural rules of English (1 = singular, all other are plurals) plus special zero case in hours. SResultPlural = 'Driving time{plural, zero { } one { %d hour } other { %d hours }}{plural...
unit cn_sp_OrderTypes_Unit_AE; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxLookAndFeelPainters, cxContainer, cxEdit, cxTextEdit, StdCtrls, cxControls, cxGroupBox, cxButtons, cnConsts; type TfrmOrderTypes_Ae = class(TForm) OkButton: TcxButton; C...
unit MainScreen; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls, Buttons; type { TFmMainScreen } TFmMainScreen = class(TForm) BbClose: TBitBtn; GbAdvice: TGroupBox; GbMemory: TGroupBox; GbOperatingSystem: TGroupBox; ...
unit SSLDemo.EncFrame; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TEncFrame = class(TFrame) btnEncrypt: TButton; memTest: TMemo; btnDecrypt: TButton; Label1: TLabel; ...
namespace proholz.xsdparser; interface type XsdSequenceVisitor = public class(XsdAnnotatedElementsVisitor) private // * // * The {@link XsdSequence} instance which owns this {@link XsdSequenceVisitor} instance. This way this visitor instance // * can perform changes in the {@link XsdSequence} object...
(* Category: SWAG Title: MATH ROUTINES Original name: 0122.PAS Description: Prime Number function Author: ALLEN CHENG Date: 03-05-97 06:02 *) { Prime v1.1 (C) 1997 Allen Cheng. All Rights Reserved. Please feel free to use this unit on your program, give me Credit if you like.... Enjoy! Th...
unit uExifPatchThread; interface uses SyncObjs, ActiveX, Classes, Dmitry.Utils.Files, uRuntime, uConstants, uMemory, UnitDBDeclare, uDBThread, uExifUtils, uDBUtils, uDBContext, uLockedFileNotifications; type TExifPatchThread = class(TDBThread) private { Pri...
unit qtx.visual.sprite3d; //############################################################################# // // Author: Jon Lennart Aasenden [cipher diaz of quartex] // Copyright: Jon Lennart Aasenden, all rights reserved // // Description: // ============ // Updated port of Sprite3D, which allows f...
unit SutraLakeWriterUnit; interface uses CustomModflowWriterUnit, System.Generics.Collections, PhastModelUnit, SutraOptionsUnit, System.SysUtils; type TLakeNodeRecord = record InitialStage: double; InitialU: double; RechargeFraction: double; DischargeFraction: double; end; TLakeNode = clas...
program StraightExchange; {* Straight Exchange Sort a.k.a. Bubblesort If we view the array to be in a vertical instead of a horizontal position, and the items as bubbles in a water tank with "weights" according to their keys, then each pass over the array results in the ascention of a bubble to its appropriate l...
namespace UT3Bots.Communications; interface uses System, System.Collections.Generic, System.Linq, System.Text, System.Diagnostics, System.Reflection, System.Runtime.CompilerServices; type [AttributeUsage(AttributeTargets.Field)] StringValueAttribute = public class (Attribute) private _str...
{***************************************************************************} { } { Delphi Package Manager - DPM } { } { ...
unit Heap0; interface uses windows, util1; { getmemG, reallocmemG et FreememG ont le même rôle que les procédures système mais ne génèrent pas d'erreur En 32 bits, la valeur demandée size peut être supérieure 2 GB } procedure freememG(p: pointer); function getmemG(var p: pointer; size: int64): boolean; fun...
unit PKCS11KnownLibs; interface uses Classes; type TPKCS11KnownLibrary = record DLLFilename: string; Manufacturer: string; Device: string; end; const PKCS11_KNOWN_LIBRARIES: array [1..68] of TPKCS11KnownLibrary = ( //this is by far the most common as ...
unit SqlLogger; interface uses NSql; function TextFileSqlLogger(const FileName: UnicodeString; RewriteFile: Boolean): ISqlLogger; function ConsoleSqlLogger: ISqlLogger; function FakeSqlLogger: ISqlLogger; implementation uses SysUtils, DateUtils, NSqlSys, Windows; type TBaseSqlLogge...
program problem03; uses crt; (* Problem: Largest prime factor Problem 3 @Author: Chris M. Perez @Date: 5/16/2017 *) const MAX: int64 = 600851475143; function largestPrimeFactorization(arg: int64): int64; var i: int64 = 2; begin repeat i := i + 1; if arg mod i = 0 then begin ...
unit ClueTypes; interface uses windows, winapi.messages, Vcl.ComCtrls; const UM_WORKERPROGRESS = WM_APP + 1; UM_WORKERDONE = WM_APP + 2; type TVector<T> = array of T; TMatrix<T> = array of TVector<T>; type TUMWorkerDone = record Msg: Cardinal; ThreadHandle: Integer; ...
unit uRelatAssinantes; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, JvComponentBase, JvEnterTab, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.Buttons, Vcl.Grids, Vcl.DBGrids, Vcl.Mask, JvExMask, JvToolEdit, Jv...
unit ModulesIOThreadsUnit; interface uses System.Classes, Vcl.Dialogs, System.SysUtils, ModuleOperationsUnit, SystemControlMessagesUnit; type TIOThread = class(TThread) public const SleepTime = 1000; var Module: TModule; SelfID: Integer; constructor Create(M: TModule; ID: Inte...
unit DSA.Interfaces.Comparer; {$mode objfpc}{$H+} interface uses Classes, SysUtils; type generic IDSA_Comparer<T> = interface ['{1887062D-EFA5-43F7-99E4-F26EF191F5A2}'] function Compare(const left, right: T): integer; end; generic TComparer<T> = class(TInterfacedObject, specialize IDSA_Comparer...
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.CheckLst, Vcl.Imaging.jpeg, Data.DB, Datasnap.DBClient, Vcl.Grids, Vcl.DBGrids, Vcl.ComCtrls, JSON, System.G...
{ ******************************************************************************* Title: T2Ti ERP Description: Controller do lado Cliente relacionado à tabela [PRODUTO] The MIT License Copyright: Copyright (C) 2010 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this software...
unit MainForm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, ComCtrls, Buttons, AnInp, AnOut, DgInp, DgOut, Counters, DAQDefs, pwrdaq, pwrdaq32, pdfw_def, ImgList; type // Main form class TMain = class(TForm) PageControl1: TPageControl; ...
unit uFrmImport; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, ComCtrls, cxLookAndFeelPainters, cxButtons, uEplataformaEntidadeClasses, uStringFunctions; type TFrmImport = class(TForm) Image11: TImage; pnlComple: TPanel; lbl...
procedure perest(head,tail:tstr); //Теперь определяй tail, только как переменную begin if length(tail)=6 then //Добавляй условие: 1+2+3=4+5+6: про StrToInt найди в справке в разделе Системные процедуры, print(head) //главе Строки (как-то так). Она переводит строку в число (если строка состоит из цифр, ...
{Dada una matriz A de NxM elementos enteros, se desea generar un arreglo lineal B con los elementos de la matriz A que cumplan: A[fila, columna] <= 0 para fila impar y columna impar ó A[fila, columna] > 0 para fila par y columna par 1 8 -6 -7 A = 4 6 3 2 0 -5 9 13 B= -6 6 2 0 } Program Eje3; Type TM = ar...
unit uDemoInterfaces; interface uses uInterfaces; type IMyViewModel1 = interface(IViewModel) ['{9C9E27CC-A468-4D4A-A698-3B00A0BF8847}'] function Hello1: String; end; IMyViewModel2 = interface(IViewModel) ['{A199336D-D436-4C3B-9755-5B6423F264FE}'] function Hello2: String; end; IMyViewMod...
unit ExplicitConvertOpTest; {$mode objfpc}{$H+} interface uses fpcunit, testregistry, Math, SysUtils, uIntXLibTypes, uIntX; type { TTestExplicitConvertOp } TTestExplicitConvertOp = class(TTestCase) published procedure ConvertToInteger(); procedure ConvertToUInt32(); procedure Conv...
unit uClassWorkIni; interface uses IniFiles; type TBaseWorkIni = class private ArqIni: TIniFile; Fpath: string; Fusername: string; Fpassword: string; FdriverName: string; pathIni : String; procedure Setpath(const Value: string); procedure Setusername(const Value: string); p...
unit Demo.Overview; interface uses System.Classes, System.SysUtils, System.Variants, Demo.BaseFrame, cfs.GCharts; type TDemo_Overview = class(TDemoBaseFrame) public procedure GenerateChart; override; end; implementation uses System.DateUtils; function GetAreaChart: IcfsGChartProducer; begin Result...
unit uModSuplier; interface uses uModApp, uModTipePerusahaan, uModBank, uModTipePembayaran, uModTipeKirimPO, System.Generics.Collections, uModRefPajak, uModRekening; type TModSuplierGroup = class; TModTipeSuplier = class; TModSuplierMerchanGroup = class; TModMerchandise = class(TModApp) private F...
unit ExecProc; interface uses Windows; type TCommandLine = type String; function ProcessExecute(CommandLine: TCommandLine; cShow: Word): boolean; implementation uses ShellAPI; function ProcessExecute(CommandLine: TCommandLine; cShow: Word): boolean; { This method encapsulates the call to CreateProcess() whic...
unit bot_data; interface uses Windows, SysUtils, Classes, Graphics, Controls, Forms, Sockets, ScktComp, Dialogs, ExtCtrls, StrUtils; type TBotClientThread = class; TBotServer = class; TBotServerArray = class; TBotChannel = class; TBotChannelArray = class; TB...
unit UnitFormInternetUpdating; interface uses Winapi.Windows, Winapi.ShellAPI, System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls, Dmitry.Utils.System, Dmitry.Controls.Base, Dmitry.Controls.WebLink, uSetting...
unit PgAttrib; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls, ExtCtrls; type TfrmPageAttributes = class(TForm) PageControl1: TPageControl; tsBorder: TTabSheet; pnlButtons: TPanel; Button1: TButton; Button2: TButton; Label1: T...
namespace CalculatorLibrary; interface type ICalculator = public interface method Calculate(const aArgument: Int32): Int64; end; // Very simple cached calculator declaration that uses object // of type ICalculator to perform calculations CachedCalculator = public sealed class private var fCalcul...
unit GLDCone; interface uses Classes, GL, GLDTypes, GLDConst, GLDClasses, GLDObjects; type TGLDCone = class(TGLDEditableObject) private FRadius1: GLfloat; FRadius2: GLfloat; FHeight: GLfloat; FHeightSegs: GLushort; FCapSegs: GLushort; FSides: GLushort; FStartAngle: G...
unit URepositorioEmpresaMatriz; interface uses UEmpresaMatriz, UEntidade, URepositorioDB, URepositorioCidade, URepositorioEstado, URepositorioPais, UPais, UEstado, UCidade, SqlExpr ; type TRepositorioEmpresa = class (TrepositorioDB<TEmpresa>) private FRepositorioCidade : TRepositorio...
// // VXScene Component Library, based on GLScene http://glscene.sourceforge.net // { Good for preview picture in OpenDialog, so you may include both HDRImage (preview) and GLFileHDR (loading) } unit uHDRImage; interface {$I VXScene.inc} uses Winapi.Windows, System.Classes, System.Sy...
unit pasodbc; {$IFDEF FPC} {$MODE Delphi} {$H+} {$ELSE} {$IFNDEF LINUX} {$DEFINE WIN32} {$ELSE} {$DEFINE UNIX} {$ENDIF} {$ENDIF} //ODBC-32 interface for libsql //2005 R.M. Tegel //Modified Artistic License interface uses {$IFDEF WIN32} Windows, {$ENDIF} C...
unit vwuFoodsComposition; interface uses System.SysUtils, System.Classes, Variants, vwuCommon, 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.Clien...
unit ufrmAPCard; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ufrmMasterReport, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters, Vcl.Menus, System.Actions, Vcl.ActnList, Vcl.StdCtrls, cxButtons, Vcl.ExtC...
unit CustomServiceDemoPublicIntf; // This file contains a public interfaces, which will be available for another developers interface const SID_IMyCustomExtension = '{04D04C1E-6B29-4889-AD00-39CEE4BC56E7}'; IID_IMyCustomExtension: TGUID = SID_IMyCustomExtension; SID_IMyCustomService = '{5CD9EF89-2725-4541-A93...
unit Form_Main; // Description: Hash Test Vector Suite // By Sarah Dean // Email: sdean12@sdean12.org // WWW: http://www.SDean12.org/ // // ----------------------------------------------------------------------------- // // This test application verifies the hash implementations by checking their // output a...
unit ufrmGame; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, System.Generics.Collections, Interfaces.Wall, Classes.Wall, Interfaces.Floor, Classes.Floor, Interfaces.Box, Classes.Box, Interface...
unit Main; interface uses System.UIConsts, System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, System.Generics.Collections, GameObject, SnakeUnit, FMX.Colors, FMX.Gestures, FMX.Controls.Presentation, FMX.StdCtrls; cons...
object Form1: TForm1 Left = 220 Top = 314 BorderStyle = bsSingle Caption = 'MeshMorph' ClientHeight = 604 ClientWidth = 854 Color = clBlack Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'MS Sans Serif' Font.Style = [] KeyPreview = True O...
{******************************************************************************* * uSpravControl * * * * Библиотека компонентов для работы с формой редактирования (qFControls) ...
unit IdResourceStringsUriUtils; interface resourcestring // TIdURI RSUTF16IndexOutOfRange = 'Zeichenindex %d außerhalb des Bereichs, Länge = %d'; RSUTF16InvalidHighSurrogate = 'Zeichen bei Index %d ist kein gültiges, hohes UTF-16-Surrogat'; RSUTF16InvalidLowSurrogate = 'Zeichen bei Index %d ist kein gültiges...
unit BsEditCityArea; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, BsAdrSpr, BaseTypes, BsAdrConsts, cxLookAndFeelPainters, DB, ActnList, FIBDataSet, pFIBDataSet, FIBQuery, pFIBQuery, pFIBStoredProc, FIBDatabase, pFIBDatabase, cxMaskEdit, cxDropDownEdit, cx...
unit Objekt.Feld; interface uses SysUtils, Classes, db; type TFeld = class private fName: string; fTyp: TFieldType; public constructor Create; destructor Destroy; override; procedure Init; property Name: string read fName write fName; property Typ: TFieldType read fTyp write fTyp;...
unit API_ORM; interface uses API_DB, Data.DB, FireDAC.Comp.Client, FireDAC.Stan.Param, System.Generics.Collections; type TEntityAbstract = class; TEntityClass = class of TEntityAbstract; TPrimaryKeyField = record FieldName: string; FieldType: TFieldType; end; TPrimaryKey = array of TPri...
{* ***** BEGIN LICENSE BLOCK ***** Copyright 2009 Sean B. Durkin This file is part of TurboPower LockBox 3. TurboPower LockBox 3 is free software being offered under a dual licensing scheme: LGPL3 or MPL1.1. The contents of this file are subject to the Mozilla Public License (MPL) Version 1.1 (the "License"); you may ...
unit AddMap; interface uses Windows, SysUtils, Classes, Controls, Forms, StdCtrls, JvLabel, JvEdit, UFuncoes, JvExStdCtrls, JvExControls; type TAddType = (AddWorkshopMap, AddWorkshopMod, EditWorkshopMap, EditWorkshopItem, ReinstallWorkshopMap, ReinstallWorkshopItem, UnknowedWorkshopItem); TFormAdd...
unit gr_uCommonConsts; interface //****************************************************************************** // //Заголовки форм const Application_Caption :array[1..2] of string = ('Стипендія','Стипендия'); const Access_Caption :array[1..2] of string = ('Вхід','Вход'); const Exit_Caption ...
(* Copyright 2018 B. Zoltán Gorza * * This file is part of Math is Fun!, released under the Modified BSD License. *) { Game class, this class is responsible to hold everything together. It also provides a very minimalistic interface to keep things under control. } unit GameClass; {$mode objfpc} {$H+} interface...
unit uI2XDWImageUtils; interface uses SysUtils, Graphics, uI2XConstants, uI2XTemplate, uDWImage, Windows, Classes, GIFImg; const UNIT_NAME = 'uI2XDWImageUtils'; function EstimatedImageResolution(img : TDWImage; template : CTemplate ): integer; overload; function EstimatedImageRe...
UNIT UEarthquake; INTERFACE {* exposed functions and procedures *} {* Inserts new earthquake to earthquakes list sorted by date (DESC) * * @param latitude REAL Latitude value of geopoint * @param longitude REAL Longitude value of geopoint * @param strength REAL Strength value of earthquake...
{ Setup API defines Written by DuXeN0N } unit SetupAPI; interface uses Windows; const CfgMgrDllName = 'cfgmgr32.dll'; SetupApiModuleName = 'SETUPAPI.DLL'; type HDEVINFO = THandle; DEVINST = DWORD; CONFIGRET = DWORD; PPNP_VETO_TYPE = ^PNP_VETO_TYPE; PNP_VETO_TYPE = DWORD; const // Disk Drives...
{================================================================================ Copyright (C) 1997-2002 Mills Enterprise Unit : rmInspectorItems Purpose : This is a designtime unit to help with selecting and creating rmInspectorItems. Date : 01-18-2001 Author : Ryan J. Mills Version : ...
unit uDemoViewTipo1; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, System.Generics.Collections, FMX.Controls.Presentation, FMX.ScrollBox, FMX.Memo, FMX.StdCtrls, uInterfaces, uAtributos, uDe...
unit SuppliersDB; {$mode objfpc}{$H+} //======================================================================================== // // Unit : SuppliersDB.pas // // Description : // // Called By : // // Calls : AppSettings : pApplicationDirectory // HUMessageBoxes : HUInformationMsgOK // // Ver. : 1.0.0 // ...
unit main; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, Buttons, ColorBox, StdCtrls, ComCtrls, Menus, tools; type { TMainForm } TMainForm = class(TForm) DlgOpenImage: TOpenDialog; DlgSaveImage: TSaveDialog; ToolBox: TPanel; ...
unit UEstado; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, UtelaCadastro, Vcl.ComCtrls, Vcl.StdCtrls, Vcl.Mask, Vcl.Buttons, Vcl.ExtCtrls, Vcl.Grids, Vcl.DBGrids, Generics.Collections, UController, UEsta...
unit ziptools; interface uses Windows, SysUtils, Classes, ZLib; type TZipProgress = procedure(CurBlock, TotBlock: integer; var AClose: Boolean) of object; procedure CompressStream(AStreamInp: TStream; AStreamOut: TStream; AEvent: TZipProgress; Compression: byte); //stdcall; procedure DecompressStream...
unit uFrameObjectList_ContractActual; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uFrameObjectList, uFrameBaseGrid, uFrameObjectsByProps, ExtCtrls, uFrameObjectFilter, dxNavBarCollns, cxClasses, dxNavBarBase, cxControls, dxNavBar, StdCtrls; typ...
unit FilePackageWithZDBMainFrm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, ObjectDataManagerFrameUnit, MemoryStream64, ObjectDataHashField, ObjectDataManager, UnicodeMixedLib...
unit BVE.SVGEditorFormVCL; // ------------------------------------------------------------------------------ // // SVG Control Package 2.0 // Copyright (c) 2015 Bruno Verhue // // ------------------------------------------------------------------------------ // The SVG E...
unit GrdFuncs; { A class to read Arcinfo Grid Ascii format P.G.Scadden, 26/10/00 P.Scadden@gns.cri.nz and to read Surfer Grid Ascii format P.V.Vassiliev, 25/12/05 vassiliev@sf.users.net } interface uses System.SysUtils, System.Classes, GLVectorGeometry; type TGridType = (gtSurfe...
unit frmLocateCar; {****************************************************************************** 软件名称 FNM 版权所有 (C) 2004-2012 ESQUEL GROUP GET/IT 创建日期 2011-5-11 10:54:40 创建人员 cuijf 修改人员 修改日期 修改原因 对应用例 字段描述 相关数据库表 调用重要函数/SQL对象说明 功能描述 ...
unit UnitDataMain; 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, FireDAC.Phys.SQLite, FireDAC.Stan.ExprFuncs, FireDAC.FMXUI.Wait, Fir...
unit ToStringFastTest; {$mode objfpc}{$H+} interface uses fpcunit, testregistry, SysUtils, Math, uEnums, TestHelper, uIntX; type { TTestToStringFast } TTestToStringFast = class(TTestCase) private F_length: integer; const StartLength = integer(1024); LengthIncrement = integer(10...
unit uPochasDates; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxLabel, StdCtrls, Buttons, cxControls, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxDropDownEdit, cxCalendar; type TfrmPochasDates = class(TForm) DateBegEdit: TcxDateEdit; ...
Unit Palette; Interface Uses Crt,Dos; Procedure CrtPal; Procedure Pal(Col,R,G,B : Byte); Procedure PalX(Col,R,G,B:Integer); Procedure CrtFil(s:string); Procedure LodFil(s:string); Procedure GetPal(Col : Byte; Var R,G,B : Byte); Procedure ReloadPalette; Procedure FadeIn(del:Integer); Procedure FadeOut...
unit tcpThread; { TCP listening thread for incoming messages. } interface uses Classes, IdTCPClient; type TDataEvent = procedure(const Data: string) of object; TTimeoutEvent = procedure() of object; TReadingThread = class(TThread) private FClient: TIdTCPClient; FData: string; FOnData: TDataE...
unit FormProgRun; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, SynEdit, Forms, Controls, Graphics, Dialogs, SynEditKeyCmds, process, ShellCtrls, ExtCtrls, LockedQueue, Pipes, config; type TStringQueue = specialize TLockedQueue<String>; { TRunThread } TRunThread = class(TThread) Re...
{En la provincia de Buenos Aires se llevan a cabo N obras viales, cada una de ellas planificada en M tramos, no concluidos aun (M igual para todas ellas). Se conoce de cada empresa su nombre (cadena de 4 caracteres) y la cantidad tramos concluidos(menor que M y diferente para cada empresa) y además la extensión en kms ...
function InputName(var Nome: string): boolean; // // cria uma caixa de dialogo para entrada de dados // // Esta função retorna true se for pressionado OK e false // em caso contrário. Se for OK, o texto digitado pelo usuário // será copiado para a variável Nome // // Exemplo: // // var // S: string; // begin // i...
{*****************************************************************************} { } { Tnt Delphi Unicode Controls } { http://www.tntware.com/delphicontrols/unicode/ }...
unit uNavegador; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, OleCtrls, SHDocVw_EWB, EwbCore, EmbeddedWB, ComCtrls, ExtCtrls, Math; type TNavegadorProxy = class(TFrame) EmbeddedWB1: TEmbeddedWB; Panel1: TPanel; ProgressBar1: TProgressBar; Panel2: TPane...
//****************************************************************************** // Moonphases unit : compute moon phases times // original author : alantell - november 2004 from astronomy books // Lazarus adaptation and improvements : bb - sdtp - May 2021 // // Parameters: // Moonyear (Integer) : Selected year for m...
unit FavTypeAdd; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxLookAndFeelPainters, cxCheckBox, ActnList, FIBQuery, pFIBQuery, pFIBStoredProc, FIBDatabase, pFIBDatabase, StdCtrls, cxButtons, cxControls, cxContainer, cxEdit, cxTextEdit,IBAse; type TType...
namespace MetalExample; interface uses Metal, MetalKit; type // "Hello Triangle" MetalExample1 = class(MetalBaseDelegate) private const cShaderName = 'AAPLShaders1.metallib'; cVertexFuncName = 'vertexShader'; cFragmentFuncName = 'fragmentColorShader'; var _pipelineState :MTLR...
unit Objekt.DHLGetLabelRequestAPI; interface uses SysUtils, System.Classes, geschaeftskundenversand_api_2, Objekt.DHLVersion; type TDHLGetLabelRequestAPI = class private fRequest: GetLabelRequest; fArray_Of_ShipmentNumber: Array_Of_shipmentNumber; fShipmentNumber: string; FVersion: TDHLVersion;...
unit NewFrontiers.Vcl.Ueberschrift; interface uses Vcl.Controls, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.ImgList, Classes; type TUeberschriftAccent = ( Blue, Green ); TUeberschriftIcon = ( Index, Artikel, Auswertungen, Dokumente, Einstellungen, Geraete, Kunden, Lieferanten, Mahnwesen, Projekte, S...
unit Invoice.Model.Interfaces; interface uses System.Classes, Data.DB; type iQuery = interface ['{6C0CDB32-885F-4DC6-B4DC-041B1D4F9173}'] procedure Open; procedure Close; function SQL(Value: String): iQuery; function DataSet: TDataSet; function Order(...
unit UApi; (*==================================================================== API layer between visual components and the DiskBase Engine. The API functions are prefixed with QI_ ======================================================================*) {$A-} interface uses UTypes, UApiTypes, UCollection...
unit ufrmMouselessMenu; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ButtonGroup, Vcl.ExtCtrls, Vcl.StdCtrls, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, cxGroup...
unit TESTCOTACAO.Entidade.Model; interface uses DB, Classes, SysUtils, Generics.Collections, /// orm ormbr.types.blob, ormbr.types.lazy, ormbr.types.mapping, ormbr.types.nullable, ormbr.mapping.classes, ormbr.mapping.register, ormbr.mapping.attributes, TESTORCAMENTO.Entidade.Model...
{ NEERC'98 Problem "Gangsters" Solution by Roman Elizarov 22.11.98 } {$A+,B-,D+,E+,F-,G+,I+,L+,N+,O-,P-,Q+,R+,S+,T-,V+,X+,Y+} {$M 16384,0,655360} program GANGSTER_SOLUTION; function min ( x, y: integer ): integer; begin if x < y then min:= x else min:= y; end; function max ( x, y: integer ): integer; ...
unit uAssociations; interface uses generics.Collections, System.Classes, System.SysUtils, System.StrUtils, System.SyncObjs, System.Win.Registry, Winapi.Windows, Vcl.Graphics, Vcl.StdCtrls, Vcl.Imaging.pngimage, Vcl.Imaging.jpeg, {$IFDEF PHOTODB} GraphicEx, GifImage, uR...
unit Dialog_FiltMemb; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, RzLabel, Mask, RzEdit, RzBtnEdt; type TDialogFiltMemb = class(TForm) Edit_Code: TRzButtonEdit; Labl_1: TRzLabel; Labl_2: TRzLabel; Btnx_Mrok: TButton; ...
unit twmreader; {$mode objfpc}{$H+} interface uses Classes, SysUtils, sqlite3conn, sqldb, regexpr, cmtwriter, rtfutil; type TOnLog = procedure(msg: String) of object; TTwmReader = class(TObject) FOnLog: TOnLog; conn: TSQLite3Connection; tx: TSQLTransaction; cmtwriter: TCmtWriter...
(* Project : unnamed -Bot Author : p0ke Homepage : http://unnamed.bot.nu/ Credits : Redlime - Helped with coding. Tzorcelan - Helped with coding and testing spread. Positron - Coded netbios-spread orginal. I Modified it. ...
PROGRAM Test; Type ArrOfInteger = Array Of Integer; var int: REAL; i: Integer; arr: ArrOfInteger; arr2: ArrOfInteger; arr3: ArrOfInteger; arr3Indx: INTEGER; FUNCTION GetArrayLength(arr: ArrOfInteger): INTEGER; BEGIN GetArrayLength := Length(arr); END; FUNCTION CutArrayRightFromIndex(arr: ArrOfInteger...