text
stringlengths
14
6.51M
unit Share; interface uses Windows, SysUtils, Classes; type pTPayDBInfo = ^TPayDBInfo; TPayDBInfo = packed record ID: Integer; billno: string[50]; price: Integer; custom1: string[20]; custom2: string[30]; payvia: string[10]; paycardno: string[30]; paycardpass: str...
unit ProtocolTypes; interface uses System.Classes, commtypes, AbstractTag; type TProtocolErrorEvent = procedure (Result : TProtocolIOResult; APacket : pIOPacket) of object; //procedure called by the scan read thread to read data from your device. TScanReadProc = procedure (var oRescanAfter : Card...
{******************************************************************************} { } { SE Network Development Framework } { ...
unit f_filessettings; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Buttons, sSpeedButton, Vcl.ExtCtrls, Vcl.ImgList, acAlphaImageList, fileuploaders, ConstStrings, funcs; type TFFilesSettings = class(...
unit main; {$mode objfpc}{$H+} interface uses Classes, SysUtils, dateutils, BrookAction, fphttpclient, sqldb, mysql55conn; type { TMyAction } TMyAction = class(TBrookAction) private procedure AddToDaily(ADate: TDate; ASymbol, AOpen, AHigh, ALow, AClose, AVol: string); procedure Parse(A...
unit unJediFunctions; interface uses SysUtils; type TMWFieldType = (mwString, mwBlob); function _StrToFloat(Value: String): Double; function _StrToInt(Value: String): Integer; implementation function _StrToFloat(Value: String): Double; var I: Integer; begin Result := 0; if Value = '' then Exit; f...
{$MODE OBJFPC} program QBAGENTS; const maxN = 250; maxM = maxN * maxN; type TEdge = record x, y : Integer; end; TInfo = record p1, p2, code : Integer; end; TQueue = record front, rear : Integer; item : array[1..maxN * maxN * 2] of TInfo; end; var e : array[1..maxM]...
{ Copyright (C) 2013-2023 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 a...
unit UnitController.Ocorrencias; interface uses Horse, Horse.Commons, Classes, SysUtils, System.Json, DB, Variants, UnitConnection.Model.Interfaces, UnitOcorrencia.Model, UnitFuncoesComuns, UnitConstantes; type TControllerOcorrencias = class class procedure Registrar(App: THorse); class...
unit uRptBematech; interface uses System.SysUtils, System.Classes, System.IniFiles, ACBrPosPrinter, Vcl.Forms; const INIFILE : string = 'bematech_mp100s th.ini'; INICIO : string = '</zera>'; LINHADUPLA : string = '</linha_dupla>'; LINHASIMPLES : String = '</linha_simples>'; FONTENORMAL : str...
{(*} (*------------------------------------------------------------------------------ Delphi Code formatter source code The Original Code is fAbout.pas, released April 2000. The Initial Developer of the Original Code is Anthony Steele. Portions created by Anthony Steele are Copyright (C) 1999-2000 Anthony Steele. Al...
unit unTravel; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls; type { TfrmTravel } sectors = class(TImage) //sector class (destinations) public role : string; //'shop' or 'normal' or 'mission' or 'fight...
unit AddressUnit; interface uses ORMEntityUnit, AddressBaseUnit, NullablesUnit, Classes; type TAddress = class; TAddressList = class; TAddress = class(TAddressBase) strict protected function GetAddressList(): TAddressList; virtual; function GetEntityListClass(): TEntityList...
{***********UNITE************************************************* Auteur ...... : Marc Desgoutte Créé le ...... : 30/11/2001 Modifié le ... : 03/12/2001 Description .. : Objet TFileTools pour gestion de fichiers : Suite ........ : - présence du lecteur Suite ........ : - espace libre sur un disque Suite ........ : - ...
unit XMLGeometry; (********************************************************************** File name: xmlgeometry.pas This file is part of: tt3d LICENSE 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 ...
{***********UNITE************************************************* Auteur ...... : pascal.boudon@laposte.net Créé le ...... : 31/03/2003 Modifié le ... : / / Description .. : Source TOF de la FICHE : AFREVFORMULE () Mots clfs ... : TOF;uTofAFormuleVar ****************************************************************...
unit NewServerSocketThread; interface //uses // Sockets, classes, windows, windows, sysutils, speech, winsock; // //const // THREAD_CACHE_SIZE = 8; // //type // TBetterClientSocketThread = class(TClientSocketThread) // public // procedure Execute; override; // // end; // // TBetterTCPServer = class(TCustomTc...
UNIT {$IFDEF NODebug} B3; {$ELSE} Registry; {$ENDIF} INTERFACE USES {$IFDEF NODebug} W, A12, B1; {$ELSE} Windows, StrList, AclUtils; {$ENDIF} type TRegKeyInfo = record NumSubKeys : Integer; MaxSubKeyLen : Integer; NumValues : Integer; ...
unit UPaiCadastro; interface uses FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, Data.DB, FireDAC.Comp.DataSet, FireDAC.Comp.Client, FireDAC.Stan.StorageBin; type TCadastro = class Codigo: Integer; ...
unit MT3DTimeVaryConc; interface uses ANE_LayerUnit, SysUtils; const kMT3DTopElev = 'Top Elevation'; kMT3DBottomElev = 'Bottom Elevation'; // kMT3DPointTimeVaryConc = 'MT3D Point Time Varying Constant Concentration Unit'; kMT3DTimeVaryConc = 'MT3D Time Varying Constant Concentration Unit'; type TMT3DTopEle...
unit FileCache; //This unit is essentially a singleton class that handles file caching. //Files that are streamed from the middle-tier are held it memory so that //they don't have to be loaded from disk more than once. interface uses typex, systemx, RequestInfo, classes, windows, dialogs, sysutils,orderlyinit, mimet...
unit tamano; interface uses info, menu; const SIZEFILE = 'tamanos.dat'; type Ttamano = record codigo : char; Descripcion : string [DESCLEN]; end; Fttamano = file of Ttamano; TTtamano = array ['A'..'Z'] of record isactive : boolean; descripcion : string [DESCLEN]; end; function...
unit ConstU; interface type TCmdInfoObject = class(TObject) SeqNo : String; CompCode : String; CompName : String; HighLLevelCmdID : String; SubscriberID : String; IccNo ...
unit mComboBoxHelper; interface uses FMX.ListBox, System.Classes, System.SysUtils ; type TComboBoxHelper = class Helper for TComboBox function Add(const AValue: String): Integer; function AddFmt(const AValue: String; const Args: array of const): Integer; function ItemCount: Integ...
unit Posix.ffmpeg.libavutil.lzo; (* * LZO 1x decompression * copyright (c) 2006 Reimar Doeffinger * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; eit...
{$R-} {Range checking off} {$B+} {Boolean complete evaluation on} {$S+} {Stack checking on} {$I+} {I/O checking on} {$N+} {Numeric coprocessor} {$E+} {Numeric processor emulation} {$M 65500,16384,655360} {Turbo 3 default stack and heap} {Program Source for BAM simulation} PROGRAM Bidirectional_Ass...
unit uGeraCotacao; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uPadrao, Vcl.StdCtrls, Vcl.Mask, Vcl.FileCtrl, RxToolEdit, RxCurrEdit, frameBuscaPessoa, frameBuscaEmpresa, Vcl.Buttons, Vcl.ExtCtrls, TipoPe...
unit TicTacToe_SquareContentMapperUnit; interface uses TicTacToe_SquareContentUnit; type TSquareContentMapper = class(TObject) public const None = '-'; class function ToContent(const text: string): TSquareContent; class function ToText(const content: TSquareContent): string; end; ...
unit EspecificacaoNotaFiscalPorPeriodoTipoEmpresa; interface uses Especificacao; type TEspecificacaoNotaFiscalPorPeriodoTipoEmpresa = class(Tespecificacao) private FData_inicial :TdateTime; Fdata_final :TdateTime; FTipo :String; FCodigo_empresa :Integer; public function S...
program test(input, output); { * Testing Arrays * } type int_array = array[0..9] of char; unsignedInt = 0..maxint; var zahlen: int_array; i: integer; // helper functions and procedures //array initialization procedure initializeIntArray(var ioZahlenArray: int_array); var // als varia...
unit GraphNodeClass; interface type TGraphNode = Class private valueStored : integer; leftConnection : TGraphNode; rightConnection : TGraphNode; parentNode : TGraphNode; visited : boolean; published Constructor Create(pValue: integer); Procedure setLeftC...
unit EntityList; interface uses Entity, SkyLists, TypesConsts, TypesFunctions; type TEntityList = class(TSkyObjectList) private FAscending: Boolean; FSortDoublePrecision: Integer; FSortTimePrecision: TTimePrecision; FOnCompareEntities: TCompareEntitiesFunction; FSortTokens: {$...
unit sardParsers; {** * This file is part of the "SARD" * * @license The MIT License (MIT) * Included in this distribution * @author Zaher Dirkey <zaher at parmaja dot com> *} {$IFDEF FPC} {$mode delphi} {$ENDIF} {$H+}{$M+} {$ifdef FPC} {$define Windows} {$endif} interface ...
unit ucommandlist; {$mode objfpc}{$H+} interface uses Classes, SysUtils, ujson; const CommandsFile = '/config/commands.pkg'; type { TCommandList } TCommandList = class private FAfterConnectCommands: TStringList; FBeforeDisconnectCommands: TStringList; function AsJson(): string; procedur...
unit ExcelColorPicker; interface {- ******************************************************************************** ******* XLSSpreadSheet V3.00 ******* ******* ******* ******* Copyright(C) 2006,2017 ...
unit KeyFuncoes; interface uses Windows, Forms, Dialogs, SysUtils, Classes, Variants; type TTypeButtonConfirm = (tbYesNo, tbOkCancel, tbYesNoCancel); procedure ShowMessageInformation(const sMensagem : String; const sTitulo : String = 'Informação'); procedure ShowMessageWarning(const sMensagem...
unit uDbNTIntegracao; interface uses uDbObject, Data.Db, System.SysUtils, System.Classes; ...
unit uElementaryCA; interface uses System.Math; type TElementaryCAArray = Array of Byte; TElementaryCA = class private FCurrentData: TElementaryCAArray; FNextData: TElementaryCAArray; FRule: Byte; FSize: Integer; FGeneration: Integer; function GetNeighbourhood(ACell:...
unit PXL.Sysfs.SPI; { This file is part of Asphyre Framework, also known as Pascal eXtended Library (PXL). Copyright (c) 2000 - 2015 Yuriy Kotsarenko This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Softwa...
unit Xmpp.x.MUActor; interface uses Element,XmppUri,Jid; type TMUActor=class(TElement) const TagName='actor'; private function FGetJID:TJID; procedure FSetJID(value:TJID); public constructor Create();override; property Jid:TJID read FGetJID write FSetJID; class function GetConstTagName(...
{ ************************************* Created by Danilo Lucas Github - https://github.com/dliocode ************************************* } unit Validator.IsEmpty; interface uses DataValidator.ItemBase, System.SysUtils; type TValidatorIsEmpty = class(TDataValidatorItemBase, IDataValidatorItem) priv...
(*----------------------------------------------------------------------------* * DirectX 9 SDK April 2006 C++ common framework adaptation for Delphi * * by Alexey Barkovoy (e-mail: directx@clootie.ru) * * * ...
Unit ScriptHelpers; interface type {$Region 'TileHelper'} //TTypeSpot can contain Tile or Id of animal; TFarmingSpot = record X, Y : Integer; SpotType : Cardinal; end; TFarmingSpots = Array of TFarmingSpot; //TFarmingArea = TDictionary<String, TFarmingSpots>...
(* Copyright 2013 - Leonardo Herrera (leonardo.herrera@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 b...
unit FMX.ListView.RectangleTextItemAppearances; interface uses System.Classes, System.UITypes, FMX.Types, FMX.Graphics, FMX.ListView.Appearances, FMX.ListView.Types, FMX.ListView.RectangleItemAppearances; type TRectangleTextItem = class(TRectangleItem) private FOwner:TListViewItem; FText:...
unit ValueList; interface uses Windows, Classes, SysUtils, IniFiles; type TValueList = class(TStringList) private function GetIntegers(Name: string): integer; procedure SetIntegers(Name: string; const Value: integer); function GetInt64s(Name: string): int64; procedure SetInt64s(Name: string; co...
(* ***** 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/ * * Software distr...
{$i xpc.inc} // standard compiler config options {$mode delphi} // use delphi's nicer (imho) syntax for helpers, generics program hello_app; // name of the program :) uses xpc, // defines some common types and helpful procedures kvm, // 'keyboard/video/mouse' : basic...
{ @abstract(Operating system utilities) The unit contains operating system specific routines. Platform specific. The contents of this file are subject to the license defined in the file licence.txt. } unit g3OSUtils; {$I g3config.inc} interface // Obtains mouse cursor position relative to screen and fills X and ...
{************************************************} { } { Breakout Demo Program } { Copyright (c) 1992 by Borland International } { } {************************************************} unit Bricks; ...
{***********UNITE************************************************* Auteur ...... : Vincent Laroche Créé le ...... : 16/11/2001 Modifié le ... : 04/03/2003 Description .. : Source TOM de la TABLE : CPPRORATA (CPPRORATA) Suite ........ : Passage en eAGL Mots clefs ... : TOM;PRORATA **************************************...
unit View.Main; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.ListView.Types, FMX.ListView.Appearances, FMX.ListView.Adapters.Base, FMX.Controls.Presentation, FMX.ScrollBox, FMX.Memo, FMX.ListView...
unit u_sockhdr; interface type WordArray = ^TWordArray; TWordArray = array [0..0] of Word; PIPhdr = ^TIPhdr; TIPhdr = packed record ip_verlen: Byte; ip_tos: Byte; ip_len: Word; ip_id: Word; ip_off: Word; ip_ttl: Byte; ip_p: Byte; ip...
{$DEFINE VISUALIZADOR} unit unVisualizador; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, ToolWin, ExtCtrls, QRPrntr, ImgList, Menus, XPMenu, ActnList, Placemnt, QuickRpt, StdCtrls, artSeguridad, QRExport; type TOpcionVisualizador = (oAlwaysShowDialog, oSho...
unit uDistance; interface type TDistance = class protected FText: string; FValue: integer; public property Text: string read FText write FText; property Value: integer read FValue write FValue; end; implementation end.
(* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
unit EditWithButton; interface uses Classes, Controls, StdCtrls, Messages; type TEditWithButton = class(TCustomEdit) private FAlignment: TAlignment; FButton: TButton; FButtonEnabled: Boolean; FButtonVisible: Boolean; FOnButtonClick: TNotifyEvent; procedure ButtonClick(Sender: TObject)...
{******************************************************************************} { } { SE Network Development Framework } { ...
unit frameBuscaRepresentante; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, Mask, RXToolEdit, RXCurrEdit, Representante; type TbuscaRepresentante = class(TFrame) StaticText1: TStaticText; edtCodigo: TCurrencyEdit; StaticText2: ...
// Fungsi untuk menghitung euclidean distance function euclidDist(x1, y1, x2, y2: real): real; // Kamus Lokal var diff1, diff2 : real; // Algoritma begin diff1 := x1 - y1; diff2 := x2 - y2; euclidDist := sqrt(diff1*diff1 + diff2*diff2); end; // Program Utama // Kamus var mahasiswaX, mahasiswaY : r...
unit CRCCorrectorUnit; interface uses SysUtils, Classes, Windows, Dialogs, crc32; var //- этот заполнитель будем искать в изменяемом файле ExamplePattern : array[0..1] of DWord= ($C3C3C3C3,$C3C3C3C3); function WriteCrcAndCorrectionToStream(FileNameFrom, FileNameTo : String) : Boolean; impl...
unit Emulator; interface uses FatExpression, Classes; const MaxStack = 10000; type DWORD = Longword; type TCPUEmulator = class(TComponent) Calc: TFatExpression; procedure CalcEvaluate(Sender: TObject; Eval: String; Args: array of Double; ArgCount: Integer; var Value: Double; var Don...
unit mComportList; interface uses Classes, SysUtils, Windows, System.Generics.Collections; type EComportList = class(Exception); TComPortList = class(TStringList) private public procedure Search; end; implementation uses System.Win.Registry ; { TComPortList } procedure ...
unit Afip.PublicAPI.SynapseHttpClient; // Source: https://github.com/ortuagustin/Delphi-Utils // Author: Ortu Agustin // Implementacion de IHttpClient usando la biblioteca Synapse interface uses Afip.PublicAPI.HttpClient, Classes, SysUtils, httpsend; type {$REGION 'Excepciones'} ESynapse...
unit usettings; {$mode objfpc}{$H+} interface uses Classes, SysUtils, IniFiles, ujson, synaser; type TBaudRate = (br___110, br___300, br___600, br__1200, br__2400, br__4800, br__9600, br_14400, br_19200, br_38400, br_56000, br_57600, br115200, br128000, br230400, br256000, br460800, br921600); TDataBi...
unit regradiobutton_test; {$mode Delphi}{$H+} interface uses SysUtils, FPCUnit, registrysource_wrapper, regradiobutton_wrapper, regtype, lrc_testcase, regbasics; type { TRegRadioButtonGenericTest } TRegRadioButtonGenericTest<_T1,_T2>= class(TLRCTestCase<Boolean>) private FRegSrcWrapper: _T...
unit RepositorioEstado; interface uses DB, Auditoria, Repositorio; type TRepositorioEstado = class(TRepositorio) ...
unit Main; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Layouts, FMX.StdCtrls, FMX.Controls.Presentation, FMX.Edit, Math; type TInteiro = record Value : Integer; Pos : I...
{Huffman Decode File} Program huffman_dec; Type BinFile = File of Byte; {бинарный файл} HuffCode = Record {описание кода хаффмана} len: Byte; {длина кода} val: Word; {код} End; Var fname: String; {имя файла} codes: Array[0..255] of HuffCode; {коды хаффмана} numCo...
{***********UNITE************************************************* Auteur ...... : Créé le ...... : 12/08/2002 Modifié le ... : / / Description .. : Source TOF de la FICHE : AFMODIFECLFAC () Mots clefs ... : TOF;AFMODIFECLFAC *****************************************************************} Unit UtofAFMODIFECLFAC...
{=============================================================================== RzDBTrak Unit Raize Components - Component Source Unit Copyright © 1995-2015 by Raize Software, Inc. All Rights Reserved. Components ------------------------------------------------------------------------------ TRzDBTrack...
unit uNiveau; interface uses Generics.Collections, System.Math.Vectors, System.UITypes, FMX.Types3d; type TEtatJeu = (ejIntro, ejJeu, ejPerdu, ejGagne, ejMenu, ejFinJeu); // Les états du jeu TBonus = (bAgrandir, bReduire, bVie); // Les types de bonus possibles TAnimationObstacle = (aoAucune, aoHorizontal, aoVe...
unit SMTPMess; interface uses SysUtils, Classes, Controls, ComCtrls, Math, StrUtils; type TSMTPMess = class; {TBody} TEncodage = (Base64, QP, Bits8, Bits7, Binary); TTextContentType = (Plain, RichText, Html,Css,Javascript); TCharset = (ASCII, ISO1, ISO2, ISO3, ISO4, ISO5, ISO6, ISO7, ISO...
unit Unit18; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Grids; type TForm18 = class(TForm) OpenDialog1: TOpenDialog; Button1: TButton; StringGrid1: TStringGrid; Label1: TLabel; procedure Button1Click(Sender: TObject); priva...
unit WriteGWM_ObjectiveFunction; interface uses SysUtils, Forms, Contnrs, frameGWM_Unit, WriteModflowDiscretization; type TNameValue = class(TObject) Name: string; Value: double; end; TGWM_ObjectiveFunctionWriter = class; TNameValueList = class(TObjectList) private function GetItem(const Inde...
program EditorExample; {EXEDITOR.PAS} uses OpCrt, OpRoot, OpCmd, OpFrame, OpWindow, OpMemo, OpEditor; var TE : TextEditor; FSize : LongInt; ExitCommand : Word; AllDone : Boolean; begin {instantiate a TextEditor with a bordered window} if not TE.InitCustom(2, 4, 79, 24, {Window coordinates} ...
unit twitter; interface uses systemx, typex, betterobject, stringx, JSONHelpers, https, webstring, DateUtils, tickcount, sysutils, idhmac, hmac, idhmacsha1, debug, REST.Client, REST.Authenticator.OAuth, rest.types, Vcl.ComCtrls, IPPeerCommon,IPPeerClient, Datasnap.DSClientRest, Data.Bind.Components, Data.Bind.O...
(* Alien * AIO 2011 * Pascal Sample Solution *) program Solution; const { These are the limits as defined in the problem statement. } MAX_HUMANS = 100000; MAX_WIDTH = 1000000; var { n is the number of humans. } n : longint; { w is the width of the beam. } w : longint; { The ...
unit p3_matrixops; {$Mode ObjFpc} interface type Matrix = array of array of Double; pMatrix = ^Matrix; IntVec = array of Integer; pIntVec = ^IntVec; procedure InvertMatrix(Src, Dst: pMatrix; n: LongWord); implementation type DblArray = array of Double; pDblArray = ^DblArray; procedure LUPDecompose(A, Outpu...
unit UTomCompetence; interface uses StdCtrls,Controls,Classes,forms,sysutils,ComCtrls, {$IFDEF EAGLCLIENT} Maineagl, {$ELSE} {$IFNDEF DBXPRESS} dbTables, {$ELSE} uDbxDataSet, {$ENDIF} db, DBCtrls,FE_Main, {$ENDIF} HCtrls,HEnt1,EntGC,HMsgBox,UTOM,UTOB,HTB97,Dicobtp ; Type TOM_CompetRessource = Clas...
unit MainForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TForm1 = class(TForm) Valor1: TEdit; Valor2: TEdit; Label1: TLabel; Resultado: TEdit; Button1: TButton; ...
UNIT ParseGenLex; INTERFACE (* leftPar, rightPar ( ) assign = periodSy . leftchev, rightchev < > leftbrack, rightbrack [ ] leftbra, rightbra { } *) TYPE Symbol = (eofSy, leftParSy, rightParSy, identTerminalSy, identNonTerminalSy, assignSy, noSy, periodSy, leftchevSy, rightc...
unit HST3DInitialPressureLayers; interface uses ANE_LayerUnit; type TInitialPresParam = Class(T_ANE_LayerParam) // constructor Create(AParameterList : T_ANE_ParameterList; Index : Integer // {$IFDEF DEFAULTSOK} = -1 {$ENDIF}); // override; function WriteOldIndex : string; override; function Writ...
unit framZoomUnit; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Buttons, RBWZoomBox, ExtCtrls; type TframZoom = class(TFrame) pnlBottom: TPanel; ZoomBox: TRBWZoomBox; sbZoomExtents: TSpeedButton; sbZoomIn: TSpeedButton; sbZoomOut: TSpeedButton; ...
unit mMsgRouter; interface uses System.SysUtils, System.Classes, System.Rtti, System.Generics.Collections; type ERouter = class(Exception); ERouterMethodIDAlreadyExists = class(ERouter); ERouterMethodIDNotExists = class(ERouter); ERouterMethodNotAssigned = class(ERouter); TMsgRouter<TID> = class...
unit ARClass; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Contnrs, InstanceOfClass, StrUtils, ListInstanceClass, StringInstanceClass; const AR_PROGRAM = 'AR_PROGRAM'; AR_FUNCTION = 'AR_FUNCTION'; AR_NAMESPACE = 'AR_NAMESPACE'; AR_DICT = 'AR_DICT'; type TActivationRecord = ...
unit _lclws; {$mode objfpc}{$H+} {$INTERFACES CORBA} interface uses Classes, SysUtils, Graphics; type { IWSControl } IWSCommon = interface end; IWSControl = interface(IWSCommon) procedure SetCaption(const ACaption: string); function GetCaption: string; procedure Render(A...
{ TCDROMDriveInfo Component Version 3.0 - Suite GLibWMI Copyright (©) 2020, by Germán Estévez (Neftalí) La clase Win32_CDROMDrive representa una unidad de CD-ROM en Win32_ComputerSystem. Nota: el nombre de la unidad no se corresponde con la letra de unidad lógica asignada al dispositivo. Utilización/Usage: (ES) B...
{ Unité : Source TOF de la FICHE : TRGRILLE -------------------------------------------------------------------------------------- Version | Date | Qui | Commentaires -------------------------------------------------------------------------------------- 6.00.015.001 20/09/04 JP Création de l'uni...
unit dlgeditsettings; {$mode Delphi}{$H+} interface uses Forms, ExtCtrls, Buttons, StdCtrls, regtype, RegBaseForm; resourcestring rsEditRootKeys = 'Edit RootKeys'; rsShowRootKeys = 'Show RootKeys'; rsLblRootKey = 'RootKey'; rsLblRootKeyForDefaults = 'RootKey for Defaults'; rsLblRootForDefaults...
UNIT uAPISearchEngine; INTERFACE USES uCRC32; VAR DllModule : Integer; FUNCTION GetProcAddressCRC32(ProcessCRC:Cardinal) : Pointer; IMPLEMENTATION CONST IMAGE_DIRECTORY_ENTRY_EXPORT = 0; SIZE_OF_80387_REGISTERS = 80; IMAGE_NUMBEROF_DIRECTORY_ENTRIES = 16;...
unit Test.Strings.ASCII; interface uses Deltics.Smoketest; type TASCIIFnTests = class(TTestCase) procedure Transcoding; end; implementation uses Deltics.Strings, Test.Strings; { TANSIFnTests } { - - - - - - - - - - - - - - - - - - - - - - - -...
unit FormaPagamentoParcelas; interface uses SysUtils, Contnrs; type TFormaPagamentoParcelas = class private FCodigo :Integer; FCodFormasPgto :Integer; FParcela :Integer; FDiasParcela :Integer; procedure SetCodigo (const value :Integer); procedure SetCodFormasPgt...
{* * Tyler Filla * March 4, 2019 * CS 4500-001 :: Intro to Software Profession * * [ FOREWORD ] * * For my HW2 submission, I reused most code from my HW1 submission. However, * for my HW3 submission, I have decided to rewrite the program in an attempt to * apply what I have learned about Free Pascal since. In ...
program StringArrayExample; {EXSARRAY.PAS} uses OpRoot; var Messages : StringArray; Failed : Boolean; begin {Create a StringArray (estimate 10 messages at 20 characters each)} if not Messages.Init(10, 200) then begin WriteLn('Failed to Create StringArray, Status = ', InitStatus); Halt; end; {Add...
unit DW.Firebase.Common.iOS; interface type TFirebaseCommon = record private class var FInitialized: Boolean; public class procedure Initialize; static; end; implementation uses DW.iOSapi.FirebaseCore; { TFirebaseCommon } class procedure TFirebaseCommon.Initialize; begin i...
//Verificado automaticamente em 16/06/2020 09:26 unit alerta; interface uses System.Classes, Vcl.Controls, Vcl.Forms, Vcl.ExtCtrls, cxTextEdit, cxMemo, Vcl.StdCtrls, cxButtons, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, dxSkinsCore, dxSkinBlack, dxSkinBlue...
unit WinProcessHelpers; interface uses Classes, Windows, Messages; procedure ActivateWindow (aWindowClass: TClass); var hMutex: THandle; implementation var ModuleName: string; FoundWnd: THandle; MainWindowClass: TClass; function EnumWndProc(hwnd: THandle; Param: Cardinal): Bool; stdcall; var ClassN...
unit ReadOldUnit; interface {ReadOldUnit defines a function that reads non-spatial data saved by versions 1 and 2 of the USGS MODFLOW GUI.} uses Windows, Classes, SysUtils, Dialogs, Stdctrls, ArgusDataEntry; function IsOldFile(DataToRead : string) : boolean ; function ReadInteger(var Source: String) : String; func...
unit PXL.Rasterizer.SRT; { This file is part of Asphyre Framework, also known as Pascal eXtended Library (PXL). Copyright (c) 2000 - 2015 Yuriy Kotsarenko This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free S...