text
stringlengths
14
6.51M
unit BasicEvents; interface uses Events, Classes, BackupInterfaces, Languages; const evnKind_FacEvent = 1; type TFacEvent = class( TEvent ) public constructor Create( aDateTick : integer; aDate : TDateTime; aTTL, aPriority : integer; ...
{ 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...
Program penghitung_durasi; Uses crt; Type jam = Record hh : Integer; mm : Integer; ss : Integer; End; Var j1 : jam; j2 : jam; j3 : jam; tot_det1 : Longint; tot_det2 : Longint; selisih : Integer; sisa : Integer; Begin Writeln('masukkan jam1'); Readln(j1.hh); Writeln('masukkan m...
unit CtxMenu; interface uses Windows, Messages, Registry, SysUtils, Classes, ComObj, ComServ, ShlObj, ActiveX, ShellApi, ElTools, DizIni, ElStrUtils, ElIni; const CtxMenuGUID : TGuid = '{38CD8D36-B1CA-11D2-A86E-0060080F094D}'; CtxMenuGUIDStr = '{38CD8D36-B1CA-11D2-A86E-0060080F094D}'; type TCtxMenu = cl...
unit GameControl; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, GameTypes, LanderTypes; type TOnRegionChange = procedure (Sender : TObject; const Origin, Size : TPoint) of object; const WM_UPDATEORIGIN = WM_USER + 1024; type TCustomGa...
{ $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 ArquivoStream; interface uses System.Classes, System.SysUtils; type TArquivoStream = class private public procedure LoadData(FileName: TFileName); function ReadStreamInt(Stream: TStream): integer; function ReadStreamStr(Stream: TStream): string; procedure SaveData(FileNam...
unit LogInterface; interface uses Windows, Classes, Forms, Log4D; procedure Log4DReconfig(Force: Boolean = False); overload; procedure Log4DReconfig(Props: TStringList); overload; { Имя конфигурационного файла } function Log4DConfigFileName: String; implementation uses SysUtils; const CRLF = #13#10; defCo...
unit FTranslate; interface uses SysUtils, Classes, Controls, Forms, StdCtrls, ComCtrls, ToolsAPI, TypInfo, ImgList, ExtCtrls, UProperties; type TfrmNLDTTranslate = class(TForm) sbStatus: TStatusBar; tvComponents: TTreeView; ilsTree: TImage...
{ Handle the SYN CHAR syntax. } module sst_r_syn_char; define sst_r_syn_char_get; %include 'sst_r_syn.ins.pas'; { ******************************************************************************** * * Function SST_R_SYN_CHAR_GET (CCODE) * * Processes the CHAR syntax and returns the resulting character code. The * ...
unit uMainForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.TitleBarCtrls, System.ImageList, Vcl.ImgList, Vcl.VirtualImageList, Vcl.BaseImageCollection, Vcl.ImageCollection, Vcl.ComCtrls, Vcl.ToolWi...
{*********************************************************} {* STNVLIST.PAS 3.01 *} {* Copyright (c) TurboPower Software Co., 1996-2000 *} {* All rights reserved. *} {*********************************************************} {$I STDEFINE.INC} ...
unit Option; interface uses StdCtrls, Forms, MPlayer, Classes; type TOption = class procedure LoadConfig(var Form: TForm); procedure SaveConfig(const Form: TForm); procedure DoPlay(var MediaPlayer: TMediaPlayer; var ListBox: TListBox; var myLabel: TLabel; const index: Integer); function KillProcess...
{$S-,R-,V-,I-,B-,F-} {$IFNDEF Ver40} {$S-,O-,A-} {$ENDIF} {$I TPDEFINE.INC} {!!.21} {*********************************************************} {* TPCMD.PAS 5.21 *} {* Copyright (c) TurboPower Software 1987, 1992. *} {* Portions Copyright (c) Sunny Hill Softw...
unit uObsevacaoController; interface uses System.SysUtils, uDMObservacao, uRegras, uEnumerador, uDM, Data.DB, Vcl.Forms, uFuncoesSIDomper, Data.DBXJSON, Data.DBXJSONReflect, uConverter, uGenericProperty; type TObservacaoController = class private FModel: TDMObservacao; FOperacao: TOperacao; proce...
unit SctCalc; { ---------------------------------------------------------------- Ace Reporter Copyright 1995-2004 SCT Associates, Inc. Written by Kevin Maher, Steve Tyrakowski ---------------------------------------------------------------- } interface {$I ace.inc} uses classes; type { TSct...
{ Date Created: 5/24/00 2:53:17 PM } unit InfoCECODESTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TInfoCECODESRecord = record PCode: String[8]; PName: String[30]; PAddress1: String[30]; PAddress2: String[30]; PAddress3: String[30]; P...
unit Thread.ImportarPedidosDIRECT; interface uses System.Classes, Control.Entregas, System.SysUtils, System.DateUtils, Control.VerbasExpressas, Control.Bases, Control.EntregadoresExpressas, Generics.Collections, System.StrUtils, Control.ControleAWB, Control.PlanilhaEntradaDIRECT, FireDAC.Comp.Client; type TT...
unit Fornecedores; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, StdCtrls, DBCtrls, Mask, Grids, DBGrids, Buttons, ExtCtrls; type TformFornecedores = class(TForm) pgFornecedor: TPageControl; tabFornecedor: TTabSheet; fldCodigoForneced...
unit ThreadTimer; interface uses Windows, Threads; const cDefaultInterval = 1000; cDefaultLeadTime = 100; type TNotifyProc = procedure of object; type TThreadTimer = class public constructor Create; destructor Destroy; override; private fInterval : cardinal; ...
unit plLogin; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.DBCtrls, Vcl.StdCtrls, Vcl.ComCtrls, Vcl.ToolWin, Vcl.ExtCtrls, System.ImageList, Vcl.ImgList, Data.FMTBcd, Data.DB, Data.SqlExpr, FireDAC.Com...
{ $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...
(* example.c -- usage example of the zlib compression library * Copyright(C) 1995 - 2003 Jean - loup Gailly. * For conditions of distribution and use, see copyright notice in zlib.h * * Pascal translation * Copyright(C) 1998 by Jacques Nomssi Nzali. * For conditions of distribution and use, see copyright notice i...
unit Unit1; interface uses Winapi.Windows, System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls, Vcl.Samples.Spin, Data.Win.ADODB; type TForm1 = class(TForm) lvContacts: TListView; Panel1: TPanel; btnLoad: TButton; seCount: TSpinEdit...
program HelloTeapot; {$mode objfpc}{$H+} { VideoCore IV example - Hello Teapot } { } { Using OpenGL ES and MMAL to show what the Raspberry Pi can do, if you haven't} { seen it before you should be imp...
unit uGlobalParameters; interface type TGlobalParameters = class public // Information about logged user class var IdUser: string; class var UserName: string; class var UserSurname: string; class var UserUsername: string; class var NumberOfAuthorization: Integer; class var IdWorkstatio...
unit daFieldDescription; // Модуль: "w:\common\components\rtl\Garant\DA\daFieldDescription.pas" // Стереотип: "SimpleClass" // Элемент модели: "TdaFieldDescription" MUID: (5538D0A902AF) {$Include w:\common\components\rtl\Garant\DA\daDefine.inc} interface uses l3IntfUses , l3ProtoObject , daInterfaces , daTypes ...
unit uRotateBitmap; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Graphics, Buttons, LCLType, IntfGraphics, Types; type TRotateDirection = (rdNormal, rdRight, rdLeft); { TCustomRotatedBitmap } TCustomRotatedBitmap = class private FActiveBitmap: TBitmap; FDirection: TRotateDirection; ...
unit hw_1942; interface uses {$IFDEF WINDOWS}windows,{$ENDIF} nz80,main_engine,controls_engine,gfx_engine,ay_8910,rom_engine,pal_engine, sound_engine,qsnapshot; function iniciar_hw1942:boolean; implementation const hw1942_rom:array[0..4] of tipo_roms=( (n:'srb-03.m3';l:$4000;p:0;crc:$d9dafc...
unit BaiduMapAPI.Search.CommTypes; //author:Xubzhlin //Email:371889755@qq.com //百度地图API 检索 公共单元 //TSearchResult 检索结果 interface uses {$IFDEF Android} Androidapi.JNI.baidu.mapapi.search, {$ENDIF} {$IFDEF iOS} iOSapi.BaiduMapAPI_Base, {$ENDIF} FMX.Maps; type TSearchResult_ErrorNo = ( NO_ERROR=0, ...
unit ColorTableMgr; // Color Translation Tables Manager. Copyright (c) 1998 Jorge Romero Gomez, Merchise. interface uses Windows, SysUtils, Gdi, ColorTrans, MemUtils, ListUtils; // TPaletteInfo type TTransTableStates = ( tsMixMatrixValid, tsHiColor555TableValid, tsHiColor565TableValid, tsHiColorU...
unit RouteActionsUnit; interface uses SysUtils, BaseActionUnit, DataObjectUnit, RouteParametersUnit, AddressUnit, AddressesOrderInfoUnit, RouteParametersQueryUnit, AddOrderToRouteRequestUnit, CommonTypesUnit, NullableBasicTypesUnit, EnumsUnit; type TRouteActions = class(TBaseAction) private function ...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
// Wave files low level structure. Copyright Merchise Group [PastelCAD] unit WaveLow; interface uses Classes; type TWavFormat = packed record fID : longint; // fmt fLen : longint; // Data length fmtTag : word; // 1 = PCM ... nCha...
unit htTableQueryFactory; // Модуль: "w:\common\components\rtl\Garant\HT\htTableQueryFactory.pas" // Стереотип: "SimpleClass" // Элемент модели: "ThtTableQueryFactory" MUID: (554C7FE80228) {$Include w:\common\components\rtl\Garant\HT\htDefineDA.inc} interface uses l3IntfUses , l3ProtoObject , daInterfaces , htI...
unit SettingsPersistence; interface function GetAppDataFldPath(SubFolder: string = ''): string; function ReadSetting(Section, Name: string; Default: variant): variant; procedure WriteSetting(Section, Name: string; Value: variant); procedure DeleteSetting(Section, Name: string); // function IncludeTrailingSl...
{ Clever Internet Suite Copyright (C) 2013 Clever Components All Rights Reserved www.CleverComponents.com } unit clSspiAuth; interface {$I clVer.inc} uses {$IFNDEF DELPHIXE2} Classes, Windows, SysUtils, {$ELSE} System.Classes, Winapi.Windows, System.SysUtils, {$ENDIF} clSspi, clWUtils{$IFDEF LOGGER}, c...
// -------------------------------------------------------------------------- // 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 uTitulosControl; interface uses uTitulosDAO, Data.DB, Utils, uTitulos, System.SysUtils, System.Variants; type TTitulosControl = class private tituloDAO: TitulosDAO; funcoes: TUtils; public constructor create; destructor destroy; override; procedure setNovoTitulo(editar: ...
{$MODE OBJFPC} Const ginp='diophante.inp'; gout='diophante.out'; Var a,b,c,x,k:int64; Function Diophante(a,b,c:int64; var x,k:int64):boolean; Var m,n,r,xm,xn,xr,q:int64; Begin m:=a; n:=b; xm:=1; xn:=0; while n<>0 do begin q:=m div n; r...
//Exercicio 22:Escreva um algoritmo que receba o nome e a idade de uma pessoa. Exibir o nome da pessoa e a expressão //"Maior de Idade" ou a expressão "Menor de Idade". { Solução em Portugol Algoritmo Exercicio 22; Var idade: inteiro; nome: caracter; Inicio exiba("Programa que diz se você é maior ou menor...
unit MFichas.Controller.Venda.Metodos.DevolverItem; interface uses MFichas.Controller.Venda.Interfaces, MFichas.Model.Venda.Interfaces, MFichas.Model.Item; type TControllerVendaMetodosDevolverItem = class(TInterfacedObject, iControllerVendaMetodosDevolverItem) private [weak] FParent : iControll...
var x:real; const q=0.00001; begin x:=0.999999; while x>=-0.999999 do begin x:=x-0.000001; if abs(cos(x)-4*x)>q then continue else writeln('X = ',x) end; end.
unit Unit1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, UCountryFlag; type TForm1 = class(TForm) Label1: TLabel; Timer1: TTimer; Label2: TLabel; GroupBox1: TGroupBox; Image1: TImage; GroupBox2: TGroupBox; ...
unit Map; {$mode objfpc}{$H+} interface uses ComCtrls,SysUtils,Dialogs,Classes; type TConnectionData = packed record MapNumber: Byte; MapDataPointer: Word; MapLocationRamPointer: Word; WidthHeightVisiblePart: Byte; YChangePoint: Byte; XChangePoint: Byte; Unknown: Byte; UnknownPoi...
unit IdHeaderCoder2022JP; interface {$i IdCompilerDefines.inc} {RLebeau: TODO - move this logic into a TIdTextEncoding descendant class} uses IdGlobal, IdHeaderCoderBase; type TIdHeaderCoder2022JP = class(TIdHeaderCoder) public class function Decode(const ACharSet: string; const AData: TIdB...
unit AttributeExplorerWordsPack; // Модуль: "w:\archi\source\projects\Archi\Archi_Insider_Test_Support\AttributeExplorerWordsPack.pas" // Стереотип: "ScriptKeywordsPack" // Элемент модели: "AttributeExplorerWordsPack" MUID: (553109700297) {$Include w:\archi\source\projects\Archi\arDefine.inc} interface {$If Defined...
unit Model.Venda; interface uses Model.Interfaces, Controller.Observer.Interfaces; type TModelVenda = class(TInterfacedObject, iModelVenda) private FItem : iModelItem; FObserverItem : iSubjectItem; public constructor Create; destructor Destroy; override; class function New :...
unit uBackup; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls, uUtilitarioController; type TfrmBackup = class(TForm) pnlRodape: TPanel; btnOk: TBitBtn; btnCa...
unit CliRefForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DB, DBClient, Grids, DBGrids, MConnect; type TForm1 = class(TForm) cds: TClientDataSet; DCOMConnection1: TDCOMConnection; DataSource1: TDataSource; DBGrid1: TDBGrid; ...
unit fcmsg; { // // Components : TfcCaptureMessageClass // // Copyright (c) 1999 by Woll2Woll Software } {$T-} interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Menus; type TfcWndProcEvent = procedure(var Message: TMessage) of object; TfcBeforeWndProcEvent = procedure(var Message:...
unit perIB; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Datasnap.DBClient, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, dxSkinsCore, dxSkinsDefaultPainters,...
Program a5 ; USES QueueADT ; const MAX = 10000 ; type KeyType = integer ; ArrayIndex = 1..MAX ; SortingArray = array[ArrayIndex] of KeyType ; (******************************* SELECTION SORT ***********************************) procedure Swap(var i, j: KeyType) ; var temp : Keytype ; begin temp := i ; i := j...
Unit mte.core.baseclasses; {----------------------------------------------------------} { Developed by Muhammad Ajmal p } { ajumalp@gmail.com } { pajmal@hotmail.com } { ajmal@erratums.com } {----------------------------------------------------------} {$mode objfpc}{$H+} Interface Uses Classes, ...
unit PingThread; interface uses Windows, Classes, PingSend, IPUtils, SysUtils, WinSock; type PPingResult = ^TPingResult; TPingResult = Record IPAdress:String; MacAdress:String; Exists:Boolean; end; type TPingThread = clas...
unit UFrameSensor; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, UFormConv, IniFiles, SensorTypes; type TQuality = (qOK,qOutOfRange,qCommErr,qAnalogErr); TSampleData = record SumX,SumY:Double; CntX,CntY:Integer; LastQuality:TQuality; end; T...
// PARAMS // - ORIFICE [inch] // - SPECIFIC GRAVITY [air=1] // - TEMPERATERUE [f] // - PRESSURE [psig] // - DIFF [diff] // - CONSTANT1 - constant1 => 4.026 // - CONSTANT2 - constant2 => 24 function ART_GASFLOWRATE(orifice, specific_gravity, temperature, pressure, diff, constant1 ,constant2 : real):real; var s...
unit classe; interface uses Vcl.Dialogs; type TPessoa = class private FNome : string; FUsuario: string; protected function GetNome : String; virtual; procedure SetNome(AValue : String); virtual; function GetUsuario: string; virtual; procedure SetUsuario(const Value: string);...
unit GMList; interface uses Collection; type TGMConnectOptions = (GMCO_HIGHPRIORITY, GMCO_NORMALPRIORITY, GMCO_IGNORE); TGameMasterListInfo = class public constructor Create( aName : string; anOptions : TGMConnectOptions ); private fName : string; ...
unit BulkGeocodingRequestUnit; interface uses REST.Json.Types, SysUtils, JSONNullableAttributeUnit, HttpQueryMemberAttributeUnit, GenericParametersUnit, NullableBasicTypesUnit; type TAddressInfo = class(TGenericParameters) private [JSONName('address')] [Nullable] FAddress: NullableString; ...
program JQMobileDemo; {$mode objfpc}{$H+} {$hints off} {$notes off} { Raspberry Pi 3 Application } { Add your program code below, add additional units to the "uses" section if } { required and create new units by selecting File, New Unit from the menu. }...
unit Lander; interface uses Windows, Classes, Graphics, GameTypes, LanderTypes, Filters, VCLUtils; type PTextRenderingInfo = ^TTextRenderingInfo; TTextRenderingInfo = record x, y : integer; text : string; end; type PTextRenderingInfoArray = ^TTextRenderingInfoArray;...
unit MetaData; {$mode objfpc}{$H+} interface uses Classes, SysUtils, bddatamodule, Dialogs; type { TField_Info } TField_Type = (FTStr, FTInt, FTTime, FTDays); TTitle_Field = record FName: string; FId: integer; max_text_width: integer; end; TGrid_Record = record ...
(*Bouncer1: MiniLib V.4, 2004 -------- Bouncing ball application. Version 1: without ball interaction. ========================================================================*) PROGRAM Bouncer1; USES MetaInfo, OSBridge, MLObj, MLWin, MLAppl; TYPE ...
unit greenberet_hw; interface uses {$IFDEF WINDOWS}windows,{$ENDIF} nz80,main_engine,controls_engine,sn_76496,gfx_engine,timer_engine, rom_engine,file_engine,pal_engine,sound_engine,qsnapshot; function iniciar_gberet:boolean; implementation const //Green Beret gberet_rom:array[0..2] of tipo...
unit ZMMsgStr19; (* ZMMsgStr19.pas - message string handler Copyright (C) 2009, 2010 by Russell J. Peters, Roger Aelbrecht, Eric W. Engler and Chris Vleghert. This file is part of TZipMaster Version 1.9. TZipMaster is free software: you can redistribute it and/or modify it under the t...
unit NLDTGlobal; { :: NLDTGlobals contains all of the global variables and functions. This unit :: may contain only generic functions which might be used by other units, :: specific functionality must be contained within the appropriate unit. :$ :$ :$ NLDTranslate is released under the zlib/libpn...
unit ModelServerCache; interface uses SysUtils, SyncObjs, CacheAgent, CacheCommon, RDOInterfaces, RDORootServer, Collection; procedure RegisterCacher(const ClassName : string; Agent : CCacheAgent); function GetObjectPath(Obj : TObject; kind, info : integer) : string; function CacheObject(Obj : TObj...
namespace RemObjects.Train.API; uses RemObjects.Train, System.Threading, RemObjects.Script.EcmaScript, RemObjects.Script.EcmaScript.Internal, System.Text, System.Text.RegularExpressions, System.Xml.Linq, System.Linq, System.IO, System.Runtime.InteropServices; type [PluginRegistration] Windows...
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, OoMisc, AdPort, Vcl.StdCtrls; type TForm1 = class(TForm) ApdComPort1: TApdComPort; Label1: TLabel; Memo1: TMemo; Button1...
unit Constants; interface const pickaxeType = $0E85; ingotType = $1BEF; oneOrePileType = $19B7; twoOresPileType = $19BA; threeOresPileType = $19B8; fourOresPileType = $19B9; oneSausageType = $09C0; luteType = $0EB3; logPileType = $1BDD; tinkerToolsType = $1EBC; ...
unit nsRegistryTools; interface uses Windows ; function GetStringFromRegistry(const aRootKey : HKEY; const aPathKey : string; const aValueName : string; const aDefaultValue : string = ''): string; {-} imp...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP; type TForm1 = class(TForm) IdHTTP1: TIdHTTP; Button1: TButton; Memo1: TMemo; Edi...
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.Objects; type TForm1 = class(TForm) Image1: TImage; procedure Image1Gesture(Sender: TObject; const EventInfo: TGestureEventInfo; ...
unit kwIterateSubDescriptors; {* Перебирает все SubDescriptot на SubPanel, которые могут быть использованы (!). Такой список задается на этапе проектирвоания/изменения компонета. И не зависит от вида отображения. Формат: [code] @ aWord aLayerID aSubPanel ItarateSubDescriptors [code] aLayerID - слой, в котором производ...
(* * 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 * IS...
{$IfNDef msmConcreteModelOwnViewControllerMixin_imp} // Модуль: "w:\common\components\gui\Garant\msm\msmConcreteModelOwnViewControllerMixin.imp.pas" // Стереотип: "Impurity" // Элемент модели: "msmConcreteModelOwnViewControllerMixin" MUID: (57AAE9AD018B) // Имя типа: "_msmConcreteModelOwnViewControllerMixin_" {$Defin...
{ 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.Composites.Priority; interface uses Behavior3, Behavior3.Core.Composite, Behavior3.Core.BaseNode, Behavior3.Core.Tick; ...
{ Routines that create comparison expressions. } module sst_r_syn_compare; define sst_r_syn_comp_var_int; %include 'sst_r_syn.ins.pas'; { ******************************************************************************** * * Subroutine SST_R_SYN_COMP_VAR_INT (SYM, IVAL, OP, EXP_P) * * Create the expression that com...
program montecarlo; uses ModLCGReal; type point = array[0..2] of real; var f1, f2 : point; distSum: real; n : longint; procedure centerEllipse(var f1, f2 : point); (* Moves the f1 and f2 point so that they are connected via the x-axis *) var distance : real; begin distance := sqrt(sqr(f1[0]-f2[0]...
{ Exercicio 57: Em uma eleição municipal existem quatro candidatos. Os votos são informados através de código. Os dados utilizados para a escrutinagem obedecem à seguinte codificação: 1,2,3 e 4 = voto para os respectivos candidatos; 5 = voto nulo; 6 = voto em branco. Elabore um algoritmo que receba os nomes...
unit AvoidanceZoneQueryUnit; interface uses HttpQueryMemberAttributeUnit, JSONNullableAttributeUnit, NullableBasicTypesUnit, GenericParametersUnit; type TAvoidanceZoneQuery = class(TGenericParameters) private [HttpQueryMember('device_id')] [Nullable] FDeviceId: NullableString; [HttpQueryMemb...
unit testfile_unicode; interface implementation function TFSend.IsGSMChar(C: WideChar): Boolean; begin Result := (C = '@') or (C = '£') or (C = '$') or (C = '¥') or (C = 'è') or (C = 'é') or (C = 'ù') or (C = 'î') or (C = 'ô') or (C = 'Ç') or (C = #10) or (C = 'Ø') or (C = 'ø') or (C = #13) or (C...
unit vcmLayoutImplementation; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "VCM$Visual" // Модуль: "w:/common/components/gui/Garant/VCM/implementation/Visual/vcmLayoutImplementation.pas" // Родные Delphi интерфейсы (.pas) // G...
unit ureplace; {$MODE Delphi} interface uses SysUtils, Classes, Graphics, Controls, StdCtrls, ExtCtrls, Forms; type // search record TReplaceRec = record StrTextToFind, // textual format StrTextToReplace, StrDataToFind, // real data to find StrDataToReplace: string; // re...
unit XMLParse; { $jrsoftware: ishelp/ISHelpGen/XMLParse.pas,v 1.5 2009/07/29 09:50:24 mlaan Exp $ } { XML parser. Currently just calls MSXML 4.0 to do the real work. } interface {$IFNDEF VER80} { if it's not Delphi 1.0 } {$IFNDEF VER90} { if it's not Delphi 2.0 } {$IFNDEF VER93} { and it's not C++Builder 1....
unit uFrmBase; 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 , Winapi.Windows, FMX.Platform.Win , QJSON; type TFrmBase = class(TForm) ActionList1:...
unit xpr.AST; { Author: Jarl K. Holta License: GNU Lesser GPL (http://www.gnu.org/licenses/lgpl.html) Abstract syntax tree } {$I express.inc} interface uses Classes, SysUtils, xpr.express, xpr.bytecode; type (* Abstract base node *) TBaseNode = class(TObject) FDocPos: TDocPos; const...
unit DataSetHelper; interface uses Data.DB, System.SysUtils, Xml.XmlIntf, Xml.XmlDoc {$IFDEF EH_LIB_25} , MemTableEh {$ENDIF} ; type TDataSetLoopOption = ( /// <summary> /// Запрещает восстановление закладок. /// </summary> dsloNoRestoreBookmark, /// <summary> /// Запрещает отключение элементов упр...
{ *************************************************************************** Copyright (c) 2016-2022 Kike Pérez Unit : Quick.Template Description : String Replace Templates Author : Kike Pérez Version : 2.0 Created : 01/04/2020 Modified : 31/03/2022 This file is part of QuickL...
unit IdHeaderCoderIndy; interface {$i IdCompilerDefines.inc} uses IdGlobal, IdHeaderCoderBase; type TIdHeaderCoderIndy = class(TIdHeaderCoder) public class function Decode(const ACharSet: string; const AData: TIdBytes): String; override; class function Encode(const ACharSet, AData: String...
unit HtmlHelpFunc; { Inno Setup Copyright (C) 1997-2006 Jordan Russell Portions by Martijn Laan For conditions of distribution and use, see LICENSE.TXT. Functions for HTML Help $jrsoftware: issrc/Projects/HtmlHelpFunc.pas,v 1.6 2009/03/23 23:16:44 mlaan Exp $ } interface {$I VERSION.INC} uses Window...
unit Unit1; interface uses Windows, SysUtils, Variants, ExtCtrls, Classes, Controls, Forms, StdCtrls, FileCtrl, shellapi, psAPI; const CheckerName='checker.exe'; ProgramName='current.exe'; CheckerLog='check.log'; CheckerInput='test.in'; CheckerOutput='test.out'; Progr...
unit InfoENTTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TInfoENTRecord = record PEntId: String[8]; PModCount: String[1]; PMentID: String[8]; PLineBus: String[4]; PBillFund: String[1]; PCodeKey: String[8]; PName: String[30]; ...
unit evTableColumnHotSpot; {* реализует интерфейс IevHotSpot для колонки таблицы. } // Модуль: "w:\common\components\gui\Garant\Everest\evTableColumnHotSpot.pas" // Стереотип: "SimpleClass" // Элемент модели: "TevTableColumnHotSpot" MUID: (4ED31E9500E7) {$Include w:\common\components\gui\Garant\Everest\evDefine.inc}...
procedure TIOForm.TrackBar_InputGainChange(Sender: TObject); begin UpdateFromTrackbar_4_12(Link_InputGain, TrackBar_InputGain, Label_InputGain); end; procedure TIOForm.TrackBar_OutputGainChange(Sender: TObject); begin UpdateFromTrackbar_4_12(Link_OutputGain, TrackBar_OutputGain, Label_OutputGain); end; proced...
unit XmlEditForm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, xmldom, XMLIntf, msxmldom, XMLDoc, ComCtrls, ToolWin, OleCtrls, SHDocVw; type TFormXmlEdit = class(TForm) PageControl1: TPageControl; TabSheet1: TTabSheet; MemoXml: TMemo; Tool...
unit Main; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, vtSpin, Migrator, Buttons; type TMainForm = class(TForm) MigrateBtn: TButton; ReportMemo: TMemo; GroupBox1: TGroupBox; Label1: TLabel; edLogin: TEdit; Label2: TLabel; ...
unit UNetworkAdjustedTime; interface uses UThread, Classes; type TNetworkAdjustedTime = Class private FTimesList : TPCThreadList; FTimeOffset : Integer; FTotalCounter : Integer; Function IndexOfClientIp(list : TList; const clientIp : AnsiString) : Integer; Procedure UpdateMedian(list : TLis...
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls, Vcl.Grids, Vcl.ValEdit, Vcl.Menus, ShellAPI, UITypes; type TM_Unit = record // структура узла дерева...