text
stringlengths
14
6.51M
//Корректировка расходов unit fCostEd; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DB, StdCtrls, DBCtrlsEh, Mask, LMDCalendarEdit, LMDCustomControl, LMDCustomPanel, LMDCustomBevelPanel, LMDBaseEdit, LMDCustomEdit, LMDCustomMaskEdit, LMDMaskEdit, ...
{******************************************************************************} { } { WiRL: RESTful Library for Delphi } { ...
{******************************************************************************* Delphi Client for memcached database. What is Memcached? Free & open source, high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating ...
unit ValueComparers; // 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 d...
unit LXImage; interface uses Messages, Windows, SysUtils, Classes, Controls, Forms, Menus, Graphics, StdCtrls; type TLXImage = class(TGraphicControl) private FPicture: TPicture; FOnProgress: TProgressEvent; FStretch: Boolean; FCenter: Boolean; FIncrementalDisplay: Boolean; FTransparent:...
unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, Grids, Menus; type { TForm1 } TForm1 = class(TForm) MainMenu1: TMainMenu; miFile: TMenuItem; miCreate: TMenuItem; miOpen: TMenuItem; miClose: TMenuItem; miSave: TMenuItem; ...
{******************************************************************************* * * * ksCameraViewer - Real-time Camara Viewer * * ...
// ****************************************************************** // // Program Name : $ProgramName$ // Platform(s) : $Platforms$ // Framework : VCL // // Filename : AT.$ShortName$.ObjectServices.pas // File Version : 1.00 // Date Created : $CreateDate$ // Author : Matthew Vesperman // /...
unit TelaPesquisaTarefa; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, TelaGeralTEMPLATE, DB, StdCtrls, ComCtrls, RxLookup, DBTables, RxQuery, Buttons, jpeg, ExtCtrls, Grids, DBGrids; type TFormTelaPesquisaTarefa = class(TFormTelaGeralTEMPLATE) gboClie...
unit frameBuscaNaturezaOperacao; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, NaturezaOperacao, Especificacao; type TBuscaNaturezaOperacao = class(TFrame) lblCFOP: TStaticText; lblRazao: TStaticText; edtCFOP: TEdit; btnBus...
unit fLogin; 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, uSistema; type TfrmLogin = class(TForm) Panel1: TPanel; Label1: TLabel; Label2: ...
unit RTExperiment; interface uses RunTypeU; type TRTExperiment = class(TRunType) public function GetEnum: TRunTypeEnum; override; function HasInitialField: boolean; override; end; implementation function TRTExperiment.GetEnum: TRunTypeEnum; begin GetEnum := rteExperimental; end; functio...
unit IdTestSHA1Hash; { refer http://www.faqs.org/rfcs/rfc3174.html examples are given in section 7.1 } interface uses IdTest; type TIdTestSHA1Hash = class(TIdTest) private procedure CheckHash(const aStr,aExpect:string); published procedure TestRFC; end; implementation use...
unit uidraw.resampler; interface uses ui.color, ui.bitmap, ui.space, BaseType; type TPixelAccessMode = (pamUnsafe, pamSafe, pamWrap, pamTransparentEdge); { TCustomResampler } { Base class for TCustomBitmap32 specific reamplers. } PBaseResampler = ^TBaseResampler; TBaseResampler ...
unit RepositorioLocalEntregaNotaFiscal; interface uses DB, Repositorio; type TRepositorioLocalEntregaNotaFiscal = class(TRepositorio) protected function Get (Dataset :TDataSet) :TObject; overload; override; function GetNomeDaTabela :String; override; ...
unit Tasker.Plugin; {$SCOPEDENUMS OFF} interface implementation // Constants and functions for Tasker *extensions* to the plugin protocol // Lightweight Delphi port of TaskerPlugin.java (v1.8) by PC // Source: http://tasker.dinglisch.net/code/TaskerPlugin.java // See Also: http://tasker.dinglisch.net/plugins.html ...
unit EnumEditCommands; interface uses SysUtils, Classes, mapper, mvc_base, tiObject, EnumEditViewFrm, EnumEditController, AppCommands; type TCmdEditEnumValue = class(TCmdNotifyEvent) public function Controller: TEnumEditController; reintroduce; end; {: Create a new enum vale. } TCmdDoCreateEnumVal...
(* * "THE BEER-WARE LICENSE" (Revision 42): * d0p1 <d0p1@yahoo.com> wrote this file. As long as you retain this notice you * can do whatever you want with this stuff. If we meet some day, and you think * this stuff is worth it, you can buy me a beer in return. *) UNIT checksum; {$mode objfpc}{$H+} INTERFACE US...
unit Sample1.Main; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, ComCtrls, Grids, DSharp.Bindings.VCLControls, DSharp.Bindings, Sample1.Settings, DSharp.Core.Editable; type TMainForm = class(TForm, IEditable) Edit1: TEdit; Edit2...
{Se lee una secuencia de caracteres terminada en '*'. La secuencia está dividida en oraciones que terminan en punto. Para cada oración se pide contar e informar la cantidad de veces que aparece la subsecuencia 'TE'. Además informar en cuántas oraciones no aparece dicha subsecuencia.} program Ejercicio8; var ...
{*******************************************************} { } { Delphi LiveBindings Framework } { } { Copyright(c) 2012-2013 Embarcadero Technologies, Inc. } { ...
unit MPIDeclaration; interface Uses Classes, PashaLibrery, SysUtils, Forms, Math; const Two_pi = 2*pi; piDel180 = pi/180; MaxVisibleTimeOnChart = 64; type // --- Масив для отображения данных --- TGrArray = ^GraphicArray; GraphicArray = array [0..0] of Single; TVectorArray = ^Vec...
// ************************************************************************ // // The types declared in this file were generated from data read from the // WSDL File described below: // WSDL : http://localhost:9999/wsdl/IStatisticsWS // Encoding : utf-8 // Version : 1.0 // (4/20/2011 11:48:03 AM - 1.33.2.5) ...
program exFunction; var a, b, ret : integer; (*function definition *) function max(num1, num2: integer): integer; var (* local variable declaration *) result: integer; begin if (num1 > num2) then result := num1 else result := num2; max := result; end; begin a := 100; b := 200; (* calling a function to ...
unit dsdXMLTransform; interface uses Classes, XMLIntf, DB, DBClient, dsdDataSetDataLink; type TdsdXMLTransform = class; TdsdXMLTransform = class(TComponent, IDataSetAction) private FActionDataLink: TDataSetDataLink; FXMLDocument: IXMLDocument; FXMLDataFieldName: string; FDataSet: TClientDat...
unit rHttpProxy; interface uses Classes, rHttpUtils; type TProxyProtocol = (ppHttp, ppHttps, ppSocks4, ppSocks5); TProxyProtocols = set of TProxyProtocol; TProxyLevel = (plTransparent, plAnonymous, plDistorting, plElite); TProxyLevels = set of TProxyLevel; (**********************************************...
unit ufrmIntervalValueSet3; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ufrmIntervalValueSet, Vcl.StdCtrls; type TfrmIntervalValueSet3 = class(TfrmIntervalValueSet) Label3: TLabel; Label4: TLabel; ...
unit TestRegex; interface uses TestFramework, RegularExpressions, Generics.Collections; type TTestRegex = class(TTestCase) private function Evaluator(const Match: IMatch): String; procedure Execute(const Name, Text, Regex: String; const Matches: array of String); function GetPrimes(const...
unit system.animation.tween; interface {.$DEFINE DELPHI} uses System.Types, SmartCL.Time, SmartCL.System; type (* Tweening is essentially just a technique for transforming one number into another number over a given time. With "number" we really mean just a floating-point value. S...
unit uGoogleTranslateClass; interface uses msxml, Activex, HTTPApp, Variants, SysUtils, StrUtils, JSON, System.TypInfo, System.Classes, Vcl.AxCtrls, Winapi.MMSystem; type TGoogleLanguages= (Autodetect,Afrikaans,Albanian,Arabic,Basque,Belarusian,Bulgarian,Catalan,Chinese,Chinese_Traditional, Cr...
unit UDeleteForm; { ClickForms Application } { Bradford Technologies, Inc. } { All Rights Reserved } { Source Code Copyrighted © 1998-2006 by Bradford Technologies, Inc. } interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdC...
{******************************************************************************} { } { WiRL: RESTful Library for Delphi } { ...
/// <summary> /// Модуль содержит описание класса окна редактора регистрационной информации /// базы данных /// </summary> unit frmDatabaseEditor; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ...
{*******************************************************} { } { Delphi FireMonkey Platform } { } { Copyright(c) 2011-2013 Embarcadero Technologies, Inc. } { ...
{ *************************************************************************** Copyright (c) 2016-2019 Kike Pérez Unit : Quick.ORM.RestDB Description : Rest ORM access SQLite db only Author : Kike Pérez Version : 1.6 Created : 02/06/2017 Modified : 08/05/2019 This file is part o...
unit DUnitX.Examples.UITest; interface {$I DUnitX.inc} uses {$IFDEF USE_NS} Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, {$ELSE} Windows, Messages, SysUtils, Variants, Classes, ...
unit CFOP; interface uses SysUtils, Contnrs, TipoNaturezaOperacao; type TCFOP = class private Fcodigo :Integer; Fdescricao :String; Fcfop :String; FSuspensao_icms: String; function GetTipoNaturezaOperacao: TTipoNaturezaOperacao; public property codigo :Integer read Fcod...
///* // * android-plugin-client-sdk-for-locale https://github.com/twofortyfouram/android-plugin-client-sdk-for-locale // * Copyright 2014 two forty four a.m. LLC // * // * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except // * in compliance with the License. You may o...
unit uLogAspect; interface uses System.Rtti, System.SysUtils, Aspect4D, uLog; type TLogAspect = class(TAspect, IAspect) private FLog: ILog; function PodeExecutar(const method: TRttiMethod): boolean; public constructor Create(const LogObject: ILog); procedure DoAfter(instance: TObject; method:...
unit FindUnit.PaintUnusedUses; interface uses Log4Pascal, ToolsAPI, FindUnit.ImageRepository, FindUnit.UnusedUses, FindUnit.Utils, Interf.EnvironmentController, System.Classes, System.DateUtils, System.Diagnostics, System.Generics.Collections, System.SyncObjs, System.SysUtils, System.Thre...
// see ISC_license.txt {$I genLL.inc} unit SpokolParser; interface uses Runtime, Trees, SpokolLexer; const PROD_PROGRAM = 1; PROD_BLOCK = 2; PROD_VAR_SEQ = 3; PROD_VAR_DECL = 4; PROD_IDENT_LIST = 5; PROD_INSTR_SEQ = 6; PROD_INSTR_BLOCK = 7; PROD_PROC_SEQ = 8; PROD_PROC_DECL = 9; PROD_PROC_HEAD ...
unit Helper.Loading; interface uses System.Classes, System.UITypes, System.UIConsts, System.SysUtils, FMX.Controls, FMX.Objects, FMX.Graphics, FMX.Layouts, FMX.Types, FMX.StdCtrls, FMX.Effects, FMX.Dialogs, FMX.Forms, FMX.Filter.Effects; type TLoading = class private class var ...
program asteroids (input,ouput,outfile); {$I sprites.lib} {$I bonus.inc} {$I mis.inc} {$I space.inc} {$I blank.inc} const up=#$48; left=#$4b; right=#$4d; pgup=#$49; home=#$47; down=#$50; dleft=#$4f; pgdn=#$51; type persontype=record name:string[30]; score:integer; percent:real; lev:inte...
unit ClickCounterForm; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls, FMX.Controls.Presentation; type TForm1 = class(TForm) Button1: TButton; Button2: TButton; Label1: TLab...
unit uRestore; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, ComCtrls, uRestorePoint; type { TfmRestore } TfmRestore = class(TForm) lblInfo: TLabel; ProgressBar1: TProgressBar; procedure FormClose(Sender: TObject;...
unit BeaconAlarmService; interface uses System.SysUtils, System.Classes, System.Generics.Collections, System.Android.Service, Androidapi.JNI.App, AndroidApi.JNI.GraphicsContentViewText, Androidapi.JNI.Os, System.Beacon, System.Bluetooth, System.Beacon.Components, System.Notification, ccPush, D...
{***************************************************************************} { } { DelphiUIAutomation } { } { ...
unit CopperTrace; interface uses Board, Types; function SegmentsConnect( Segment1, Segment2 : TbrSegment ) : boolean; function SegmentStripConnects( Segment : TbrSegment; Strip : TbrStrip ) : boolean; function SegmentToCell( Segment : TbrSegment; Cell : TPoint ) : boolean; function SegmentToRect( Segment : ...
{******************************************************************************} { } { Indy (Internet Direct) - Internet Protocols Simplified } { ...
// ************************************************************************ // // The types declared in this file were generated from data read from the // WSDL File described below: // WSDL : http://localhost:8888/wsdl/IELMotorWS // Encoding : utf-8 // Version : 1.0 // (3/30/2012 11:41:52 AM - 1.33.2.5) //...
{******************************************************************************} { } { WiRL: RESTful Library for Delphi } { ...
unit uAnimal; interface type TAnimal = class(TObject) private // protected FEspecie: string; public constructor Create; virtual; function Hablar: string; virtual; abstract; end; implementation constructor TAnimal.Create; begin inherited; FEspecie := ''; end; end.
unit Mutex; interface uses Windows; type TMutex = class public constructor Create( Attributes : PSecurityAttributes; InitialOwner : boolean; const Name : string ); destructor Destroy; override; public function WaitFor( Timeout ...
unit Unit1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, EditExts, StdCtrls, Spin; type TForm1 = class(TForm) DigitalEdit1: TKSDigitalEdit; ckAllowNegative: TCheckBox; ckAllowPoint: TCheckBox; ckUseSeperator: TCheckBox; ckUserDelete: TCheckBox; ...
unit ContactDetails.ViewModel; interface uses Contact, ContactManager.Interfaces, DSharp.PresentationModel.EditableViewModelBase; type TContactDetailsViewModel = class(TEditableViewModelBase<TContact>, IContactDetailsViewModel) private function GetContact: TContact; procedure SetContact(const Value...
// Fit4Delphi Copyright (C) 2008. Sabre Inc. // 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...
unit WineHelper; interface uses Graphics; // return True if running under Wine function WineHosted : boolean; // OPEN A URL UNDER WINDOWS OR UNIX-WINE function OpenUrl(const url: string) : cardinal; // Workaround Wine GDI Printing Arcs Problem // Draw Circle to Canvas Using Line Segments. // X1..Y...
unit DBListOne; // %DBListOne : 包含数据来自Dataset的List,ComboBox (***** Code Written By Huang YanLai *****) interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, stdCtrls,Forms, Dialogs, Grids, DBGrids, Buttons, DB, DBCtrls; type TCustomDBListOne = class(TCustomDBGrid) private { Priv...
unit RWait; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls; type TFormWait = class(TForm) InfoPanel: TPanel; InfoLabel: TLabel; private { Private declarations } public { Public declarations } end; procedure ShowWaitMsg(const Ms...
unit uUtils; // Developed using Delphi for Windows and Mac platforms. // *** Ths source is distributed under Apache 2.0 *** // Copyright (C) 2018 Herbert M Sauro // Author Contact Information: // email: hsauro@gmail.com {$WARN SYMBOL_PLATFORM OFF} // Stops memory API usage warnings interface Uses Windows; fu...
unit ObjectTest; interface uses Classes, TestFramework, Authentication, Db, XMLIntf, dsdDB; type TObjectTest = class private FspInsertUpdate: string; FspSelect: string; FspGet: string; FIdentity: integer; protected FdsdStoredProc: TdsdStoredProc; FParams: TdsdParams; property spGet:...
unit Breaks; interface uses Connective, Project, Classes; type TveBreakTool = class protected Strips : TList; FProject : TveProject; FConnectivity : TConnectivity; OffBoardLeadedItems : TList; public property Project : TveProject read FProject write FProject; procedure Selec...
unit ReturnOutTest; interface uses dbTest, dbMovementTest, ObjectTest; type TReturnOutTest = class (TdbMovementTestNew) published procedure ProcedureLoad; override; procedure Test; override; end; TReturnOut = class(TMovementTest) private function InsertDefault: integer; override; protected ...
{$R+} {$I+} {$X-} {$S+} {SQ+} PROGRAM Pr3B; {Programa que da una serie de opciones, para visualizar saltos del caballo del ajedrez, de distintas formas} USES Crt; CONST N = 8; caballo1 = chr (1); caballo2 = chr (2); TYPE Tfilas = 1..N; TColumnas = 1..N; TTablero = ARRAY [Tfilas, TColumnas...
unit UnitAplicarDefinicion; interface uses IniFiles, SysUtils, Types, Classes, QGraphics, QControls, QForms, QDialogs, QStdCtrls, DBXpress, DB, SqlExpr, QDBCtrls, QButtons, QExtCtrls, Provider, DBClient, DBLocal, DBLocalS, FMTBcd, IBCustomDataSet, IBQuery, IBDatabase; type TfrmAplicarDefinicion ...
unit WrapFmxScrollBox; interface uses FMX.ScrollBox, WrapFmxControls; type TPyDelphiCustomPresentedScrollBox = class(TPyDelphiPresentedControl) private function GetDelphiObject: TCustomPresentedScrollBox; procedure SetDelphiObject(const Value: TCustomPresentedScrollBox); public class function De...
unit AqDrop.Core.Generics.Arguments; interface uses AqDrop.Core.InterfacedObject, AqDrop.Core.Generics.Arguments.Intf; type TAqArguments<TArg1, TArg2> = class(TAqARCObject, IAqArguments<TArg1, TArg2>) strict private FArg1: TArg1; FArg2: TArg2; function GetArg1: TArg1; function...
/////////////////////////////////////////////////////////////////////////// // Project: CW // Program: sendtxtu.pas // Language: Object Pascal - Delphi ver 3.0 // Support: David Fahey // Date: 01Oct97 // Purpose: Sends a string of text and allows the user to cancel // the sending of the ...
unit problems; interface procedure Problem1; procedure Problem2; procedure Problem3; procedure Problem4; implementation uses collection, System.SysUtils, System.Math; //-------------------------------------------------------------------------------------------------------------- ...
unit ExternalLoad; {$I ..\dsdVer.inc} interface uses dsdAction, dsdDb, Classes, DB, ExternalData, ADODB, Winapi.ActiveX, System.Win.COMObj, Vcl.Forms {$IFDEF DELPHI103RIO}, JSON, Actions {$ELSE} , DBXJSON {$ENDIF}; type TDataSetType = (dtDBF, dtXLS, dtMMO, dtODBC, dtXLS_OLE); TExternalLoad = class(TExter...
unit UStdCmtsEdit; { ClickForms Application } { Bradford Technologies, Inc. } { All Rights Reserved } { Source Code Copyrighted © 1998-2005 by Bradford Technologies, Inc. } interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, S...
{ TBiosInfo Component Version 1.9 - Suite GLib Copyright (©) 2009, by Germán Estévez (Neftalí) Acceso a los atributos de la BIOS (Basic Input/Output Services) Utilización/Usage: Basta con "soltar" el componente y activarlo. Place the component in the form and active it. MSDN Info: h...
unit Model.Permission; interface uses Model.Interfaces, Model.IMyConnection, System.Generics.Collections, Spring.Collections, Spring.Data.ObjectDataset, MainDM; function CreatePermissionModelClass: IPermissionModelInterface; implementation uses System.SysUtils, Model.Declarations, Model.FormDeclarations...
unit uJLinkUsb; interface uses SysUtils, Windows, Classes, uUsbCommon, uAsyncIo; const JLINK_DEFAULT_TIMEOUT = 2000; JLINK_IN_BUFFER_SIZE = 2 * 1024; JLINK_OUT_BUFFER_SIZE = 4 * 1024 + 4; JLINK_EMU_RESULT_BUFFER_SIZE = 64; const JLinkUserDeviceNames : array [ 0 .. 3 ] of string = ( // 'JLINK 0', 'JL...
unit JEdit; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Mask, DBCtrls, SYSSTR, JEDITM, JEDITL; type TEDITtype = (EDIT,EDATE_EDIT,CDATE_EDIT,TIME_EDIT,INTEGER_EDIT,FLOAT_EDIT); TSHOWCAL = (NONE,CCAL,LCAL,ECAL); TJEdit = class(TEdit) private F...
PROCEDURE MyProgram; {This program encodes text as specified in the homework} {Created by: Eric Gates 6/6/89} {HW #1, Part 2} VAR S,Word,PrevWord: String; Pos,PrevPos: integer; (*************************************************************************) FUNCTION CountLetters(Wd: String): i...
unit MarvelAPIFMX; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, ImgLoadThreadU, FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, IPPeerClient, FMX.Layouts, FMX.Memo, REST.Client, Data.Bind.Components, Data.Bind.ObjectScope, FMX.Ob...
{******************************************************************************} { } { WiRL: RESTful Library for Delphi } { ...
unit Exemplo5_1; interface uses System.Classes, System.SysUtils, Xml.XMLDoc, Xml.XMLIntf, System.Json, Data.DBXJSONReflect, Exemplo5; type TExportaFichaUsuarioTxt = class(TExportaFichaUsuario) public procedure Exportar(pArquivo: string); override; end; TExportaFichaUsuarioXML = class...
unit Mapper; interface uses System.Generics.Defaults, System.Generics.Collections, System.SysUtils, System.rtti; type TMapper = class private KeysToValues: TDictionary<string, string>; procedure AddIfNonTrivial(const Key: string; const Value: string); public constructor Create; procedu...
unit BCData; interface uses GR32, Classes, INIFiles, SysUtils, Graphics, iNESImage, OffsetList, BCLevel, BCStartingPos, MemINIHexFile; type TBattleCityROM = class(TiNESImageAccessor) private _PlayerOneBMP, _PlayerTwoBMP, _EnemyBMP : TBitmap32; _Tiles : TBitmap32; _PatternTable : Array [0.. 8191] of...
unit Unit3; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Objects, FMX.Layouts; type TSB = class(TScrollBox) public procedure InsertShape(AShape: TShape); procedure InsertObject(Index: Integer; AObje...
unit Gen2; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, EFieldCals, Func1D; type TFrmGen2 = class(TForm) Label1: TLabel; EdtPhase: TEdit; Label2: TLabel; Label3: TLabel; Label4: TLabel; EdtSep: TEdit; LblSep: TLabel; ...
unit AT.FMX.Clipboard; interface uses FMX.Platform; function Clipboard: IFMXClipboardService; function ClipboardAvailable: Boolean; implementation function Clipboard: IFMXClipboardService; begin if (NOT ClipboardAvailable) then Exit(NIL); Result := IFMXClipboardService( TPlatformServices.C...
{$ifdef license} (* Copyright 2020 ChapmanWorld LLC ( https://chapmanworld.com ) Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this li...
{*****************************************} { } { XML Data Binding } { } {*****************************************} unit dsdOLAPXMLBind; interface uses xmldom, XMLDoc, XMLIntf; type { Forward Decls } IXMLIt...
{==============================================================================* * Copyright © 2020, Pukhkiy Igor * * All rights reserved. * *============================================================================...
unit myList; interface type pPointer = ^tComponent; tInfo = integer; tComponent = record info: tInfo; next: pPointer; end; tList = record pHead: pPointer; pCurrent: pPointer; end...
// ************************************************************************ // // The types declared in this file were generated from data read from the // WSDL File described below: // WSDL : http://demo-facturacion.finkok.com/servicios/soap/stamp.wsdl // >Import : http://demo-facturacion.finkok.com/servicios...
unit RockGuidFrom; 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.Menus, System.ImageList, Vcl.ImgList, Vcl.Buttons; type TMyLabel =Class(TLabel) ...
// ****************************************************************** // // Program Name : Angelic Tech - DevEx Native Print Pane // Platform(s) : Win32, Win64 // Framework : VCL - DevExpress VCL // // Filename : AT.Vcl.DX.NativePrintPane.Frame.pas/.dfm // Date Created : 11-Jul-2019 // Author ...
{ ID:because3 PROG:fence9 LANG:PASCAL } program fence9; var n,m,p,s,b:longint; function divisor(x,y:longint):longint; begin if x<y then exit(divisor(y,x)); if y=0 then exit(x); exit(divisor(y,x mod y)); end; BEGIN assign(input,'fence9.in'); reset(input); assign(output,'fence9.out'); rewri...
unit SMBlueprintTypes; interface Const smDataChunkSize = 5120; smDataChunkHeaderSize = 26; smDataChunkDataSize = SMDataChunkSize - SMDataChunkHeaderSize; smBlockMaxId = 2047; smBlockMaxHP = 255; smBlockPropUseless = -127; smBoundBoxOffeset = 1; smChunkCenterOffeset = 8; smDataChunkIndexMin = -8; smDataChunk...
namespace iOSApp.AuthenticatedCore; uses Foundation, iOSApp.Core; type IAuthorizedServiceEventReceiver = public interface(IServiceEventReceiver) method OnNotAuthorized(initiatedAction:InitiatedActionEnumeration); {$IF TOFFEE}optional;{$ENDIF} method OnAuthorized; {$IF TOFFEE}optional;{$ENDIF...
unit ExportTabularGLOB; uses ExportCore, ExportTabularCore; var ExportTabularGLOB_outputLines: TStringList; function initialize(): Integer; begin ExportTabularGLOB_outputLines := TStringList.create(); ExportTabularGLOB_outputLines.add( '"File"' // Name of the originating ESM ...
unit Udeck; interface uses CLasses, SysUtils, Ucard, System.Generics.Collections ; type TCardList = TObjectList<TCard>; Type TDeck = class var private Fdeck : TCardList; // The cards in the hand Fcardsleft: integer; FTopCardIndex: integer; public constructor Create(); procedure Shuffl...
namespace iOSApp.AuthenticatedCore; uses Foundation, Moshine.Foundation; type BlocksWithAuthorizationHelper = public class public class method executeBlock(someBlock:block):operationTypesEnumeration; begin try someBlock; exit operationTypesEnumeration.completed;...
unit Ct04; { ULCT04.DPR*************************************************************** File: CT04.PAS Library Call Demonstrated: cbCFreqIn() Purpose: Measure the frequency of a signal. Demonstration: Intializes the counter and measures...
// // Made from firebase-messaging 23.1.0 // unit Alcinoe.AndroidApi.Firebase; interface {$I Alcinoe.inc} {$IFNDEF ALCompilerVersionSupported} //Please run <Alcinoe>\Tools\NativeBridgeFileGenerator\NativeBridgeFileGeneratorAndroid.bat //with the library identifiers com.google.firebase:firebase-messagi...
program ejercicio_9; const dimF=200; type cadena=string[50]; foto=record titulo:cadena; autor:cadena; cant_mg:integer; cant_clics:integer; cant_comentarios:integer; end; vector=array [1.. dimF] of foto; procedure leer(var reg:foto); begin write('Ingrese el titulo: '); readln(reg.titul...