text
stringlengths
14
6.51M
unit ccGlobal; {$mode objfpc}{$H+} interface uses Classes, SysUtils; type TLenUnits = (lu_nm, lu_Microns, lu_cm, lu_m); TAreaUnits = (au_nm2, au_Microns2, au_cm2, au_m2); TVolumeUnits = (vu_nm3, vu_Microns3, vu_cm3, vu_m3); TCapaUnits = (cu_aF, cu_fF, cu_pF, cu_nF, cu_F); TEFieldUnits = (eu_mV_nm, eu_V_...
unit UDM; interface uses System.SysUtils, System.Classes, Data.DBXDataSnap, IPPeerClient, Data.DBXCommon, Datasnap.DBClient, Datasnap.DSConnect, Data.DB, Data.SqlExpr, FMX.Graphics, System.IOUtils, UClass; type TDM = class(TDataModule) SQLConnection1: TSQLConnection; DSProviderConnection1: TDSProvide...
{ Copyright (C) Alexey Torgashin, uvviewsoft.com License: MPL 2.0 or LGPL } unit ATSynEdit_Cmp_AcpFiles; {$mode objfpc}{$H+} interface uses Classes, SysUtils, StrUtils, Graphics, ATSynEdit; procedure DoEditorCompletionAcp(AEdit: TATSynEdit; const AFilenameAcp: string; ACaseSens: boolean); implementation us...
{(*} (*------------------------------------------------------------------------------ Delphi Code formatter source code The Original Code is frClarify.pas, released April 2000. The Initial Developer of the Original Code is Anthony Steele. Portions created by Anthony Steele are Copyright (C) 1999-2008 Anthony S...
{ $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 rights reserv...
unit NetComRegister; // ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // NetCom7 Package // 13 Dec 2010, 12/8/2020 // // Written by Demos Bill // VasDemos@yahoo.co.uk // // /////////////////////////////////////////////////////////////...
// // This unit is part of the GLScene Project, http://glscene.org // { : GLImageUtils<p> Main purpose is as a fallback in cases where there is no other way to process images.<p> <b>Historique : </b><font size=-1><ul> <li>07/09/11 - Yar - Bugfixed memory overrun in Build2DMipmap (thanks to benok1) <li>0...
unit Test.Devices.Logica.SPT961.Parser; interface uses TestFrameWork, Devices.Logica.SPT961, GMGlobals, Classes, Test.Devices.Base.ReqParser; type TSPT961ReqParserTest = class(TDeviceReqParserTestBase) private reqParser: TSPT961AnswerParser; ResDevNumber: int; ResType: TSPT961AnswerType; ResChn:...
unit MIRTMainFrm; ///////////////////////////////// // // // Description: MIRT main form // // // ///////////////////////////////// interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Spin, ExtCtrls, ...
unit caseof_2; interface implementation function GetID(const Str: string): Int32; begin case Str of 'str1': Result := 1; 'str2': Result := 2; 'str3': Result := 3; else Result := -1; end; end; var G0, G1, G2: Int32; procedure Test; begin G0 := GetID('blabla'); G1 := GetID('str2...
unit HandsetBrand; interface uses HandsetSoft; type THandsetBrand = class private FHandsetSoft: THandsetSoft; FBrand: string; public procedure SetHandsetSoft(HandsetSoft: THandsetSoft; Brand: string); procedure Run; virtual; abstract; end; THandsetBrandN = class(THandsetBrand) public ...
unit nearunityunit; interface uses Math, Sysutils, Ap; function Log1P(x : AlglibFloat):AlglibFloat; function ExpM1(x : AlglibFloat):AlglibFloat; function CosM1(x : AlglibFloat):AlglibFloat; implementation function Log1P(x : AlglibFloat):AlglibFloat; var z : AlglibFloat; LP : AlglibFloat; LQ...
unit LayoutPersistent; interface type ILayout = interface ['{37C7A7D1-7F08-4D69-BDDE-E500AF42BE6A}'] function GetLayoutName : string; procedure SetLayoutName (const ALayoutName : string); function GetValue (const AValueName) : Variant; procedure SetValue (const AValueName : string; con...
unit filtroRel.DesempenhoAluno; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, unFiltroRelModelo, Vcl.Buttons, Vcl.ExtCtrls, Vcl.ComCtrls, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan...
{*********************************************} { TeeBI Software Library } { TBIGrid plugin for TeeGrid } { } { https://www.steema.com/product/gridvcl } { } { Copyright (c) 2016-2017 by St...
unit ServerMain; interface uses System.SysUtils, System.Classes, Datasnap.DSServer, Datasnap.DSAuth, System.JSON; type {$METHODINFO ON} TServerMethods1 = class(TComponent) private { Private declarations } procedure FormatarJSON(const AIDCode: Integer; const AContent: string); public { Public decl...
{ $Log: C:\PROGRAM FILES\GP-VERSION LITE\Archives\Reve64\Source\MoveGenerator.paV { { Rev 1.0 28/09/03 20:28:21 Dgrava { Initial Revision } { Rev 1.4 15-6-2003 20:38:28 DGrava Disabled forward pruning. Added Quiescens check. } { Rev 1.3 10-3-2003 21:46:24 DGrava Little enhancements. ...
{ LEOShell - Intérprete de comandos experimental Copyright (C) 2015 - Valentín Costa - Leandro Lonardi 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 3 of the Lic...
{ @exclude } unit rtcDBTypes; interface uses DB, DBClient, rtcInfo; {$include rtcDefs.inc} const RTC_DB2FIELD_TYPE: array[TFieldType] of TRtcFieldTypes = ( ft_Unknown, ft_String, ft_Smallint, ft_Integer, ft_Word, ft_Boolean, ft_Float, ft_Currency, ft_BCD, ft_Date, ft_Time, ft_DateTime, ft_Bytes,...
unit pFIBEditorsConsts; interface const (************************************) (** Database parameter block stuff **) (************************************) isc_dpb_version1 = 1; isc_dpb_cdd_pathname = 1; isc_dpb_allocation = 2; isc_dpb_journal ...
// // This unit is part of the GLScene Project, http://glscene.org // { : GLFullscreenViewer<p> A Platform specific full-screen viewer.<p> Note: Eng: Lazarus has problems with minimizing and normalizing windows. See code DoAvtivate DoDeactivate. Tests were conducted on Lazarus 0.9.29.24627. If these ...
unit KeyCodes; (* copyright 1991 by Art Steinmetz *) interface uses CRT; CONST { These are valid ASCII codes } ESC = 27; BS = 8; SP = 32; LF = 10; FF = 12; CR = 13; Break = 3; { These are only valid if you use the GetKey procedure below } F1 = 315; F2 = 316; F3 = 317; ...
{********************************************} { TeeChart Pro PS Canvas and Exporting } { Copyright (c) 2002-2004 by Marjan Slatinek } { and David Berneda } { All Rights Reserved } {********************************************} unit TeePSCanvas; {$I TeeDefs.inc} in...
unit Unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls; type { TfrmTestResults } TfrmTestResults = class(TForm) btnSummary: TButton; edtTotal: TEdit; gpbSummary: TGroupBox; lblPassed: TLabel; lblAverage: TLabel; lblHig...
unit Ths.Erp.Database.Table.AyarPrsYabanciDilSeviyesi; interface {$I ThsERP.inc} uses SysUtils, Classes, Dialogs, Forms, Windows, Controls, Types, DateUtils, FireDAC.Stan.Param, System.Variants, Data.DB, Ths.Erp.Database, Ths.Erp.Database.Table; type TAyarPrsYabanciDilSeviyesi = class(TTable) private ...
unit XMLBuilderWriter; interface uses SysUtils, Variants, Classes, WebAdapt, WebComp, DBAdapt, XMLDoc, XMLIntf, Contnrs, XMLBuilderComp; type TXMLWriter = class(TInterfacedObject, IXMLWriter) private FXMLDocument: IXMLDocument; FXMLNode: IXMLNode; FList: TStack; protected { IXMLWriter } ...
unit DragDropFormats; // ----------------------------------------------------------------------------- // Project: Drag and Drop Component Suite. // Module: DragDropFormats // Description: Implements commonly used clipboard formats and base classes. // Version: 4.0 // Date: ...
unit SeniorPercentCalculationForm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, Db, DBTables; type TSeniorIncomePercentCalculationForm = class(TForm) Label1: TLabel; IncomeEdit: TEdit; Label2: TLabel; OKButton: TBitBtn; SeniorIn...
{*******************************************************} { } { Delphi FireDAC Framework } { FireDAC CDS Local SQL adapter } { } { Copyright(c) 2004-2018 Embar...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { } { Copyright(c) 2014-2018 Embarcadero Technologies, Inc. } { All rights rese...
unit XmlPreview; 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, cxTextEdit, cxMemo, xmlDoc; type TXmlPreviewDlg = class(TF...
unit osMaquina; interface uses Classes, SysUtils, OsParser, osFuncoesParser, osParserErrorHand; type { Item a ser usado em listas de busca por nome } TItemLookup = class FNome: String; public property Nome: String read FNome write FNome; end; { Listas de busca de item por nome } ...
{*******************************************************} { } { Borland Delphi Visual Component Library } { SOAP Support } { } { Copyright (c) 2001 Borland S...
unit uUpdateService; interface function UpdateService(ANewFile, AServiceName: string): boolean; function GetServiceAppPath(AServiceName: string): string; function GetServiceVersion(AServiceName: string): string; implementation uses Windows, SysUtils, JwaWinSvc, uGlobal, slmlog, uFileVersionProc; functi...
unit Pies; interface uses Classes, Controls, Forms, Graphics, StdCtrls; type TAngles = class(TPersistent) private FStartAngle: Integer; FEndAngle: Integer; FOnChange: TNotifyEvent; procedure SetStart(Value: Integer); procedure SetEnd(Value: Integer); public procedure Assign(Value: TAngl...
{*********************************************************************** Unit gfx_RotResize.PAS v1.2 0801 (c) by Andreas Moser, amoser@amoser.de, except the Resample function (c) by Anders Melander, anders@melander.dk Delphi version : Delphi 4 gfx_RotResize is part of the gfx_library collection...
UNIT WishListUnit; INTERFACE TYPE WishNodePtr = ^WishNode; PersonNodePtr = ^PersonNode; WishNode = record prev, next: WishNodePtr; wish: string; n: integer; (*number of occurences of the wish*) children: PersonNodePtr; end; (*RECORD*) PersonNode = record n...
unit keyb_obj; { OOP keyboard unit. Uses the BIOS whenever possible for maximum compatibility (this may be a factor in supporting Tandy 1000 and PCjr properly). Targeted towards the lowest-common denominator (83-key keyboard) for maximum audience. } {{DEFINE TRUEIBM} {if you don't care about clones, define this for...
unit TechnoGenerator; interface uses GeneratorInterface, Generator, classes ; type TTechnoClassGenerator = class(TObject, iClassGenerator) private FCountRef: integer; protected FGenerator: TGenerator; public constructor Create; overload; constructor Cr...
unit StatusFrm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons; type TStatusForm = class(TForm) DocGroupBox: TGroupBox; SendDateEdit: TEdit; RecvDateEdit: TEdit; DocTypeEdit: TEdit; SendDateLabel: TLabel; RecvDat...
unit ResizerCommonTypesUnit; //////////////////////////////////////////////////////////////////// // // // Description: Types, enumerated or otherwise, useful to Resizer // // Conversion functions for stated types // // ...
1 program ISBN; 2 { (c) 2002, Tom Verhoeff, TUE } 3 { 2006, Etienne van Delden, TUE} 4 { Programma om te controleren of het ingegeven ISBN een geldig ISBN is. } 5 6 var 7 input: String; // string om ISBN in te lezen 8 9 const 10 AantalCijfersInISBN = 10; ...
unit OpenDialogEx; interface uses SysUtils, Classes, Dialogs, ExtCtrls; type TOpenDialogEx = class(TOpenDialog) private FOnCreate : TNotifyEvent; FOnDestroy : TNotifyEvent; FExPanel : TPanel; procedure SetExPanel(APanel : TPanel); protected // Fast access for ofen used common...
unit Display; 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.Controls.Presentation, FMX.StdCtrls, Turtle, FMX.Edit, FMX.EditBox, FMX.NumberBox, DefinedGrammars, Parser, FMX.Menus, FM...
unit IdSimpleServer; interface uses Classes, IdSocketHandle, IdTCPConnection, IdStackConsts; type TIdSimpleServer = class(TIdTCPConnection) protected FAbortedRequested: Boolean; FAcceptWait: Integer; // FBinding: TIdSocketHandle; FBoundIP: String; FBoundPort: Integer; FListenHandle: T...
{$MODE OBJFPC} program Triangles; const InputFile = 'TRIANGLES.INP'; OutputFile = 'TRIANGLES.OUT'; maxN = 5000; var a, b, freq: array[1..maxN + 1] of Integer; n, m: Integer; res: Int64; procedure Enter; var f: TextFile; i: Integer; begin AssignFile(f, InputFile); Reset(f); try ...
unit microdom; interface uses Classes; type TuDomElementList = class; TuDomElement = class(TObject) {$IFDEF __TEST__}public{$ELSE}private{$ENDIF} function GetValue: string; {$IFDEF __TEST__}public{$ELSE}protected{$ENDIF} m_name: string; m_values: TStringList; m_nodes: TuDomElementList; pu...
// isctype.h - Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details // "msvcrt.dll" partial implementation for Delphi + some functions extended (C) 2013 - Snow Panther Unit isctype; Interface Function isalnum(c : Integer) : Integer; Function isalpha(c : Integer) : Integer; Function isprint(c : Integer) : I...
unit adot.Grammar.Types; interface uses adot.Types, adot.Collections, adot.Collections.Vectors, adot.Collections.Sets, adot.Collections.Trees, adot.Tools, adot.Tools.IO, adot.Tools.Rtti, adot.Strings, {$IF Defined(LogExceptions)} {$Define LogGrammar} adot.Log, {$ENDIF} System.Generics....
unit JD.Weather.WUnderground; interface uses System.Classes, System.SysUtils, System.Generics.Collections, System.Types, System.UITypes, Vcl.Graphics, Vcl.Imaging.Jpeg, Vcl.Imaging.PngImage, Vcl.Imaging.GifImg, JD.Weather, JD.Weather.Intf, SuperObject; type TWUEndpoint = (weAll, weAlerts, weAlmanac, weAstr...
unit SortExtendedArrayBenchmark1Unit; {$mode delphi} interface uses Windows, BenchmarkClassUnit, Classes, Math; type TSortExtendedArrayThreads = class(TFastcodeMMBenchmark) public procedure RunBenchmark; override; class function GetBenchmarkName: string; override; class function GetBenchmarkDescript...
{----------------------------------------------------------------------------- Unit Name: ShellUtilities This software and source code are distributed on an as is basis, without warranty of any kind, either express or implied. This file can be redistributed, modified if you keep this header. Copyright ©...
unit oCoverSheetParam_CPRS_Vitals; { ================================================================================ * * Application: CPRS - CoverSheet * Developer: doma.user@domain.ext * Site: Salt Lake City ISC * Date: 2015-12-04 * * Description: In...
unit fOrdersComplete; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, fAutoSz, StdCtrls, ORFn, ORCtrls, VA508AccessibilityManager; type TfrmCompleteOrders = class(TfrmAutoSz) Label1: TLabel; lstOrders: TCaptionListBox; cmdOK: TButton; cmdCancel: TButton;...
unit HKPaginantion; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls, HKPaginationModel; type { THKPaginantion } THKPaginantion = class(TPanel) private FFirstBtn:TButton; FLastBtn:TButton; FNextBtn:TButton; FPrevBtn:...
unit PaymentCash; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Grids, DBGridEh, DB, ComCtrls, ToolWin; type TPaymentCashForm = class(TForm) DBGridEh1: TDBGridEh; Panel1: TPanel; CloseButton: TButton; ToolB...
unit GrafLib1; interface uses GrafLib0; CONST VectorArraySize = 32; epsilon = 0.0000001; { pi = 3.1415926535 already defined in Turbo} TYPE Vector2 = RECORD x,y : INTEGER END; Vector2Array = ARRAY[1..VectorArraySize] OF Vector2; RealArray = ARRAY[1..VectorArraySize] OF REAL; IntegerArray = ARRAY[1....
unit SocketAppImpl; interface {$MODE OBJFPC} uses {$IFDEF UNIX} cthreads, {$ENDIF} classes, sysutils, sockets, fpAsync, fpSock, ThreadIntf, ThreadPoolIntf; type TSocketWebApplication = class(TInterfacedObject, IWebApplication, IRunnable) private evLoop: TEven...
PROGRAM TreeCount; TYPE TreeNodePtr = ^TreeNode; TreeNode = RECORD left, right: TreeNodePtr; data: INTEGER; END; TreePtr = TreeNodePtr; PROCEDURE InitTree(VAR t: TreePtr); BEGIN t := NIL; END; PROCEDURE DisposeTree(t: TreePtr); BEGIN IF t = NIL THEN ELSE BEGIN D...
unit Unit2; {$mode objfpc}{$H+} interface uses Classes, SysUtils; type TConfigA = class(TObject) strict private FValue:String; function GetValue:String; procedure SetValue(pValue:String); public constructor Create; destructor Destroy;override; property Value:String re...
unit IdURI; {Details of implementation ------------------------- 2002-Apr-14 Peter Mee - Fixed reset. Now resets FParams as well - wasn't before. 2001-Nov Doychin Bondzhev - Fixes in URLEncode. There is difference when encoding Path+Doc and Params 2001-Oct-17 Peter Mee - Minor speed improvement - removed use of Nor...
unit FrmModsManage; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, UFileUtilities, Vcl.StdCtrls, SuperObject, Vcl.ComCtrls, USettingsManager, sButton, sListBox, sLabel, WinApi.ShellApi, ULanguageLoader; typ...
unit CommonConst; interface const REG_APP_NAME = 'DsgLib.1'; FILE_EXT = '.zcb'; NEW_FILE_NAME_NO_EXT = 'Элементы схем'; NEW_FILE_NAME = NEW_FILE_NAME_NO_EXT + FILE_EXT; MSG_CONSIST_NAME = 'Совпадение имен.'; HELP_CONSIST_NAME = 0; MSG_DELETE_PARAM = 'Удалить параметр ?'; HELP_DELETE_PARAM = 0; MSG...
unit IdMessageClient; { 2001-Oct-29 Don Siders Modified TIdMessageClient.SendMsg to use AHeadersOnly argument. 2001-Dec-1 Don Siders Save ContentDisposition in TIdMessageClient.ProcessAttachment } interface uses Classes, IdGlobal, IdMessage, IdTCPClient, IdHeaderList; type TIdMessageClient = cla...
unit IWTreeview; {PUBDIST} interface uses {$IFDEF Linux}QControls,{$ELSE}Controls,{$ENDIF} {$IFDEF Linux}QGraphics,{$ELSE}Graphics,{$ENDIF} {$IFDEF Linux}QForms,{$ELSE}Forms,{$ENDIF} Classes, SysUtils, IWControl, IWHTMLTag, IWFileReference; Type TIWTreeViewItems = class; IIWTreeViewDesigner = interfac...
unit ccHash; interface const SHA256_SIZE = 32; function SHA256(pData: Pointer; iData: Integer; pKey: Pointer; iKey: Integer): Pointer; implementation uses Windows, WinApi_BCrypt; function SHA256(pData: Pointer; iData: Integer; pKey: Pointer; iKey: Integer): Pointer; var status: NTSTATUS; hAlg: BCRYPT_AL...
unit TBCEditorDemo.Forms.Main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, BCCommon.Forms.Base, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.ComCtrls, BCEditor.Editor, BCEditor.Highlighter, BCEditor.Editor.Base, BCCommon.Frame...
unit Params_3; interface implementation procedure P1(var A, B, C: Int32); begin A := A + 1; B := B + 2; C := A + B; end; var GA, GB, GC: Int32; procedure Test; begin GA, GB := 0; P1(GA, GB, GC); end; initialization Test(); finalization Assert(GA = 1); Assert(GB = 2); Assert(GC = 3); en...
unit ScalingUtils; interface uses {$IFDEF FPC} Forms {$ELSE} Vcl.Forms {$ENDIF}; type TDzFormScaling = class private FScaled: Boolean; FDesignerPPI: Integer; FMonitorPPI: Integer; public property Scaled: Boolean read FScaled; property DesignerPPI: Integer read FDesignerPPI; pr...
{ ****************************************************************************** } { Fast KDTree SmallInt type support } { ****************************************************************************** } { * https://zpascal.net ...
procedure readToken(expected : tokentype); begin getToken(); if (nextToken.name <> expected) then {todo: convert 'identifiers' into proper keywords} if (nextToken.name <> identifier) then writeln('Unexpected token ', nextToken.text); writeln(nextToken.text); end; procedure identifierList(); be...
///////////////////////////////////////////////////////// // // // FlexGraphics library // // Copyright (c) 2002-2009, FlexGraphics software. // // // // Alpha blending buffer su...
unit CSCMsgProcessor; {$B-} {Complete Boolean Evaluation} {$I+} {Input/Output-Checking} {$P+} {Open Parameters} {$T-} {Typed @ Operator} {$W-} {Windows Stack Frame} {$X+} {Extended Syntax} interface uses Windows, Classes, Forms, Messages, CSCBase, CSCQueue, CSCCustomBase, SysUtils; type TCS...
{* ------------------------------------------------------------------------ * * Command Parttern ♥ TCommand * ------------------------------------------------------------------------ *} unit Pattern.Command; interface uses System.Classes, System.SysUtils, System.TypInfo, System.Diagnostics, System.Time...
unit amSplitter; // ----------------------------------------------------------------------------- // TSplitter enhanced with grab bar // The original author is Anders Melander, anders@melander.dk, http://melander.dk // Copyright © 2008 Anders Melander // ------------------------------------------------------------...
unit uTokenizer; interface type TTokenizer = class(TObject) private FSource, FDelimeter: string; FPos: Integer; public { ASource is your source text ADelimeter is a string of one or more chars treated as individual delimeters e.g. TTokenizer.Create('This, is a test', ', ') would tokeniz...
unit EmployerSearch; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseSearch, Data.DB, Vcl.StdCtrls, Vcl.Grids, Vcl.DBGrids, RzDBGrid, Vcl.Mask, RzEdit, RzLabel, Vcl.Imaging.pngimage, Vcl.ExtCtrls, RzPanel...
unit FC.StockChart.UnitTask.MBB.CalculateProfit; {$I Compiler.inc} interface uses SysUtils,Classes, BaseUtils, Serialization, StockChart.Definitions.Units,StockChart.Definitions, FC.Definitions, FC.Singletons, FC.StockChart.UnitTask.Base; implementation uses FC.StockChart.UnitTask.MBB.CalculateProfitDialog; ...
{------------------------- MiniCRT Unit -------------------------} {$A-,B-,E-,F-,G+,I-,N-,O-,P-,Q-,R-,S-,T-,V-,X-} unit minicrt; interface procedure MINICRT_INIT; procedure CRT_CHAR(x,y:integer; cha:char; color:byte); procedure CRT_LINEX(x,y,x1:integer; cha:char; color:byte); procedure CRT_LINEY(x,y,y1:...
unit taxcalform; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls; type { TForm1 } TForm1 = class(TForm) btn1: TButton; edValue: TEdit; edVat: TEdit; Label1: TLabel; Label2: TLabel; Label3: TLabel; ledGross: ...
unit BillContentView2; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ProductsBaseView0, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxCustomData, cxStyles, cxTL, cxMaskEdit, cxDBLookupC...
unit shaderu; {$IFDEF FPC}{$mode objfpc}{$H+}{$ENDIF} {$D-,L-,O+,Q-,R-,Y-,S-} {$include opts.inc} interface uses {$IFDEF DGL} dglOpenGL, {$ELSE DGL} {$IFDEF COREGL} glcorearb, {$ELSE} gl, glext, {$ENDIF} {$ENDIF DGL} sysutils,dialogs; const kMaxUniform = 10; kError = 666; kNote = 777; kBool = 0; ...
unit uHttpDownloader2; interface uses Windows, Messages, SysUtils, Variants, Classes, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP, math, uFileBlockStream; Const _1seg = 1/24/3600; _500ms = 1/24/3600/2; type THttpDownloaderProgress = procedure (Sender: TObject; aPosition, aSize...
unit Ths.Erp.Database.Table.View.SysViewTables; interface {$I ThsERP.inc} uses SysUtils, Classes, Dialogs, Forms, Windows, Controls, Types, DateUtils, FireDAC.Stan.Param, System.Variants, Data.DB, Ths.Erp.Database, Ths.Erp.Database.Table, Ths.Erp.Database.Table.View; type TSysViewTables = class(TView) ...
unit ULog; interface uses windows,SysUtils; type TLog = class private mFile:TextFile; public constructor Create(FileName:String); destructor Destroy(); override; procedure WriteLog(S: String); end; var Log:TLog; implementation { TLog } constructor TLog.Create(FileName: S...
unit FileUtil; { LLCL - FPC/Lazarus Light LCL based upon LVCL - Very LIGHT VCL ---------------------------- This file is a part of the Light LCL (LLCL). This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was no...
unit PlotMath; interface uses // Classes, // TeEngine, // StringCalc, SpectrumTypes{, Plots}; type TSelectGraphsDlgOption = (sgdoAllowReorder); TSelectGraphsDlgOptions = set of TSelectGraphsDlgOption; //function SelectGraphs(const ACaption: String; APlot: TPlot; // var Selects: TGraphArray; S...
unit uEditComandosSQL; interface uses Windows, Messages, SysUtils, StrUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Padrao1, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters, Menus, StdCtrls, cxButtons, ExtCtrls, cxControls, cxContainer, cxEdit, dxSkinsCore, dxSkinsDefaultPainters, cx...
unit f10_tambahjumlah; interface uses buku_handler, utilitas; { DEKLARASI FUNGSI DAN PROSEDUR } procedure tambah_jumlah(var data_buku: tabel_buku); { IMPLEMENTASI FUNGSI DAN PROSEDUR } implementation procedure tambah_jumlah(var data_buku: tabel_buku); { DESKRIPSI : prosedur untuk menambahkan jumlah buku ...
unit MainUnit; interface uses Windows, Messages, SysUtils, Variants, Graphics, Controls, Forms, Dialogs, ExtCtrls, ComCtrls, StdCtrls, Buttons, Math, Contnrs, SynEditHighlighter, SynHighlighterPas, SynEdit, SynEditCodeFolding, uPSComponent, uPSDebugger, uPSRuntime, upsCompiler, uPSPreProcessor, ImgList,...
unit uPedido; interface uses FireDAC.Comp.Client, System.SysUtils,System.Classes, uDm, Datasnap.DBClient; type TPedido = class private query: TFDQuery; function pConectaBanco() : boolean; public constructor Create(); destructor Destroy(); Override; function RetornaTodosClientes()...
unit caUDP; interface uses Windows, SysUtils, Classes, WinSock, syncobjs; type TcaUDPDataEvent = procedure(Sender: TObject; const Buffer: Pointer; const RecvSize: Integer; const Peer: string; const Port: Integer) of object; TcaUDPSender = class(TComponent) private // Private fields  FHandle: TS...
{ AD.A.P.T. Library Copyright (C) 2014-2018, Simon J Stuart, All Rights Reserved Original Source Location: https://github.com/LaKraven/ADAPT Subject to original License: https://github.com/LaKraven/ADAPT/blob/master/LICENSE.md } unit ADAPT.Performance.Threadsafe; {$I ADAPT.inc} interface uses {$IFDEF ADAP...
unit BodyVariationOptionQuery; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseQuery, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, Fir...
program _demo; Array[0] var State : AutoGKState; V : Double; Rep : AutoGKReport; A : Double; B : Double; Alpha : Double; begin // // f1(x) = (1+x)*(x-a)^alpha, alpha=-0.3 // Exact answer is (B-A)^(Alpha+2)/(Alpha+2) + (1+A)*(B-A)^(Alpha+1)/(Alpha+1) // /...
{**************************************************************************************************} { } { Project JEDI Code Library (JCL) } { ...
{*********************************************} { TeeBI Software Library } { TTeeBISource class } { Copyright (c) 2015-2016 by Steema Software } { All Rights Reserved } {*********************************************} unit FMXBI.Chart.Source; {$DEFIN...
unit uMainForm; interface uses Winapi.Windows, System.Classes, System.SysUtils, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.ExtCtrls, Vcl.StdCtrls, // GLScene GLCadencer, GLWin32Viewer, GLKeyboard, GLVectorGeometry, GLGeomObjects, GLScene, GLObjects, GLGraph, GLCrossPlatform, GLSmoothNavigator,...
unit FrmDivisiones01; 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.ComCtrls; type TFormDivisiones01 = class(TForm) Label1: TLabel; Label2: TLabel; Label3: TLabel...
unit ATipoChamado; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios, Componentes1, ExtCtrls, PainelGradiente, BotaoCadastro, StdCtrls, Buttons, Db, DBTables, Tabela, CBancoDados, Grids, DBGrids, DBKeyViolation, Localizacao, Mask, DBCtrls, DBClient; ...