text
stringlengths
14
6.51M
unit TabbedFormwithNavigation; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Graphics, FMX.Forms, FMX.Dialogs, FMX.TabControl, FMX.StdCtrls, System.Actions, FMX.ActnList, FMX.ListView.Types, FMX.Edit, FMX.ListView, FMX.Layou...
unit About; interface uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls, Buttons, ExtCtrls, cxControls, cxContainer, cxEdit, cxTextEdit, cxMemo, ComCtrls, Dialogs; type TAboutBox = class(TForm) PageControl1: TPageControl; TabSheet1: TTabSheet; TabSheet2: TTabSheet; ...
{================================================================================ Copyright (C) 1997-2002 Mills Enterprise Unit : rmGuage Purpose : Visual UI eye-candy type gages. Date : 09-03-1998 Author : Ryan J. Mills Version : 1.92 ===============================================================...
{ InCo- Fing Programación 1 Laboratorio 2016 Segunda Tarea Diego Sirio } (******************************************************) (* Funciones Auxiliares *) (******************************************************) { La función ‘expbn’ se encarga de calcular la p...
unit Period_Add; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxLookAndFeelPainters, StdCtrls, cxButtons, cxTextEdit, cxControls, cxContainer, cxEdit, cxMaskEdit, cxDropDownEdit, cxCalendar, ExtCtrls, ActnList, cxRadioGroup, DB, FIBDataSet, pFIBDataSet, ...
unit Code; {******************************************************************************* Description: a non-modal dialog box used for inserting codes into heading, question, and scale text Modifications: -------------------------------------------------------------------------------- Date UserID Descript...
unit OTFECrossCrypt_U; // Description: Delphi CrossCrypt Component // By Sarah Dean // Email: sdean12@sdean12.org // WWW: http://www.SDean12.org/ // // ----------------------------------------------------------------------------- // interface uses Windows, Messages, SysUtils, Classes, Graphics, Cont...
namespace SqliteApp; interface uses Foundation, UIKit, libsqlite3; type MasterViewController = public class (UITableViewController) private fObjects: NSMutableArray; protected public property detailViewController: DetailViewController; method awakeFromNib; override; ...
unit Objekt.FeldList; interface uses SysUtils, Classes, Contnrs, Objekt.Feld; type TFeldList = class private fPraefix: string; function GetCount: Integer; function getFeld(Index: Integer): TFeld; procedure setPreafix(const Value: string); protected fList: TObjectList; public constru...
{ hello main program: File Name : hello.pas Version : 1.00 Date : 2018-10-12 Software : Development tool : VCL for RAD Studio V10.x Description : 项目主界面功能模块 } unit hello1; //该单元名称 //beginning of interface module --------------------------------...
{ -$Id: uVihodsReg.pas,v 1.1 2005/12/01 08:48:50 oleg Exp $ } unit uVihodsReg; interface uses WorkModeCentral, Controls, TableCentral; type TVihodCount = record vihod: TVihod; count: Integer; end; TVihodsReg = class(TObject) private VCounts: array of TVihodCount; ...
// // VXScene Component Library, based on GLScene http://glscene.sourceforge.net // { Simple X format support for Delphi (Microsoft's favorite format) } unit uFileX; interface {$I VXScene.inc} uses System.Classes, System.SysUtils, VXS.VectorTypes, VXS.VectorGeometry, VXS.VectorLists, ...
{覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧覧抑 { Project : Demo.dpr } { Comment : } { } { Date : 05/04/2009 00:03:35 ...
unit DXPConsts; interface const { color constants. these constants are used as default colors for descendant controls and may be replaced with other (common) values. } { colors - WindowsXP } DXPColor_Enb_Border_WXP = $00733800; // border line DXPColor_Dis_Border_WXP = $00BDC7CE; // border line (...
//*******************************************************// // // // DelphiFlash.com // // Copyright (c) 2004-2007 FeatherySoft, Inc. // // info@delphiflash.com // // ...
unit E_MemStream; //------------------------------------------------------------------------------ // Модуль реализует поток памяти по принципу FIFO, // но с возможностью повторного чтения //------------------------------------------------------------------------------ //---------------------------------------------...
{------------------------------------------------------------------------------- Copyright 2012 Ethea S.r.l. 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.apa...
unit Caixa; interface uses DBXJSONReflect, RTTI, DBXPlatform, Generics.Collections, ItemPedidoVenda, Cliente; type TDoubleInterceptor = class(TJSONInterceptor) public function StringConverter(Data: TObject; Field: string): string; override; procedure StringReverter(Data: TObject; Field: string; Arg: st...
unit uSwiper; {$mode objfpc}{$H+} {$modeswitch externalclass} interface uses Classes, SysUtils, Types, JS, Web; (* ╔═══════════════════════════════════════════════════════════════════════╗ ║ JSwiper ║ ╚════════════════════════════════...
(* * FPG EDIT : Edit FPG file from DIV2, FENIX and CDIV * * * 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 v...
unit DSA.Graph.PrimMST; {$mode objfpc}{$H+} interface uses Classes, SysUtils, DSA.Tree.IndexHeap, DSA.Interfaces.DataStructure, DSA.Interfaces.Comparer, DSA.Graph.Edge, DSA.List_Stack_Queue.ArrayList; type generic TPrimMst<T> = class private type TArr_bool = specialize TArray<boolean>; ...
program Cradle; {Constants} const TAB = ^I; {Variables} var Look : char; {Read new characters from input stream} procedure Getchar; begin Read(Look); end; {Report error} procedure Error(s : string); begin WriteLn; WriteLn(^G, 'Error: ', s, '.'); end; {Report error and halt} procedure Abort(s : string);...
// ------------------------------------------------------------- // Dadas duas matrizes A e B, programa calcula C = A + B. :~ // ------------------------------------------------------------- Program ExemploPzim ; Var A,B,C : array [ 1..2 , 1..4 ] of integer; i,j : integer; Begin // Leitura da ma...
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Program: TNEMULVT.PAS Description: Delphi component combining both TnCnx and EmulVT components. Hence it does ANSI emulation using TCP/IP telnet protocol. Author: François PIETTE EMail: http://users.swin...
{*******************************************************} { } { Copyright(c) 2003-2018 Oamaru Group , Inc. } { } { Copyright and license exceptions noted in source } { ...
{============================================================================== Copyright (C) combit GmbH ------------------------------------------------------------------------------- File : uChart.pas, uChart.dfm, chart.dpr Module : chart sample Descr. : D: Dieses Beispiel demonstriert das Designen und Druc...
namespace mandelbrot; // Sample app by Brian Long (http://blong.com) { This example demonstrates using varying density characters to render the Mandelbrot set out to stdout } interface type ConsoleApp = class public class method Main(args: array of String); end; implementation cl...
(* Category: SWAG Title: BITWISE TRANSLATIONS ROUTINES Original name: 0011.PAS Description: DEC2BIN2.PAS Author: SWAG SUPPORT TEAM Date: 05-28-93 13:53 *) { True so here is another version of the process that returns a String : } Program Dec2BinRec; Type Str32 = String[32]; Function Dec2BinStr(aNumber ...
unit Forms.Main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, VCL.TMSFNCTypes, VCL.TMSFNCUtils, VCL.TMSFNCGraphics, VCL.TMSFNCGraphicsTypes, VCL.TMSFNCMapsCommonTypes, VCL.TMSFNCCustomControl, VCL.TMSFNCWebB...
// Copyright (©) Ivan Bondarev, Stanislav Mikhalkovich (for details please see \doc\copyright.txt) // This code is distributed under the GNU LGPL (for details please see \doc\license.txt) ///Модуль элементов управления для GraphWPF unit Controls; interface uses GraphWPFBase; uses System.Windows; uses System.Windows...
unit FormExplore; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, StdCtrls, Graphics, Buttons, Grids, ExtCtrls; type TExplorerForm = class(TForm) private FPathPanel: TPanel; FEditPath: TEdit; FSBUpPath: TSpeedButton; FFilenamePanel: TPanel; ...
unit GLDTypes; interface uses Windows, Controls, GL; const GLD_MAX_LISTITEMS = $FFFFFF; type PGLDMethod = ^TGLDMethod; TGLDMethod = procedure of object; PGLDAlphaFunc = ^TGLDAlphaFunc; TGLDAlphaFunc = (afNever, afLess, afEqual, afLessOrEqual, afGreater, afN...
//Se quiere calcular el precio que debe abonar para asegurar un automotor. Los parámetros que determinan el costo son: //• Tipo de vehículo : C- Comercial ($200) ; P- Particular ($ 100) //• Tipo de seguro : 1- Todo riesgo (+30%) ; 2- Básico (sin incremento) //• Accidentes en el período anterior : S ; N ( – 5%) //• Edad...
unit GameObject; {$mode objfpc}{$H+} interface uses Classes, SysUtils, GamePoints, strutils, contnrs; type { TGameObject } TGameObject = class private function GetO: TGamePoint; function GetV: TGamePoint; procedure SetO(AValue: TGamePoint); procedure SetV(AValue: TGamePoint); public ...
PROGRAM Fill; CONST Width = 70; Height = 20; TYPE Color = (S, B, R, G, W); Canvas = ARRAY[1..Height] OF ARRAY[1..Width] OF Color; VAR mainCanvas: Canvas; selectedPixel: Color; FUNCTION ColorToChar(col: Color): CHAR; BEGIN IF col = S THEN ColorToChar := 'S' ELSE IF col = B THEN ColorToChar :=...
{ Copyright (c) 2016 by Albert Molina Copyright (c) 2017 by BlaiseCoin developers Distributed under the MIT software license, see the accompanying file LICENSE or visit http://www.opensource.org/licenses/mit-license.php. This unit is a part of BlaiseCoin, a P2P crypto-currency. } unit UOpTransaction; {$IF...
unit ini_Unit_Meas_Form_Add; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ActnList, ExtCtrls, cxControls, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxButtonEdit, cxLookAndFeelPainters, cxButtons, Variants, Ibase; type Tini_Unit_Meas_Form_A...
unit ChainsawMain; { Chainsaw - a tool to cut your logs down to size. Designed to work with the Log4D implementation. Based on the tool of the same name for log4j (http://log4j.apache.org). Written by Keith Wood (kbwood@iprimus.com.au) Version 1.0 - 19 September 2003. } interface uses Windows, Messages,...
unit AsupBirthDatesReportHeaders_PrintDM; interface uses SysUtils, Classes, DB, FIBDataSet, pFIBDataSet, FIBDatabase, pFIBDatabase, frxClass, frxDBSet, frxDesgn, IBase, Forms, Variants, Controls, FIBQuery, pFIBQuery, pFIBStoredProc, Dialogs, Math, Asup_LoaderPrintDocs_Types, Asup_LoaderPrintDocs_Proc, Asup_...
// the libpipe unit implements piping. // piping from the point of view of the onedb cli, is a method // of passing the output of a command as a input of another next command // // eg: ls /foo | grep file | split " " 3 // ^ pipe ^ pipe // // the above command consists of two pipe processors, "grep" and...
unit Pospolite.View.JS.AST.Interfaces; { +-------------------------+ | Package: Pospolite View | | Author: Matek0611 | | Email: matiowo@wp.pl | | Version: 1.0p | +-------------------------+ Comments: ... } {$mode objfpc}{$H+} interface uses Classes, SysUtils, Pospolite.View.Bas...
unit uSisPessoaList; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, BrowseConfig, Db, Menus, DBTables, Buttons, dxBar, StdCtrls, ExtCtrls, Grids, uParentList, dxGrClms, dxDBGrid, dxDBGridPrint, dxBarExtItems, dxBarExtDBItems, dxCntner, dxTL, ComCtrls, dxtree, dxdbtr...
unit Common.Entities.Gamesituation; interface uses System.Classes,System.Generics.Collections,Neon.Core.Attributes,Common.Entities.Player, Common.Entities.GameType,Common.Entities.Card,Common.Entities.Bet; type TGameState=(gsNone,gsBidding,gsCallKing,gsGetTalon,gsFinalBet,gsPlaying,gsTerminated); TGameResul...
unit MainUnit; interface uses {$IFDEF FPC} LCLIntf, {$ELSE}Windows, Messages, {$ENDIF} SysUtils, Classes, Graphics, Controls, Forms, Dialogs, GR32_Image; type TFmPngDemo = class(TForm) ImageDisplay: TImage32; procedure FormCreate(Sender: TObject); procedure ImageDisplayClick(Sender: TOb...
program HowToCreateUDPProgram; uses SwinGame, SysUtils; const PEER_A_PORT = 2000; PEER_B_PORT = 2001; function SelectPeerType() : Connection; var lInput : String = ''; begin Write('Are You Hosting? [y/n]: '); while (lInput <> 'y') and (lInput <> 'n') do begin ReadLn(lInput); if (lInput = 'y') th...
unit HTTPServer; interface uses IdHTTPServer, IdContext, IdCustomHTTPServer, System.Classes, System.SysUtils, IdGlobal, IdGlobalProtocols,idMultipartFormData, IdCoderQuotedPrintable, IdCoderMIME, IdHeaderList; type THTTPServer = class(TIdHTTPServer) private fRequestInfo : TIdHTTPRequestInfo; f...
unit BZK2_Actor; interface const C_BZKACTOR_OBJECT = 0; C_BZKACTOR_LIGHT = 1; type TBZK2Actor = class private Name : string; Location : integer; MyClass : string; Angle : real; ActorType : byte; Light : integer; Mesh : str...
{$I-,Q-,R-,S-} {Problema 6: Vallas Vacunas [Neal Wu, 2007] El Granjero Juan quiere que las vacas se preparen para la competencia de salto del condado, por lo tanto Bessie y la pandilla están practicando saltar sobre vallas. Ellas se están cansando, sin embargo, ellas quieren ser capaces de usar tan poca energía com...
unit uDataModule; interface uses SysUtils, Windows, Classes, DB, ADODB, Dialogs, ComObj, Registry {$If CompilerVersion >=28} // >=XE7 , System.UITypes {$ENDIF} ; type TDataModule1 = class(TDataModule) dsProducts: TDataSource; ADOConnection1: TADOConnection; Products: TADOTable; OrderDetai...
unit sqlsupport; {$IFDEF FPC} {$MODE Delphi} {$H+} {$ELSE} {$IFNDEF LINUX} {$DEFINE WIN32} {$ENDIF} {$ENDIF} interface uses {$IFDEF WIN32}Windows, {$ENDIF} Classes, SysUtils{, DateUtils}{, System}; //{$IFDEF FPC}, LCLIntf{$ENDIF}; type TDBMajorType = (dbANSI, dbMySQL, dbSQLite, dbODBC, dbJa...
unit UBookClose; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, FIBDatabase, pFIBDatabase, Ibase, StdCtrls, DB, FIBDataSet, pFIBDataSet, dateUtils, ExtCtrls, ComCtrls, cxLookAndFeelPainters, cxButtons, Menus,pFibStoredProc, cxStyles, cxCustomData, cxGraphic...
unit LrVclUtils; interface uses SysUtils, Windows, Types, Messages, Classes, Controls, Forms; procedure LrAddForm(inForm: TForm; inParent: TWinControl; inAlign: TAlign = alClient; inShow: Boolean = true); overload; procedure LrAddForm(out outForm; inFormClass: TFormClass; inParent: TWinControl; inAlign:...
unit Fornecedor; interface type TFornecedor = class private FCodigo: string; FNome: string; FTelefone: string; public property Codigo: string read FCodigo write FCodigo; property Nome: string read FNome write FNome; property Telefone: string read FTelefone write FTelefone; construct...
unit UListItem; interface Type TListItem = class Private Info: string; Next: TListItem; Prev: TListItem; FIsFirst: boolean; FIsLast: boolean; FIsAddBefore: boolean; FIsAddAfter: boolean; FIsDelete: boolean; Public Constructor Create(sInfo: string); Function GetInfo: strin...
unit UDTODeleteText; interface uses Classes, Controls, Forms, StdCtrls, ExtCtrls, UCrpe32; type TCrpeDeleteTextDlg = class(TForm) btnOk: TButton; btnCancel: TButton; pnlDeleteText: TPanel; editTextStart: TEdit; lblTextStart: TLabel; lblTextEnd: TLabel; editTextEnd: TEdit; procedur...
{------------------------------------------------------------------------------------} {program p018_000 exercises production #018 } {subprogram_head -> FUNCTION ID subprogram_parameters : standard_type ; } {----------------------------------------------------------...
unit uEnums; {$I ..\Include\IntXLib.inc} interface type /// <summary> /// <see cref="TIntX" /> divide results to return. /// </summary> TDivModResultFlags = ( /// <summary> /// Divident is returned. /// </summary> dmrfDiv = 1, /// <summary> /// Remainder is ret...
program questao6; { Autor: Hugo Deiró Data: 02/06/2012 - Este programa calcula a área de uma circunferência. Fórmula: PI*R²; } const PI = 3.14; var raio : real; begin write('Insira o raio do círculo: '); readln(raio); writeln; write('A área da circunferência é: ',(PI*sqr(raio)):6:2); end.
{---------------------------------------------------------------- Nome: UntwIRCSecao Descrição: Unit que contém a definição do form TwIRCSecao, que contém o comportamento padrão usado de base para construção dos outros forms(wIRCPVT, wIRCCanal, wIRCStatus). O comportamento padrão está descrito abaixo: -Procedure A...
unit NSqlQueries; {$I ..\NSql.Inc} interface uses NSqlObj, NSqlIntf, NSqlTypes; type TJoin = class(TStatementElement, IJoin) private FStructure: IStructureWithFields; FCondition: ISqlCondition; protected function GetElementType: TStatementElementType; override; function GetPa...
{***************************************************************************} { } { Delphi Package Manager - DPM } { } { ...
unit Misc; interface uses Classes, ActiveX, SysUtils, DirectShow9, Windows; function FindFilter(graph: IGraphBuilder; iid: TGUID): IBaseFilter; function isRomanDigits(const s: String): Boolean; function isLatinWord(const s: String): Boolean; function ConvertStrTimeToMilliseconds(const s: String; const...
unit glIteratorGrid; interface type TglIteratorGrid = class private FWidth, FFirstX, fFirstY, FCurrentX, FCurrentY: Integer; public constructor Create(Width, FirstX, FirstY: Integer); procedure New(Width, FirstX, FirstY: Integer); procedure Up; property Width: Integer read FW...
unit trl_urttibroker; interface uses trl_irttibroker, TypInfo, SysUtils, Classes, StrUtils, fgl, contnrs, trl_ipersist; type { ERBException } ERBException = class(Exception) public class procedure UnsupportedDataAccess(const AItemName: string); class procedure UnknownDataKind(const AClassName, AI...
Program SDA4v17_1; const n = 5; var A: array[1..4*n] of integer; B: array[1..n] of integer; i: integer; begin randomize; write('Massiv A: '); for i:=1 to 4 * n do begin a[i]:=random(50); write(a[i]:4); end; writeln; writeln; for i:=1 to n do begin b[i]:=...
{$I-,Q-,R-,S-} { 127þ N£meros de tel‚fono Turqu¡a 1999 ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ En el mundo actual usted se encuentra frecuentemente muchos n£meros telef¢nicos cada vez m s largos. Usted necesita recordar semejante tipo de n£meros. Un m‚todo...
unit uTurnDef; interface uses System.Classes, System.SysUtils; type TTurnStateChange = procedure(AAddr: cardinal) of object; TTurnDef = class private FAddr: cardinal; FEnterState: word; FExitState: word; FReader: byte; FEnterCardNum: AnsiString; FIsEnterNew: boolean; FExitCard...
/////////////////////////////////////////////////////////////////////////// // PaxCompiler // Site: http://www.paxcompiler.com // Author: Alexander Baranovsky (paxscript@gmail.com) // ======================================================================== // Copyright (c) Alexander Baranovsky, 2006-2014. All righ...
{*******************************************************} { } { Page Parsing Module } { } { Copyright (C) 2014 Company } { ...
unit testtelegram; {$mode objfpc}{$H+} interface uses Classes, SysUtils, fpcunit, testregistry, fpjson, tgsendertypes, testbase, tgtypes; type { TTestSender } { Test sending messages. Object style } TTestSender= class(TTestTelegramClass) private FJSONMediaGroup: String; FPhotoFile: String; FP...
{***************************************************************************} { } { Delphi Package Manager - DPM } { } { ...
unit Chapter03._05_Solution1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, DeepStar.Utils; // 75. Sort Colors // https://leetcode.com/problems/sort-colors/description/ // 计数排序的思路 // 对整个数组遍历了两遍 // 时间复杂度: O(n) // 空间复杂度: O(k), k为元素的取值范围 type TSolution = class(TObject) public procedure SortCol...
//****************************************************************************** // Проект "ГорВодоКанал" (bs) // Файл строковых ресурсов // создан 18/01/2010 // последние изменения Перчак А.Л. 18/01/2010 //****************************************************************************** unit uConsts; interface {Set Lang...
namespace BasicWindowsApp; uses rtl; type Program = class public class var szTitle: LPCWSTR := 'RemObjects Elements — Island Windows Sample'; class var szWindowClass: LPCWSTR := 'IslandWindowsSample'; class var fButton: HWND; [CallingConvention(CallingConvention.Stdcall)] cl...
//Version 26/01/04 unit ContPlug; interface uses Windows; const FT_NOMOREFIELDS = 0; FT_NUMERIC_32 = 1; FT_NUMERIC_64 = 2; FT_NUMERIC_FLOATING = 3; FT_DATE = 4; FT_TIME = 5; FT_BOOLEAN = 6; FT_MULTIPLECHOICE = 7; FT_STRING = 8; FT_FULLTEXT = 9; ft_datetime = 10; // for C...
unit AyahComposer; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, CheckLst, AmlView, HtmlView, QuranStruct, StStrS, ClipBrd, StStrL, XmlObjModel, IslUtils, TextView; type TAyahCompositionAction = (acaNone, acaCopy, acaPrint); TAyahSelectionForm = class(TF...
unit EstoqueFactory.Controller.interf; interface uses Produto.Controller.interf, ImportarProduto.Controller.interf, Orcamento.Controller.interf, ExportarOrcamento.Controller.interf; type IEstoqueFactoryController = interface ['{AE45AEAB-9998-4AC7-BA48-BCBB727F0903}'] function Produto: IProdutoController;...
unit uColorUtils; interface uses Generics.Collections, System.Math, System.SysUtils, System.Classes, Winapi.Windows, Vcl.Graphics, Dmitry.Graphics.Types, uMemory, uStringUtils; type THLS = record H: Byte; L: Byte; S: byte; end; TColorRange = record ...
unit Tella_Listar; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TTela_Listar = class(TForm) mmListar: TMemo; mmHistorico: TMemo; Label1: TLabel; Label2: TLabel; proce...
unit uPesquisa; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.Grids, Vcl.DBGrids, Vcl.StdCtrls, FireDAC.Comp.Client, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Err...
unit Generator; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, ComCtrls, ToolWin, StdCtrls, LrTagParser, htColumns, htRows, htLayout, htAutoTable, htDocument, htGenerator, htWebControl; type // This is a stupid class TGenerator = class...
{ sort with concatenation } var sorted : string; begin sorted := sort('Hello''World'+''#33''); write('Sorted string is: ', sorted) end.
{ Double Commander ------------------------------------------------------------------------- Search & Replace dialog Copyright (C) 2003-2004 Radek Cervinka (radek.cervinka@centrum.cz) Copyright (C) 2006-2022 Alexander Koblov (alexx2000@mail.ru) This program is free software; you can redistribute it ...
unit ULancamentoContabilVO; interface uses Atributos, Classes, Constantes, Generics.Collections, SysUtils, UGenericVO, UPlanoContasVO, UContasReceberVO, UContasPagarVO,UhistoricoVO, ULoteVO, UCondominioVO, ULancamentoPadraoVO, UItensLeituraGasVO; type [TEntity] [TTable('LancamentoContabil')] TLancamentoContabi...
{******************************************************************************* Title: T2Ti ERP Description: VO relacionado à tabela [NFE_DETALHE] The MIT License ...
unit DSA.List_Stack_Queue.ArrayListQueue; interface uses System.SysUtils, System.Rtti, DSA.Interfaces.DataStructure, DSA.List_Stack_Queue.ArrayList; type TArrayListQueue<T> = class(TInterfacedObject, IQueue<T>) private type TArrayList_T = TArrayList<T>; var __arrayList: TArrayList<T>; publ...
{ Laz-Model Copyright (C) 2002 Eldean AB, Peter Söderman, Ville Krumlinde Portions (C) 2016 Peter Dyson. Initial Lazarus port 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 versi...
unit ConverterClasses; interface type TTemperature = class private FValue : Extended; protected class function ToCelsius(AValue: Extended): Extended; virtual; abstract; class function FromCelsius(AValue: Extended): Extended; virtual; abstract; public constructor Create(AValue: Extended = 0.0...
{*******************************************************} { } { ConditionTypeFrame.pas { Copyright @2014/5/15 10:31:43 by 姜梁 { } { 功能描述:添加文件类型条件判断的导航Frame { 函数说明: {******************************...
unit Rel_ContaPagaAvista; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Rel_Exemplo, RLReport, Data_Module, Data.FMTBcd, Data.DB, Data.SqlExpr, Datasnap.Provider, Datasnap.DBClient; type TFm_RelC...
function Gerapercentual(valor:real;Percent:Real):real; // Retorna a porcentagem de um valor begin percent := percent / 100; try valor := valor * Percent; finally result := valor; end; end;
program PongCentipede; uses SwinGame, sgTypes, SysUtils, StrUtils; const PADDLE_HEIGHT_RATIO = 5; PADDLE_WIDTH_RATIO = 35; BALL_SPEED = 10; MOVE_SPEED = 5; BALL_PREFIX = 'BallData:'; DEL = ','; type Ball = record circ : Circle; v : Vector; active : Boolean; end; //Players = record...
unit uModSO; interface uses uModApp, uModSatuan, uModUnit, uModBarang, uModSuplier, System.Generics.Collections, System.SysUtils; type TModSODetail = class; TModSO = class(TModApp) private FAUTUNIT: TModUnit; FSODetails: TObjectList<TModSODetail>; FMerchandise: TModMerchandise; FSO_DATE: ...
unit CrudExampleHorseServer.Model.Entidade.Cadastro; interface uses SimpleAttributes; type TCADASTRO = class private FID: Integer; FNAME: string; FEMAIL: string; procedure SetID(const aValue: Integer); procedure SetNAME(const aValue: string); procedure SetEMAIL(const aValue: string); ...
//********************************************************************************************************************** // $Id: udFind.pas,v 1.7 2006-08-23 15:19:11 dale Exp $ //---------------------------------------------------------------------------------------------------------------------- // DKLang Translatio...
unit Datapar.Conexao.FireDac; interface uses FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, Data.DB, FireDAC.Comp.Client, FireDAC.Stan.Param, FireDAC.DatS, FireDAC.DApt.Intf, FireDAC...
unit uHelpButton; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Buttons, uHelpForm; type TFormOrientation = (fTopToBottom,fBottomToTop); TOilHelpButton = class(TSpeedButton) private FLines: TStrings; FHelpForm: THelpForm; FOwner: TComponent; FCapt...
unit LA.GramSchmidtProcess; interface uses System.SysUtils, LA.Matrix, LA.Vector, LA.ArrayList, LA.LinearSystem; type TVecList = TArrayList<TVector>; TQR = record Q, R: PMatrix; end; function GramSchmidtProcess(basis: TVectorArr): TVecList; function QR(a: TMatrix): TQR; implementation funct...
unit Win32.AVIFMT; (****************************************************************************) (* *) (* AVIFMT.H - Include file for working with AVI files *) (* ...
unit NewFrontiers.GUI.Binding; interface uses Vcl.Controls, Generics.Collections, System.Rtti; type TBinding = class; /// <summary> /// Identifiziert den Teilnehmer eines Bindings eindeutig und stellt die /// Kommunikation mit ihm her. /// </summary> TBindingTarget = class pr...