text
stringlengths
14
6.51M
unit steCache; (* +--------------------------+ | ┏━┓╺┳╸┏━╸ Simple | | ┗━┓ ┃ ┣╸ Template | | ┃ ┃ ┃ Engine | | ┗━┛ ╹ ┗━╸ for Free Pascal | + -------------------------+ *) {$mode objfpc}{$H+} interface uses Classes, SysUtils, syncobjs, steParser; // fast in-memory cache without lo...
unit badlands_hw; interface uses {$IFDEF WINDOWS}windows,{$ENDIF} m6502,m68000,main_engine,controls_engine,gfx_engine,rom_engine, pal_engine,sound_engine,ym_2151,atari_mo,file_engine; function iniciar_badlands:boolean; implementation const badlands_rom:array[0..3] of tipo_roms=( (n:'136074-...
unit Injector; interface type TInjector = class strict private type TInjection = packed record JMP: byte; Offset: integer; end; PWin9xDebugThunk = ^TWin9xDebugThunk; TWin9xDebugThunk = packed record PUSH: byte; Addr: pointer; JM...
unit nscStatusBarItemDef; // Модуль: "w:\common\components\gui\Garant\Nemesis\nscStatusBarItemDef.pas" // Стереотип: "SimpleClass" // Элемент модели: "TnscStatusBarItemDef" MUID: (4FEC3C34003F) {$Include w:\common\components\gui\Garant\Nemesis\nscDefine.inc} interface {$If Defined(Nemesis)} uses l3IntfUses , l3Ca...
//Exercicio 78: Modifique o problema anterior para permitir que o usuário possa em caso de erro ter três tentivas. // Na terceira tentativa o algoritmo deve terminar avisando ao usuário a razão da interrupção. { Solução em Portugol Algoritmo Exercicio 78; Var vet: vetor[1..10000] de real; maior: Real; N,i...
unit fmQuickMessage; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, System.RegularExpressions, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls, System.StrUtils, Winapi.ActiveX, ADC.Types, ADC.Common, ADC.GlobalVar, ADC.NetInfo, AD...
unit UGitIgnore; interface uses Classes; type // checks if a filename matches a pattern from the .gitignore file TGitIgnore = class(TStringList) public procedure Clean; function LoadIgnoreFile(const filename:string):Boolean; function MatchPattern(const filename:string):Boolean; e...
{!DOCTOPIC}{ Type » TByteArray } {!DOCREF} { @method: function TByteArray.Len(): Int32; @desc: Returns the length of the array. Same as 'Length(arr)' } function TByteArray.Len(): Int32; begin Result := Length(Self); end; {!DOCREF} { @method: function TByteArray.IsEmpty(): Boolean; @desc: Returns True i...
// Original Author: Piotr Likus // Replace Components log window unit GX_ReplaceCompLog; interface uses Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, ExtCtrls, StdCtrls, GX_ReplaceCompData, GX_BaseForm; type TfmReplaceCompLog = class(TfmBaseForm) pnlHeader: TPanel; lblDest: TLabel...
unit udmConfigSMTP; interface uses Windows, System.UITypes,Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, udmPadrao, DBAccess, IBC, DB, MemDS; type TdmConfigSMTP = class(TdmPadrao) qryManutencaoCODIGO: TStringField; qryManutencaoHOST: TStringField; qryManutencaoPORTA: TI...
unit VGSceneAndWinControlPack; // Модуль: "w:\common\components\rtl\Garant\ScriptEngine\VGSceneAndWinControlPack.pas" // Стереотип: "ScriptKeywordsPack" // Элемент модели: "VGSceneAndWinControlPack" MUID: (551D4A0E03DD) {$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc} interface {$If NOT Defined(...
unit DAO.CadastroGeral; interface uses FireDAC.Comp.Client, System.SysUtils, DAO.Conexao, Control.Sistema, Model.CadastroGeral; type TCadastroGeralDAO = class private FConexao: TConexao; public constructor Create; function GetId(): Integer; function Inserir(ACadastros: TCadastroGeral): Boolean;...
inherited dmProtEnt: TdmProtEnt OldCreateOrder = True inherited qryManutencao: TIBCQuery KeyFields = 'ID_PROT' KeyGenerator = 'GEN_PROTENT' GeneratorMode = gmInsert SQLInsert.Strings = ( 'INSERT INTO STWPROTENT' ' (ID_PROT, CGC, EMISSAO, STATUS, DT_BAIXA, OPERADOR, DT_ALTERAC' ...
{******************************************************************************* 作者: dmzn@163.com 2011-11-21 描述: 产品销售 *******************************************************************************} unit UFrameProductSale; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Control...
unit uCRUDFaturamento; interface uses FireDAC.Comp.Client, System.SysUtils; type TCRUDFaturamento = class(TObject) private FConexao : TFDConnection; FQuery : TFDQuery; FFat_Valor: Double; FFat_Ano: String; procedure SetFat_Ano(const Value: String); procedure SetFat_Valo...
unit MegaWarehouse; interface uses Warehouses, Kernel, Surfaces, WorkCenterBlock, BackupInterfaces, CacheAgent, Protocol; type TMetaMegaStorage = class(TMetaWarehouse) public constructor Create(anId : string; aCapacities : array of TFluidV...
unit Generator; {$MODE objfpc}{$J-}{$H+} interface function CreateText(): string; implementation function CreateText(): string; begin result := 'Hello World'; end; begin end.
program Seminar2 (input, output); { zweite Programmvariante für das Seminarproblem } const MAXTEILNEHMER = 12; TAGE = 31; MONATE = 12; MINJAHR = 1900; MAXJAHR = 2010; type tTag = 1..TAGE; tMonat = 1..MONATE; tJahr = MINJAHR..MAXJAHR; tNatZahlPlus = 1..maxint; tNatZahl =...
unit dcListBox; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, dbctrls, datacontroller,db; type TdcListBox = class(TListBox) private { Private declarations } fdcLink : TdcLink; FMaxLength: integer; fTranData: String; ...
unit K612077455; {* [Requestlink:612077455] } // Модуль: "w:\common\components\rtl\Garant\Daily\K612077455.pas" // Стереотип: "TestCase" // Элемент модели: "K612077455" MUID: (565457BD01C9) // Имя типа: "TK612077455" {$Include w:\common\components\rtl\Garant\Daily\TestDefine.inc.pas} interface {$If Defined(nsTest)...
// @davidberneda // 2017 unit TeePEG_Rules; {$DEFINE TRACE} { "Parsing Expression Grammars" (PEG) Implementation for: Mr. Bryan Ford baford@mit.edu http://bford.info/pub/lang/peg.pdf } interface uses Classes; type TRule=class; TStackItem=record Position : Integer; Rules : Array of TRule; en...
unit phys_units_lib; //вводим здесь единицы измерения, причем различаем базовые и производные, //масштабируемые (почти все) и с нулевой точкой (температуры), //а также нелинейные (децибелы разные и пр) //хотелось бы сохранить связь с ConvUtils, чтобы по-новой столько не вводить //разных единиц. //по сути, проводим св...
unit AnimationCtrl; interface uses Windows, Classes, Controls; type TAnimationControl = class( TWinControl ) public constructor Create( aOwner : TComponent ); override; destructor Destroy; override; pro...
unit uFormMessage; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uFormBasic, System.ImageList, Vcl.ImgList, cxImageList, cxGraphics, System.Actions, Vcl.ActnList, cxControls, cxLookAndFeels, cxLookAndFe...
{************************************} { } { ATImageBox Component } { Copyright (C) Alexey Torgashin } { http://www.uvviewsoft.com } { } {************************************} {$BOOLEVAL OFF} //Short boolean evaluation req...
unit RotaImg; {$mode objfpc}{$H+} interface uses ExtCtrls, Graphics; //rotar imagen en sentido antihorario 90 grados procedure RotateBitmap90(const bitmap: TBitmap); //rotar imagen en sentido horario 90 grados procedure RotateBitmap180(const bitmap: TBitmap); implementation uses IntfGraphics, LCLType; proce...
unit RDOUtils; interface uses Windows, RDOQueries, SocketComp; const UnknownPriority = MAXLONG; // String scanning utilities function KeyWordPos( KeyWord : string; Text : string ) : integer; procedure SkipSpaces( StringText : string; var ScanPos : integer ); function ReadIdent( StringText : s...
unit SearchOption_Intf; interface const GUID_ISearchOptionPart: TGUID = '{C2436293-51A4-4D4B-8104-E0C6B77AC78B}'; type ISearchOptionPart = interface ['{C2436293-51A4-4D4B-8104-E0C6B77AC78B}'] // Ctrl + Shift + G function GetValues(key: String): String; procedure SetValues(key, val: String); funct...
unit uMT2GlobalVar; interface uses Classes, uMT2Classes, Generics.Collections; const cnstSummaryFile = 'MT2SummaryList.txt'; cstCL_OpenStatus = '<IMG SRC="idx:0"><IND x="20">Open'; cstCL_ClosedStatus = '<IMG SRC="idx:1"><IND x="20">Closed'; clOrange = $000080FF; cstImageStorageURL = '\\FILESRVR1\Common\I...
unit DiscountForma; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, OkCancel_frame, StdCtrls, DBCtrlsEh, Mask, DBLookupEh, System.UITypes, DB, FIBDataSet, pFIBDataSet, ExtCtrls, DBCtrls, FIBQuery, DBGridEh, Vcl.Buttons, CnErrorProvider, pFIBQuery, FIBDatabas...
unit Constants; interface uses Classes, IdGlobal, SysUtils; type MsgType = ( MsgTypeInvalid = 0, //Недопустимый тип пакета MsgTypePing = 1, MsgTypePong, MsgTypeConfirm, MsgTypeHello, //Запрос соединения MsgTypeError, //Ошибка MsgTypeBadSession, //Неактивная сессия MsgTypeAcc...
{*******************************************************} { Проект: Repository } { Модуль: uDatabaseWatchService.pas } { Описание: Базовая реализация IDatabaseWatchService } { Copyright (C) 2015 Боборыкин В.В. (bpost@yandex.ru) } { ...
program Ch1; {$mode objfpc} uses SysUtils,Math,GVector; type TVec = specialize TVector<Integer>; var I:Integer; Vec:TVec; function DivisorsSum(N:Integer):Integer; var I:Integer; begin Result := 0; I := 1; while(I < (N div 2+1)) do begin if(N mod I = 0) then Result := Result + I; ...
//**************************************************************** // // Inventory Control // // Copyright (c) 2002-2015 Failproof Manufacturing Systems. // //**************************************************************** // // Change History // // 06/25/2015 David Verespey Create Form // u...
unit ce_shortcutseditor; {$I ce_defines.inc} interface uses Classes, SysUtils, FileUtil, TreeFilterEdit, Forms, Controls, Menus, Graphics, ExtCtrls, LCLProc, ComCtrls, StdCtrls, Buttons, LCLType, ce_observer, ce_interfaces, ce_common, ce_writableComponent; type TShortcutItem = class(TCollectionItem) priv...
unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls; type { TForm1 } TForm1 = class(TForm) Button1: TButton; Button2: TButton; Edit1: TEdit; Edit2: TEdit; Label1: TLabel; Label2: TLabel; Label3: TLabel; Label4: TLabel...
unit BitStream_lib; interface uses classes; type TBitStream=class(TStream) private fStream: TStream; fBitBuffer: Integer; fcapacity: Integer; public constructor Create(stream: Tstream); function Read(var Buffer; Count: Longint): Longint; override; function Write(const Buffer; Count: Long...
unit sieve1899; //---------------------- COMMON INTERFACE -------------------------------------- {$i '../inc/header.inc'} //---------------------- IMPLEMENTATION ---------------------------------------- procedure benchmark; var count : word absolute $e0; i : word absolute $e2; k : word abs...
{ fpvectorial.pas Vector graphics document License: The same modified LGPL as the Free Pascal RTL See the file COPYING.modifiedLGPL for more details AUTHORS: Felipe Monteiro de Carvalho Pedro Sol Pegorini L de Lima } unit fpvectorial; {$ifdef fpc} {$mode delphi} {$endif} interface uses Class...
unit IngDatos; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Provider, DB, DBClient, ActnMan, wwrcdpnl, TypInfo, JvComponent, JvEnterTab; type TFIngDat = class(TForm) DCds: TDataSource; Cds: TClientDataSet; DspIng: TDataSetProvider; JvEnter...
unit Swift_UViewer; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, VirtualTrees, SWIFT_UMsgFormat, SWIFT_UUtils; const cSequenceTags: array [0..10] of string = ( '15A', '15B', '15C', '15D', '15E', '15F', '15G', '15H', '15I', '16R', '16...
unit JukeBox; interface uses VoyagerInterfaces, Classes, Controls; type IPlayList = interface function SelectedFile : string; procedure SelectNextFile; procedure Reset; procedure JumpToFile( index : integer ); procedure AddFile ( filename : string ); ...
unit Events; interface uses VoyagerInterfaces; const evnNothing = 0; evnCriticalError = 1; evnTaskStart = 2; evnTaskProgress = 3; evnTaskEnd = 4; evnStop = 5; evnPause = 6; evnResume = 7; evnH...
unit CriminalViewer; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, FramedButton, GradientBox, StdCtrls, ExtCtrls, PercentEdit, MarqueeCtrl, VoyagerInterfaces, VoyagerServerInterfaces, ColoredGauge, CrimeMainViewer, InternationalizerComponent; const SkillSlots = 12...
{ Subroutine SST_FLAG_USED_SYMBOL (SYM) * * Flag the indicated symbol as used. Also, follow all symbols it eventually * references and flag them all as used. SYM is the symbol descriptor of the * top level symbol to follow. } module sst_FLAG_USED_SYMBOL; define sst_flag_used_symbol; %include 'sst2.ins.pas'; ...
unit Unit1; 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.StdCtrls, FMX.ScrollBox, FMX.Memo, FMX.Edit, FMX.Layouts, FMX.ListBox; type TForm1 = class(TFo...
{ Clever Internet Suite Copyright (C) 2013 Clever Components All Rights Reserved www.CleverComponents.com } unit clDnsQuery; interface {$I clVer.inc} uses {$IFNDEF DELPHIXE2} Classes, {$ELSE} System.Classes, {$ENDIF} clDnsMessage, clUdpClient, clSocketUtils, clIpAddress; type TclHostInfo = class ...
unit View.ImportacaoAssinaturas; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, System.Actions, Vcl.ActnList, Vcl.ExtCtrls, Vcl.Buttons, System.ImageList, Vcl.ImgList, Vcl.ComCtrls, Vcl.WinXPicke...
unit Control.Modulos; interface uses System.SysUtils, FireDAC.Comp.Client, Forms, Windows, Common.ENum, Control.Sistema, Model.Modulos; type TModulosControl = class private FModulos : TModulos; public constructor Create(); destructor Destroy(); override; property Modulos: TModulos read FModulos...
program Power (Input, Output); {Program to compute power using recursion} var Number : Integer; {**********************************************************************} function Power (X : real; N : Integer) : Real; { Function computes X^N using recursive calls to itself } var temp : r...
unit uServer; interface uses idHTTP; type TServer = class(TObject) private FURL: string; FS: TidHTTP; public function Get(AURL: string): string; constructor Create; destructor Destroy; override; end; function IsInternetConnected: Boolean; //var // Server: TServer; ...
unit GX_MacroLibrary; {$I GX_CondDefine.inc} interface uses Windows, SysUtils, Classes, GX_Experts, GX_ConfigurationInfo, GX_KbdShortCutBroker, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Menus, OmniXML, ComCtrls, GX_IdeDock, ActnList, ImgList, ToolWin, ToolsAPI; type TMacroInfo = class(...
unit nscFormsPageControl; // Библиотека : "Визуальные компоненты проекта Немезис" // Автор : Р. Лукьянец. // Начат : 06.12.2006 г. // Назначение : Компонент с вкладками-формами // Версия : $Id: nscFormsPageControl.pas,v 1.3 2012/03/15 10:55:12 lulin Exp $ // $Log: nscFormsPageControl.pas,v $ // Revision...
unit TelnetForma; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, SynEditHighlighter, StdCtrls, OverbyteIcsWndControl, OverbyteIcsTnCnx, ExtCtrls, Mask, DBCtrlsEh, ActnList, System.Actions, PropFilerEh, PropStorageEh; type TTelnetForm = class(TForm) pnl...
unit HelpCnst; { $Id: HelpCnst.pas,v 1.3 2005/07/01 10:27:07 voba Exp $ } interface const hcSetAbolished = 321; { Снять с контроля } hcDocSample = 140; { Выборки документов } hcStyleDesigner = 78; { Дизайнер стилей } hcAddDoc = 353; { Добавить } hcSearchAttr = 138; { Запрос на поис...
{ $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...
{====================================================} { } { EldoS Visual Components } { } { Copyright (c) 1998-2003, EldoS Corporation } { ...
unit doubledragon_hw; interface uses {$IFDEF WINDOWS}windows,{$ENDIF} hd6309,m680x,m6809,nz80,ym_2151,msm5205,main_engine,controls_engine, gfx_engine,oki6295,rom_engine,pal_engine,sound_engine; function iniciar_ddragon:boolean; implementation const //Double Dragon ddragon_rom:array[0..3] of...
Unit PointList; {=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=] Copyright (c) 2013, Jarl K. <Slacky> Holta || http://github.com/WarPie All rights reserved. For more info see: Copyright.txt [=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=} (* Sim...
unit Main; interface uses Windows, MMSystem, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, IniFiles, Misc, SensorFrame, DdhAppX, Menus, SyncObjs, ConvTP, ExtCtrls, NMUDP, DataTypes, StdCtrls; type TMainThread = class; TFormMain = class(TForm) AppExt: TDdhAppExt; PopupMenu: TPopu...
unit http_intf; interface uses System.JSON; type IHttpResponse = interface ['{0D13866C-0872-4F1D-BAEF-3C552828F92A}'] function statusCode: integer; overload; function statusCode(const AValue: integer): IHttpResponse; overload; function body: TJsonObject; overload; function body...
{ *************************************************************************** } { } { } { Copyright (C) Amarildo Lacerda } { } { https://github.com/amarildolacerda } { } { } { *************************************************************************** } { } { Licensed under the Apache License, Version 2.0 (the "License...
{ id:rz019291 PROG:rockers LANG:PASCAL } { USER: r z [rz109291] TASK: rockers LANG: PASCAL Compiling... Compile: OK Executing... Test 1: TEST OK [0.000 secs, 392 KB] Test 2: TEST OK [0.000 secs, 392 KB] Test 3: TEST OK [0.000 secs, 392 KB] Test 4: TEST OK [0.000 secs, 392 KB] Test 5: TEST OK [0.000 sec...
{ Inno Setup Preprocessor Copyright (C) 2001-2002 Alex Yackimoff $Id: IsppPreprocess.pas,v 1.3 2010/12/30 15:26:34 mlaan Exp $ } unit IsppPreprocess; interface uses CompPreprocInt; function ISPreprocessScript(var Params: TPreprocessScriptParams): Integer; stdcall; implementation uses SysUtils, CmnFunc2,...
unit QCCBlock; {$I CSXGuard.inc} interface procedure SVC_SendCvarValue; cdecl; procedure SVC_SendCvarValue2; cdecl; implementation uses CvarDef, MsgAPI, SysUtils, Common; procedure QCC_Print(const CVar, Status: String; const IsQCC2: Boolean = False); begin if IsQCC2 then Print('QCC2 "', [PRINT_PREFIX]) else Pri...
{$REGION 'Copyright (C) CMC Development Team'} { ************************************************************************** Copyright (C) 2015 CMC Development Team CMC 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 ...
unit Unit10; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls; type TForm10 = class(TForm) Image1: TImage; LabeledEdit1: TLabeledEdit; Button1: TButton; procedure Bu...
unit ZombieAction; interface type {$SCOPEDENUMS ON} TZombieAction = (Stance = 0, Lurch, Slam, Bite, Block, Hitndie, Criticaldeath); {$SCOPEDENUMS OFF} const ZombieAnimationAction : array[0..6] of string = ( 'stance', 'lurch', 'slam', 'bite', 'block', 'hitndie', 'criticaldeath' ) ; ZombieAnimationSelec...
{******************************************************************************} { } { Library: Fundamentals TLS } { File name: flcTLSHandshake.pas ...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
{ Double Commander ------------------------------------------------------------------------- Simple TAR archive writer Copyright (C) 2011-2018 Alexander Koblov (alexx2000@mail.ru) This unit is based on libtar.pp from the Free Component Library (FCL) This program is free software; you can redistribu...
unit ToolEditors; interface //constructor Create(AComponent: TComponent; ADesigner: TFormDesigner); //procedure Edit; //procedure ExecuteVerb(Index: Integer); //function GetVerb(Index: Integer): string; //function GetVerbCount: Integer; //procedure Copy; uses DsgnIntf; (* type TSpeedbarEditor = cla...
unit fmWorkstationInfo; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, ActiveDs_TLB, Winapi.ActiveX, ADC.GlobalVar, ADC.Types, ADC.ADObject, ADC.ComputerEdit, ADC.AD, ADC.LDAP; t...
unit configuration; interface uses register, defines, utils, sysutils, inifiles; procedure LoadConfiguration; procedure CreateConfigFile; procedure SaveConfiguration; implementation procedure LoadConfiguration; var IniFile : TIniFile; Str : ShortString; begin if not FileExists(GetSystemVariable('game...
unit DynArrB; { Exports the TBigByteArray and TByteArray2D types. The TBigByteArray type is a dynamic array type, with Bytes as elements. Indexing the elements is done exactly like a normal array; the differences with a 'normal' array type are: - one MUST call the constructor to create the array - the size (no. ...
unit nsSaveDialogExecutor; // Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\Common\nsSaveDialogExecutor.pas" // Стереотип: "Service" // Элемент модели: "TnsSaveDialogExecutor" MUID: (573A0A7E0387) {$Include w:\garant6x\implementation\Garant\nsDefine.inc} interface {$If NOT Defined(Admin) AND NOT Defined(Mon...
unit alcuPusa; { Панель управления Сервером Архивариуса } interface uses Classes, SysUtils, l3Base, l3ObjectRefList, csClientCommandsManager, alcuTypes, csClient, csNotification, CsDataPipe, ddServerTask, csProcessTask, jclSvcCtrl; type TalcuPusa = class(Tl3Base) private f_Client: TCsClient; f_CommandsMa...
unit LowStuff; interface uses windows, DirectSound; type TReadCallback = procedure(Data : pointer; Size : DWORD; UserData : pointer); stdcall; function InitSoundEngine(Wnd : HWND) : BOOL; cdecl; procedure DoneSoundEngine; cdecl; function CreateSound(var Buffer : IDirectSoundBuffer; ...
unit Unit12; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, StdCtrls, FileCtrl, FlCtrlEx, ImgList,ShellAPI; type TForm12 = class(TForm) Button1: TButton; TreeView1: TTreeView; DriveComboBox1: TDriveComboBox; ImageList1: TImageList; ...
{ Subroutine SST_SYM_VAR (SYM, VAR_P) * * Create a new variable descriptor that references the simple variable SYM. * SYM must be the symbol of a simple variable. } module sst_sym_var; define sst_sym_var; %include 'sst2.ins.pas'; procedure sst_sym_var ( {make variable descriptor from simple var sy...
unit CursorTest; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls; const cr5 = 5; cr6 = 6; cr7 = 7; cr8 = 8; cr9 = 9; cr10 = 10; type TLoadCursorTestForm = class(TForm) pnlCanvas: TPaintBox; procedure pnlCanvasPaint(Sender: TObject...
Program example(input, output); Var x, y : integer; Function gcd( a, b : integer) : integer; Begin If b = 0 Then gcd = a Else gcd := gcd(b, a Mod b) End; Begin read(x, y); write(gcd(x, y)) End.
program tp_algo_croix; // g: dessine une croix avec un caractère et une taille donnee // i: un caractere à afficher et un nombre pour la taille // o: une croix avec le caractere et la taille entree // ---------------------------------------------------------------- // Algorithme : //PROGRAMME Algo_Croix // g : dess...
unit uCadastro; interface uses SysUtils, Classes; type TCadastro = record StatusConsulta: Smallint; Motivo: string[60]; Nome: string[60]; CNPJ: string[20]; IE: string[20]; Logradouro: string[60]; Numero: string[20]; Complemento: string[60]; Bairro: string[60]; CodMunicipio: ...
unit DW.Androidapi.JNI.KeyguardManager; {*******************************************************} { } { Kastri Free } { } { DelphiWorlds Cross-Platform Li...
unit Unit1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls; type TForm1 = class(TForm) Timer1: TTimer; BtnStart: TButton; BtnStop: TButton; procedure BtnStartClick(Sender: TObject); procedure Timer1Timer(Sender: TO...
{ Code from TC Plugins Manager project: http://www.totalcmd.net/plugring/tc_plugman.html } {$I-} unit ATxUnpack; interface function FExecProcess(const cmd: string; ShowCmd: integer; DoWait: boolean): boolean; function FUnpack(const fn, sdir: string): boolean; var OptUnpack: record RarPath: string; RunMin...
{ Unit EggerSprite implements all sprite classes @Author Alexey Yarochkin @Version 07.12.2010 v0.2 @History 27.01.2005 v0.1 } unit EggerSprite; interface uses SDL, SDLSprites, EggerData; type TActiveSprite = class; /// Map cell record TCellInfo = record /// Sprites in front ...
unit afwSettings; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "AFW" // Модуль: "w:/common/components/gui/Garant/AFW/afwSettings.pas" // Родные Delphi интерфейсы (.pas) // Generated from UML model, root element: <<SimpleClass:...
unit LoggedUserData; interface procedure SetUserData(data : pointer); procedure LogSystem; function GetUserData : pointer; function CheckAuthenticity(data : pointer) : boolean; implementation uses Windows, Classes, Messages, RDOInterfaces, SmartThreads; const SYSTEM_SIM : pointer = pointer($F...
unit IRCViewIntf; {$mode objfpc}{$H+} interface type IIRCView = interface procedure UpdateTabCaption(Tab: TObject; ACaption: string); procedure UpdateNodeText(Node: TObject; AText: string); procedure ServerMessage(const AText: string); procedure NotifyChanged; function GetTab(const ACaption: s...
unit PE.Imports; interface uses System.Generics.Collections, System.SysUtils, PE.Common, PE.Imports.Func, PE.Imports.Lib; type TPEImportLibraryObjectList = TObjectList<TPEImportLibrary>; TPEImport = class private FLibs: TPEImportLibraryObjectList; public constructor Cre...
program countdown; var sec : integer; begin writeln('Countdown has begun ...'); sec := 10; repeat write(sec, ' '); sec := sec - 1 until sec = 0; writeln('Zero') end.
unit m3LiveSearcherResult; { Библиотека "M3" } { Автор: Люлин А.В. © } { Модуль: m3LiveSearcherResult - } { Начат: 19.02.2003 14:07 } { $Id: m3LiveSearcherResult.pas,v 1.3 2009/03/19 16:28:30 lulin Exp $ } // $Log: m3LiveSearcherResult.pas,v $ // Revision 1.3 2009/03/19 16:28:30 lulin // [$139443095]. /...
unit nevControl; // Модуль: "w:\common\components\gui\Garant\Everest\nevControl.pas" // Стереотип: "GuiControl" // Элемент модели: "TnevControl" MUID: (48E0E5C1032A) {$Include w:\common\components\gui\Garant\Everest\evDefine.inc} interface uses l3IntfUses , afwControl , nevBase , nevTools , evdStyles , l3Unit...
unit tmvInterfaces; interface uses SysUtils, Classes, l3Interfaces ; type TtmvRecordKind = ( rkNewRareWord, rkHumanMistake, rkScanerMistake, rkUnknownMistake, rkWrongText, rkNewRegularWord, rkVariant, rkAbbreviation ); type ItmvRecord = interface(IUnknown) ['{A019B551-9D8A-4800-9E7E-C9DED3...
unit ADC.ImgProcessor; interface uses System.Classes, System.Types, Winapi.Windows, Vcl.Graphics, Vcl.Imaging.jpeg, Vcl.Controls, System.SysUtils, System.Variants, Winapi.UxTheme, Winapi.ActiveX, Vcl.Imaging.pngimage, System.RegularExpressions, System.StrUtils, ADC.Types; type TImgProcessor = class(TObject) ...
unit uAppContext; {$mode objfpc}{$H+} interface uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Classes, SysUtils, uMainDataModule, CustApp, uConsoleOutput, uIndexPath, uIndexMenu; type { TUpdateDb } TUpdateDb = class(TCustomApplication) private FAvfs: string; FDebug: boole...
{======================================================================================================================= RkDBAddress_Frame Unit RK Components - Component Source Unit Components Description --------------------------------------------------------------------------------------...
unit gng_hw; interface uses {$IFDEF WINDOWS}windows,{$ENDIF} m6809,nz80,ym_2203,main_engine,controls_engine,gfx_engine,rom_engine, pal_engine,sound_engine,timer_engine,qsnapshot; function iniciar_gng:boolean; implementation const gng_rom:array[0..2] of tipo_roms=( (n:'gg3.bin';l:$8000;p:$80...