text
stringlengths
14
6.51M
unit cif8by6; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ExtCtrls, ComCtrls, mask, Grids, Menus, Printers, ActnList, DataController, dcEdit, SelectBOD, dcCheckBox, dcMemo, NotesDialog, TTSLNOTTable, TTSTRAKTable, TTSHITMTable, TTSTITMTab...
{ Clever Internet Suite Copyright (C) 2013 Clever Components All Rights Reserved www.CleverComponents.com } unit clCertificate; interface {$I clVer.inc} uses {$IFNDEF DELPHIXE2} Classes, SysUtils, Contnrs, Windows, {$ELSE} System.Classes, System.SysUtils, System.Contnrs, Winapi.Windows, {$ENDIF} clCry...
{******************************************************************************} { } { Delphi FB4D Library } { Copyright (c) 2018-2023 Christoph Schneider ...
unit QThemeSrvLinux; interface uses Qt, Types, SysUtils, Classes, Contnrs, QGraphics, QControls, QForms, QImgList, QStdCtrls, QComCtrls; type // These are all elements which can be themed. TThemedElement = ( teButton, teClock, teComboBox, teEdit, teExplorerBar, teHea...
program telefonia; type linea = record numero :integer; minutos :real; datos :real; end; cliente = record codigo :integer; cantidadLineas :integer; minutos :real; datos :real; end; procedure leerCliente(var c:cliente); begin wri...
unit VerObjectImages; interface type TVersionableObjectImage = class public constructor Create(Indent, loBound, hiBound : integer); destructor Destroy; override; private fProps : TStringList; public procedure Load( end; implementation...
{ CSI 1101-X, Winter 1999 } { Assignment 3 } { Identification: Mark Sattolo, student# 428500 } { tutorial group DGD-4, t.a. = Manon Sanscartier } program a3 (input,output) ; type element_type = real ; pointer = ^node ; node = record value: element_type ; ...
//Exercício 8: Uma empresa paga R$10,00 por hora normal trabalhada e R$15,00 por hora extra. Escreva um algoritmo que //leia o total de horas normais e o total de horas extras trabalhadas por um empregado em um ano e calcule o salário //anual deste trabalhador. { Solução em Portugol Algoritmo Exercicio8; Const ...
{$A+,B-,D+,E+,F-,G+,I-,L+,N-,O-,P-,Q-,R-,S-,T-,V+,X+,Y+} {$M 8192,0,0} {BP 7.0 compiler options} Program Unpacker; {PKUnlite by BUGSY/OBSESSiON 18-09-1997, Just to show how DumpExe API works. } Uses Crt, Dos, UnpUtil; Const RetFFound = 0; LoadError = 1; FreeError = 2; EndOfProg...
unit ElevationMonikerFactory; interface uses System.SysUtils, System.Win.ComObj, Winapi.Windows, System.Win.ComConst; type TElevationMonikerFactory = class(TTypedComObjectFactory) private FLocalizedStringResId: AnsiString; FIconResId: AnsiString; public constructor Create(const ANameResourceId: AnsiString;...
unit clOS; interface uses Vcl.Forms, Vcl.Dialogs, System.SysUtils, System.Classes, System.DateUtils, clOcorrenciasJornal, System.UITypes, Winapi.Windows, clEntregador, clCliente; type TOS = class(TObject) private FNumero: Integer; FData: System.TDateTime; FCliente: Integer; FCadastro: Intege...
unit pedidoU; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Data.DB, Vcl.Grids, Vcl.DBGrids, ZAbstractRODataset, ZAbstractDataset, ZDataset, ZAbstractConnection, ZConnection, Vcl.Buttons, Vcl....
unit WinSockRDOConnection; interface uses SmartThreads, Classes, ComObj, Windows, {$IFDEF AutoServer} RDOClient_TLB, {$ENDIF} RDOInterfaces, SocketComp, SyncObjs; type TWinSockRDOConnection = {$IFDEF AutoServer} class( TAutoObject, IRDOConnectionInit, IRDOS...
(* * 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 distributed under the License is distributed on an "AS...
unit Unit1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, jpeg, ExtCtrls, StdCtrls, Menus; type TFloatPoint = record x, y : Double; end; TCalcCoords = function(x,y:Integer): TFloatPoint of object; TForm1 = class(TForm) Image1: TImage; ...
//Exercício 10: Escreva um algoritmo para calcular e exibir a quantidade de latas de tinta necessárias para pintar uma //parede de 5 metros de largura por 2 metros de altura. Considere que o consumo de tinta é de 3 litros por metro quadrado //e a quantidade de tinta por lata é de 2 litros. { Solução em Portugo...
unit USigns; interface uses Classes, SysUtils, Graphics, Controls, Types, // self-made units UMapCommon, UConfig, UCommon; type NSignParam = (spID, spName, spInfo, sptest); TSignConfig = class(TConfig) private protected function GetItem(Index: Integer; Param: NSignParam): string; ...
unit xn.list.index; interface uses System.SysUtils, System.Generics.Collections, System.Generics.Defaults, xn.list, xn.Types, xn.list.observable; type TxnListIndexEnumerator<T> = class; TxnComparison<T> = reference to function(const aValue: T): Integer; IxnComparer<T> = interface ...
unit infosistemas.model.clientes; interface uses System.SysUtils, System.Classes, Data.DB, Datasnap.DBClient, infosistemas.business.mail, infosistemas.system.winshell, infosistemas.model.exceptions, infosistemas.view.messages; type TDMClientes = class(TDataModule) CdsClientes: TClientDataSet; DsrClie...
unit DAO.PlanilhaEntradaCarriers; interface uses Generics.Collections, System.Classes, System.SysUtils, Forms, Windows, Model.PlanilhaEntradaCarriers; type TPlanilhaEntradaCarriersDAO = class public function GetPlanilha(sFile: String): TObjectList<TPlanilhaEntradaCarriers>; end; implementation { TPlanilh...
unit StringUtilsTests; {$mode objfpc}{$H+} interface uses Classes, SysUtils, fpcunit, testutils, testregistry; type TStringUtilsTests = class(TTestCase) published procedure TestGetWordAtPosition; end; implementation uses StringUtils; procedure TStringUtilsTests.TestGetWordAtPosition; co...
{ behavior3delphi - a Behavior3 client library (Behavior Trees) for Delphi by Dennis D. Spreen <dennis@spreendigital.de> see Behavior3.pas header for full license information } unit Behavior3.Helper; interface uses Behavior3.Core.BehaviorTree, Behavior3.Core.BaseNode, Behavior3.Core.Tick; type TB3BehaviorTre...
unit tfwIntegerToEnumName; // Модуль: "w:\common\components\rtl\Garant\ScriptEngine\tfwIntegerToEnumName.pas" // Стереотип: "SimpleClass" // Элемент модели: "TtfwIntegerToEnumName" MUID: (553128CE018D) {$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc} interface {$If NOT Defined(NoScripts)} uses ...
{*******************************************************} { } { This unit manage all XML message for the jabber exchange } { } { Copyright (C) 2014 } { ...
unit ConnectingWindow; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ColoredGauge, BlockTicker, ExtCtrls, InternationalizerComponent; type TConnectingWin = class(TForm) VUGauge: TColorGauge; BlockTicker: TBlockTicker; Tim...
unit MergeRouteRequestUnit; interface uses REST.Json.Types, GenericParametersUnit, CommonTypesUnit; type TMergeRouteRequest = class(TGenericParameters) private [JSONName('route_ids')] FRouteIds: TStringArray; public property RouteIds: TStringArray read FRouteIds write FRouteIds; end; impleme...
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Author: François PIETTE Description: TWSocket class encapsulate the Windows Socket paradigm EMail: francois.piette@pophost.eunet.be francois.piette@rtfm.be http://www.rtfm.be/fpiette Creation: April 1996 Ver...
unit vcmTabsWordsPack; // Модуль: "w:\common\components\gui\Garant\VCM\vcmTabsWordsPack.pas" // Стереотип: "ScriptKeywordsPack" // Элемент модели: "vcmTabsWordsPack" MUID: (55AE40B600B7) {$Include w:\common\components\gui\Garant\VCM\vcmDefine.inc} interface {$If NOT Defined(NoVCM) AND NOT Defined(NoScripts) AND NOT...
unit Androidapi.JNI.baidu.mapapi; // ==================================================== // Android Baidu Map SDK interface // package:com.baidu.map // author:Xubzhlin // email:371889755@qq.com // // date:2017.5.10 // version:4.3.0 // ==================================================== interface uses Androidapi.J...
unit landscapeMainForm; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Forms3D, FMX.Types3D, FMX.Objects3D, FMX.Layers3D, FMX.StdCtrls, FMX.Controls3D, FMX.MaterialSources; type TAddable = (aTree, aHouse); ...
unit uUser; interface uses uModel, System.Generics.Collections,System.SysUtils; type TUserMenuItem = class; TUser = class(TAppObject) private FPassword: string; FUserMenuItems: TObjectList<TUserMenuItem>; FUserName: string; function GetUserMenuItems: TObjectList<TUserMenuItem>; public ...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
// -------------------------------------------------------------------------- // Archivo del Proyecto Ventas // Página del proyecto: http://sourceforge.net/projects/ventas // -------------------------------------------------------------------------- // Este archivo puede ser distribuido y/o modificado bajo lo terminos...
unit QuickExportSetup; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls,save_isilo_dialog; type TQuickExportSetupForm = class(TForm) SkipImages: TCheckBox; Button1: TButton; Button2: TButton; Label1: TLabel; TOCDepthEdit: TEdit; ...
unit crazyclimber_hw_dac; interface uses {$IFDEF WINDOWS}windows,{$ENDIF}sound_engine,timer_engine; type tcclimber_audio=class constructor create; destructor free; public procedure reset; procedure change_sample(valor:byte); procedure change_freq(valor:byte); ...
unit UDemo; interface uses SysUtils, Types, UITypes, Classes, Variants, UIConsts, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.TMSBaseControl, FMX.TMSGridOptions, FMX.TMSGridData, FMX.TMSGrid, FMX.GridExcelIO, FMX.TMSBitmapContainer, FMX.TMSGridCell, FMX.TMSGridRTF, FMX.TMSXUtil, FMX.TMSCustomGrid, ...
unit App; { Based on 025_recursive_texture.cpp example from oglplus (http://oglplus.org/) } {$INCLUDE 'Sample.inc'} interface uses System.Classes, Neslib.Ooogles, Neslib.FastMath, Sample.App, Sample.Geometry; type TRecursiveTextureApp = class(TApplication) private const TEXTURE_SIZE = 512; priv...
unit TcpQuoteAgent; interface uses Windows, BaseWinProcess, ThostFtdcBaseDataType, ThostFtdcMdApiDataType, define_price, define_ctp_quote; type TTcpAgentQuoteConsoleData = record IsMDConnected: Boolean; IsMDLogined: Boolean; //TCPAgentProcess: TExProcessA; SrvWND: H...
unit evdTopicFileSplitter; { $Id: evdTopicFileSplitter.pas,v 1.1 2014/07/16 10:39:23 fireton Exp $ } interface uses k2TagGen, k2FileGenerator, k2TagFilter, l3Variant; type TevdTopicFileSplitter = class(Tk2TagFilter) private f_FileGenerator: Tk2CustomFileGenerator; f_Index : Integer; f_BaseFilenam...
unit xn.grid.common; interface type TxnGridLinkNotifyData = record type TKind = (gekAdd, gekDel, gekEdit, gekMove); private fRow: Integer; fCol: Integer; fKind: TKind; public constructor Create(aCol, aRow: Integer; aKind: TKind); property Row: Integer read fRow; pr...
unit UGeRemessaBoletos; interface uses UGrPadrao, Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, DB, IBCustomDataSet, IBTable, ComCtrls, IBSQL, DBClient, Provider, IBUpdateSQL, IBQuery, Buttons, ToolWin, Grids, DBGrids, ComObj, frxClass, fr...
{ Subroutine SST_W_C_SCOPE_PUSH (SCOPE,SCOPE_TYPE) * * Set the current scope to SCOPE. The state for the old scope will be pushed * onto the stack. The old scope state can be recovered with SST_W_C_SCOPE_POP. * SCOPE_TYPE is the type of the new scope. This must be one of the constants * SCOPE_TYPE_xxx_K. }...
{******************************************************************************} { } { Delphi FB4D Library } { Copyright (c) 2018-2023 Christoph Schneider ...
program Fakultaet (input,output); { berechnet die Fakultaet einer einzulesenden natuerlichen Zahl } type tNatZahl = 0..maxint; var i : tNatZahl; { Laufvariable } Zahl, { einzulesende Zahl } Ergebnis : integer; begin write ('Fuer welche Zahl soll die Fakultaet ', 'berechnet w...
unit MFichas.Model.Impressao.Caixa.Fechamento; interface uses System.SysUtils, System.Classes, MFichas.Model.Impressao.Interfaces, MFichas.Model.Conexao.Interfaces, MFichas.Model.Conexao.Factory, MFichas.Model.Impressao.Constantes, MFichas.Controller.Types, FireDAC.Comp.Client; const _2CIFROES =...
unit View.CadastroPadrao; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, dxSkinsCore, dxSkinsDefaultPainters, cxClasses, dxLayoutContainer, dxLayo...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
unit GX_NTAEditServiceNotifier; {$I GX_CondDefine.inc} interface uses Classes, ToolsAPI, DockForm; {$IFDEF GX_VER160_up} type ///<summary> /// This is a dummy implementation of INTAEditServicesNotifier that does nothing. /// Descendants override some methods to get the notifications they are ...
{ *************************************************************************** Copyright (c) 2016-2019 Kike Pérez Unit : Quick.MemoryCache.Types Description : Memory Cache Types Author : Kike Pérez Version : 1.0 Created : 14/07/2019 Modified : 15/09/2019 This file is part of Qui...
unit DirectionLocationUnit; interface uses REST.Json.Types, SysUtils, JSONNullableAttributeUnit, NullableBasicTypesUnit; type /// <summary> /// Direction Location /// </summary> /// <remarks> /// https://github.com/route4me/json-schemas/blob/master/Direction.dtd /// </remarks> TDirectionLocation ...
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdExplicitTLSClientServerBase, IdMessageClient, IdPOP3, IdMessage, Idmessa...
unit uMainForm; interface {$WARN SYMBOL_PLATFORM OFF} uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, GenericsUtils, Vcl.ComCtrls, Vcl.StdCtrls, Vcl.CheckLst, Masks, System.StrUtils, Vcl.AppEvnts, Vcl.Menus, DragDrop,...
unit View.Main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, dxGDIPlusClasses, Vcl.StdCtrls, Common.Utils, System.Actions, Vcl.ActnList, Vcl.Buttons, System.ImageList, Vcl.ImgList, Vcl.Category...
unit UPadrao; interface uses Data.DBXJSON, Data.DBXJSONReflect; type TPadrao = class public class function ObjectToJSON<O: class>(objeto: O): TJSONValue; class function JSONToObjecto<O: class>(json: TJSONValue): O; end; implementation { TPadrao } class function TPadrao.ObjectToJSON<O>(obj...
unit Sample.Geometry; {$INCLUDE 'Sample.inc'} interface uses Neslib.FastMath; type { Geometry of a cube. } TCubeGeometry = record public Positions: TArray<TVector3>; Normals: TArray<TVector3>; Tangents: TArray<TVector3>; TexCoords: TArray<TVector2>; Indices: TArray<UInt16>; public ...
unit Disasters; interface uses MetaInstances, BackupInterfaces, Kernel, Population, Persistent; const tidClassFamily_Disasters = 'Disasters'; type TMetaDisaster = class; TDisaster = class; CDisaster = class of TDisaster; TMetaDisaster = class( TMetaInstance ) public...
unit CTS.Test; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, mbDeskPickerButton, Vcl.ExtCtrls, Vcl.Buttons, HGM.Button, Vcl.Imaging.pngimage; type TFormTest = class(TForm) Panel1: TPanel;...
{ behavior3delphi - a Behavior3 client library (Behavior Trees) for Delphi by Dennis D. Spreen <dennis@spreendigital.de> see Behavior3.pas header for full license information } unit Behavior3.Core.Composite; interface uses System.JSON, Behavior3, Behavior3.Core.BaseNode; type (** * Composite is the base c...
unit ServerMethodsUnit1; interface uses System.SysUtils, System.Classes, Datasnap.DSServer, Datasnap.DSAuth, 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, FireDAC.Phys.IBB...
unit mwIDEExpert; {+--------------------------------------------------------------------------+ | Unit: mwIDEExpert | Created: 8.97 | Author: Martin Waldenburg | Copyright 1997, all rights reserved. | Description: A simple demo for TIDEStream | Version: 1.0 | Status: PepeWare | Discl...
{ 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 ParamsForms; {$mode objfpc}{$H+} {** * This file is part of the "Mini Library" * * @license modifiedLGPL (modified of http://www.gnu.org/licenses/lgpl.html) * See the file COPYING.MLGPL, included in this distribution, * @author Zaher Dirkey <zaher, zaherdirkey> *} interface use...
unit untBlog; {$mode objfpc}{$H+} interface uses Classes, SysUtils, //unit is using HTTPDefs, RegExpr, math, sqldb, db, //also system units untDB; type { untBlog } { TuntBlog } TuntBlog = class private { private declarations } class var APPURL: string; public { public declarations ...
unit l3BoxMemoryManagerPrim; // Модуль: "w:\common\components\rtl\Garant\L3\l3BoxMemoryManagerPrim.pas" // Стереотип: "SimpleClass" // Элемент модели: "Tl3BoxMemoryManagerPrim" MUID: (54B69FAC0256) {$Include w:\common\components\rtl\Garant\L3\l3Define.inc} interface uses l3IntfUses , l3BaseBoxMemoryManager ; typ...
program ejercicio12; const dimF = 10000; type compu = record verUbuntu : Real; cantPaquetes: Integer; cantCuentas: Integer; end; vCompu = array[1..dimF] of compu; procedure leerInfo(var c:compu); begin with c do begin write('ingrese la Version de Ubuntu: '); readln(verUbuntu); write('Ingrese la can...
unit UUtilComum; interface uses FireDAC.Comp.Client, UFuncoes, System.Generics.Collections, DB, System.SysUtils, System.JSON, Winapi.Windows; procedure teste(Open: boolean); procedure setDetailsID(DataSetList: TList<TDataSet>; ID: Integer); procedure geraLog(Path, Message: String); function JSONgetField(obj: TJS...
unit xpr.errors; { Author: Jarl K. Holta License: GNU Lesser GPL (http://www.gnu.org/licenses/lgpl.html) Error handling } {$I express.inc} interface uses SysUtils, xpr.express; type ExpressError = class(Exception) DocPos: TDocPos; constructor Create(Msg: string; ADocPos: TDocPos); overload; en...
unit HTMLHandler; interface uses VoyagerInterfaces, Controls, CustomWebBrowser, extctrls, Graphics, PlayerGif; type TMetaHTMLHandler = class( TInterfacedObject, IMetaURLHandler ) private function getName : string; function getOptions : TURLHandlerOptions; fu...
unit ProgressIndicatorSupportUnit; // Модуль: "w:\garant6x\implementation\Garant\tie\Garant\GblAdapterLib\ProgressIndicatorSupportUnit.pas" // Стереотип: "Interfaces" // Элемент модели: "ProgressIndicatorSupport" MUID: (45EEA87702A5) {$Include w:\garant6x\implementation\Garant\nsDefine.inc} interface uses l3IntfUs...
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Author: Franšois PIETTE Description: Application Server Client Component (Client side) Do not confuse TClientWSocket with TAppSrvClient which is the client application side. TClientWSocket is used on th...
unit DelphiUp.View.Components.Buttons.Attributes; interface uses DelphiUp.View.Components.Buttons.Interfaces, System.SysUtils, System.UITypes, FMX.Types; type TButtonAttributes<T : class> = class(TInterfacedObject, iComponentButtonAttributes<T>) private [weak] FParent : T; FT...
UNIT Queue; INTERFACE PROCEDURE EmptyQ; {Очистить очередь} PROCEDURE AddQ(VAR Elt: CHAR); {Добавить в конец очереди элемент (символ)} PROCEDURE DelQ; {Удалить 1ый элемент очереди} PROCEDURE HeadQ(VAR Elt: CHAR); {Поместить в Elt 1ый элемент очереди} PROCEDURE WriteQ; {Печать очереди} IMPLEMENTATION VAR Q: TEXT; ...
{ $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 Frame; interface uses PositionRecord; type TFrame = class protected fImageIndex : Integer; fOffset : TPositionRecord; fLengthSeconds : Double; public constructor Create(aImageIndex : Integer; aOffset : TPositionRecord; aLengthSeconds : Double); function GetLengthSeconds() : Double; ...
unit LUX.Data.List.core; interface //#################################################################### ■ type //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$【型】 TListObject = class; TListParent = class; TListChildr = class; TListEnumer = class; //$$$$$$$$$$$$...
unit RichMemoRTF; interface {$mode objfpc}{$h+} uses Classes, SysUtils, LCLProc, LCLIntf, LConvEncoding, Graphics, RichMemo, RTFParsPre211; function MVCParserLoadStream(ARich: TCustomRichMemo; Source: TStream): Boolean; procedure RegisterRTFLoader; type TEncConvProc = function (const s: string): string; //t...
unit crystalcastles_hw; interface uses {$IFDEF WINDOWS}windows,{$ENDIF} m6502,main_engine,controls_engine,gfx_engine,rom_engine,pal_engine, sound_engine,pokey,file_engine; function iniciar_ccastles:boolean; implementation const ccastles_rom:array[0..4] of tipo_roms=( (n:'136022-403.1k';l:$2...
{ ---------------------------------------------------------------------------- zbnc - Multi user IRC bouncer Copyright (c) Michael "Zipplet" Nixon 2009. Licensed under the MIT license, see license.txt in the project trunk. Unit: socketwrap.pas Purpose: Wrapper for lsocket that provides a multi-connection TCP...
{| Unit: pmord | Version: 1.00 | translated from file pmord.H | Original translation: Peter Sawatzki (ps) | Contributing: | (fill in) | | change history: | Date: Ver: Author: | 11/19/93 1.00 ps original translation by ps } Unit pmord; Interface Uses Os2Def, PmGpi; {***************************** Mo...
unit afwStatus; {* Реализация строки статуса. } // Модуль: "w:\common\components\gui\Garant\AFW\implementation\afwStatus.pas" // Стереотип: "SimpleClass" // Элемент модели: "TafwStatus" MUID: (478787DD01FE) {$Include w:\common\components\gui\Garant\AFW\afwDefine.inc} interface uses l3IntfUses , l3CProtoObject ,...
unit WcryptHelper; interface uses Windows, Classes, SysUtils, JwaWinCrypt, JwaCryptUIApi, VipNet, TSP, asn1util; const CERT_STORE_NAME = 'MY'; MY_CERT_STORE_NAME = CERT_STORE_NAME; CA_CERT_STORE_NAME = 'CA'; ROOT_CERT_STORE_NAME = 'ROOT'; MY_ENCODING_TYPE = PKCS_7_ASN_ENCODING or X509_ASN_ENCODING; type...
unit cSampleData; interface uses Generics.Collections, xn.grid.common; type TSampleData = class private const TABLE_20: array [0 .. 19, 0 .. 5] of string = ( ('0', 'Aqua', 'MD', '2,01', '71', 'T'), ('2', 'Yellow', 'LA', '3,76', '29', 'T'), ('4', 'DkGray', 'VT', '4,74', '47'...
unit udmEmpresasEDI; interface uses Windows, System.UITypes,Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, udmPadrao, DBAccess, IBC, DB, MemDS; type TdmEmpresasEDI = class(TdmPadrao) qryManutencaoCGC: TStringField; qryManutencaoIDENTIFICACAO: TStringField; qryManutencaoA...
unit Ping2; interface function PingHost(const HostName: AnsiString; TimeoutMS: cardinal = 500): boolean; implementation uses Windows, SysUtils, WinSock; function IcmpCreateFile: THandle; stdcall; external 'iphlpapi.dll'; function IcmpCloseHandle(icmpHandle: THandle): boolean; stdcall; external 'iphlp...
unit shootout_hw; interface uses {$IFDEF WINDOWS}windows,{$ENDIF} m6502,main_engine,controls_engine,ym_2203,gfx_engine,rom_engine, pal_engine,sound_engine,misc_functions; function iniciar_shootout:boolean; implementation const shootout_rom:array[0..2] of tipo_roms=( (n:'cu00.b1';l:$8000;p:$...
unit psychic5_hw; interface uses {$IFDEF WINDOWS}windows,{$ENDIF} nz80,main_engine,controls_engine,ym_2203,gfx_engine,rom_engine,pal_engine, sound_engine,qsnapshot; function iniciar_psychic5:boolean; implementation const psychic5_rom:array[0..1] of tipo_roms=( (n:'myp5d';l:$8000;p:0;crc:$1d...
unit K461701432; {* [Requestlink:461701432] } // Модуль: "w:\common\components\rtl\Garant\Daily\K461701432.pas" // Стереотип: "TestCase" // Элемент модели: "K461701432" MUID: (51DA9D410127) // Имя типа: "TK461701432" {$Include w:\common\components\rtl\Garant\Daily\TestDefine.inc.pas} interface {$If Defined(nsTest)...
{ id:109291 PROG:sprime LANG:PASCAL } { USER: r z [rz109291] TASK: sprime LANG: PASCAL Compiling... Compile: OK Executing... Test 1: TEST OK [0.000 secs, 276 KB] Test 2: TEST OK [0.000 secs, 276 KB] Test 3: TEST OK [0.000 secs, 276 KB] Test 4: TEST OK [0.000 secs, 276 KB] Test 5: TEST OK [0.000 secs, 2...
{ *************************************************************************** } { } { } { Copyright (C) Amarildo Lacerda } { } { https://github.com/amarildolacerda } { } { } { *************************************************************************** } { } { Licensed under the Apache License, Version 2.0 (the "License...
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.Controls.Presentation, FMX.ScrollBox, FMX.Memo, WinTab32; type ...
unit l3PopupMenuHelper; // Модуль: "w:\common\components\rtl\Garant\L3\l3PopupMenuHelper.pas" // Стереотип: "Service" // Элемент модели: "Tl3PopupMenuHelper" MUID: (550013770000) {$Include w:\common\components\rtl\Garant\L3\l3Define.inc} interface {$If NOT Defined(NoVCL)} uses l3IntfUses , l3ProtoObject , Menus ...
{$MODE OBJFPC} program SequenceCounting; const InputFile = 'SEQCOUNT.INP'; OutputFile = 'SEQCOUNT.OUT'; modulo = 1234567890; p: array[1..5] of Integer = (2, 3, 5, 3607, 3803); e: array[1..5] of Integer = (1, 2, 1, 1, 1); var fi, fo: TextFile; n, m: Int64; procedure Analysis(k: Int64); var p, e: Int64;...
unit IO; interface procedure ParseCMDLine(out FilenameInput: string; out FilenameOutput: string); function ReadFileToString(const AFilename: string): string; procedure WriteStringToFile(const AStr: string; const AFilename: string); implementation uses Classes, SysUtils; procedure ParseCMDLine(out FilenameInput: ...
unit ConfigHandler; interface uses VoyagerInterfaces, Config, Classes, Controls, Registry, VCLUtils; type TConfigHandler = class( TInterfacedObject, IMetaURLHandler, IURLHandler, IConfigHolder ) public constructor Create(TestVer : boolean); private fTestVer : boo...
unit StockMinuteData_Save; interface uses Classes, Sysutils, BaseApp, StockMinuteDataAccess; function SaveStockMinuteData(App: TBaseApp; ADataAccess: TStockMinuteDataAccess): Boolean; overload; function SaveStockMinuteData(App: TBaseApp; ADataAccess: TStockMinuteDataAccess; AFileUrl: string): Boolean; overlo...
(* ************************************************************************** * name: FreeDoor BBS Door Engine * version: 2.0.0 * author: Mike Hodgson * copyright: 2014, Mike Hodgson * licence: The MIT License * http://opensource.org/licenses/MIT * credits: Mike Hodgson, Michael P...
namespace Sugar.Test; interface uses Sugar, Sugar.Xml, RemObjects.Elements.EUnit; type CharacterDataTest = public class (Test) private Doc: XmlDocument; Text: XmlText; CData: XmlCDataSection; Comment: XmlComment; method Data(Node: XmlCharacterData; Content: String); ...
unit Mat.SupportedDevelopmentTools; interface type // List of supported developent tools and their versions. TSupportedDevelopmentTools = (stdUnknown = 0, sdtDelphi5, sdtDelphi7); implementation end.
{$I ACBr.inc} unit pciotProprietarioW; interface uses SysUtils, Classes, pcnConversao, pciotCIOT, ASCIOTUtil; type TGeradorOpcoes = class; TProprietarioW = class(TPersistent) private FGerador: TGerador; FProprietario: TProprietario; FOperacao: TpciotOperacao; FOpcoes: TGeradorOpcoes; pub...
unit PJSONParser; interface uses Sysutils, classes, System.JSON.Builders, System.JSON.Readers, System.Rtti, Generics.Collections, PPlaceRoad; type TMap = class protected AdjacencyList: TObjectList<TPlace>; Map: TextFile; public constructor Create; procedure P...