text
stringlengths
14
6.51M
unit GetRouteUnit; interface uses SysUtils, BaseExampleUnit; type TGetRoute = class(TBaseExample) public procedure Execute(RouteId: String; GetRouteDirections, GetRoutePathPoints: boolean); end; implementation uses RouteParametersQueryUnit, DataObjectUnit, EnumsUnit; procedure TGetRoute.Execute(Rou...
unit StatusBarWordsPack; // Модуль: "w:\common\components\rtl\Garant\ScriptEngine\StatusBarWordsPack.pas" // Стереотип: "ScriptKeywordsPack" // Элемент модели: "StatusBarWordsPack" MUID: (552E3E7E023A) {$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc} interface {$If NOT Defined(NoScripts) AND NOT...
unit MainForm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Menus, StdCtrls, ExptIntf, ToolIntf, ComCtrls; type TExpert = class(TForm) RichEdit1: TRichEdit; MainMenu1: TMainMenu; Tools1: TMenuItem; private { P...
{******************************************************************************* 作者: dmzn@163.com 2010-8-6 描述: 服务器模块 *******************************************************************************} unit UROModule; interface uses SysUtils, Classes, SyncObjs, uROIndyTCPServer, uROClient, uROServer, Id...
{$optimization off} unit Unit2; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,Dialogs, StdCtrls, Unit3; type LongArithmeticOperation = class(LongArithmetic) {extend} public constructor Create(s_number_param: string); public function sum(o_number_a: LongArithmeticOperation; ...
unit SwitchBranchStatementParsingTest; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FpcUnit, TestRegistry, ParserBaseTestCase, WpcScriptCommons, WpcStatements, WpcScriptParser, WpcExceptions; type { TSwitchBranchStatementParsingTest } TSwitchBranchStatementParsingTest = class(TParserBaseT...
unit FacilityControl; interface uses Math, TypeControl, FacilityTypeControl, VehicleTypeControl; type TFacility = class private FId: Int64; FType: TFacilityType; FOwnerPlayerId: Int64; FLeft: Double; FTop: Double; FCapturePoints: Double; FVehicleType: TVehicleType; ...
'Routines Public Function Log1P(ByVal x As Double) As Double Dim Result As Double Dim z As Double Dim LP As Double Dim LQ As Double z = 1.0+x If z<0.70710678118654752440 Or z>1.41421356237309504880 then Result = Log(z) Log1P = Result Exit Function End If z = x*x ...
unit Model.Expedicao; interface uses Common.ENum, FireDAC.Comp.Client; type TExpedicao = class private FAcao: Tacao; FContainer: Integer; FPeso: Double; FUnitizador: Integer; FConferencia: TDateTime; FNN: String; FExecucao: TDateTime; FExecutor: String; FVolumes: Integer; ...
unit MSCacheSpool; interface procedure Init; procedure Done; procedure BackgroundCache(Obj : TObject; rcLinks : boolean); procedure BackgroundUncache(Obj : TObject); procedure BackgroundInvalidateCache(Obj : TObject); implementation uses Classes, SyncObjs, Collection, MSObjectCacher, MSCacher, Cache...
program TEST1 ( OUTPUT ) ; /********/ /*$N+,A+*/ /********/ type CHARSET = packed array [ CHAR ] of CHAR ; MNEM_TABLE = array [ 0 .. 255 ] of array [ 1 .. 4 ] of CHAR ; INTPTR = -> INTEGER ; (*****************************************************************) (* ...
unit TrackingDataUnit; interface uses REST.Json.Types, System.Generics.Collections, Generics.Defaults, JSONNullableAttributeUnit, NullableBasicTypesUnit, EnumsUnit, CommonTypesUnit, GenericParametersUnit, JSONDictionaryIntermediateObjectUnit; type TStatusHistory = class(TGenericParameters) private ...
{ Private include file for the Pascal front end to the source to source * translator. } %include 'sys.ins.pas'; %include 'util.ins.pas'; %include 'string.ins.pas'; %include 'file.ins.pas'; %include 'syo.ins.pas'; %include 'sst.ins.pas'; const max_cvar_length = 32; {max allowable compiler variable ...
unit ssDBComboBox; interface uses SysUtils, Classes, Controls, cxControls, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxDropDownEdit, cxDBLookupComboBox, ssMemDS, DB; type TssDBComboBox = class(TcxDBLookupComboBox) private FmdData: TssMemoryData; FsrcData: TDataSource; FLoading: boole...
unit format_tms32; {$mode delphi} interface uses eeg_type, sysutils,dialogs, DateUtils; //function LoadTMS32(lFilename: string; var lEEG: TEEG): boolean; function WriteTMS32(lFilename: string; var lEEG: TEEG): boolean; implementation const kSig = chr($0d)+chr($0a)+chr($1a); type TDOSTIME = packed record //Next: P...
unit table_func_lib; interface uses SysUtils,math,TeEngine, Series, ExtCtrls, TeeProcs, Chart,classes,streaming_class_lib,streamio,simple_parser_lib,Graphics; type TAbstractMathFunc=class(TStreamingClass) private ftitle,fXname,fYname: string; fDescription: TStrings; procedure SetDescription(...
unit WebBrowser; { This file contains pascal declarations imported from a type library. This file will be written during each import or refresh of the type library editor. Changes to this file will be discarded during the refresh process. } { Microsoft Internet Controls } { Version 1.0 } { Conversion log: W...
uses uBignumArithmetic; var fi, fo: text; a, b: TLongReal; errA, errB: boolean; begin assign(fi, 'input.txt'); reset(fi); assign(fo, 'output.txt'); rewrite(fo); a.init(); b.init(); readTLongReal(fi, a, errA); readTLongReal(fi, b, errB); if not errA and not errB then begin write...
var x:real; const q=0.00001; begin x:=0.999999; while abs(cos(x)-4*x)>q do begin x:=x-0.000001; if x<-0.999999 then break else if not(abs(cos(x)-4*x)>q) then writeln('X = ',x) else continue end; end.
unit StockDayData_Parse_Sina; interface uses Sysutils, define_stockday_sina, define_stock_quotes, define_price; procedure ParseSinaCellData(AHeadCol: TDealDayDataHeadName_Sina; ADealDayData: PRT_Quote_Day; AStringData: string); implementation //uses // UtilsLog; {$IF...
{-------------------------------------------------- Progressive Path Tracing --------------------------------------------------- This unit implements a camera, which takes as a parameter a camera position and a camera target, and allows one to project the scene as viewed from the camera's point of view onto a 2D pl...
unit UThreadDiscoverConnection; interface uses UThread, UNodeServerAddress, Classes; type TThreadDiscoverConnection = Class(TPCThread) FNodeServerAddress : TNodeServerAddress; protected procedure BCExecute; override; public Constructor Create(NodeServerAddress: TNodeServerAddress; NotifyOnTermina...
unit MFichas.Model.Venda.Metodos.Finalizar; interface uses System.SysUtils, System.Generics.Collections, MFichas.Controller.Types, MFichas.Model.Entidade.VENDA, MFichas.Model.Venda.Interfaces, MFichas.Model.Venda.State.Factory, MFichas.Controller.Venda.Interfaces; type TModelVendaMetodosFinalizar ...
unit DropListBox; { Inno Setup Copyright (C) 1997-2004 Jordan Russell Portions by Martijn Laan For conditions of distribution and use, see LICENSE.TXT. This unit provides a listbox with drop files support. $jrsoftware: issrc/Components/DropListBox.pas,v 1.1 2004/06/05 16:07:10 mlaan Exp $ } interface u...
unit GX_ProjDependFilter; interface uses Classes, Controls, Forms, Dialogs, StdCtrls, Menus, ExtCtrls, GX_BaseForm; type TfmProjDependFilter = class(TfmBaseForm) dlgOpen: TOpenDialog; mnuPopup: TPopupMenu; mitAddFiles: TMenuItem; mitDeleteFiles: TMenuItem; mitClear: TMenuItem; ...
unit gradtabcontroleditor; {$mode objfpc}{$H+} interface uses Classes, SysUtils, ComCtrls, ugradtabcontrol, ComponentEditors, Menus, PropEdits; type { TGradTabControlComponentEditor The default component editor for TGradTabControl. } TGradTabControlComponentEditor = class(TDefaultComponentEditor) protecte...
unit BaseFutureApp; interface uses BaseWinApp, BaseApp, db_dealitem; type TBaseFutureAppData = record DealItemDB: TDBDealItem; end; TBaseFutureApp = class(TBaseWinApp) protected fBaseFutureAppData: TBaseFutureAppData; function GetPath: TBaseAppPath; override; public constructor Crea...
unit uHTTPWebsocketServer; interface uses Classes, IdServerIOHandlerWebsocket, IdIOHandlerWebsocket, IdThread, IdHTTPServer, IdContext, IdCustomHTTPServer, IdCustomTCPServer, IdHashSHA1; type TWSMessageNotify = procedure(const aDataCode: TWSDataCode; const aRequest: TMemoryStream; out aResponse: TS...
unit OrderActionsUnit; interface uses SysUtils, BaseActionUnit, System.Generics.Collections, OrderUnit, OrderParametersUnit, CommonTypesUnit; type // TOrdersCustomFields = TList<TPair<string, string>>; TOrdersCustomFields = TList<TDictionary<string, string>>; TOrderActions = class(TBaseAction) private ...
unit ChromeLikeDrawingContext; // Модуль: "w:\common\components\gui\Garant\ChromeLikeControls\ChromeLikeDrawingContext.pas" // Стереотип: "SimpleClass" // Элемент модели: "TChromeLikeDrawingContext" MUID: (5507C7FA00EE) interface {$If NOT Defined(NoVGScene) AND NOT Defined(NoVCM) AND NOT Defined(NoTabs)} uses l3Int...
unit GetLocationUnit; interface uses SysUtils, BaseExampleUnit; type TGetLocation = class(TBaseExample) public procedure Execute(Query: String); end; implementation uses AddressBookContactUnit; procedure TGetLocation.Execute(Query: String); var ErrorString: String; Total: integer; Contacts: ...
unit CompResUpdate; { Inno Setup Copyright (C) 1997-2010 Jordan Russell Portions by Martijn Laan For conditions of distribution and use, see LICENSE.TXT. Resource update functions used by the compiler only $jrsoftware: issrc/Projects/CompResUpdate.pas,v 1.25 2010/04/05 20:53:41 jr Exp $ } interface use...
//Exercício 4: Escreva um algoritmo que receba as medidas de frente e fundo de um terreno. Calcule e //exiba a área do terreno. { Solução em Portugol Algoritmo Exercicio; Var frente,fundo,area: inteiro; Inicio exiba("Programa que calcula a área de um terreno."); exiba("Digite a medida da frente do terreno: ...
unit LinksUnit; interface uses REST.Json.Types, System.Generics.Collections, JSONNullableAttributeUnit, NullableBasicTypesUnit; type /// <summary> /// Links /// </summary> /// <remarks> /// https://github.com/route4me/json-schemas/blob/master/Links.dtd /// </remarks> TLinks = class private ...
unit DW.iOSapi.PushKit; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Library }...
unit uIni; interface uses // Own units UCommon; type TIni = class(THODObject) private FFileName: string; public //** Конструктор. constructor Create(const FileName: string); destructor Destroy; override; function Read(const Section, Ident, Default: string): string; overloa...
unit GX_EditorExpert; interface uses Classes, Graphics, GX_Actions, GX_ConfigurationInfo, GX_BaseExpert; type TEditorExpert = class(TGX_BaseExpert) private FGxAction: IGxAction; FActionName: string; protected function GetShortCut: TShortCut; override; procedure SetShortCut(Va...
unit udmCartasDeCorrecao; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, udmPadrao, DBAccess, IBC, DB, MemDS; type TdmCartasDeCorrecao = class(TdmPadrao) qryManutencaoFIL_CARTA: TStringField; qryManutencaoNRO_CARTA: TIntegerField; qryManutencaoEMI...
// -------------------------------------------------------------------------- // Archivo del Proyecto Ventas // Página del proyecto: http://sourceforge.net/projects/ventas // -------------------------------------------------------------------------- // Este archivo puede ser distribuido y/o modificado bajo lo ter...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
program aerolinea; type _vuelo = record codigo :integer; salida :string; llegada :string; distancia :integer; ocupacion :real; end; _pico = record codigo :integer; acumuladorDistancia :integer; contadorPaises :integer; end; _picos = ...
unit Vcl.EditExtends; interface uses Vcl.StdCtrls, Vcl.Controls, System.Classes; type TEdit = class(Vcl.StdCtrls.TEdit) private function GetPlainText: string; procedure SetPlainText(const Value: string); protected procedure KeyUp(var Key: Word; Shift: TShiftState); override; public property...
unit Buffer; // Copyright (c) 1996 Jorge Romero Gomez, Merchise // Notes & Tips: // // - If you know the images you are using do not touch the system color entries (eg. were designed by // you with this in mind), call Buffer.ForcePaletteIndentity( true ) to make sure these reserved // entries match the ones in th...
{***************************************************************************\ * * Module Name: PMTYPES.H * * OS/2 Presentation Manager Datatypes include file * * This is conditionally included from PMWIN.H * * Copyright (c) International Business Machines Corporation 1981, 1988-1990 * **********************************...
{ 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...
unit udmCtasBancarias; interface uses Windows, System.UITypes,Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, udmPadrao, DBAccess, IBC, DB, MemDS, uMatVars; type TdmCtasBancarias = class(TdmPadrao) qryManutencaoBANCO: TStringField; qryManutencaoAGENCIA: TStringField; q...
Program diagonales; const max=30; type matriz = array [1..max,1..max] of integer; Var A:matriz; n:integer; Procedure LlenarMatrizCuadrada(var A:matriz; n:integer); var i,j:integer; begin for i:=1 to n do begin for j:=1 to n do begin A[i,j]:= random(9)+1; ...
unit fmuReceipt; interface uses // VCL ComCtrls, StdCtrls, Controls, Classes, SysUtils, ExtCtrls, Graphics, // This untPages, untUtil, untDriver, Spin; type { TfmReceipt } TfmReceipt = class(TPage) btnSale: TButton; btnReturnSale: TButton; btnReturnBuy: TButton; btnBuy: TButton; btnS...
{ *************************************************************************** Copyright (c) 2016-2021 Kike Pérez Unit : Quick.HttpServer.Request Description : Http Server Request Author : Kike Pérez Version : 1.8 Created : 30/08/2019 Modified : 07/02/2021 This file is part of Q...
unit Banks; interface uses ClassStorageInt, Kernel, WorkCenterBlock, CacheAgent, BackupInterfaces; const tidCachePath_Banks = 'Banks\'; type TMetaBankBlock = class( TMetaWorkCenter ) public constructor Create( anId : string; aCapacities...
unit uFrmTouchBase; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Objects, System.Actions, FMX.ActnList , QJSON; type TFrmTouchBase = class(TForm) raGoBack: TRectangle; raPriorPage: TRe...
{ Classes for interpreting the output of svn commands Copyright (C) 2007 Vincent Snijders vincents@freepascal.org 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 ...
{ $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: U_BlobImageFB.pas Versão: 1.0 Autor: Enio Rodrigo Marconcini Email: [EMAIL PROTECTED] Msn: [EMAIL PROTECTED] GoogleTalk: [EMAIL PROTECTED] Skype: eniorm DELFOS Desenvolvimento de Sistemas www.delfosdesenvolvimentos.com [EMAIL PROTECTED] ** DESCRICAO ** Unit específica para trabalhar com i...
unit TickServCore; interface uses System.Types, System.Classes, System.Sysutils, Vcl.ExtCtrls, ProgramSettings, TickServMidware, TTSDirectDaapi; type TTickCoreServer = class private fActive: Boolean; fMidwareServer: TTickMidwareServer; fDaapi: TTTSDirectDaapi; fId...
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Author: Arno Garrels <arno.garrels@gmx.de> Creation: Oct 25, 2005 Description: Fast streams for ICS tested on D5 and D7. Version: 6.18 Legal issues: Copyright (C) 2005-2012 by Arno Garrels, Berlin, Germany, ...
unit uSceneRace; interface uses uScene, Graphics, uGraph, uButton, uResFont, uHint; type TBtnEnum = (biPrev, biLeft, biMale, biGenName, biFemale, biRight, biNext); const LenTimeMessage = 300; EnterName = 'Введите имя'; BL = ((Ord(biNext) - 1) * 52) div 2; type TSceneRace = class(TSceneCust...
{ ******************************************************************************* Copyright (c) 2004-2010 by Edyard Tolmachev IMadering project http://imadering.com ICQ: 118648 E-mail: imadering@mail.ru ******************************************************************************* } unit ProfileU...
unit AgentEngine; interface uses windows, aeSceneNode, sysutils, dialogs, forms, aeConst, graphics, aeSceneGraph, aeOGLRenderer, System.Generics.Collections, aeCamera, aeLoaderManager, aeLoggingManager, classes, types; type TAgentEngine = class SceneGraph: TaeSceneGraph; Renderer: TaeOGLRenderer; Loa...
unit GradientUtils; interface uses Windows, Graphics; procedure Gradient(Canvas : TCanvas; frColor, toColor : TColor; horizontal : boolean; R : TRect); implementation procedure Gradient(Canvas : TCanvas; frColor, toColor : TColor; horizontal : boolean; R : TRect); type TRGBRec = record ...
{ CSI 1101-X, Winter, 1999 } { Assignment 1 } { Identification: Mark Sattolo, student# 428500 } { tutorial group DGD-4, t.a. = Manon Sanscartier } program a1 (input,output) ; label 185; const max_list_length = 20 ; points_nowhere = -9999 ; type element_type = real ; pointer = in...
unit uaftextfile; {$mode delphi} {$H+} interface uses uafudfs; {Creates descriptor to work with a text file FileName} function CreateTextFile (FileName: PChar): PtrUdf; cdecl; {Opens for reading text file} function ResetTextFile (var Handle: PtrUdf): integer; cdecl; {Opens a text file for writing} function RewriteT...
program HelloAudio; {$mode objfpc}{$H+} { VideoCore IV example - Hello Audio } { } { A very simple example showing audio output over HDMI } { ...
unit uSceneStat; interface uses Graphics, uScene; type TSceneStat = class(TSceneFrame) private public //** Конструктор. constructor Create; //** Деструктор. destructor Destroy; override; procedure Draw(); override; function Enum(): TSceneEnum; override; end; va...
unit Thread.ImportarBaixasDIRECT; interface uses System.Classes, Control.Entregas, System.SysUtils, System.DateUtils, Control.VerbasExpressas, Control.Bases, Control.EntregadoresExpressas, Generics.Collections, System.StrUtils, Model.VerbasExpressas, Control.PlanilhaBaixasDIRECT; type TThread_ImportarBaixasD...
{ Модуль подсистемы базы данных. !! в TDbItem массив значений больше необходимого } unit DbUnit; interface uses SysUtils, Classes, Contnrs, MkSqLite3, MkSqLite3Api; type // Информация о таблице БД // - сведения о колонках и типах данных в колонках // - название таблицы TDbTableInfo = class(TO...
unit ConsultingUnit; {* Интерфейсы для работы со службой ПП } // Модуль: "w:\garant6x\implementation\Garant\tie\Garant\GblAdapterLib\ConsultingUnit.pas" // Стереотип: "Interfaces" // Элемент модели: "Consulting" MUID: (457007DB002E) {$Include w:\garant6x\implementation\Garant\nsDefine.inc} interface uses l3IntfUs...
{******************************************************************************* 作者: dmzn@163.com 2011-11-21 描述: 产品订单验收 *******************************************************************************} unit UFrameProductBillYS; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Con...
{ *************************************************************************** } { } { NLDSnapPanel - www.nldelphi.com Open Source designtime component } { ...
unit uScaleControlsEx; interface implementation {$define sf_colorpickerbutton} {$define sf_dnSplitter} // define, if using DBCtrlsEh {.$define sf_EhLib} // define, if using Vcl.Grids.pas {.$define sf_Grids} //{$define sf_StdCtrls} // define, if using tb2k components {$define sf_tb2k} {$define sf_tbx} {$define sf_Vir...
unit l3ValLst; {* Список значений. } { Библиотека "L3 (Low Level Library)" } { Автор: Люлин А.В. © } { Модуль: l3ValLst - } { Начат: 15.10.1999 14:35 } { $Id: l3ValLst.pas,v 1.13 2010/02/27 10:12:37 lulin Exp $ } // $Log: l3ValLst.pas,v $ // Revision 1.13 2010/02/27 10:12...
(*==========================================================================; * * Copyright (C) 1995-1997 Microsoft Corporation. All Rights Reserved. * * File: d3drm.h * Content: Direct3DRM include file * * DirectX 6 Delphi adaptation by Erik Unger * * Modyfied: 23.8.98 * * Download: http://www.bigfoo...
unit EditableObjects; interface uses classes, Collection; const // options OPT_ALLOWNEW = 1; OPT_EVENT = 2; OPT_NUMERABLE = 4; const // visual options VOP_SHOWINMAINCONTROL = 1; VOP_EDITCHILDREN = 2; VOP_ALLOWPROPERTYEDITING = 4; VOP_DONOTSHOWEVENTS = 8; ...
{ Subroutine SST_MEM_ALLOC_SCOPE (SIZE,P) * * Allocate memory that will be tied to the current most local scope. SIZE * is the amount of memory to allocate, and P is returned pointing to the * start of the new memory area. } module sst_MEM_ALLOC_SCOPE; define sst_mem_alloc_scope; %include 'sst2.ins.pas'; pro...
unit uRfMemoryProfiler; interface {$Include RfMemoryProfilerOptions.inc} uses Classes, SyncObjs {$IFDEF UNITTEST}, uUnitTestHeader {$ENDIF}; {It's a simple output to save the report of memory usage on the disk. It'll create a file called test.txt in the executable directory} procedure SaveMemoryProfileToFile(...
unit uAmdGpu; interface uses uTypes, adl_defines, adl_sdk, adl_structures; type TADL_MAIN_CONTROL_CREATE = function(param1: ADL_MAIN_MALLOC_CALLBACK; param2: Integer): Integer; cdecl; TADL_MAIN_CONTROL_DESTROY = function: Integer; cdecl; TADL_FAN_CONTROL_GET = function(pContext: Pointer; iAdapte...
unit clControleKM; interface uses clConexao; type TControleKM = Class(TObject) private function getData: TDateTime; function getEntregador: Integer; function getExecutor: String; function getHoraRetorno: String; function getHoraSaida: String; function getKMFinal: Integer; function get...
program ejercicio10; uses crt; type cliente = record dni : Integer; turno: Integer; end; lista = ^nodo; nodo = record datos : cliente; sig : lista; end; procedure recibirCliente(var c:cliente; var cont:Integer); begin write('Ingrese el DNI del cliente: '); readln(c.dni); cont:= cont + 1; c.turno:=...
unit DataController; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, db, dbCtrls, ffsException, DataBuf; type TDataController = class; TdcStringList = class(TStringList) private function GetBoolVal(const Name: string): boolean; function GetInt...
namespace Sugar.Test; interface uses Sugar, Sugar.Xml, RemObjects.Elements.EUnit; type DocumentTest = public class (Test) private Data: XmlDocument; public method Setup; override; method DocumentElement; method DocumentType; method NodeType; method Element; ...
inherited dmOrdsAbastecimento: TdmOrdsAbastecimento OldCreateOrder = True inherited qryManutencao: TIBCQuery SQLInsert.Strings = ( 'INSERT INTO STWABSTORD' ' (FIL_ORIGEM, NRO_ABASTECIMENTO, PTO_ABASTECIMENTO, EMISSAO, BA' + 'IXA, VEICULO, MOTORISTA, COMBUSTIVEL, KM_INICIAL, KM_FINA...
unit eepromser; interface uses {$IFDEF WINDOWS}windows,{$ENDIF} main_engine; const //tipos E93CXX=0; ER5911=1; X24c44=2; procedure eepromser_init(tipo,epr_bits:byte); procedure eepromser_reset; procedure eepromser_load_data(datos:pbyte;size:word); function er5911_do_read:byte; function er5911_re...
{ Double Commander ------------------------------------------------------------------------- Unix implementation of one-way IPC between 2 processes Copyright (C) 2015 Alexander Koblov (alexx2000@mail.ru) Based on simpleipc.inc from Free Component Library. Copyright (c) 2005 by Michael Van Canneyt, m...
program project1; {$mode objfpc}{$H+} uses SysUtils, UnicodeData; function IsCharLetter(ch: widechar): boolean; begin Result:= (Ord(ch) < LOW_SURROGATE_BEGIN) and (GetProps(word(ch))^.Category <= UGC_OtherLetter); end; procedure t(ch: widechar); const bb: array[boolean] of string=('false', 'true'); b...
unit GX_eWarn; interface {$I GX_CondDefine.inc} uses Windows, SysUtils, Classes, Controls, Forms, Graphics, StdCtrls, GX_EditorExpert, GX_ConfigurationInfo, GX_BaseForm, GX_BaseExpert; type TWarnExpert = class(TEditorExpert) private public class function GetNam...
// Copyright (c) 2017 Embarcadero Technologies, Inc. All rights reserved. // // This software is the copyrighted property of Embarcadero Technologies, Inc. // ("Embarcadero") and its licensors. You may only use this software if you // are an authorized licensee of Delphi, C++Builder or RAD Studio // (the "Embarcad...
unit enet_protocol; (** @file protocol.c @brief ENet protocol functions 1.3.14 freepascal *) {$GOTO ON} interface uses enet_consts; procedure enet_host_flush (host : pENetHost); function enet_host_service (host : pENetHost; event : pENetEvent; timeout : enet_uint32):integer; function enet_p...
unit Configuracion; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, Menus, StdCtrls, cxButtons, cxCheckBox, ExtCtrls, IniFiles, Registry; type TMConfiguracion = class(TForm) ...
{ *************************************************************************** Copyright (c) 2016-2022 Kike Pérez Unit : Quick.Collections Description : Generic Collections Author : Kike Pérez Version : 1.2 Created : 07/03/2020 Modified : 27/01/2022 This file is part of QuickLib...
unit Thermostat.HeatingState; interface uses Thermostat.Classes; type THeatingState = class(TThermostatState) public procedure Init; override; procedure Finish; override; procedure Execute; override; end; implementation uses Thermostat.NotHeatingState; { THeatingState } procedure THeatingSt...
unit kwProcessSubDirs; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "ScriptEngine" // Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwProcessSubDirs.pas" // Родные Delphi интерфейсы (.pas) // Generated from UML model, ...
unit tmsUXlsSST; {$INCLUDE ..\FLXCOMPILER.INC} //This is a unit to optimize the SST for a big number of strings. //Optimizations: //We use records, no objects to store the strings (4 bytes of VMT per string and avoid calling create/destroy) //We don't use Widestrings or Strings to store them (8+6 bytes / string and...
unit fmuFullStatus; interface uses // VCL Windows, Forms, ComCtrls, StdCtrls, Controls, Classes, SysUtils, Messages, Buttons, Dialogs, // This untPages, untUtil, untDriver, untTypes, GlobalConst; type { TfmFullStatus } TfmFullStatus = class(TPage) Memo: TMemo; btnFullEcrStatus: TButton; bt...
unit uENetClass; { ENet UDP Class for FreePascal Copyright (c) 2013 Do-wan Kim Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation...
Program Aufgabe4; {$codepage utf8} Var Eingabe: String; LangerName: String; Fehler: Boolean = False; Begin Write('Bitte gib die Kurzform des Wochentags ein: '); Read(Eingabe); Case Eingabe Of 'mo': LangerName := 'Montag'; 'di': LangerName := 'Dienstag'; 'mi': LangerName :...
unit ConflictsMeta; {$mode objfpc}{$H+} interface uses Classes, SysUtils, sqldb, FileUtil, MetaData, bddatamodule, Dialogs; type TConflictPairs = array of TPoint; TConflict = class FName: string; FEqual, FUnequal: array of integer; constructor Create(AName: string; AEqual, AUne...
{***********************************************************************} { TPLANNERCALENDAR component } { for Delphi & C++Builder } { } { written by : ...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
unit Editor; {$mode objfpc}{$H+} interface uses Classes, Windows, SysUtils, FileUtil, SynEdit, SynHighlighterAny, SynCompletion, Forms, Controls, ComCtrls, ExtCtrls, StdCtrls, Menus, Global, Dialogs, Types, LCLType, Graphics; type { TEditorFrame } TEditorFrame = class(TFrame) Button1...
unit Project.PessoaFisica; interface uses Project.Interfaces, Project.Endereco; type TPessoaFisica = class(TInterfacedObject, iPessoaFisica) private FCPF : String; FEndereco : iEndereco<iPessoaFisica>; public constructor Create; destructor Destroy; override; c...