text
stringlengths
14
6.51M
{$i deltics.interfacedobjects.inc} unit Deltics.InterfacedObjects; interface uses Classes, Deltics.InterfacedObjects.ObjectLifecycle, Deltics.InterfacedObjects.Interfaces.IInterfacedObject, Deltics.InterfacedObjects.Interfaces.IInterfacedObjectList, Deltics.InterfacedObjects.ComInterfacedOb...
{*************************************************************************** * * Orion-project.org Lazarus Helper Library * Copyright (C) 2016-2017 by Nikolay Chunosov * * This file is part of the Orion-project.org Lazarus Helper Library * https://github.com/Chunosov/orion-lazarus * * This Library is free soft...
{$mode objfpc} program Parser; uses List, Tokenizer, AST; var toker: Tokenizer.TTokenizer; var toks : Tokenizer.TTokenList; var asTree : AST.TTree; var argi : integer; begin WriteLn('Hi! I''m RG''s parser!'); Write('Original expression: "'); for argi := 1 to ParamCount do begin Write(ParamStr(argi), ' ...
{ Copyright (C) 2013-2017 Tim Sinaeve tim.sinaeve@gmail.com This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. ...
unit uModel; {$mode objfpc}{$H+} interface uses mORMot, uParty, uProduct, uOrder, uAccounting, uShipment, uMarketing, uWorkEffort, uManufacturing, uHumanres, uCommon, uContent, uSecurity, uService; //Classes, SysUtils; const ROOT_NAME_PARTY = 'party'; ROOT_NAME_PRODUCT = 'product'; ROOT_NAME_ORDER = 'or...
unit b02_denda; interface uses csv_parser, user_handler, peminjaman_handler, pengembalian_handler, utilitas, tipe_data, buku_handler; { DEKLARASI FUNGSI DAN PROSEDUR } procedure denda(awal, akhir: string); { IMPLEMENTASI FUNGSI DAN PROSEDUR } implementation procedure denda(awal, akhir: st...
unit NtUtils.Svc; interface uses Winapi.WinNt, NtUtils.Exceptions, NtUtils.Objects, Winapi.Svc, DelphiUtils.AutoObject; type TScmHandle = Winapi.Svc.TScmHandle; IScmHandle = DelphiUtils.AutoObject.IHandle; TScmAutoHandle = class(TCustomAutoHandle, IScmHandle) destructor Destroy; override; end; TS...
unit Plugins; interface uses {$IFDEF DPMI} { WinProcs, } WinApi, {$ENDIF} {$IFDEF WIN32} Windows, {$ENDIF} {$IFDEF OS2} OS2base, {$ENDIF} Types, Language, Video, Config, Semaphor, Consts_, Wizard, Strings; const Pool: PCollection = Nil; type PService = ^TService; TService = fun...
{********************************************} { TeeChart Pro Charting Library } { Copyright (c) 1995-2004 by David Berneda } { All Rights Reserved } {********************************************} unit TeeEdiPeri; {$I TeeDefs.inc} interface uses {$IFDEF CLR} Borland.VCL.StdC...
unit test_unit2; interface Const MAX_CANTIDAD_SERIES = 4;{predeterminado por la catedra ya que son cuatro series las que se piden} MAX_TEMPORADAS_POR_SERIE = 10;{Valor elejido por el equipo comparando esta cantidad en diferentes sitios} MAX_EPISODIOS_POR_TEMPORADA = 25;{Valor elejido comparando en distint...
{ *************************************************************************** } { } { Delphi and Kylix Cross-Platform Visual Component Library } { } ...
unit PathsAndGroupsManager; interface uses sysUtils, SpecificPaths, ExtensionTypeManager, PathGroups; type TPathsAndGroupsManager = class private fPaths : TSpecificPaths; fPathNames : TSpecificPaths; fGroups : TPathGroups; public constructor Create(); destructor Destroy; override; procedure Dum...
{*******************************************} { TeeChart Pro visual Themes } { Copyright (c) 2003-2004 by David Berneda } { All Rights Reserved } {*******************************************} unit TeeThemes; {$I TeeDefs.inc} interface uses Classes, {$IFDEF CLX} QGraphic...
//****************************************************************************** //*** LUA SCRIPT DELPHI UTILITIES *** //*** *** //*** (c) 2006 Jean-François Goulet ...
unit UOrderClass; interface uses UMarkingClass; type TOrderClass = class private FIDOrder: Integer; Marking: TMarkingClass; function GetNameMarking: string; procedure SetIDorder(const Value: Integer); function GetNameKargo: string; function GetNameTrack: string; function GetNamePricoo...
{ Ultibo Font Builder Tool. Copyright (C) 2021 - SoftOz Pty Ltd. Arch ==== <All> Boards ====== <All> Licence ======= LGPLv2.1 with static linking exception (See COPYING.modifiedLGPL.txt) Credits ======= Information for this unit was obtained from: References ========== PC Screen Fonts (PSF) - https:/...
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, FMX.ScrollBox, FMX.Memo, FMX.Layouts, FMX.StdCtrls, FMX.Controls.Presentation, System.Bluetooth, System.Bluetooth.Components; ...
unit ErrorLog; interface uses SysUtils, Logger, Windows; procedure ReportException(E:Exception); implementation uses jclDebug, Classes, JclHookExcept, Util, SyncObjs; var ReportEvent:TMutex; procedure LogException(E:Exception;const Msg:String); begin if ReportEvent.WaitFor(1000) <> wrSignaled then Exit; try ...
unit UblTr; interface uses Contracts, Xml.XMLIntf, Xml.XMLDoc, System.SysUtils, System.TypInfo, System.Classes, EncdDecd; const PR_cbc = 'cbc'; NS_cbc = 'urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2'; PR_cac = 'cac'; NS_cac = 'urn:oasis:names:specification:ubl:schema:xsd:CommonAgg...
{$A+,B-,D+,E-,F-,G+,I+,L+,N+,O-,P-,Q-,R-,S-,T-,V+,X+,Y+} {$M 65520,0,0} { by Behdad Esfahbod Algorithmic Problems Book September '1999 Problem 34 O(N^4) Matching Method } program BipartiteEdgeColoring; const MaxNum = 100; var M, N, K : Integer; G, H : array [0 .. MaxNum, 0 .. MaxNum] of Integer; Mark : arr...
{*******************************************************} { } { Delphi FireDAC Framework } { FireDAC resource options editing frame } { } { Copyright(c) 2004-2018 Embar...
{ Some useful procedures and functions } unit utils; {$mode objfpc}{$H+} interface uses Classes, SysUtils, dateutils, fileutil; function UnixTime(): int64; function OTFormatString(str: string):string; procedure Split (const Delimiter: Char;Input: string; const Strings: TStrings); function Fil...
{*******************************************************} { } { Borland Delphi Visual Component Library } { Dataset Designer Save Attributes Dialog } { } { Copyright (c) 1997,99...
unit AddEditPadrao2; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters, Menus, FMTBcd, DB, DBClient, Provider, SqlExpr, StdCtrls, cxButtons, ExtCtrls, cxClasses, cxStyles, cxGridTableView, cxContainer, c...
unit Financas.View.Produto; 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, System.Rtti, FMX.Grid.Style, Data.Bind.Controls, Data.Bind.Components, Data.Bind.DBSco...
unit UAplicacao; interface uses Dialogs, Messages, SysUtils, UInter,UGerente, UPais, UEstado, UCidade, UCliente, UFornecedor, UFuncionario, UMarca, UCategoria, UFormaPagamento, UProduto, UFrmConProduto, UCondicaoPagamento, UFrmConCondicaoPagamento, UVenda, UFrmConVenda, UCargo, UContasReceber, UCompra,...
unit ULogData; interface uses Forms, SysUtils, Classes, ULogType; type TLogData = class private class procedure LoadFile; class procedure SaveFile; public class procedure SaveLog(Msg, Routine : string; LogType : TLogType); end; var FLogDataAqr : TextFile; FData : TStringList;...
unit import_FORMAT_proc; interface implementation uses VM_System, VM_SysUtils; var s: string; procedure Test; begin s := format('formatted string: %d', [5]); end; initialization Test(); finalization Assert(S = 'formatted string: 5'); end.
{$A+,B-,D+,E-,F-,G+,I+,L+,N+,O-,P-,Q-,R-,S-,T-,V+,X+,Y+} {$M 65520,0,0} { by Behdad Esfahbod Algorithmic Problems Book January '2000 Problem 32 O(E) Flory Alg. } program EulerianTour; const MaxNum = 100; var N : Integer; G, H : array [1 .. MaxNum, 0 .. MaxNum] of Integer; D : array [1 .. MaxNum] of Integer...
unit fInput; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls, uTokenizer; type TInputFrame = class(TFrame) InputEdit: TRichEdit; procedure InputEditKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); procedure InputEdit...
unit crc16_kermit; interface implementation type PByte = ^UInt8; function Crc16Kermit(Data: PByte; Length: UInt16): UInt16; var i: Int32; Val : UInt16; CRC : UInt16; LB, HB: UInt8; Begin CRC := 0; for i := 0 to Length - 1 do begin Val := (((Data + i)^ XOR CRC) AND $0F) * $1081; CRC := CRC SHR...
{*******************************************************} { } { Borland Delphi Visual Component Library } { } { Copyright (c) 1995,99 Inprise Corporation } { ...
{ Invokable implementation File for Tusuario which implements Iusuario } unit usuarioImpl; interface uses Soap.InvokeRegistry, System.Types, Soap.XSBuiltIns, usuarioIntf; type { Tusuario } Tusuario = class(TInvokableClass, Iusuario) public function echoEnum(const Value: TEnumTest): TEnumTest...
unit MEdit; {$mode objfpc}{$H+} interface uses Classes, SysUtils, StdCtrls, Graphics; type { TMedit } TMedit = class(TEdit) private fRegExpr : string; fValid : boolean; fStrict : boolean; procedure SetRegExpr(const AValue: string); procedure SetValid...
unit SpecificPaths; interface uses classes, sysUtils; type TSpecificPaths = class(TStringList) protected // (object associé) mysuminfo : Tsuminfo; private fReference : TStringList; function GetGroupName(Key : String) : String; procedure SetGroupName(Key : String; value : String); public constructor ...
unit Rx.Observable.AdvancedOps; interface uses Rx, Rx.Implementations, Rx.Subjects, Rx.Observable.Map, Generics.Collections, Generics.Defaults, SyncObjs; type TScanObservable<CTX, T> = class(TMap<T, CTX>) strict private FContext: CTX; FContextHolder: TSmartVariable<CTX>; FScanRoutine:...
unit MapLayerPropertiesDialogUnit; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Db, DBTables, Wwtable, StdCtrls, Mask, wwdbedit, Buttons, ExtCtrls, ComCtrls; type TMappingOptionsSetupAddLayerDialog = class(TForm) LayerInformationGroupBox: TGroupBox; Label1:...
unit Unit1; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, System.PushNotification, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Controls.Presentation, FMX.ScrollBox, FMX.Memo, DW.PushClient; type TForm1 = class(TForm) Memo1...
unit account_impl; {This file was generated on 15 Jun 2000 20:42:11 GMT by version 03.03.03.C1.04} {of the Inprise VisiBroker idl2pas CORBA IDL compiler. } {Please do not edit the contents of this file. You should instead edit and } {recompile the original IDL which was located in the file a...
unit acCustomRelatorioDataUn; interface uses SysUtils, Classes, FMTBcd, Provider, osSQLDataSetProvider, DB, SqlExpr, osUtils, osCustomDataSetProvider, osSQLDataSet, osSqlQuery, acCustomReportUn; type TacCustomRelatorioData = class(TDataModule) MasterDataSet: TosSQLDataset; MasterProvider: To...
unit AviWriter; ///////////////////////////////////////////////////////////////////////////// // // // AviWriter -- a component to create rudimentary AVI files // // by Elliott Shevin, with large pieces of code ...
unit CSCTimer; interface uses Windows; {===Timer declarations===} type TCSCWord32 = type DWORD; {32-bit unsigned integer} TCSCTimer = packed record trStart : longint; trExpire : longint; trWrapped : boolean; trForEver : boolean; end; const CSCTimerInfinite = -1; ...
unit connectionFormHelpersUnit; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.ComCtrls, Vcl.WinXCtrls, TreeViewExUnit, plugin; type TSmallWinControlHelper = class helper for TWinControl procedure ShowMe; procedure HideMe; end; TSp...
unit UNewContactUni; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, dxSkinsCore, Data.DB, Mem...
unit SubBatch; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, OnFocusButton, ComCtrls, OnEditBaseCtrl, OnEditStdCtrl, OnEditBtnCtrl, OnShapeLabel, Db, MemDS, DBAccess, Ora, Datelib, Func, Grids, Comobj, OnScheme; type TFM_Batch = clas...
{*******************************************************} { } { Delphi FireDAC Framework } { } { Copyright(c) 2004-2018 Embarcadero Technologies, Inc. } { All rights rese...
unit ncgFrmFST; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ncgFormBase, cxPCdxBarPopupMenu, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxPC, ExtCtrls; type TFrmFST = class(TFormBaseGuard) Paginas: TcxPageControl; TimerOnTop: ...
unit UDbGrid; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, JvBackgrounds, Grids, DBGrids, JvExDBGrids, JvDBGrid, JvDBUltimGrid, Menus, JvMenus, DB, ZAbstractRODataset, ZAbstractDataset, ZDataset, ZConnection , Clipbrd,USelCol,UnitExcepciones; type Ti...
unit CORBAServerForm; { This is the form that gets displayed when the server is running. A Counter is maintained on this Form to display the number of clients connected to it. For in-depth transfer of information between client and server, please refer to demos in MIDAS directory. } interface uses Windo...
unit UDM; interface uses SysUtils, Classes, DB, SqlExpr, FMTBcd , UMensagens, DBXFirebird, DBXInterBase , DBXCommon, DBClient, Provider ; type TdmEntra21 = class(TDataModule) SQLConnection: TSQLConnection; SQLSelect: TSQLDataSet; procedure DataModuleCreate(Sender: TObject); private FTrans...
{*************************************************************** * * Project : FTPDemo * Unit Name: mainf * Purpose : This demo demonstrates the use of IdFTP and IdDebugLog components * : supports both UNIX and DOS directory listings * Version : 1.0 * Date : Wed 25 Apr 2001 - 01:15:09 * Author : Doychin...
(**************************************************************************** (c) 1992 by Michelangelo Policarpo per Sound Blaster Digest Italia Unit FM per la gestione diretta della sezione FM di una qualsiasi scheda AdLib compatibile. Versione 1.0 7/10/92 Primo rilascio al Pubblico Dominio L'autore h...
(***************************************************************************** * Pascal Solution to "Interesting Intersections" from the * * * * Seventh Annual UCF ACM UPE High School Programming Tournament * ...
unit FC.StockChart.UnitTask.Calendar.Editor; interface {$I Compiler.inc} uses Types, SysUtils,Classes, BaseUtils, Serialization, StockChart.Definitions.Units,StockChart.Definitions, FC.Definitions, FC.Singletons, FC.StockChart.UnitTask.Base; implementation uses Graphics, StockChart.Definitions.Drawing, Sto...
// GLMultiProxy {: Implements a multi-proxy objects, useful for discreet LOD.<p> <b>History : </b><font size=-1><ul> <li>23/08/10 - Yar - Added OpenGLTokens to uses, replaced OpenGL1x functions to OpenGLAdapter <li>19/12/06 - DaS - Fixed a bug in TGLMultiProxy.Destroy <li>26/11/03 - EG - Added...
unit main; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls, LedNumber; type { TForm1 } TForm1 = class(TForm) Bevel1: TBevel; cbZeroToO: TCheckBox; cbSlanted: TCheckBox; edCaption: TEdit; lblSize: TLabel; lblCaption: TLabe...
unit WinBase; interface uses Windows, Messages; type TAppIdeEvent = procedure of object; TWinApp = class(TObject) public constructor Create; function MainWndProc(hWnd: HWND; uMsg: UINT; wParam: wPARAM; lParam: LPARAM): HRESULT; stdcall; private FInstance: THandle; FPlug...
{~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ UltraMIX - AIMP3 plugin Version: 1.4.2 Copyright (c) Lyuter Mail : pro100lyuter@mail.ru ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~} unit UltraMixMain; interface uses Windows, SysUtils, Classes, StrUtils, ...
unit uLembreteDAO; interface uses uLembrete, classes, DB, SysUtils, generics.defaults, generics.collections, Dialogs, uDM, uBaseDAO, FireDAC.Comp.Client; type TLembreteDAO = class(TBaseDAO) private FListaLembrete: TObjectList<TLembrete>; procedure PreencherColecao(Ds: TFDQuery); public constru...
unit f09_tambahbaru; interface uses buku_handler; { DEKLARASI FUNGSI DAN PROSEDUR } procedure tambah_baru(var data_buku: tabel_buku); { IMPLEMENTASI FUNGSI DAN PROSEDUR } implementation procedure tambah_baru(var data_buku: tabel_buku); { DESKRIPSI : prosedur untuk menambahkan buku baru ke data buku } { PARA...
{ "RTC Gate Receiver Link" - Copyright 2004-2017 (c) RealThinClient.com (http://www.realthinclient.com) @exclude } unit rtcXGateRecv; interface {$include rtcDefs.inc} uses Classes, SysUtils, rtcTypes, rtcSystem, rtcConn, rtcInfo, rtcGateConst, rtcGateCli, rtcXGateCID...
unit mdf_AddRestrFieldToInv_BalanceOption; interface uses IBDatabase, gdModify; procedure AddRestrFieldToInv_BalanceOption(IBDB: TIBDatabase; Log: TModifyLog); implementation uses IBSQL, SysUtils, mdf_MetaData_unit; procedure AddRestrFieldToInv_BalanceOption(IBDB: TIBDatabase; Log: TModifyLog); var FTr: TI...
{*******************************************************} { } { Delphi Visual Component Library } { Copyright(c) 2012-2018 Embarcadero Technologies, Inc. } { All rights reserved } { ...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { } { Copyright(c) 2010-2018 Embarcadero Technologies, Inc. } { All rights rese...
{****************************************************} { } { Delphi Functional Library } { } { Copyright (C) 2015 Colin Johnsun } { ...
{*******************************************************} { } { Delphi REST Client Framework } { } { Copyright(c) 2014-2018 Embarcadero Technologies, Inc. } { All rights rese...
unit Utw_cap; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Dll96v1, StdCtrls; type TTwainCaps = class(TForm) Button1: TButton; ListBox1: TListBox; Label1: TLabel; Edit1: TEdit; Label2: TLabel; Edit2: TEdit; Label3: TLabel; eMinValue: T...
unit NodeOutline; interface uses Classes, Outline, Nodes; type TNodeOutLine = class(TOutLine) public procedure SelectNode(ANode: TNode); procedure Show(ANode: TNode); end; implementation //=============================================================== uses Repr; { TNode...
unit UHttp; interface uses SysUtils, Windows, Messages, Classes, Graphics, Controls, Forms, Dialogs, IdBaseComponent, IdComponent, IdCustomTCPServer, IdCustomHTTPServer, IdHTTPServer, StdCtrls, ComCtrls, IdServerIOHandler, IdSSL, IdSSLOpenSSL, IdIOHandler, IdIOHandlerSocket, IdIOHandlerStack, IdTCPConnectio...
unit uDbObject; interface uses Data.DB, System.SysUtils, System.Classes, Datasnap.DBClient, System.Variants, Vcl.Forms, uDbCustomObject; const cMsgDeleteEmpty : string = ''; const cMsgErrorDelete : String = ''; const cMsgErrorRowsAffectedDelete : String = ''; type TOperacaoBd = (dbInser...
{*************************************************************** * * Project : Traceroute * Unit Name: fmTraceRouteMainU * Purpose : Demonstrates a TraceRoute using ICMP * Version : 1.0 * Date : Wed 25 Apr 2001 - 01:38:35 * Author : <unknown> * History : * Tested : Wed 25 Apr 2001 // Allen O'Neill <a...
unit Unit1; interface uses System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, //GLS GLNGDManager, GLScene, GLObjects, GLCoordinates, GLCadencer, GLWin32Viewer, GLCrossPlatform, GLBaseClasses, GLVectorGeometry; type TForm1 = class(TForm) ...
{$A+,B-,D+,E-,F-,G+,I+,L+,N+,O-,P-,Q-,R-,S-,T-,V+,X+,Y+} {$M 1024,0,0} { by Behdad Esfahbod Algorithmic Problems Book April '2000 Problem 139 O(E) Bfs Method } program RailsNetwork; const MaxN = 100; MaxE = 3 * MaxN; var N, S, T : Integer; G : array [1 .. MaxN, 0 .. MaxN + 1] of Integer; D : array [1 .. ...
unit MiscTypes; interface type TClientSummary = class HClient : String; HHours : Double; HRevenue: Double; published property Client : String read HClient write HClient; property Hours : Double read HHours write HHours; property Revenue:...
{==============================================================================| | Project : Ararat Synapse | 001.004.000 | | Project : Internet Tools | 001.004.000 | |=========================================================================...
unit uDrawingSupport; interface uses uBase, GdiPlus, Graphics, Windows; const DefColor = clRed; PGDefColor = TGPColor.Red; type ICoordConverter = interface function LogToScreen( aValue : Extended ) : integer; overload; function ScreenToLog( aValue : integer ) : Extended;...
unit HKConnection; {$mode objfpc}{$H+} interface uses Classes, SysUtils, fpjson, LResources, Forms, Controls, Graphics, Dialogs, Requester, HKCompPacksTypes, HKLogFile; type { THKConnection } THKConnection = class(TComponent) private FBaseUrl: String; FLogComponent: THKLogFile; FonDebugMsg: ...
{ Copyright (C) 1998-2011, written by Mike Shkolnik, Scalabium Software E-Mail: mshkolnik@scalabium WEB: http://www.scalabium.com Const strings for localization freeware SMComponent library } unit SMCnst; interface {English strings} const strMessage = 'Skriv ut...'; strSaveChanges = 'Vill d...
unit FC.StockData.InputDataCollectionLimitor; {$I Compiler.inc} interface uses BaseUtils,SysUtils, Classes, Controls, Serialization, StockChart.Definitions,FC.Definitions, StockChart.Obj; type //---------------------------------------------------------------------------- IStockInputDataCollectionLimitor = in...
unit PropertyStyle; interface type TPropertyStyle = (psInteger, psString, psBoolean, psFloat, psDouble, psStringList); const PROPERTY_STYLE_COUNT = 6; implementation end.
{***************************************************************************} { Copyright 2021 Google LLC } { } { Licensed under the Apache License, Version 2.0 (the "License"); } { yo...
// // Copyright (c) 2009-2010 Mikko Mononen memon@inside.org // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use of this software. // Permission is granted to anyone to use this software for any purpose...
unit Tests_OriStrings; {$mode objfpc}{$H+} interface uses FpcUnit, TestRegistry; type TTest_OriStrings = class(TTestCase) published procedure SplitStr; end; implementation uses OriStrings; procedure TTest_OriStrings.SplitStr; var S: String; R: TStringArray; begin S :=...
//////////////////////////////////////////////////////////////////////////////// // // // FileName : SUIProgressBar.pas // Creator : Shen Min // Date : 2002-05-27 // Comment : // // Copyright (c) 2002-2003 Sunisoft // http://www.sunisoft.com // Email: support@sunisoft.com // /////////////...
PROGRAM Sort(INPUT, OUTPUT); VAR F1: TEXT; Ch: CHAR; PROCEDURE CopyText(VAR FromFile, ToFile: TEXT); VAR Ch: CHAR; BEGIN RESET(FromFile); REWRITE(ToFile); WHILE NOT EOLN(FromFile) DO BEGIN READ(FromFile, Ch); WRITE(ToFile, Ch); END; END; BEGIN {Проверка успешности копирования текста...
unit ejb_sidl_java_sql_i; {This file was generated on 28 Feb 2001 10:06:55 GMT by version 03.03.03.C1.06} {of the Inprise VisiBroker idl2pas CORBA IDL compiler. } {Please do not edit the contents of this file. You should instead edit and } {recompile the original IDL which was located in the...
unit xHttpServer; interface uses System.SysUtils, System.Types, System.Classes, IdBaseComponent, IdComponent, IdCustomTCPServer, IdCustomHTTPServer, IdHTTPServer, IdContext; type THttpServer = class private FHttpServer: TIdHTTPServer; FRootDir: string; FFileText : TStringList; ...
{----------------------------------------------------------------------------- Unit Name : Bugger.pas Author : n0mad Version : (B) 2004.11.12.02 Creation : 04.04.2003 Purpose : Debuging functions Program : Universal unit History : ---------------------------------------------------------...
// // Created by the DataSnap proxy generator. // 2017-03-02 ¿ÀÈÄ 5:27:11 // unit unit1; interface uses System.JSON, Data.DBXCommon, Data.DBXClient, Data.DBXDataSnap, Data.DBXJSON, Datasnap.DSProxy, System.Classes, System.SysUtils, Data.DB, Data.SqlExpr, Data.DBXDBReaders, Data.DBXCDSReaders, Data.DBXJSONReflect; t...
unit ExportToMSSQLCmd; interface procedure ExportToMSSQL(tableName, databaseName : String; userId, password : String; hostName : String; hostPort : Integer); implementation uses SysUtils, StrUtils, edbcomps, Ses...
unit uMensagem; interface uses Vcl.Dialogs, System.SysUtils, Vcl.Forms, Vcl.Controls, Vcl.Consts; procedure infoMessage (AMensagem: string); procedure warningMessage(AMensagem: string); procedure errorMessage (AMensagem: string); function questionMessage(AMensagem: String): Boolean; implementation function que...
{ ******************************************************************************************************************* SpiderCGI: Contains TSpiderCGI component which generate a CGI application. Any Free Spider CGI application should containe only one TSpiderCGI component Author: Motaz Abdel Aze...
unit DescriptionsQuery; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, Fi...
unit uUsuario; interface uses uPaiControle, uCidade, uAtributosCustomizados; type TUsuario = class(TControle) private FIdUsuario: Integer; FSenha: string; FEmail: string; FNome: string; FIdCidade: integer; FCidade: TCidade; function GetCidade: TCidade; public ...
{ Device driver for USBCAN devices. } module can_usbcan; define can_addlist_usbcan; define can_open_usbcan; %include 'can2.ins.pas'; %include 'usbcan.ins.pas'; type dev_p_t = ^dev_t; dev_t = record {private device data for this driver} uc: usbcan_t; {USBCAN library...
unit InternetHTTP; interface uses Windows; type TDownloadStatus = record SizeOfFile: LongWord; DownloadSpeed: single; ReceivedBytes: LongWord; RemainingTime: single; // Указатель на файл в памяти (если выбрана загрузка в память) FilePtr: pointer; // За 1 такт: Cur...
uses GRAPH, CRT, { KeyPressed } KeyCodes, MathLib0; {max, min} { ---------------------------------------------------------------} PROCEDURE OpenGraph; VAR ErrorCode, GraphDriver, GraphMode : INTEGER; Begin GraphDriver := VGA { ATT400 }; GraphMode := VGAHi { ATT400HI }; InitGr...
unit adot.Collections.VectorsNew; interface uses adot.Collections, adot.Collections.Types, adot.Types, adot.Collections.Slices, adot.Collections.Sets, adot.Tools, adot.Tools.Rtti, System.Generics.Collections, System.Generics.Defaults, System.SysUtils, System.RTLConsts; type TVectorDataStorage...
unit Rotinas; interface uses Windows, Messages, SysUtils, Classes, Forms, Dialogs, Variants, Math; procedure PreencheLista(Lista: TStringList); function LocalizaMaiorNumero(Lista: TStringList): String; function MontarLista(Lista: TStringList): TStringList; function OrdenacaoCustomizada(List: TStringList; Index1, I...
unit SolidRectangleButton; interface uses System.SysUtils, System.Classes, FMX.Types, FMX.Controls, System.Types, FMX.Objects, FMX.StdCtrls, System.UITypes, FMX.Graphics, FMX.Dialogs, System.Math, System.Math.Vectors, FMX.Edit, FMX.Layouts, FMX.Effects, TransparentRectangleButton, ColorClass; type TSolidRe...