text
stringlengths
14
6.51M
unit m3Exceptions; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "m3" // Модуль: "w:/common/components/rtl/Garant/m3/m3Exceptions.pas" // Родные Delphi интерфейсы (.pas) // // Все права принадлежат ООО НПП "Гарант-Сервис". // /...
//Exercicio 91: Faça um algoritmo que imite as operações básicas de uma calculadora. Deve possuir um menu principal //(criado a partir de uma função) e possuir as quatro operações básicas: soma, subtração, multiplicação e divisão. //Cada ação deve ser executada a partir de uma função. { Solução em Portugol Alg...
unit kwGetFontSize; {* Возвращает установленный размер шрифта для стиля "Нормальный". } // Модуль: "w:\common\components\rtl\Garant\Keywords4Daily\kwGetFontSize.pas" // Стереотип: "ScriptKeyword" // Элемент модели: "GetFontSize" MUID: (509B9A8A0270) // Имя типа: "TkwGetFontSize" interface {$If Defined(nsTest) AND N...
unit uPermissaoSolicitacaoVO; interface uses System.SysUtils; type TPermissaoSolicitacaoVO = class private FOcorrenciaGeral: Boolean; FAnalise: Boolean; FOcorrenciaTecnica: Boolean; FAbertura: Boolean; FOcorrenciaRegra: Boolean; FStatusSolicitacao: Boolean; FTempo: Boolean; FCon...
unit Mat.Constants; interface const // Message and dialogs strings. ANALYSIS_PROGRESS_FINISHED = 'The analysis was finished succesfully'; ANALYSIS_PROGRESS_ROOTFOLDERNOTSPECIFIED = 'Please, specify root folder with project source code'; ANALYSIS_PROJECTVERSION_NOTDETECTED = 'Not detected'; ...
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Author: François PIETTE Description: This demo show how to use the TPing object to ping any host. Creation: November 30, 1997 Version: 6.00 EMail: francois.piette@overbyte.be http://www.overbyte.be Support: Use th...
unit csSpellCorrectTask; interface {$I CsDefine.inc} uses csProcessTask, Classes, ddProgressObj, DT_Types; type TcsSpellCorrectTask = class(TddProcessTask) private f_ReplacementFile: AnsiString; protected function GetDescription: AnsiString; override; procedure LoadFrom(aStream: TStream; aIsPipe: Boolean);...
{ $Project$ $Workfile$ $Revision$ $DateUTC$ $Id$ This file is part of the Indy (Internet Direct) project, and is offered under the dual-licensing agreement described on the Indy website. (http://www.indyproject.org/) Copyright: (c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r...
unit UntLib; interface uses FMX.Objects, FMX.Edit, FMX.TabControl, FMX.Multiview, FMX.Forms, FMX.Layouts, FMX.Types, FMX.StdCtrls, FMX.VirtualKeyboard, FMX.Platform, FMX.Controls, {$IFDEF ANDROID} FMX.Platform.Android, FMX.Helpers.Android, // FMX.Permissions.Android, Androidapi.JNI.Grap...
unit AsyncServerCnxHandler; interface uses VoyagerInterfaces, VoyagerServerInterfaces, Events, Protocol, Windows, Controls, RDOServer, RDOInterfaces, Classes, Collection; type TAsyncServerCnxHandler = class( TInterfacedObject, IMetaURLHandler, IURLHandler, IAsyncClientView ) public ...
unit event; interface uses Windows, Classes, Controls, SysUtils, DateUtils; type // TODO : pointer back to the ListItem this event is the .Data of? // yes when new events as controllers methodology is fully realized TRemindEvent = class(TObject) private FNotes : string; FDate : TDat...
unit d_SrchByJurOperation; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, d_SrchByAction, StdCtrls, Mask, vtCombo, vtDateEdit, Buttons, ExtCtrls, OvcBase, vtLister, DT_Types, afwControl, afwInputControl, afwControlPrim, afwBaseControl; type TSrchByJurOpe...
// Upgraded to Delphi 2009: Sebastian Zierer (* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1 * * 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 a...
// --------------------------------------------------------------------------------------- // // 1. In iTunes connect ensure that you have a unique App ID and when we create the application update with the bundle ID and code signing in Xcode with corresponding provisioning profile. // 2. Create a new application and up...
unit UnitUpdate; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, wininet, IdHTTP, IdFtp, IdComponent, Math, StdCtrls, ComCtrls; type tidWorkType = (stFTP, stHTTP); tWorkThread = class(TThread) private fHost, fDir, fURL, fURLini, fFile, fFileini, fLocalPath, f...
unit GX_CleanDirectories; {$I GX_CondDefine.inc} {$WARN UNIT_PLATFORM OFF} {$WARN SYMBOL_PLATFORM OFF} // TODO 3 -cFeature -oAnyone: Add save/restore of recursive directory checkboxes and custom-added directories? interface uses Classes, Controls, Forms, StdCtrls, CheckLst, ExtCtrls, ActnList, Menus,...
unit uRESTRequest; interface uses Classes, SysUtils, IdHTTP, fpjson, jsonparser; Const UrlBase = 'http://%s:%d/'; Type TRSCharset = (rscUTF8, rscANSI); TSendEvent = (seGET, sePOST, sePUT, seDELETE); Type TRESTClient = Class(TComponent) //Novo Componente de Acesso a Requisições REST para o RESTDataware Pro...
unit RESTRequest4D.Request.Response.Intf; interface uses System.SysUtils, System.JSON; type /// <summary> /// Interface representing the request response. /// </summary> IRequestResponse = interface ['{A3BB1797-E99E-4C72-8C4A-925825A50C27}'] /// <summary> /// Get response content. /// </s...
unit MergeSort; interface uses StrategyInterface; type TMergeSort = class(TInterfacedObject, ISorter) procedure Sort(var A : Array of Integer); destructor Destroy; override; private tmp : Array of Integer; procedure Merge(var A : Array of Integer; l, m, r : Integer); end; i...
//Exercicio 98: { Solução em Portugol Algoritmo Exercicio 98; Var N: inteiro; RESULTADO: caracter; Procedimento Paridade(n: inteiro; Var resultado: caracter); Inicio se(resto(n,2) = 0) então RESULTADO <- "VERDADEIRO" senão RESULTADO <- "FALSO"; fimse; Fim; Inicio exiba("Programa que exibe VER...
UNIT PLAYVOCU; {******************************************************************** * Unité pour piloter la Carte Sound Blaster avec Turbo-Pascal * * en utilisant le Driver CT-VOICE.DRV. * ******************************************************************** * (...
{ rxFileUtils is part of RxFPC library Copyright (C) 2005-2013 Lagunov Aleksey alexs@hotbox.ru and Lazarus team original conception from rx library for Delphi (c) 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 ...
unit ShodanAPI; interface uses Main, System.Classes; const SHODAN_API_ENDPOINT = 'https://api.shodan.io/shodan/host'; type TShoShodan = class private Acrawler: string; Aptr: boolean; Aid: string; Amodule: string; public property crawler: string read Acraw...
unit HGM.AutoTextType; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, HGM.Common; type TOnTextChange = procedure(Sender:TObject; Text:string) of object; TAutoTypeText = class(TCo...
{----------------------------------------------------------------------------- Unit Name: dataModSAFER Author: J. L. Vasser (FMCSA) Date: 2017-10-02 Purpose: Data Module for Data Pull. Provides the bridge between the SAFER Oracle-based database and the Firedbird-based Local A...
unit Audio; interface uses Bass; type TAudio = class(TObject) private CC: Integer; FCount: Integer; Channel: array[0..1023] of HSTREAM; FVolume: ShortInt; procedure SetVolume(Value: ShortInt); public constructor Create; destructor Destroy; override; property Vol...
unit bsListTreeData; {* - } // Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\Business\List\bsListTreeData.pas" // Стереотип: "SimpleClass" // Элемент модели: "TbsListTreeData" MUID: (47F4D3AC0029) {$Include w:\garant6x\implementation\Garant\nsDefine.inc} interface {$If NOT Defined(Admin) AND NOT Defined(Mo...
unit fpvv_drawer; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Controls, Graphics, LCLType; type { TFPVVDrawer } TFPVVDrawer = class(TCustomControl) private DragDropStarted: Boolean; DragStartPos: TPoint; public PosX, PosY: Integer; Drawing: TBitmap; RedrawCallback: TNotifyE...
unit ViewModels; {$mode objfpc}{$H+} interface uses MvvmClasses, DomainInterfaces; type TTestViewModel = class(TViewModel, ITest) private FStringValue : string; function GetStringValue() : string; procedure SetStringValue(const Value: string); public property StringValue : string read GetStr...
unit clStatus; interface uses clConexao; type TStatus = class(TObject) private function getBaixa: String; function getCodigo: Integer; function getDescricao: String; function getPercentual: Double; procedure setBaixa(const Value: String); procedure setCodigo(const Value: Integer); pr...
{ *************************************************************************** Copyright (c) 2016-2022 Kike Pérez Unit : Quick.IoC Description : IoC Dependency Injector Author : Kike Pérez Version : 1.0 Created : 19/10/2019 Modified : 19/01/2022 This file is part of QuickLib: ht...
unit evMemoContextMenu; { Библиотека "Эверест" } { Начал: Люлин А.В. } { Модуль: evMemoContextMenu - } { Начат: 03.06.2008 12:26 } { $Id: evMemoContextMenu.pas,v 1.4 2010/03/02 13:34:35 lulin Exp $ } // $Log: evMemoContextMenu.pas,v $ // Revision 1.4 2010/03/02 13:34:35 lulin // {RequestLink:193823544}. //...
unit Webhook; interface uses EventType; type TWebhookStatusEnum = (ACTIV, INACTIVE); TWebhook = class private FeventTypes: TArray<TEventTypes>; Fsecret: String; Fstatus: TWebhookStatusEnum; FString: String; public property url : String read FString write ...
{$I OVC.INC} {$B-} {Complete Boolean Evaluation} {$I+} {Input/Output-Checking} {$P+} {Open Parameters} {$T-} {Typed @ Operator} {$W-} {Windows Stack Frame} {$X+} {Extended Syntax} {$IFNDEF Win32} {$G+} {286 Instructions} {$N+} {Numeric Coprocessor} {$C MOVEABLE,DEMANDLOAD,DISCARDABLE} {$ENDIF} {********************...
program EightQueens; (* * This program displays solutions to the Eight Queens puzzle. After each * solution is displayed, the user is asked whether she wants to see nore * solutions. The program continues until either the user says no or * until no nore solutions are found. * * Requirements for compiling: ...
unit uReadBin; {$mode objfpc}{$H+} { Example 08 File Handling } { Used to Read a bin file } {Declare some units used by this example.} interface uses GlobalConst, GlobalTypes, Platform, Classes, Thr...
{@html(<hr>) @abstract(Base classes for objects that are checked for telemetry and game version support.) @author(František Milt <fmilt@seznam.cz>) @created(2013-10-17) @lastmod(2014-05-01) @bold(@NoAutoLink(TelemetryVersionObjects)) ©František Milt, all rights reserved. Classes in this unit (for d...
{* A sample ModelMaker unit } unit MMDemoClasses; interface uses SysUtils, Windows, Messages, Classes, Graphics, Controls, Forms, Dialogs; type {* This is a demo class built entirely with ModelMaker } TMMDemo = class (TObject) private FText: string; FValue: Integer; function GetText: string; ...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
unit WAV.Chat.Painter; interface uses WAV.Chat, Types, UITypes, FMX.Graphics; type TElementAlign = (eaLeft, eaRight, eaCenter); TElementPainter = class private FElement: TChatElement; FBackground: TAlphaColor; FBoundaries: TRectF; FContentRect: TRectF; FTimeRect: TRectF; FAlign...
unit ColorDist; {=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=] Copyright (c) 2014, Jarl K. <Slacky> Holta || http://github.com/WarPie All rights reserved. For more info see: Copyright.txt [=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=} {$mode objfpc}{$...
// *************************************************************************** // // Delphi MVC Framework // // Copyright (c) 2010-2020 Daniele Teti and the DMVCFramework Team // // https://github.com/danieleteti/delphimvcframework // // Collaborators on this file: // João Antônio Duarte (https://github.com/joaoduarte1...
{ pi / 4 = 4 * arctan(1 / 5) - arctan(1 / 239) arctan(x) = x - x^3 / 3 + x^5 / 5 - x^7 / 7 + .. } program PiBench; {$mode delphi} uses SysUtils, PiCalcs, tfNumerics; const MillisPerDay = 24 * 60 * 60 * 1000; var StartTime: TDateTime; ElapsedMillis: Integer; PiValue: BigCardinal; S:...
unit UniARC; interface {$IFNDEF AUTOREFCOUNT} type R<T : class> =record private GuardRef : IUnknown; public function O : T; inline; class operator Implicit(a: T): R<T>; inline; class operator Implicit(a: R<T>): T; inline; class operator Equal(a, b: R<T>) : Boolean; inline; c...
unit nscStatusBarOperationDef; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "Nemesis" // Модуль: "w:/common/components/gui/Garant/Nemesis/nscStatusBarOperationDef.pas" // Родные Delphi интерфейсы (.pas) // Generated from UML m...
unit MdiChilds.CompareFiles; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, MdiChilds.ProgressForm, MdiChilds.Reg, MdiChilds.CustomDialog, Vcl.StdCtrls, Vcl.ExtCtrls, GsDocument, Generics.Collections, StrU...
unit TTSBRCHTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TTTSBRCHRecord = record PLenderNum: String[4]; PBranchNum: String[8]; PModCount: Integer; PBranchName: String[25]; PAddr1: String[30]; PAddr2: String[30]; PAddr3: String[30...
unit App; { Based on 016_metallic_torus.cpp example from oglplus (http://oglplus.org/) } {$INCLUDE 'Sample.inc'} interface uses System.Classes, Neslib.Ooogles, Neslib.FastMath, Sample.App, Sample.Geometry; type TMetallicTorusApp = class(TApplication) private FProgram: TGLProgram; FVerts: TGLB...
unit uObservacao; interface uses uDM, System.SysUtils, FireDAC.Stan.Param, Data.DB, FireDAC.Comp.Client, uEnumerador, Vcl.Dialogs, uCadastroInterface, uObservacaoVO, uGenericDAO, uFireDAC; const CConsulta: string = 'SELECT Obs_Id, Obs_Codigo, Obs_Descricao, Obs_Ativo, Obs_Nome, Obs_Programa FROM Observ...
unit NewCheckListBox; { TNewCheckListBox by Martijn Laan for My Inno Setup Extensions See http://isx.wintax.nl/ for more information Based on TPBCheckListBox by Patrick Brisacier and TCheckListBox by Borland Group item support, child item support, exclusive item support, ShowLines support and 'WantTabs mode'...
{=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=] Copyright (c) 2013, Jarl K. <Slacky> Holta || http://github.com/WarPie All rights reserved. For more info see: Copyright.txt [=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=} {* Normalizes the matrix in the...
unit Serie; interface uses XMLDoc, Utils, StrUtils, SysUtils, IdHTTP, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, Dialogs; type TSerieManager = class(TObject) private _path: string; _id: integer; _title: string; _episode: array of array of string; publi...
unit DelphiMediaPlayer; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, MPlayer, ComCtrls, StdCtrls, ExtCtrls, Menus; type TForm1 = class(TForm) Screen: TPanel; PlayList: TListBox; BtnAddFile: TButton; BtnPlay: TButton; BtnStop: TButton; ...
{!DOCTOPIC}{ OS module } {!DOCREF} { @method: var OS = TObjOS; @desc: This module provides you with a miscellaneous operating system dependent functions. [note]Note that SimbaExt is so far only build for Windows. This module will be modified to be cross-platform if linux ever where to be ...
//******************************************** //autorun module by SpawN //avalible function: //1. DoAppToRun(Название,Полный путь до приложения); - Добавить в автозагрузку //2. IsAppInRun(Название); - Проверить добавлено ли в автозагрузку //3. DelAppFromRun(Название); - Удалить из автозагрузки //****************...
{ RxDBColorBox unit Copyright (C) 2005-2010 Lagunov Aleksey alexs@yandex.ru and Lazarus team original conception from rx library for Delphi (c) 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 ...
unit cmdlinefpccond; interface uses SysUtils; //todo: need to distingiush between cpu and os. // the list however, need to come externally type { TFPCConditionCheck } TFPCConditionCheck = class(TObject) private fCndStr: string; cnt : integer; fCnd : array of record cpu, os: string end; ...
unit SessionInterfaces; interface uses Classes; const SESSION_NOERROR = 0; SESSION_ERROR_Unknown = 1; SESSION_ERROR_UnexpectedMember = 2; type IRDOSessionServer = interface // Connection handling function Logon( Address : string; Port : intege...
unit InfoCKACCTTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TInfoCKACCTRecord = record PAcctID: String[4]; PModCount: String[1]; PName: String[30]; PAccountNo: String[20]; PNextChkNo: String[6]; PRConDate: String[8]; PRConBal: Cu...
unit GX_SelectComponents; {$I GX_CondDefine.inc} // TODO: Prevent selecting a VCL form + components, since it isn't actually possible interface uses Classes, Forms, Controls, ExtCtrls, ToolsAPI, ComCtrls, StdCtrls, Dialogs, ActnList, ImgList, Graphics, Buttons, DesignWindows, GX_BaseForm; type T...
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Author: Arno Garrels <arno.garrels@gmx.de> Creation: Nov 01, 2005 Description: Implementation of OpenSsl thread locking (Windows); Version: 1.03 EMail: francois.piette@overbyte.be http://www.overbyte.be Support:...
unit ExtAIMsgEvents; interface uses Classes, SysUtils, ExtAICommonClasses, ExtAISharedNetworkTypes, ExtAISharedInterface; // Packing and unpacking of Events in the message type TExtAIMsgEvents = class private // Main variables fStream: TKExtAIMsgStream; // Triggers fOnSendEvent : TExtAIE...
unit UListHandlerNodes; // Fully annotated interface uses Classes, UMazeHandler, UInterface, SysUtils, Dialogs; type TCoord = record x: integer; y: integer; end; TNode = record HValue, FValue, GValue: integer; Parent: TCoord; Position: TCoord; end; TListHandlerNod...
unit osRadioComboPanel; interface uses Windows, Messages, SysUtils, Classes, Controls, ExtCtrls, StdCtrls, graphics; type TCheckEvent = procedure(Sender: TObject; Value: Boolean) of Object; TosRadioComboPanel = class(tpanel) private FCaption: TCaption; procedure SetCaption(const Value: ...
UNIT ModLCGReal; INTERFACE FUNCTION randInt() : integer; FUNCTION randReal() : real; PROCEDURE initLCG(randSeed : integer); IMPLEMENTATION USES math; CONST a = 48721; c = 1; m = 32768; (*2 ^ 16*) VAR x: integer; FUNCTION randInt : INTEGER; BEGIN x := (a*x+c)MOD m; RandInt := x; END; FUNCTION...
unit uButton; interface uses Graphics, uGraph, uResFont, uImage; type TButtonState = (bsNone, bsOver, bsDown); TButtonType = (btShort, btNormal); TButton = class private FLeft: Integer; FTop: Integer; FSurface: array [1..4] of TBitmap; FCanvas: TCanvas; FGraph: TGraph; ...
unit joinedcommand; {$mode objfpc}{$H+} interface uses command; type { TJoinedCommand } TJoinedCommand = class(TCommand) private FNickName: string; FHost: string; FChannel: string; procedure Send; public procedure Execute(const ANickname, AHost, AChannel: string); end; imple...
unit uCmdCompiler; interface function CompilePath(path: string): Boolean; implementation uses classes, uSqlProject, uSqlGenerator, uLogger, uTextData, System.SysUtils; type TCompiler = class(TComponent,ILogger) private FGenerator: TSqlGenerator; FProject: TSqlProject; procedure CompileTextData...
unit PasswordEdit; { Inno Setup Copyright (C) 1997-2007 Jordan Russell Portions by Martijn Laan For conditions of distribution and use, see LICENSE.TXT. This unit provides a true password edit for Delphi 2. $jrsoftware: issrc/Components/PasswordEdit.pas,v 1.3 2007/12/10 18:28:53 jr Exp $ } interface us...
program PWM_TFTP_SERVO; {$mode objfpc}{$H+} { Advanced example - PWM_TFTP } { } { This example shows how to create webserver and TFTP server with remote shell } { This version is for Raspberry Pi 2B a...
unit RptHelper; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs; type TRptStatus = (rsNone, rsDone, rsProblem, rsScan, rsReport, rsAbort, rsNMSR, rsDelCat, rsMatch, rsCustom); TStatusUpdateEvent = procedure(Sender: TObject; Status:TRptStatus; PctComplete:integer...
program RunScheduledTasks; {$APPTYPE CONSOLE} {$MODE DELPHI} uses SysUtils, DateUtils, Quick.Commons, Quick.Console, Quick.Threads; type { TMyJob } TMyJob = class private fId : Integer; fName : string; public property Id : Integer read fId write fId; property Name : string read f...
{ Машинки. Физика, ИИ, коллизи, рендер... } unit uBCar; interface uses uTypes, OpenGL, uModels, uTextures, uGlobal, uLog; const AIR_B = 0.1/64; TRM_B = 0.5/64; {} T_R = -1; T_N = 0; T_1 = 1; T_2 = 2; T_3 = 3; T_4 = 4; type TCarCtrl = (go_frw, go_bak, go_left, go_right, go_brk, go_...
program a4; {This program tests the shortest path algorithm from program strategy 10.16 Below you will find a test program, and some procedure headers. You must fill in the bodies of the procedures. Do not alter the test program or type definitions in any way. You are given a constant for INFINITY, which is define...
unit ce_common; {$I ce_defines.inc} interface uses Classes, SysUtils, {$IFDEF WINDOWS} Windows, JwaTlHelp32, {$ENDIF} {$IFDEF LINUX} ExtCtrls, {$ENDIF} dialogs, forms, process, asyncprocess; const DdiagFilter = 'D source|*.d|D interface|*.di|All files|*.*'; exeExt = {$IFDEF WINDOWS} '.exe' {$E...
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Program: EMULVT.PAS Description: Delphi component which does Ansi terminal emulation Not every escape sequence is implemented, but a large subset. Author: François PIETTE Creation: May, 1996 Version: 6.00 EM...
program TM1638_demo; {$mode objfpc}{$H+} { Raspberry Pi Application } { Add your program code below, add additional units to the "uses" section if } { required and create new units by selecting File, New Unit from the menu. } { ...
unit thread_heat; interface uses SysUtils, Classes, Windows, ActiveX, Forms, SyncObjs; type // Здесь необходимо описать класс TThreadMain: TThreadHeat = class(TThread) private { Private declarations } protected procedure Execute; override; end; var ThreadHeat: TThreadHeat; // {$DEFINE DEBU...
unit Global; interface uses Windows, Messages, Dialogs, controls; resourceString rsArticuloNoValido = 'Articulo %s no es valido'; rsCantidadCero = 'Cantidad no puede ser 0'; rsTasaIVA = 'No se pueden incluir en la misma factura articulos con distintas tasas de IVA'; ...
{ Date Created: 5/25/00 5:01:02 PM } unit InfoPAYECODETable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TInfoPAYECODERecord = record PCode: String[4]; PDescription: String[30]; PAddress: String[30]; PCityState: String[25]; PZipCode: String[10]...
{ Copyright (C) 2013-2019 Tim Sinaeve tim.sinaeve@gmail.com 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...
unit uDataYxDserver; interface uses Classes,FireDAC.Comp.Client,System.SysUtils,SQLFirDACPoolUnit; type TYxDSvr = class private //数据库链接对象 DATABASE : TFDConnection; FQry:TFDQuery; //执行sql语句 function ExeSql(AQuery: TFDQuery; CSQL: string; ExecFlag: Boolean): Boolean; public FRet:String; ...
unit UOpcaoimagem; interface uses Windows, System.UITypes, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Buttons, jpeg, AcquireImage; type TfrmOpcaoImagem = class(TForm) edtDescrImagem: TEdit; Label1: TLabel; btnOk: TBitBtn; btnCancelar: TBitBtn;...
unit uCopiar; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LazFileUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, ComCtrls, ExtCtrls, DefaultTranslator, FileUtil; type { TfrmCopiar } TfrmCopiar = class(TForm) Label1: TLabel; Label2: TLabel; pbrAvance: TProgressBar; sttPos: TS...
unit uConfig; interface uses System.SysUtils, System.IniFiles, Vcl.Forms, Vcl.Dialogs; type tpBanco = (banFB, banMSS); type TConfig = class private FArquivo: string; FPorta: Integer; FDataBase: string; FServidor: string; FHostName: string; FUser_Name: string; FPassword: string; ...
{ DBAExplorer - Oracle Admin Management Tool Copyright (C) 2008 Alpaslan KILICKAYA 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...
{$mode objfpc} {$ifdef darwin} {$linklib libpython3.7m.a} {$endif} {$ifdef linux} {$linklib c} {$linklib m} {$linklib pthread} {$linklib util} {$linklib dl} {$linklib libpython3.7m.a} {$endif} {$assertions on} // python building instructions (darwin and linux): // https://www.python.org/downloads/release/python-374...
{ Subroutine SST_CONFIG_OUT (FNAM) * * Set up the output source configuration and init the back end routines. * The configuration information is read from the file FNAM. * * The file named in FNAM contains a set of commands, one per line. * "/*" starts an end of line comment. Valid commands are: * * BITS_A...
{$include lem_directives.inc} unit GameControl; {------------------------------------------------------------------------------- The gamecontrol class is in fact just a global var which is passed through as a parameter to all screens. ------------------------------------------------------------------------...
unit ASUProc; // Процедуры обработки пакетов из сети АСУ interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls; const ASU1_PACKET_IKONKI_LENGTH = 1000; // длина пакета для передачи 200 табличек var IkonkiOut : array[0..1006] of char; // буфер м...
unit Utils; interface uses Classes, SysUtils, Windows, Forms; type TStrings = array of string; TCharSet = set of Char; TApplicationVersion = record Major, Minor, Release, Build: Word; end; const Space: string = ' '; LineBreak: string = #10#13; Number: string = '#'; DecCharSet: TCharSet = ['...
unit SpawnClient; { Inno Setup Copyright (C) 1997-2007 Jordan Russell Portions by Martijn Laan For conditions of distribution and use, see LICENSE.TXT. Spawn client NOTE: These functions are NOT thread-safe. Do not call them from multiple threads simultaneously. $jrsoftware: issrc/Projects/SpawnClie...
unit vtStringLister; { Библиотека "" } { Начал: Люлин А.В. } { Модуль: vtStringLister - } { Начат: 30.05.2005 16:36 } { $Id: vtStringLister.pas,v 1.6 2007/03/20 13:38:56 lulin Exp $ } // $Log: vtStringLister.pas,v $ // Revision 1.6 2007/03/20 13:38:56 lulin // - избавляемся от лишних преобразован...
unit Gifs; interface uses Classes, Windows, SysUtils, GDI, Dibs; const idGifSignature = 'GIF'; idGifVersion87a = '87a'; idGifVersion89a = '89a'; const // Logical screen descriptor bit masks lbmGlobalColorTable = $80; // set if global color table follows L.S.D. lbmColorResolution ...
unit K590758825; {* [Requestlink:590758825] } // Модуль: "w:\common\components\rtl\Garant\Daily\K590758825.pas" // Стереотип: "TestCase" // Элемент модели: "K590758825" MUID: (55100F3F014E) // Имя типа: "TK590758825" {$Include w:\common\components\rtl\Garant\Daily\TestDefine.inc.pas} interface {$If Defined(nsTest)...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Menus, StdCtrls; type TForm1 = class(TForm) MainMenu1: TMainMenu; Menu11: TMenuItem; Item11: TMenuItem; Item21: TMenuItem; Item31: TMenuItem; Menu21: TMenuItem; Item12: TMe...
unit deProfile; {* Интерфейс обмена данными для формы "efUserProfile" } // Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\Admin\deProfile.pas" // Стереотип: "SimpleClass" // Элемент модели: "TdeProfile" MUID: (4AA5275401A5) {$Include w:\garant6x\implementation\Garant\nsDefine.inc} interface {$If Defined(Adm...
unit nscTabTable; {* Таблица перехода фокуса. } // Библиотека : Компоненты проекта Немезис // Автор : Морозов М.А. // Модуль : nscTabTable - Таблица перехода фокуса. // Начат : 27.03.2007 // Версия : $Id: nscTabTable.pas,v 1.8 2011/05/19 13:50:15 lulin Exp $ (*---------------------------------------...
{ 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...
unit uCommands; interface uses Data.DB, xn.grid.link.sample, xn.grid.common; type TxnCommands = class const LINK_NIL = 'Link not assigned!'; DATASET_NIL = 'Dataset not assigned!'; private fLink: IxnGridLinkCustom<string>; fDataSet: TDataSet; fId: Integer; proc...