text
stringlengths
14
6.51M
PROGRAM parms3; TYPE cube = ARRAY[0..1, 0..2, 0..3] OF integer; VAR vvv : cube; PROCEDURE doCube1(VAR c : cube); VAR i, j, k : integer; BEGIN FOR i := 0 TO 1 DO BEGIN FOR j := 0 TO 2 DO BEGIN FOR k := 0 TO 3 DO BEGIN c[i,j][k] := 100*i ...
unit fcImage; { // // Components : TfcCustomImage // // Copyright (c) 1999 by Woll2Woll Software } interface uses Consts, Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs; type TfcCustomImage = class(TGraphicControl) private FPicture: TPicture; FAutoSize: Boolean; FIncrement...
unit Utils.Constants; interface const // Formatter ftCnpj = '##.###.###/####-##;0;_'; ftCpf = '###.###.###-##;0;_'; ftCep = '##.###-###;0;_'; ftTelefone = '(##) ####-####;0;_'; ftCelular = '(##) #####-####;0;_'; ftInteiroComSeparador = '###,###,###'; ftInteiroSemSeparador = '#########'; ftFloatComSep...
unit DelphiStreamUtils; interface uses Classes, SysUtils; function ReadLine(const Stream : TStream; var line : string) : boolean; function WriteLine(const Stream : TStream; const line : string) : boolean; function ReadString(const Stream : TStream; var str : string) : boolean; function ReadStringUpTo(c...
unit DAO.FechamentosExpressas; interface uses Model.FechamentoExpressas, FireDAC.Comp.Client, System.SysUtils, DAO.Conexao, Control.Sistema; type TFechamentoExpressasDAO = class private FConexao : TConexao; public constructor Create; function GetID(): Integer; function Insert(aFechamento: TFech...
unit Main; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, pngimage, ExtCtrls, StdCtrls, CommandoSettings, UpdateInfo, ASyncPatcher; type TPatcherForm = class(TForm) Progress: TProgressBar; Image1: TImage; Log: TMemo; ...
unit ClusterTask; interface uses Tasks; type TMetaClusterTask = class(TMetaTask) private fClusterName : string; public property ClusterName : string read fClusterName write fClusterName; end; TClusterTask = class(TSuperTask) public ...
unit Unit1; 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, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC....
unit PowerManager; interface uses Windows, SysUtils, Classes, SyncObjs, Messages; type TWakeUpEvent = procedure(Sender: TObject) of object; type TIsPwrHibernateAllowed = function: Boolean; stdcall; TIsPwrSuspendAllowed = function: Boolean; stdcall; TLockWorkStation = function: Boolean; stdcal...
unit arVAnouncedBlackList; { $Id: arVAnouncedBlackList.pas,v 1.1 2016/09/21 13:43:17 lukyanets Exp $ } interface uses l3LongintList, dt_Types, dtIntf, dt_Sab; function GetVAnouncedAccGroupsBlackList: Tl3LongintList; function IsDocAccGroupInAnouncedBlackList(aDocID : TDocID): Boolean; procedure FilterbyVAnouncedAc...
unit FindUnit.EnvironmentController; interface uses Classes, Generics.Collections, FindUnit.PasParser, OtlParallelFU, ToolsAPI, XMLIntf, FindUnit.FileCache, SysUtils, Log4Pascal, FindUnit.Worker, FindUnit.AutoImport, Windows, FindUnit.Header; type TEnvironmentController = class(TInterfacedObject, IOTA...
unit kwPopComboBoxSelectItem; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "ScriptEngine" // Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwPopComboBoxSelectItem.pas" // Родные Delphi интерфейсы (.pas) // Generated fr...
unit nsWebBrowserPrim; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "View" // Автор: Люлин А.В. // Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/View/InternetAgent/nsWebBrowserPrim.pas" // Начат: 23.04.2009 15:56 // Ро...
{ Auther: Shital Shah E-Mail addr: sytel@csre.iitb.ernet.in sytel@poboxes.com Purpose: Program acts as your agent executing your commands on remote computer on TCP/IP network Modifications: If you are modifieng the program, don't forget to send copy to auther also. Update global variables VerStr ...
unit VoiceTx; interface uses Windows, mmSystem, CompressIntf, WaveIn, WaveConvert; type TVoiceTx = class public constructor Create; destructor Destroy; override; public procedure Start; ...
unit RplWizInfo; {$I GX_CondDefine.inc} { Hidden Paths of Delphi 3, by Ray Lischner. Informant Press, 1997. Copyright © 1997 Tempest Software, Inc. Component Replace Wizard. Temporarily store component and property information for doing search & replace of components. Replacing a component m...
unit ev; { Библиотека "Эверест" } { Начал: Люлин А.В. } { Модуль: ev - } { Начат: 28.09.1999 10:18 } { $Id: ev.pas,v 1.7 2007/12/04 12:46:58 lulin Exp $ } // $Log: ev.pas,v $ // Revision 1.7 2007/12/04 12:46:58 lulin // - перекладываем ветку в HEAD. // // Revision 1.5.6.1 2005/05/18 12:42:45 lulin // - о...
program space_invaders; uses Sysutils, crt, zgl_main, zgl_screen, zgl_window, zgl_timers, zgl_file, zgl_memory, zgl_resources, zgl_font, zgl_textures, zgl_textures_jpg, zgl_textures_png, zgl_sound, zgl_sound_wav, zgl_primitives_2d, zgl_text, zgl_sp...
{ Clever Internet Suite Copyright (C) 2013 Clever Components All Rights Reserved www.CleverComponents.com } unit clDEditors; interface {$I ..\common\clVer.inc} uses {$IFNDEF DELPHIXE2} Classes, TypInfo, ShellApi, Windows, Dialogs, Forms, SysUtils, {$ELSE} System.Classes, System.TypInfo, Winapi.ShellApi,...
(*******************************************************************) (* *) (* MATER: Mate searching program - (c) Valentin Albillo 1998 *) (* *) (* This program or parts ther...
unit register_rxctrl; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LResources, LazarusPackageIntf; procedure Register; implementation uses RxLogin, ComponentEditors, RxAppIcon, Dialogs, rxconst; resourcestring sTestTRxLoginDialog = 'Test TRxLoginDialog'; sLoadIcon = 'Load icon'; type { TRx...
{ CREATE TABLE settings ( name VARCHAR( 50 ) PRIMARY KEY NOT NULL UNIQUE, value VARCHAR( 256 ) ); } unit settings; interface uses SysUtils, Classes, EventLog, ZConnection, ZDataset, versioninfo, FileUtil; type TSettings = class private { Private declarations } public Constructor Crea...
UNIT avltreemap; INTERFACE TYPE BalState = (left_heavy, balanced, right_heavy); AvlTree = ^AvlNode; AvlNode = RECORD key : String; value : Integer; left, right : AvlTree; bal : BalState END; PROCEDURE InsertAvlTree(k : String; v : Integer; VAR tr : AvlTree; VAR h : Boolean); (* PROCEDURE PrintAvlTree(VAR tr ...
{ $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 nsSaveDialogImpl; // Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\Common\nsSaveDialogImpl.pas" // Стереотип: "ServiceImplementation" // Элемент модели: "TnsSaveDialogImpl" MUID: (573B090C02C5) {$Include w:\garant6x\implementation\Garant\nsDefine.inc} interface {$If Defined(InsiderTest) AND NOT Defined...
program Reverse(input, output); { Reads in a N-element list of integers and reverses it } const MaxSize = 50; type ArrayType = array[1..MaxSize] of integer; var List : ArrayType; { array to be reversed } N : integer; { size of array List } First, Last : integer; { array...
{ Subroutine SST_TERM_EVAL (TERM, NVAL_ERR) * * Evaluate a compiled term. This means determining its data type, and * value if known at compile time. TERM is the term to evaluate. If * NVAL_ERR is TRUE, then it will be considered an error if the term can * not be evaluated to a constant value. } module sst...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
unit svm_utils; {$mode objfpc}{$H+} interface uses Classes, SysUtils; type TInstructionPointer = cardinal; PInstructionPointer = ^TInstructionPointer; {***** Stack ******************************************************************} const StackBlockSize = 256; type TStack = object ...
unit TTSSETUPTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TTTSSETUPRecord = record PRecordID: Integer; PModCount: Integer; PPrimaryPageName: String; PFilePackageName: String; PParentPageName: String; PCustomerAccessName: String; ...
unit uBT_UART; {$mode delphi}{$H+} interface uses Classes, SysUtils, Serial, BCM2710, Devices, GlobalConst, GlobalTypes, Threads, uBT; (* Connection to BCM4343 chip UART0 115200 BAUD, 8 DATA, 1 STOP, NO PARITY, NO FLOW CONTROL PIN 15 SET TO INPUT PIN 32 SET TO ALT3 PIN 33 SET TO...
(* MPP_SS: HDO, 2004-02-06 ------ Syntax analyzer and semantic evaluator for the MiniPascal parser. Semantic actions to be included in MPI_SS and MPC_SS. ===================================================================*) UNIT MPP_SS; INTERFACE VAR s...
namespace Sugar.Data; { On .NET this requires sqlite3.dll from the sqlite website On OSX/iOS this uses the system sqlite On Android it uses the standard Android sqlite support On Java it uses JDBC and requires https://bitbucket.org/xerial/sqlite-jdbc/ to be installed. } interface {$IFDEF PUREJAVA} use...
Unit CRC32 ; {&Use32+} { Written 1995 by Oliver Fromme <fromme@rz.tu-clausthal.de>. Donated to the public domain. Freely usable, freely distributable. This unit provides a 32 bit CRC (cyclic redundancy check), compatible with ZIP and Zmodem. } {$A+,B-,I-,T-,V+,X+,G+} {$D+,L+,Y+,R+,S+,Q+} {f...
{ *************************************************************************** } { } { This file is part of the XPde project } { } ...
{ *************************************************************************** } { } { This file is part of the XPde project } { } ...
{$MODE OBJFPC} {$IFNDEF HOANG} {$DEFINE RELEASE} {$R-,Q-,S-,I-,D-} {$OPTIMIZATION LEVEL3} {$INLINE ON} {$ENDIF} program COCITasks; const InputFile = 'readers.inp'; OutputFile = 'readers.out'; maxN = Round(1E5); maxM = Round(1E5); type TPoint = record x, y: Int64; end; TVector = TPoint; var fi, fo: ...
unit FiveTypes; interface uses Controls, Graphics, Protocol; // Extended selections type TFiveObjKind = (okBuilding, okRoad, okRailroad, okNone); type TFiveObjInfo = record r, c: integer; case objkind : TFiveObjKind of okBuilding : (company, classid : word); ...
program soja; const precioSoja = 320; function determinarRendimiento(zona:integer):real; begin case zona of 1: determinarRendimiento := 6; 2: determinarRendimiento := 2.6; 3: determinarRendimiento := 1.4; else begin write('La zona ingresada no es correcta...'); determinarRendimiento := 0; ...
{ $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 ChooserStatementBaseTestCase; {$mode objfpc}{$H+} interface uses Classes, SysUtils, StrUtils, FpcUnit, TestRegistry, ParserBaseTestCase, WpcStatements, WpcScriptParser; type { TAbstractChooserStatementParsingTest } TAbstractChooserStatementParsingTest = class abstract(TParserBaseTestCase) p...
unit twincobra_hw; interface uses {$IFDEF WINDOWS}windows,{$ENDIF} m68000,nz80,main_engine,controls_engine,gfx_engine,tms32010,ym_3812, rom_engine,pal_engine,sound_engine; function iniciar_twincobra:boolean; implementation const //Twin Cobra twincobr_rom:array[0..3] of tipo_roms=( (...
unit xkb_classes; {$mode objfpc}{$h+} interface uses Classes, sysutils,libxkbcommon, BaseUnix; type { TXKBHelper } TXKBHelper = class public class var ShiftKeys: array[TShiftStateEnum] of DWord; private class var Inited: Boolean; private FContext: Pxkb_context; FKeymap: Pxkb_keymap; ...
unit SoapEmployeeIntf; interface uses InvokeRegistry, Types, XSBuiltIns; type ISoapEmployee = interface (IInvokable) ['{77D0D940-23EC-49A5-9630-ADE0751E3DB3}'] function GetEmployeeNames: string; stdcall; function GetEmployeeData (EmpID: string): string; stdcall; end; implementation initialization ...
{******************************************************************************* 作者: dmzn@163.com 2011-11-21 描述: 销售员业绩 *******************************************************************************} unit UFrameReportSaler; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Contro...
unit RDOObjectProxy; interface uses Windows, ComObj, ActiveX, {$IFDEF AutoServer} RDOClient_TLB, {$ENDIF} RDOInterfaces; type TRDOObjectProxy = {$IFDEF AutoServer} class(TAutoObject, IRDOObjectProxy) {$ELSE} class(TInterfacedObject, IDispatch) {$ENDIF...
unit SDFrameTDXData; interface uses Windows, Messages, Classes, Forms, BaseFrame, StdCtrls, Controls, ComCtrls, ExtCtrls, SysUtils, Dialogs, VirtualTrees, define_price, define_dealstore_file, define_message, define_dealitem, define_stockapp, define_datasrc, define_stock_quotes, define_datetime, StockMinuteD...
unit Model.ContatosBases; interface uses Common.ENum, FireDAC.Comp.Client, DAO.Conexao, System.SysUtils; type TContatosBase = class private FSequencia: Integer; FEMail: String; FDescricao: String; FCodigoDistribuidor: Integer; FTelefone: String; FAcao: TAcao; FConexao: TConexao; ...
{ $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 MultiLog; { Main unit of the Multilog logging system. author of original MultiLog: Luiz Américo Pereira Câmara; pascalive@bol.com.br nb: all units are encoded with UTF-8 without BOM, using EDI "file settings\encoding\UTF-8" contextual menu. Copyright (C) 2006 Luiz Américo Pereira Câmara pascalive@bol.com.br...
unit TerritoryContourUnit; interface uses REST.Json.Types, SysUtils, System.Generics.Collections, JSONNullableAttributeUnit, NullableBasicTypesUnit, CommonTypesUnit, EnumsUnit, PositionUnit; type /// <summary> /// Territory parameters /// </summary> /// <remarks> /// https://github.com/route4me/json...
Program Alocacion_Dinamica; Type TEmpleado = record sucursal: char; apellido: string[25]; correoElectrónico: string[40]; sueldo: real; end; Str50 = string[50]; Var alguien: TEmpleado; PtrEmpleado: ^TEmpleado; Begin {Suponer que en este punto se cuenta con 400.000 ...
unit JustifiedDrawText; (* ***** 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 at * http://www.mozi...
unit RDOLogAgents; interface uses Classes, RDOInterfaces, Kernel, World; type TLogAgentRec = record ClassName : string; Agent : ILogAgent; end; PLogAgentArray = ^TLogAgentArray; TLogAgentArray = array[0..0] of TLogAgentRec; TLogAgents = class(TInterface...
unit DirectionPathPointUnit; interface uses REST.Json.Types, System.Generics.Collections, Generics.Defaults, JSONNullableAttributeUnit, NullableBasicTypesUnit; type /// <summary> /// Path - an array of the geographic points, which are laying on a path /// </summary> /// <remarks> /// htt...
unit MD5; interface Uses Classes, SysUtils; { TLbMD5 } type TMD5Digest = array [0..15] of Byte; { 128 bits - MD5 } TLMDContext = array [0..279] of Byte; { LockBox message digest } TMD5Context = array [0..87] of Byte; { MD5 } pMD5ContextEx = ^TMD5ContextEx; TMD5Con...
unit ControleEspera; interface uses System.Classes, FMX.StdCtrls, FMX.Objects, FMX.Filter.Effects, FMX.Types, FMX.Graphics, FMX.Forms, System.SysUtils, System.UITypes; type TControleEspera = class(TThread) private FProc: TProc; FParent : TFmxObject; FAniIndicator: TAniIndicator; F...
unit DAO.InsumosTransportes; interface uses DAO.base, Model.InsumosTransportes, Generics.Collections, System.Classes; type TInsumosTransportesDAO = class(TDAO) public function Insert(aInsumos: Model.InsumosTransportes.TInsumosTransportes): Boolean; function Update(aInsumos: Model.InsumosTranspo...
unit FormFProp; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) btnCreateForm: TButton; procedure FormClick(Sender: TObject); procedure btnCreateFormClick(Sender: TObject); private FClicks: Integer; pr...
unit UnitDSServerDB; interface uses Forms, SysUtils, SqlExpr; const DB_NAME = 'INVENTORY.FDB'; SQLADDBLOBFIELD :String ='ALTER TABLE EMPLOYEE ADD PICTURE BLOB SUB_TYPE TEXT CHARACTER SET WIN1252'; SQLINSERTSITE :String ='Insert Into SITE (NAME, ADDRESS, SUBURB, CITY ' + ...
unit MemCheckObject; interface uses Classes, Dialogs; type TMemCheckObj = class public constructor Create; destructor Destroy; override; end; var MemCheckObjects: TList; implementation constructor TMemCheckObj.Create; begin inherited; MemCheckObjects.Add(Self); end; ...
unit ctpConsoleAppCommandWnd; interface uses Windows, Messages, sysutils; function CreateAppCommandWindow: HWND; procedure AppCmdWinLog(ALog: string); var _AppCmdWinLog: procedure (ALog: string); implementation uses define_app_msg, UtilsApplication, ctpConsoleAppCommandWnd_CopyDat...
unit uFormatacaoMemo; interface uses Vcl.ComCtrls, System.UITypes, Vcl.Graphics, System.SysUtils, Data.DB, Vcl.Forms, System.Classes; type TFormatacao = class public class procedure EstiloNegrito(var Editor: TRichEdit); class procedure EstiloSublinhado(var Editor: TRichEdit); class procedure Esti...
UNIT a1unit ; INTERFACE { Type Definitions: To be included in the "interface" section of the file"a1unit.pas". } type (*Collection_element = the data type to store in the collection *) collection_element = string; (*Collection_node = a node in the linked list storing the collection elements *) collection_nod...
{ Version 1.0 - Author jasc2v8 at yahoo dot com This is free and unencumbered software released into the public domain. For more information, please refer to <http://unlicense.org> } { Features: 1. Log file is not locked, can be shared between units 2. User can edit the log file while the program is running to mak...
unit icon; {$mode objfpc}{$H+} interface uses Classes, SysUtils, windows, Graphics, forms, mouse, lclintf; procedure DrawCursor (ACanvas:TCanvas; Position:TPoint) ; // procedure DrawCursor2 (ACanvas:TCanvas; Position:TPoint) ; procedure DrawCursor3(ACanvas:TCanvas; Position:TPoint); procedure DrawCursor4(ACan...
unit vcmOperationParams; { Библиотека "vcm" } { Автор: Люлин А.В. © } { Модуль: vcmOperationParams - } { Начат: 14.01.2004 15:46 } { $Id: vcmOperationParams.pas,v 1.18 2013/07/05 09:10:35 lulin Exp $ } // $Log: vcmOperationParams.pas,v $ // Revision 1.18 2013/07/05 09:10:35 lulin // - чистим код. // // R...
(* ***** 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 at * http://www.mozilla.org/MPL/ * * Softwa...
unit SingleDriverMultipleTimeWindowsTestDataProviderUnit; interface uses SysUtils, BaseOptimizationParametersProviderUnit, AddressUnit, RouteParametersUnit, OptimizationParametersUnit; type TSingleDriverMultipleTimeWindowsTestDataProvider = class(TBaseOptimizationParametersProvider) protected function ...
unit ce_procinput; {$I ce_defines.inc} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, Menus, StdCtrls, ce_widget, process, ce_common, ce_interfaces, ce_observer, ce_mru; type { TCEProcInputWidget } TCEProcInputWidget = class(TCEWidget, ICEProcInputHandler) ...
{ RxVersInfo is part of RxFPC library Copyright (C) 2010 Lagunov A.A. alexs75@hotbox.ru This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your ...
{ Date Created: 5/25/00 5:01:01 PM } unit InfoDIRYGRUPTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TInfoDIRYGRUPRecord = record PGroup: String[6]; PDescription: String[30]; End; TInfoDIRYGRUPBuffer = class(TDataBuf) protected function Pt...
unit FileMan; interface uses Classes, IniFiles, Windows, SysUtils, FileCtrl, Misc; type TTrackInfo = class(TObject) public TrackID:Integer; RecSize:Integer; RecsPerDay:Integer; LastRecTime:TDateTime; constructor Create(aID,aSize,aRPD:Integer); end; TMyFile = class(TFileStream) LastAc...
unit Script.UnknownToken; interface uses Script.WordsInterfaces, Script.Word ; type TscriptUnknownToken = class(TscriptWord) private f_String : String; protected procedure DoIt(aContext: TscriptContext); override; public constructor Create(const aString: String); class function Make(const aStri...
{$include lem_directives.inc} unit LemEdit; interface uses Classes, LemLevel; type TLevelEditor = class(TComponent) private fLevel: TLevel; procedure SetLevel(const Value: TLevel); protected public property Level: TLevel read fLevel write SetLevel; published end; impl...
Unit ZMMsg19; (* Built by ZipHelper DO NOT MODIFY ZMMsg19.pas - Message Identifiers Copyright (C) 2009, 2010 by Russell J. Peters, Roger Aelbrecht, Eric W. Engler and Chris Vleghert. This file is part of TZipMaster Version 1.9. TZipMaster is free software: you can redistribute it...
{************************************} { } { ATUpEdit Component } { Copyright (C) Alexey Torgashin } { http://uvviewsoft.com } { } {************************************} unit ATxUpEdit; interface uses Windows, Sy...
PROGRAM d6a; USES sysutils; FUNCTION answer(filename:string) : integer; CONST MSG_LEN = 4; VAR f: text; c: char; l: string = ''; i: integer = 0; j, p: integer; doubles_found: boolean; BEGIN answer := 0; assign(f, filename); reset(f); REPEAT i += 1; read(f, c)...
unit Unit_GUI; {$mode objfpc}{$H+} interface (*Las Varias principales son tres polinomios: Pol_N: Polinomio Normal: 0<= Grado N <=10 internamente el vector de coeficientes se carga de la forma [A0...AN] siempre pero se visualiza de forma predeterminada [An...A0] se puede cambiar la visualizacion con la propiedad, ban...
program DIRAUFB2 ( DIROUT , DIROUT2 ) ; //********************************************************* // Aus DIROUT-File (siehe DIRAUFB) werden die ENDDIR Zeilen // herausgeholt und die Groessenangaben pro Untervezeichnis // aufsummiert und den darueberliegenden Verzeichnissen // zugeordnet ...
unit EmailOrdering.Models.EmailServer; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, IdCustomTCPServer, IdTCPServer, IdCmdTCPServer, IdExplicitTLSClientServerBase, IdSMTPServer, IdBaseComponent, IdCompone...
unit pipe; interface uses Winapi.Windows; type TPipeClient = class private { Private declarations } hPipe: THANDLE; // дескриптор buf: array [0 .. 1000] of byte; procedure thisWriteFile(var Buffer; numberOfbytesToWrite: DWORD); procedure thisReadFile(var Buf...
unit MFichas.Model.Pagamento; interface uses MFichas.Model.Venda.Interfaces, MFichas.Model.Pagamento.Interfaces, MFichas.Model.Pagamento.Formas.Factory, MFichas.Model.Entidade.VENDAPAGAMENTOS, MFichas.Model.Conexao.Factory, MFichas.Model.Conexao.Interfaces, MFichas.Model.Entidade.VENDA, ORMBR.Contain...
{$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} {********************...
unit uControleBloqueioLote; interface uses udmBloqueio, uIntegracaoUnilever, Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Grids, Vcl.DBGrids; type TfrmControleBloqueioLote = ...
unit Balance; interface uses Pkg.Json.DTO, System.Generics.Collections, REST.Json.Types; {$M+} type TSelfDTO = class private FHref: string; published property Href: string read FHref write FHref; end; TLinksDTO = class private FSelf: TSelfDTO; published proper...
unit DirectoryManager; interface uses ADOInt; // Node Type const ntKey = 0; ntBoolean = 1; ntInteger = 2; ntFloat = 3; ntString = 4; ntDate = 5; ntCurrency = 6; ntBigString = 7; type TDirectoryManager = class public construc...
{******************************************************************************} { } { Delphi FB4D Library } { Copyright (c) 2018-2022 Christoph Schneider ...
unit fcPicEdt; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, ExtDlgs, TypInfo, fcCommon, fcBitmap; type TfcGraphicType = (gtBitmap, gtIcon, gtJPEG, gtEmf, gtWmf); const GRAPHICTYPES: array[TfcGraphicType] of string = ('Bitmap', 'Icon', 'JPEG Ima...
{ ***************************************************************************** This file is part of LazUtils. See the file COPYING.modifiedLGPL.txt, included in this distribution, for details about the license. ***************************************************************************** } // A list of integ...
unit ConvertIntf; interface type IConvert = interface(IInvokable) ['{FF1EAA45-0B94-4630-9A18-E768A91A78E2}'] function ConvertCurrency (Source, Dest: string; Amount: Double): Double; stdcall; function ToEuro (Source: string; Amount: Double): Double; stdcall; function FromEuro (Dest: string; Amount: Dou...
unit uCobRetorno; //ABCR Novo interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Grids, DBGrids, SMDBGrid, ExtCtrls, StdCtrls, Buttons, Mask, ToolEdit, RxLookup, ACBrBase, ACBrBoleto, NxCollection, UDMCobEletronica, rsDBUtils, db, uDm1, uUtilPadrao; type TfCobR...
unit GX_Toolbar; {$I GX_CondDefine.inc} interface uses Classes, ComCtrls, ExtCtrls, Controls; const // Do not localize. EditorToolBarRegKey = 'EditorToolBar'; SeparatorMenuItemString = '-'; type TGXToolBar = class(TToolBar) private // MultiLine editor tab support FTabCtrlHeigh...
unit nsAppConfigRes; {* Ресурсы для nsAppConfig } // Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\Config\nsAppConfigRes.pas" // Стереотип: "UtilityPack" // Элемент модели: "nsAppConfigRes" MUID: (4B97B148028B) {$Include w:\garant6x\implementation\Garant\nsDefine.inc} interface {$If NOT Defined(Admin) AND ...
unit java_utils; interface uses EJB, EJB_int, value, value_int, orb_int, seq1_octet_org_omg_boxedRMI, seq1_octet_org_omg_boxedRMI_int, orbtypes, seq1_long_org_omg_boxedRMI_int, seq1_long_org_omg_boxedRMI; type TStackTraceElementFactory = class(TValueFactoryBase, IValueFactory) protected function create_f...
unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, Spin; type { TForm1 } TForm1 = class(TForm) PaintBox1: TPaintBox; SpinEdit1: TSpinEdit; procedure PaintBox1Paint(Sender: TObject); procedure SpinEdit1Change(Sender: TObject); priv...
unit objConexaoBanco; interface uses Forms, System.SysUtils, 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.VCLUI.Wait, Data.DB, FireDAC.Comp.Client, FireDAC.Phys.SQLiteDef, ...
unit document; {$mode delphi} interface uses Classes, SysUtils, LCLIntf, constants, dbcomponents, tcfileformat, tclists, // fpvectorial fpvectorial; type { TDocument } TDocument = class(TvVectorialDocument) private { Helper routines } FDestroying: Boolean; procedure UpdateDocumentInfo(AI...
unit l3FormsService; // Модуль: "w:\common\components\rtl\Garant\L3\l3FormsService.pas" // Стереотип: "Service" // Элемент модели: "Tl3FormsService" MUID: (5506D56601D6) {$Include w:\common\components\rtl\Garant\L3\l3Define.inc} interface {$If NOT Defined(NoVCL)} uses l3IntfUses , l3ProtoObject , Forms , Classe...
unit SubscritionsCounter; interface uses DirServerSession, Daemons; function CreateDaemon(const DSAddr : string; DSPort : integer) : IDaemon; implementation uses Windows, Classes, SysUtils, Logs; const cLogId = 'Subscriptions Daemon'; type TUserHash = 'A'..'Z'; type TSubscription...