text
stringlengths
14
6.51M
unit DamLanguage; {$IFDEF FPC}{$mode delphi}{$ENDIF} interface uses DamUnit; {$R Dam_Resource.res} type TDamLanguageDefinition = record OK, Yes, No, Info, Quest, Warn, Error, Msg: string; end; procedure SetDamLangBySysLang(var DamLang: TDamLanguage); function LoadLanguage(Language: TDamLanguage): TDamLang...
unit RESTRequest4D.Request.Body; interface uses RESTRequest4D.Request.Body.Intf, REST.Client, System.JSON, REST.Types; type TRequestBody = class(TInterfacedObject, IRequestBody) private FRESTRequest: TRESTRequest; function Clear: IRequestBody; function Add(const AContent: string; const AContentType: ...
unit GX_BaseExpert; interface uses Classes, Graphics, GX_ConfigurationInfo; type TGX_BaseExpert = class(TObject) private FBitmap: TBitmap; protected FActive: Boolean; function GetShortCut: TShortCut; virtual; abstract; procedure SetActive(New: Boolean); virtual; procedure S...
unit GX_IdeDock; {$I GX_CondDefine.inc} interface uses SysUtils, Classes, Forms, Controls, MenuBar, Menus, Messages, // You must link to the DesignIde package to compile this unit DockForm; type {$IFDEF EnableIdeDockingSupport} TDummyPopupMenu = class(TPopupMenu) private OwnerMenu: T...
program Maximum (input,output); { bestimmt das Maximum einer Folge von einzulesenden Integer-Zahlen } const ANZ = 4; { Anzahl der einzulesenden Zahlen } type tIndex = 1..ANZ; var i : tIndex; { Laufvariable } Zahl, Max : integer; begin writeln('Geben Sie', ANZ, ' ganze Zahlen ein,...
unit UFormViewOptions; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TFormViewOptions = class(TForm) btnOk: TButton; btnCancel: TButton; boxExt: TGroupBox; edText: TEdit; Label1: TLabel; edImages: TEdit; Label...
unit ColumnAlign; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, UMyStringGrid,FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Layouts, FMX.Objects, FMX.Edit, FMX.StdCtrls; type TTextColumn = class(TMyStringColumn) private FTextAlign : TTextAlign; ...
unit CType; interface {$ifdef DELPHI} uses Character; {$else} function IsUpper(c: Char): Boolean; function IsLower(c: Char): Boolean; function IsLetter(c: Char): Boolean; function IsNumber(c: Char): Boolean; function IsWhitespace(c: Char): Boolean; {$endif} function IsPrintable(c: AnsiChar): Boolean; function IsPr...
{ *************************************************************************** Copyright (c) 2016-2020 Kike Pérez Unit : Quick.RTTI.Utils Description : Files functions Author : Kike Pérez Version : 1.4 Created : 09/03/2018 Modified : 05/11/2020 This file is part of QuickLib...
unit ScheduledServiceModule; interface uses System.SysUtils, System.Classes, System.Android.Service, Androidapi.JNI.App, AndroidApi.JNI.GraphicsContentViewText, Androidapi.JNI.Os; type TServiceModule = class(TAndroidService) function AndroidServiceStartCommand(const Sender: TObject; const Intent:...
unit PT4Data; { Модуль работы с данными } {$mode objfpc}{$H+} interface uses Classes, SysUtils, PT4Common; type ElemType = (TBool, TInt, TChar, TReal, TPChar, TPoint); PDElem = ^DElem; DElem = record Cmt : string; Next : PDElem; case T : ElemType of TBool : (B : boolean); TInt : (...
unit Synchro; interface uses CabUtils, URL2File, Windows, Classes; type TSyncErrorCode = integer; TSyncEventId = integer; const SYNC_NOERROR = 0; SYNC_ERROR_Unknown = 1; SYNC_ERROR_InvalidDestFile = 2; SYNC_ERROR_InvalidSourceFile = 3; SYNC...
unit TabbedPages; interface uses Windows, Classes, Graphics, Forms, Controls, Messages, Buttons; type TScrollBtn = (sbLeft, sbRight); type TScroller = class(TCustomControl) private { property usage } FMin: longint; FMax: longint; FPosition: longint; FOnClick: TN...
unit xdg_foreign_unstable_v1_protocol; {$mode objfpc} {$H+} {$interfaces corba} interface uses Classes, Sysutils, ctypes, wayland_util, wayland_client_core, wayland_protocol; type Pzxdg_exporter_v1 = Pointer; Pzxdg_importer_v1 = Pointer; Pzxdg_exported_v1 = Pointer; Pzxdg_imported_v1 = Pointer; Pzxdg_e...
unit HGM.Controls.PanelCollapsed; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, HGM.Controls.PanelExt, Vcl.Buttons, Vcl.Imaging.pngimage, HGM.Common; type TPanelCollapsed = clas...
unit uUnit; interface uses glr_math, uObject; type { TArenaUnit } TArenaUnit = class (TArenaObject) protected fControlVector: TglrVec2f; fDirection: TglrVec2f; procedure Control(const dt: Double); virtual; procedure DoUpdate(const dt: Double); override; public Hea...
unit LiveHtmlForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, StdCtrls, ExtCtrls, Menus, ClipBrd, // HtmlGlobals, HTMLUn2, HtmlView, SynEditHighlighter, SynHighlighterHtml, SynEdit, SynEditOptionsDialog, HtmlBuffer; type TFormLiveHtml = class(TForm)...
{ some helper functions/procedures written by Sebastian Kraft sebastian_kraft@gmx.de This software is free under the GNU Public License (c)2005-2008 } Unit functions; {$mode objfpc}{$H+} Interface Uses Classes, SysUtils, math, debug, config; //+++++++++++++++++++++++++++++++++++++++++++++++++...
{ Clever Internet Suite Copyright (C) 2013 Clever Components All Rights Reserved www.CleverComponents.com } unit clMailUserMgr; interface {$I clVer.inc} uses {$IFNDEF DELPHIXE2} Classes, SysUtils, {$ELSE} System.Classes, System.SysUtils, {$ENDIF} clUserMgr; type TclMailUserAccountItem = class(TclUs...
unit Cliente.dao; interface uses System.SysUtils, System.Classes, Data.FMTBcd, Data.DB, Datasnap.DBClient, Datasnap.Provider, Data.SqlExpr, Cliente.model; type TDmCliente = class(TDataModule) sqlExcluir: TSQLDataSet; sqlPesquisar: TSQLDataSet; sqlInserir: TSQLDataSet; sqlAlterar: TSQLDataSet; ...
unit EncryptedStreams; interface uses SysUtils, Classes, tfCiphers; type TEncryptedStream = class(TStream) protected FStream: TStream; FKeyStream: TStreamCipher; function NonceSize: Integer; virtual; public function Read(var Buffer; Count: Int32): Int32; override; function See...
unit MemoryUtils; interface uses Windows; type SIZE_T = Cardinal; {$EXTERNALSYM SIZE_T} DWORDLONG = Int64; // ULONGLONG {$EXTERNALSYM DWORDLONG} type PMemoryStatus = ^TMemoryStatus; LPMEMORYSTATUS = PMemoryStatus; {$EXTERNALSYM LPMEMORYSTATUS} _MEMORYSTATUS = packed record...
unit uExportarDepartamentoAcesso; interface uses System.SysUtils, System.Classes, uArquivoTexto, uDM, uFireDAC, uDepartamentoAcessoVO, System.Generics.Collections, uGenericDAO; type TExportarDepartamentoAcesso = class private FArquivo: string; public procedure Exportar(); // function Importar():...
unit SuffixTreeLib; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, Menus, ComCtrls; const MAX_CHAR = 256; Type SuffixTreeNode = record children: array[0..MAX_CHAR-1] of ^SuffixTreeNode; suffixLink: ^SuffixTreeNode; start: integer; ...
{ Subroutine SST_R_PAS_SMENT_LABEL * * Process LABEL_STATEMENT syntax. } module sst_r_pas_SMENT_LABEL; define sst_r_pas_sment_label; %include 'sst_r_pas.ins.pas'; procedure sst_r_pas_sment_label; {process LABEL_STATEMENT syntax} var tag: sys_int_machine_t; {syntax tag from .syn file} str_h:...
unit Unit1; {$I TeeDefs.inc} interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls, FMXTee.Engine, FMXTee.Procs, FMXTee.Chart, FMX.Layouts, FMXTee.Commander, FMX.Edit, FMXTee.Series, System.UIC...
unit View.PesquisaEntregadoresExpressas; 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, cxContainer, cxEdit,...
unit TabbedContainerRes; interface uses SysUtils, Classes, ImgList, vtPngImgList, nsTabbedInterfaceTypes; type TTabbedContainerRes = class(TDataModule) ilTabImages: TvtNonFixedPngImageList; private function pm_GetIconIndex(aIconType: TnsTabIconType): Integer; public property IconIndex[Ico...
program concesionaria; type vehiculo = record marca :string; modelo :string; precio :real; end; actuales = record marca :string; acumulador :real; contador :integer; end; procedure leerVehiculo(var v:vehiculo); begin write('Ingrese la ma...
unit WinHelper; interface uses System.Generics.Collections, System.SysUtils, WinApi.TlHelp32, WinApi.Windows; type TProcessRec = record PID: DWORD; Name: string; constructor Create(PID: DWORD; const Name: string); end; TProcessRecList = TList<TProcessRec>; TModuleRe...
unit HGM.Common.Notify; interface uses Winapi.Windows, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Imaging.pngimage, Vcl.Buttons, System.SysUtils, HGM.Common; type TNotifyControl = class(TWinControl) property Color; end; TNotify = class(TComponent) publ...
unit clock_control; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Controls, Graphics, LCLType, DateUtils, Types; type { TLazClockControl } TLazClockControl = class(TCustomControl) public BackgroundImage: TPortableNetworkGraphic; constructor Create(AOwner: TComponent); override; procedu...
unit uFuncoesRelatorios; interface Uses SqlExpr, DBGrids, DBClient, Forms, Tlhelp32; procedure Pesquisar(Banco : TSqlConnection; Filtro, Tabela : String); function OrdenaDBGrid(xGrid: DBGrids.TDBGrid; Column: TColumn; CDS: TClientDataSet): boolean; function Alltrim(const Search: string): string; impleme...
unit prototype_lib; interface uses classes,streaming_class_lib, contnrs; type TPrototypedObject=class(TStreamingClass) private fPrototype: TPrototypedObject; function GetPrototypeName: string; procedure SetPrototypeName(value: string); // procedure SetPrototype(value: TPrototypedObject); protecte...
unit untAdmPaginas; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, HTTPDefs, websession, fpHTTP, fpWeb, //database libs db, sqldb, //custom libs untAdmPage, untDB; type { TuntAdmPaginas } TuntAdmPaginas = class(TuntAdmPage) private { private declarations } procedure tagRep...
//Exercicio 14: Faça um algoritmo que receba a idade de uma pessoa e exiba mensagem de maioridade. { Solução em Portugol Algoritmo Exercicio14; Var idade: inteiro; Inicio exiba("Programa que determina se uma pessoa é maior de idade."); exiba("Digite uma idade: "); leia(idade); se(idade >= 1...
{ Subroutine SST_DTYPE_NEW (DTYPE_P) * * Allocate memory under the current scope for a new data type descriptor. The * descriptor will be initialized, and DTYPE_P will be returned pointing to it. } module sst_DTYPE_NEW; define sst_dtype_new; %include 'sst2.ins.pas'; procedure sst_dtype_new ( {alloc...
unit thread_main; interface uses SysUtils, Classes, Windows, ActiveX; type TThreadMain = class(TThread) private { Private declarations } protected procedure Execute; override; end; var ThreadMain: TThreadMain; // {$DEFINE DEBUG} procedure WrapperMain; // обертка для синхронизации и выполнени...
unit Soko1; { 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 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be ...
unit Plugin.Tool; interface uses System.SysUtils, System.Classes,Vcl.Imaging.jpeg, Vcl.Graphics,IdURI, IdGlobal,IdCoderMIME,EncdDecd; type TTool = class public function URLDecode(Asrc: string; AByteEncoding: IIdtextEncoding): string; function URLEncode(Asrc: string; AByteEncoding: IIdTextEncoding): str...
unit LUX.GPU.Vulkan.Shader; interface //#################################################################### ■ uses vulkan_core, vulkan_win32; type //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$【型】 TVkShader<TVkPipeli_:class> = class; TVkShaderVert<TVkPipeli_:class> = cla...
unit StockDayData_Parse_Sina_Html2; interface uses win.iobuffer, define_stockday_sina, define_stock_quotes, StockDayDataAccess; function DataParse_DayData_Sina(ADataAccess: TStockDayDataAccess; AResultData: PIOBuffer): Boolean; overload; implementation uses Sysutils, StockDayData_Parse_Sina...
//FPC 2.6.2 program Helloworld; begin writeln('hello,world!'); end.
unit TTSTSUMTAGTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TTTSTSUMTAGRecord = record PSort: String[30]; PID: Integer; PLilSort: String[20]; PUser: String[40]; PCategory: String[40]; PDate: String[10]; PSubNumber: SmallInt; ...
unit LoanMoneyTask; interface uses Tasks, Kernel, Accounts, CacheAgent, BackupInterfaces, MathUtils; type TMetaLoanMoneyTask = class(TMetaTask) private fLoan : TMoney; public property Loan : TMoney read fLoan write fLoan; end; TLoanMoneyTask = cl...
PROGRAM increment; VAR i : integer; BEGIN i := 0; REPEAT writeln('i = ', i); i := i + 1; UNTIL i > 5; writeln('Done!'); END.
// Visual C++'s MFC pulped CMapStringToObj class // Copyright (C) 1996 by Merchise Group [PastelCAD] unit MapStringToObject; interface uses {$ifdef PERSISTENTMAP} Persistent, {$endif} Classes; const HashTableSize = 512; {$ifdef PERSISTENTMAP} {$TYPEINFO ON} {$endif} type TMap...
unit uCommon; interface uses Classes, AdvObj, BaseGrid, AdvGrid, SysUtils, Forms, fuDim, HTMListB, uMT2Classes; function IsValidInt(StringIn : String) : boolean; function IndexFromValues(StringList : TStrings;ValueIn : String) : integer; function PhoneDataToString(PhoneDataIn : String) : String; procedure ClearGrid...
{*********************************************************} {* VPDATA.PAS 1.03 *} {*********************************************************} {* ***** BEGIN LICENSE BLOCK ***** *} {* Version: MPL 1.1 ...
unit GX_IdeGotoEnhancer; {$I GX_CondDefine.inc} interface uses SysUtils, GX_UnitPositions; type TGxIdeGotoEnhancer = class public class function GetEnabled: Boolean; // static; class procedure SetEnabled(const Value: Boolean); //static; end; implementation uses {$IFOPT D+}GX_...
unit TTSACOLTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TTTSACOLRecord = record PCifFlag: String[1]; PLoanNum: String[20]; PActCollNum: Integer; PModCount: Integer; PDescription: String[60]; End; TTTSACOLBuffer = class(TDataBuf) ...
unit l3LogFont; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "L3" // Автор: Люлин А.В. // Модуль: "w:/common/components/rtl/Garant/L3/NOT_FINISHED_l3LogFont.pas" // Начат: 11.10.1999 14:27 // Родные Delphi интерфейсы (.pas) //...
unit QuickList_DealClass; interface uses QuickSortList, define_dealclass; type PDealClassListItem = ^TDealClassListItem; TDealClassListItem = record DBId : integer; DealClass : PRT_DefClass; end; TDealClassList = class(TALBaseQuickSortList) public func...
unit DAO.LacresDevolucao; interface uses FireDAC.Comp.Client, System.SysUtils, DAO.Conexao, Model.LacresDevolucao; type TLacresDevolucaoDAO = class private FConexao: TConexao; public constructor Create; function Inserir(ALacre: TLacresDevolucao): Boolean; function Alterar(ALacre: TLacresDevoluc...
unit Localizer; {$mode objfpc}{$H+} interface function LocalizeString(str:string):string; implementation uses windows; function LocalizeString(str: string): string; var locale:cardinal; const RUS_ID:cardinal=1049; begin result:=str; locale:=GetSystemDefaultLangID(); if str = 'err_caption' then begin ...
program ch3(input, output); { Chapter 3 Assignment Alberto Villalobos February 12, 2014 Description: A user enters parameters of an area to be mowerd and the program outputs the square footage to be mowed and the estimated time required. Input: lengh and width of house and lawn Output: Area to be mowed and t...
PROGRAM OOPPeople; CONST MAX_SKILLS = 10; TYPE Date = RECORD day, month, year : INTEGER; END; SkillArray = ARRAY [1..MAX_SKILLS] OF STRING; Person = ^PersonObj; PersonObj = OBJECT name : STRING; PRIVATE birthDate : Date; PUBLIC CONSTRUCTOR Init(n : STRING; bd : Date); PROCEDU...
{ ***************************************************************************** * * * This file is part of the iPhone Laz Extension * * * *...
unit m3DBProxyStream; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "m3" // Автор: Люлин А.В. // Модуль: "w:/common/components/rtl/Garant/m3/m3DBProxyStream.pas" // Начат: 17.03.2009 18:19 // Родные Delphi интерфейсы (.pas) // ...
unit DeleteConfigValueUnit; interface uses SysUtils, BaseExampleUnit, EnumsUnit; type TDeleteConfigValue = class(TBaseExample) public function Execute(Key: String): boolean; end; implementation function TDeleteConfigValue.Execute(Key: String): boolean; var ErrorString: String; begin Result := Ro...
unit TownHallSheet; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, VisualControls, ObjectInspectorInterfaces, PercentEdit, GradientBox, FramedButton, SheetHandlers, ExtCtrls, ComCtrls, InternationalizerComponent; const tidActualRuler = 'ActualRuler';...
unit unicode_external; interface function uni_fromUTF8(dest : PAnsiChar; const utf8: PAnsiChar; chars: Cardinal; utf_read: Cardinal; string_type: Cardinal; line_type: AnsiChar; written: Cardinal) : LongInt; cdecl; function uni_toUTF8(utf8: PAnsiChar; const src: PAnsiChar; chars: Cardinal; string_type: Cardinal; line_t...
unit uFormaPagto; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uBaseCadastro, Data.DB, Vcl.StdCtrls, Vcl.Buttons, Vcl.Grids, Vcl.DBGrids, Vcl.ExtCtrls, Vcl.ComCtrls, uDMformaPagto, uFormaPagtoController, V...
unit SDFrameDataViewer; interface uses Windows, Messages, Forms, BaseFrame, StdCtrls, Controls, ComCtrls, Classes, ExtCtrls, SysUtils, VirtualTrees, DealItemsTreeView, define_datasrc, define_StockDataApp, define_price, define_datetime, define_dealitem, define_stock_quotes, define_dealstore_file, BaseWinApp,...
unit GraphicExSavePictureDialog; interface uses SysUtils, Classes, Dialogs, ExtDlgs, graphics,controls,types, JPEG, buttons, extCtrls,pngImage; type TGraphicExSavePictureDialog = class(TSavePictureDialog) private { Private declarations } protected { Protected declarations } FGraphic: TGraphi...
unit CustomCreature; interface uses Entity, Bar; type TCustomCreature = class(TEntity) private FLife: TBar; FMana: TBar; FExp: TBar; FLevel: Byte; FSkillPoints: Byte; FStatPoints: Byte; procedure SetLife(const Value: TBar); procedure SetMana(const Value: TBar); ...
unit evdStyles; {$IfDef DesignTimeLibrary} {$WEAKPACKAGEUNIT ON} {$EndIf DesignTimeLibrary} //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "EVD" // Автор: Люлин А.В. // Модуль: "w:/common/components/rtl/Garant/EVD/evdStyles.pas...
(* * TASK #2 - Array Degree * * GUEST LANGUAGE: THIS IS THE Pascal VERSION OF ch-2.{c,pl}, * suitable for the Free Pascal compiler. *) uses sysutils; const maxints = 256; type intarray = array [0..maxints-1] of integer; var debug : boolean; type pair = record el : integer; (* an element *) freq : int...
{====================================================} { } { EldoS Visual Components } { } { Copyright (c) 1998-2003, EldoS Corporation } { ...
unit main; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, StdCtrls, clCertificateStore, clCertificate, clCryptAPI, exportfrm, importfrm, createfrm, DemoBaseFormUnit, ExtCtrls; type TForm1 = class(TclDemoBaseForm) Label1: TLabel; cbLocation...
unit tecmo_hw; interface uses {$IFDEF WINDOWS}windows,{$ENDIF} nz80,main_engine,controls_engine,gfx_engine,msm5205,ym_3812,rom_engine, pal_engine,sound_engine; function iniciar_tecmo:boolean; implementation const //Rygar rygar_rom:array[0..2] of tipo_roms=( (n:'5.5p';l:$8000;p:0;crc...
{******************************************************************************} { } { Library: Fundamentals 5.00 } { File name: flcTCPBuffer.pas ...
unit AppTips; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, RangeStrUtils; type TApplicationTips = class( TForm ) imHintIcon : TImage; llWelcome : TLabel; llAppName : TLa...
PROGRAM Prime(INPUT, OUTPUT); CONST MaxNumber = 100; VAR Number, Prime, Temp: INTEGER; Sieve: SET OF 2 .. 100; BEGIN {Prime} Number := 2; Prime := 2; Sieve := [2 .. MaxNumber]; WRITE('Primes in range to ', MaxNumber, ': '); WHILE Sieve <> [] DO BEGIN IF Prime IN Sieve THEN WRIT...
unit codewriter; {$mode delphi} interface uses Classes, SysUtils; type { TCodeWriter } TCodeWriter = class(TObject) private fnewline:Boolean; fText : AnsiString; fIdent : AnsiString; fIdDelta : AnsiString; newline : Boolean; fCurLine : AnsiString; fSection...
unit K565842263; {* [Requestlink:565842263] } // Модуль: "w:\common\components\rtl\Garant\Daily\K565842263.pas" // Стереотип: "TestCase" // Элемент модели: "K565842263" MUID: (542BF156004C) // Имя типа: "TK565842263" {$Include w:\common\components\rtl\Garant\Daily\TestDefine.inc.pas} interface {$If Defined(nsTest)...
{ *************************************************************************** } { } { This file is part of the XPde project } { }...
unit upaymo; {< This is the core of the FPC Paymo Widget. This unit contains the main class to interact with the Paymo API. @author(Leandro Diaz (http://lainz.github.io)) } {$mode objfpc}{$H+} interface uses Classes, SysUtils, fphttpclient, jsonConf, fpjson, jsonparser, Dialogs, DateUtils, LazUTF8, ude...
unit fmuDocDsEx; interface uses // VCL Classes, Controls, Grids, SysUtils, ExtCtrls, StdCtrls, // This untPages, untTypes, untDriver; type { TfmDocDsEx } TfmDocDsEx = class(TPage) Grid: TStringGrid; Label1: TLabel; Bevel1: TBevel; Label2: TLabel; procedure FormResize(Sender: TObject...
unit MainForm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, SocketComp, Spin; const BlackBoxPort = 2000; type TBlackBoxForm = class(TForm) lbBoxes: TListBox; btnStart: TButton; sePort: TSpinEdit; Label1: TLabel; spMaxLogs: TSpinEdit; ...
unit QRWebColorProperty; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Buttons, DesignEditors, DesignIntf, Vcl.ExtCtrls, QRColorBox; type TQRWebColorEditor = class(TStringProperty) public ...
{ Subroutine SST_W_C_SYMBOLS (GLOBAL_ONLY) * * Write the declaration for all symbols that need it in the current scope. * * As much as possible, the symbols will be written in the order of * constants, data types, common blocks, procedures, and variables. * * Only global symbols that are actually defined here...
unit define_stock_quotes; interface uses Define_Price, define_datetime; type { 日线数据 } PRT_Quote_Day = ^TRT_Quote_Day; TRT_Quote_Day = packed record // 56 DealDate : TDateStock; // 4 PriceRange : TRT_PricePack_Range; // 16 - 20 DealV...
unit UPascalCoinProtocol; interface uses URawBytes, UOperationBlock; type { TPascalCoinProtocol } TPascalCoinProtocol = Class public Class Function GetRewardForNewLine(line_index: Cardinal): UInt64; Class Function TargetToCompact(target: TRawBytes): Cardinal; Class Function TargetFromCompact(enco...
unit alcuService; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, SvcMgr, Dialogs, alcuAutoPipeServer; type TaluService = class(TService) procedure ServiceAfterInstall(Sender: TService); procedure ServiceAfterUninstall(Sender: TService); procedure ServiceContinue(Sender: TS...
{*********************************************************************************************************************** * * TERRA Game Engine * ========================================== * * Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com) * ***************************************************...
{ *************************************************************************** Copyright (c) 2016-2019 Kike Pérez Unit : Quick.MemoryCache.Compressor.GZip Description : Compress Cache data Author : Kike Pérez Version : 1.0 Created : 14/07/2019 Modified : 15/09/2019 This file is ...
{ Clever Internet Suite Copyright (C) 2013 Clever Components All Rights Reserved www.CleverComponents.com } unit clUdpClient; interface {$I clVer.inc} uses {$IFNDEF DELPHIXE2} Classes, SysUtils, WinSock,{$IFDEF DEMO} Forms, Windows,{$ENDIF} {$ELSE} System.Classes, System.SysUtils, Winapi.WinSock,{$IFDEF...
unit DW.Androidapi.JNI.App; {*******************************************************} { } { Kastri Free } { } { DelphiWorlds Cross-Platform Library ...
unit csRequestTypes; interface type TcsRequestStatus = (cs_rsNone, cs_rsQuery, { в очереди } cs_rsRun, { выполняется } cs_rsFrozen, { заморожено } cs_rsFrozenRun, { выполнение приостановлено } cs_rsDelivery...
unit Mat.ProjectGroupParser; interface uses System.Generics.Collections, System.Classes, System.SysUtils, System.IOUtils, Mat.ProjectParser; type // Class for ProjectGroup file parsing. TProjectGroupFile = class private FFullPath: string; FTitle: string; FVersion: str...
// -------------------------------------------------------------------------- // Archivo del Proyecto Ventas // Página del proyecto: http://sourceforge.net/projects/ventas // -------------------------------------------------------------------------- // Este archivo puede ser distribuido y/o modificado bajo lo terminos ...
// P2Ada test with FreePascal... { The Computer Language Shootout http://shootout.alioth.debian.org Calculate digits of pi using the Unbounded Spigot Algorithms contributed by Vincent Snijders gmp headers by Karl-Michael Schindler } program pidigits; {$linklib libgmp.so} {$mode objfpc} uses ...
program ejercicio5; const dimF = 6;// son 100 type vnum = array[1..dimF] of Integer; procedure cargarVector(var v:vnum; var dimL:Integer); var numero: Integer; begin write('Ingrese un numero: '); readln(numero); while (dimL < 100) and (numero <> 0) do begin dimL:= dimL + 1; v[dimL]:= numero; write('I...
unit ProdutoPedidoClass; interface uses SysUtils; Type TPedidoProduto = class private FID_Produto: integer; FID_PedidoProduto: integer; FValorUnitario: double; FID: integer; FValorTotal: double; FQuantidade: integer; FsID_Produto:...
unit RESTRequest4D.Request.Headers.Intf; interface uses REST.Types; type /// <summary> /// Interface to represent the headers that a request can have. /// </summary> IRequestHeaders = interface ['{619A1A04-A54E-4684-914B-D5AB1EA867A3}'] /// <summary> /// Removes all added headers. /// </s...
unit CheckListBoxWordsPack; // Модуль: "w:\common\components\rtl\Garant\ScriptEngine\CheckListBoxWordsPack.pas" // Стереотип: "ScriptKeywordsPack" // Элемент модели: "CheckListBoxWordsPack" MUID: (552D23C300F1) {$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc} interface {$If NOT Defined(NoScripts...
unit GX_GrepReplace; interface uses Classes, Controls, StdCtrls, Forms, GX_GrepExpert, GX_GrepBackend, GX_BaseForm; type TfmGrepReplace = class(TfmBaseForm) lblWith: TLabel; cbReplace: TComboBox; btnOK: TButton; btnCancel: TButton; btnHelp: TButton; lblIn: TLabel; lb...
{ Copyright (C) 2013-2019 Tim Sinaeve tim.sinaeve@gmail.com Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable...
unit UPicasaDemo; interface uses FMX.Forms, FMX.TMSCloudBase, FMX.TMSCloudPicasa, FMX.Controls, FMX.Dialogs, FMX.Grid, FMX.Layouts, FMX.TMSCloudListView, FMX.Objects, SysUtils, FMX.TMSCloudImage, FMX.StdCtrls, FMX.Edit, System.Classes, FMX.Types, UITypes, FMX.TMSCloudBaseFMX, FMX.TMSCloudCustomGoogle, FMX.TMS...