text
stringlengths
14
6.51M
{****************************************************************************** * * * PROJECT : EOS Digital Software Development Kit EDSDK * * NAME : appmaster.pas * ...
// =============================================================================== // | THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF | // | ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO | // | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A ...
unit ncDMProdClient; interface uses SysUtils, Classes, nxdb, nxsrSqlEngineBase, nxsqlEngine, nxllComponent, nxsdServerEngine, nxsrServerEngine, ncChecarServidor, ncProdD, ncProdU, ncClassesBase; type TdmProdClient = class(TDataModule) nxServerEngineDnld: TnxServerEngine; nxSqlEngineDnld: TnxSqlEngine...
unit DyImage; {$R-} interface uses Windows, TypInfo, SysUtils, Messages, Classes, Controls, Forms, ExtDlgs, Graphics, Menus, StdCtrls, ExtCtrls, Mask, Buttons, ComCtrls, Clipbrd, DyUtils; type TDyPictureStyle = (psZoomed,psAutoSize,psAutoFit,psTile); TDyWallpaper = class(TGraphicControl) private ...
{*******************************************************} { } { Delphi FireDAC Framework } { FireDAC pool standard implementation } { } { Copyright(c) 2004-2018 Embar...
{**********************************************************************} { File archived using GP-Version } { GP-Version is Copyright 1999 by Quality Software Components Ltd } { } { For further informatio...
{*******************************************************} { } { Delphi DataSnap Framework } { } { Copyright(c) 2011 Embarcadero Technologies, Inc. } { ...
unit Unit1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls,Forms, Dialogs, StdCtrls, ExtCtrls, ComCtrls, Buttons, inifiles, PrnServ, Printers; const IniFileName='sigma32.ini'; type TForm1 = class(TForm) StatusBar1: TStatusBar; Splitter1: TSplitter; Memo1: TMemo; Pa...
{Textures v1.0 28.01.2000 by ArrowSoft-VMP} unit Textures; interface type TColorRGB = packed record r, g, b : BYTE; end; PColorRGB = ^TColorRGB; TRGBList = packed array[0..0] of TColorRGB; PRGBList = ^TRGBList; TColorRGBA = packed record ...
unit FormMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, CommonConnection.Intf, Vcl.StdCtrls, Vcl.ExtCtrls, Spring.Container, Spring.Services, FrameConnectDB, Data.DB, FireDAC.Stan.Intf, FireDAC.Stan.Op...
{ Definitions for GNU multiple precision functions: arithmetic with integer, rational and real numbers of arbitrary size and precision. Translation of the C header (gmp.h) of the GMP library. Tested with GMP 3.x and 4.x. To use the GMP unit, you will need the GMP library which can be found in http://www.g...
(************************************************************************* Copyright (c) 2007, Sergey Bochkanov (ALGLIB project). >>> SOURCE LICENSE >>> 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 Foun...
program GameShow; CONST Trials = 10000; Switch = TRUE {switch picked door when offered? }; DoorCount = 3; TYPE DoorSet = Set Of 0..DoorCount; VAR DoorWithPrize, DoorPicked, NewDoorPicked, i,j, WinCount : WORD; DoorsLeft : DoorSet; Done : BOOLEAN; BEGIN Randomize; WinCount := 0;...
unit ACorrigeNotasSpedFiscal; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios, StdCtrls, Buttons, Componentes1, ExtCtrls, PainelGradiente, UnSpedfiscal, ComCtrls, UnDados, Localizacao, Mask, numericos; type TFCorrigeNotasSpedFiscal = class(TFormu...
{*******************************************************} { } { Delphi VCL Extensions (RX) } { } { Copyright (c) 1995, 1996 AO ROSNO } { Copyright (c) 1997 M...
{******************************************} { TFastLineSeries Editor Dialog } { Copyright (c) 1996-2004 by David Berneda } {******************************************} unit TeeFLineEdi; {$I TeeDefs.inc} interface uses {$IFNDEF LINUX} Windows, {$ENDIF} {$IFDEF CLX} QGraphics, QForms, QControls, Q...
unit ReleaseRecipientDetail; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BasePopupDetail, RzEdit, RzBtnEdt, Vcl.DBCtrls, RzDBCmbo, Vcl.StdCtrls, Vcl.Mask, RzDBEdit, RzButton, RzTabs, RzLabel, Vcl.Imaging....
Unit ARCH_REG_Provincia; interface uses FUNC_REG_Provincias; const limite = 23; Directorio_provincia = '.\Datos\Datos Provincias.dat'; type ARCHIVO_Provincia = File Of REG_provincia; procedure Cargar_todas_las_provincias_en_el_archivo_provincias(VAR ARCH_Provincia: ARCHIVO_Pr...
unit taExcel; interface uses Excel2010, taTypes, System.DateUtils, System.SysUtils; type TTaExcel = class(TObject) strict private private FBook: ExcelWorkbook; FExcel: TExcelApplication; protected public constructor Create; destructor Destroy; override; function EofRow(ASheet: ExcelWo...
unit Support.Toshiba; interface uses SysUtils, Support, Device.SMART.List; type TToshibaNSTSupport = class sealed(TNSTSupport) private InterpretingSMARTValueList: TSMARTValueList; function GetEraseError: TReadEraseError; function GetFullSupport: TSupportStatus; function IsModelHasToshibaStrin...
unit ncCompression; // To disable as much of RTTI as possible (Delphi 2009/2010), // Note: There is a bug if $RTTI is used before the "unit <unitname>;" section of a unit, hence the position {$IF CompilerVersion >= 21.0} {$WEAKLINKRTTI ON} {$RTTI EXPLICIT METHODS([]) PROPERTIES([]) FIELDS([])} {$ENDIF} inter...
{------------------------------------------------------------------------------- // EasyComponents For Delphi 7 // 一轩软研第三方开发包 // @Copyright 2010 hehf // ----------------------------...
{*******************************************************} { } { Delphi REST Client Framework } { } { Copyright(c) 2014-2018 Embarcadero Technologies, Inc. } { All rights rese...
{*******************************************************} { } { Delphi FireDAC Framework } { FireDAC binary streaming implementation } { } { Copyright(c) 2004-2018 Embar...
unit TItems_U; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs; type TItems = class private { Private declarations } itemType : string ; itemDescription : string ; itemCost : real ; public { Public declarations } Cons...
(* AVR Basic Compiler Copyright 1997-2002 Silicon Studio Ltd. Copyright 2008 Trioflex OY http://www.trioflex.com *) unit coff; interface Uses Classes; {$A-} Type T_FILHDR = Record // COFF File Header f_magic: WORD; //* magic number */ f_nscns: WORD;...
{*******************************************************} { } { Borland Delphi Visual Component Library } { } { Copyright (c) 1999-2001 Borland Software Corp. } { ...
unit WordFinder.Main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, System.Generics.Collections, Vcl.ComCtrls, HGM.Button, Vcl.Grids, HGM.Controls.VirtualTable, HGM.License; type ...
program BIOSInfo; {$mode objfpc}{$H+} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Classes, SysUtils, uSMBIOS; procedure GetBIOSInfo; Var SMBios: TSMBios; LBIOS: TBiosInformation; OEMStr: TOEMStringsInformation; i: Integer; begin SMBios:=TSMBios.Create; try ...
{*******************************************************} { } { Delphi REST Client Framework } { } { Copyright(c) 2014-2018 Embarcadero Technologies, Inc. } { All rights rese...
var a,b,Sum,Difference, Product, Quotient: Real; begin Write('Введите число a: '); Readln(a); Write('Введите число b: '); Readln(b); Sum:=sqr(a)+sqr(b); Writeln('Сумма квадратов a и b равна: ',Sum); Difference:=sqr(a)-sqr(b); Writeln('Разность квадратов a и b равна: ',Difference); Product:=sqr(a)*s...
{ *********************************************************************** } { } { Delphi 通用 Hook 库,支持 Windows x86/x64, Ansi/Unicode } { } { 设计:Lsuper 2016.10....
unit Ap; interface uses Math; ///////////////////////////////////////////////////////////////////////// // constants ///////////////////////////////////////////////////////////////////////// const MachineEpsilon = 5E-16; MaxRealNumber = 1E300; MinRealNumber = 1E-300; //////////////////////...
{*******************************************************} { } { Delphi VCL Extensions (RX) } { } { Copyright (c) 1995, 1996 AO ROSNO } { Copyright (c) 1997, ...
unit uCadastroBase; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Data.DB, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, Fire...
unit LLVM.Imports.TargetMachine; interface //based on TargetMachine.h uses LLVM.Imports, LLVM.Imports.Target, LLVM.Imports.Types; type TLLVMTargetMachineRef = type TLLVMRef; TLLVMTargetRef = type TLLVMRef; {$MINENUMSIZE 4} TLLVMCodeGenOptLevel = ( LLVMCodeGenLevelNone, LLVMCodeGenLevelLess, ...
unit acCustomParametroSistemaDataUn; interface uses SysUtils, Classes, FMTBcd, DB, Provider, osSQLDataSetProvider, SqlExpr, osCustomDataSetProvider, osUtils, osSQLQuery, osSQLDataSet, DBClient, osClientDataset, acCustomReportUn; type TacCustomParametroSistemaData = class(TDataModule) MasterDat...
unit amqp.tcp_socket; {$IFDEF FPC} {$MODE Delphi} {$ENDIF} {$INCLUDE config.inc} //DEFINE EAGAIN Operation would have caused the process to be suspended. interface uses AMQP.Types, amqp.socket, {$IFNDEF FPC} {$IFDEF _WIN32} Net.Winsock2, Net.Wship6, {$ELSE} ...
unit JD.Weather.Maps; interface uses System.Classes, System.SysUtils, System.Generics.Collections, JD.Weather.Intf; type TWeatherMap = class; TWeatherMapItem = class; TWeatherMapEvent = procedure(Sender: TObject; const Map: TWeatherMapItem) of object; TWeatherMapItem = class(TObject) private FOwn...
unit unitParserObj; interface uses System.SysUtils, frmModel; type {----------------------------------------------------------------------------- Vertex - 'v ' - список вершин Texture - 'vt' - текстурные координаты Normals - 'vn' - нормали Faces - 'f ' - определения поверхности(сторон) нет - 'vp'...
unit EditFrm; { This unit implements TEditForm, the MDI child form class, and TMemoDoc, the automation object for a memo editor form. TMemoDoc implements the following automated methods and properties: procedure Clear; Clears the contents of the memo. procedure Insert(const Text: string); Inserts the...
unit uNomeClasse; interface uses Classes, SysUtils, mCollection, mCollectionItem; type TNomeClasse = class; TNomeClasseClass = class of TNomeClasse; TNomeClasseList = class; TNomeClasseListClass = class of TNomeClasseList; TNomeClasse = class(TmCollectionItem) private fU_Version: String; fC...
(* * Unit owner: D10.Mofen * homePage: http://www.diocp.org * blog: http://www.cnblogs.com/dksoft * 1. 扩展服务器TDiocpExTcpServer, 可以定义开始标志和结束标志(也可以只设定结束标志),然后自动进行解包触发OnContextDataAction事件。 * 2. 字符串服务器TDiocpStringTcpServer, 可以设定开始字符串和结束字符串(也可以只设定结束字符串),然后自动进行解包触发OnContextStringAction事件。 * 20...
unit AsciiImage; interface uses Classes, {$if CompilerVersion > 22} System.Types, System.UITypes, {$Else} Types, {$IfEnd} SysUtils, Graphics, Generics.Collections, AsciiImage.RenderContext.Types, {$if Framework = 'VCL'} Windows, {$IfEnd} AsciiImage.Shapes, AsciiImag...
{*******************************************************} { } { 无边框窗体大小控制单元 } { } { 版权所有 (C) 2017 by YangYxd } { ...
unit DragDrop; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,ShellApi; type TFilesDropped = Procedure(NumItems:Integer) of Object; TDragDrop = class(TComponent) private //Define Event FFilesDropped:TFilesDropped; //Proc Pointers OldWndProc : TFarProc; ...
(*Не рекомендуется часто использовать оператор (goto) т.к это ведёт к нечитаемости программы. Распространённым случаем ипользования служит обработка ошибки неправельного ввода данных с клавиатуры *) program label_1; label 12; var N : integer ; begin 12 : Write ('Введите значение N > 0 ' ); Read...
unit uDataModule; interface uses System.SysUtils, System.Classes, 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, FireDAC.Phys.SQLite, FireDAC.Phys.SQLiteDef, FireDAC.Stan.ExprFuncs, ...
unit fctf256; (************************************************************************* DESCRIPTION : File crypt/authenticate unit using Twofish 256 REQUIREMENTS : TP5-7, D1-D7/D9-D10, FPC, VP EXTERNAL DATA : --- MEMORY USAGE : --- DISPLAY MODE : --- REFERENCES : ...
{ **********************************************************************} { } { DeskMetrics DLL - dskMetricsConsts.pas } { Copyright (c) 2010-2011 DeskMetrics Limited } { ...
unit uWfxPluginListOperation; {$mode objfpc}{$H+} interface uses Classes, SysUtils, uFileSourceListOperation, uWfxPluginFileSource, uFileSource; type { TWfxPluginListOperation } TWfxPluginListOperation = class(TFileSourceListOperation) private FWfxPluginFileSource: IWfxPluginFi...
program Prog1; type matrix = array [1..40, 1..40] of integer; var m, n, i, j, maxi, maxj, maxij: Integer; mat: matrix; begin { Вводим данные } write('Enter m: '); readln(m); write('Enter n: '); readln(n); writeln('Enter matrix'); for i := 1 to m do for j := 1 to n do read(mat[i,j]); w...
{******************************************} { } { vtk GridReport library } { } { Copyright (c) 2003 by vtkTools } { } {******************************************} {Co...
unit Demo.Hrtf; interface uses ECMA.TypedArray, SimpleSofaFile; type THrtfMeasurement = class private FPosition: TVector3; FLeft: JFloat32Array; FRight: JFloat32Array; public constructor Create(Position: TVector3; Left, Right: JFloat32Array); function GetMaxLevel: Float; property Po...
unit NotebookImpl1; interface uses Windows, ActiveX, Classes, Controls, Graphics, Menus, Forms, StdCtrls, ComServ, StdVCL, AXCtrls, DelCtrls_TLB, ExtCtrls; type TNotebookX = class(TActiveXControl, INotebookX) private { Private declarations } FDelphiControl: TNotebook; FEvents: INotebookXEvents; ...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2014-2018 Embarcadero Technologies, Inc. } { All rights reserved } { ...
{ Pascal procedure that writes string to file } { If you ever need to write a string variable quickly to a file, here is a function that works similarly to PHP’s file_put_contents() and to C#’s System.IO.File.WriteAllText(). } procedure file_put_contents(filepath, content:string); var f:text; begin assign(f, ...
unit rCore; interface uses SysUtils, Classes, Forms, ORNet, ORFn, ORClasses, system.JSON; { record types used to return data from the RPC's. Generally, the delimited strings returned by the RPC are mapped into the records defined below. } const UC_UNKNOWN = 0; // user class unkn...
program Sample; var f, t :BOOLEAN; begin WriteLn('FALSE: ', FALSE); WriteLn('TRUE: ', TRUE); f := FALSE; WriteLn('f: ', f); t := TRUE; WriteLn('t: ', t); end.
unit myclock; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls; type { Uhr } Uhr = class private sekunde, minute, stunde : integer; public procedure incSek(); procedure incMin(); procedure incStd(); ...
{**************************************************************************************************} { } { Project JEDI Code Library (JCL) } { ...
unit f06_KembalikanBuku; interface uses csv_parser, user_handler, peminjaman_handler, pengembalian_handler, utilitas, tipe_data, b02_denda, buku_handler; { DEKLARASI FUNGSI DAN PROSEDUR } procedure kembalikan_buku(who_login : user; var data_peminjaman : tabel_peminjaman; var data_buku ...
{ *************************************************************************** * * * This source is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the F...
{*******************************************************} { } { Delphi FireDAC Framework } { FireDAC Nexus Database metadata } { } { Copyright(c) 2004-2018 Embar...
{*******************************************************} { } { Borland Delphi Runtime Library } { System Utilities Unit } { } { Copyright (C) 1995,99...
unit uFrmOrdemServico; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, ExtCtrls, DB, StdCtrls, DBCtrls, Mask, ToolEdit, RXDBCtrl, Buttons, Grids, DBGrids, FMTBcd, SqlExpr, DBClient, Provider; type TfrmOrdemServico = class(TForm) StatusBar1: TSt...
unit MD5.FileList; INTERFACE uses System.Classes, shared.ProgressMessage, shared.FileUtils; (* 1 читаем все файлы *.md5 2 читаем строчки из каждого файла *.md5 3 генерируем список всех файлов 4 сортируем список по пути 5 ищем дубликаты. Если контрольные суммы совпадают (один и тот же файл), то пропускаем такие...
unit UToolsM; interface uses FFMPEG, FMX.Graphics, System.types, UFormatsM, math; type TVideoProps = record Width, Height, TrueHeight: integer; FrameRate: integer; nrVideostreams, nrAudiostreams: integer; VideoCodec, AudioCodec: TAVCodecID; Duration: int64; end; TEnvelopeFunction...
unit WebAppDbgAbout; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ExtCtrls; type TAboutBox = class(TForm) OKButton: TButton; Bevel1: TBevel; PhysMem: TLabel; OS: TLabel; Label3: TLabel; DetailsPanel: TPanel; Painter: TPa...
unit UnDadosCR; interface Uses Classes; Type TRBDTransferenciaExternaCheques = class public SeqCheque, NumCheque : Integer; IndMarcado : Boolean; NomEmitente : String; ValCheque : Double; DatVencimento : TDateTime; constructor cria; destructor destr...
unit ApplyQueryFrame; 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, Fire...
{ ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: QuickReport 3.0 for Delphi 3.0/4.0/5.0 :: :: :: :: Demo report that is populated by the OnNeedData event :: :: :: ...
unit NodeParsing; interface uses SourceNode; type TBracketKind = (bkCurly, bkParens, bkBlock, bkAngle); TSeperatorKind = (skSemicolon, skComma); TNodeParser = class public procedure Process(Node: TSourceNode); private FOutput: TSourceNode; procedure Group; procedure GroupByBrackets(Nod...
{**********************************************************************} {* Иллюстрация к книге "OpenGL в проектах Delphi" *} {* Краснов М.В. softgl@chat.ru *} {**********************************************************************} unit Unit1; interface use...
unit Plots; interface uses Classes, Contnrs, FGL, SpectrumTypes; type TGraph = class; TPlot = class; TPlots = class; TPlotOperation = (poProjectSaved, poProjectLoaded, poProjectReseting, poProjectReset, poPlotAdded, poPlotChanged, poPlotDestroying, poPlotDestroyed, poModified, poG...
unit MobileDays.ListVertFrame.Mobile.Controller.SMPessoa; interface uses System.Classes, System.SysUtils, System.Variants, System.IOUtils, {Uses necessarias para uso do FDMemTable} FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.D...
{*******************************************************} { } { Delphi DBX Framework } { } { Copyright(c) 1995-2018 Embarcadero Technologies, Inc. } { All rights rese...
unit rReports; interface uses Windows, SysUtils, Classes, ORNet, ORFn, ComCtrls, Chart, graphics; { Consults } procedure ListConsults(Dest: TStrings); procedure LoadConsultText(Dest: TStrings; IEN: Integer); { Reports } procedure ListReports(Dest: TStrings); procedure ListLabReports(Dest: TStrings); procedure ListR...
{ /**********************************************************\ | | | hprose | | | | Official WebSite: http://www.hprose.com/ | | ...
{******************************************} { TeeChart OHLC Compression Function } { Copyright (c) 2000-2004 by David Berneda } { All Rights Reserved } {******************************************} unit TeeCompressOHLC; {$I TeeDefs.inc} interface Uses {$IFNDEF LINUX} Windows, {$EN...
unit FC.StockWizards.frmStockWizardFiles_B; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs,ufrmFrame_B, StdCtrls, Grids, DBGrids, MultiSelectDBGrid, ColumnSortDBGrid, EditDBGrid, ImgList, ActnList, Menus, DB, MemoryDS, ComCtrls, ToolWin, ExtCtrls, DBClient, ...
{****************************************************} {* NexusDB Client Messaging *} {* Provides the ability for NexusDB clients to send messages *} {* to other clients. *} {*********************************************************...
{ Module of routines that deal with messages specifically for supplying * information about menu entries. All routines take the menu entries * message object as their first argument. * * A menu entry message supplies information about the entries of a menu. * Such a message must adhere to a particular format...
// HRBuffers v0.3.1 (03.Aug.2000) // Simple buffer classes // by Colin A Ridgewell // // Copyright (C) 1999,2000 Hayden-R Ltd // http://www.haydenr.com // // 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 // Fr...
unit layui; {$mode Delphi} {$modeswitch externalclass} interface uses JS, Web, Classes, SysUtils, Types, Graphics, Controls, Forms, StdCtrls, ExtCtrls, ComCtrls, NumCtrls, DttCtrls, BtnCtrls, TopCtrls, DataGrid; type { TDataModule } TDataModule = class(...
unit CosmoUtil; interface Uses Windows, SysUtils, Classes, FiceStream, FF7Ed, DebugLog, Graphics, LGPStruct, FFLzs, PluginTypes; Type TFourWords = array[1..4] of Word; var FF7_ExtractText: TExtractTextFunc=nil; FF7_DecodeText: TDecodeTextFunc=nil; FF7_EncodeText: TEncodeTextF...
program WMConverter; {$mode delphi} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Classes, SysUtils, CustApp, IniFiles, math, strutils, FileUtil { you can add units after this }; { TWMConverter } const ATTRMULTIPLIER_HITMULTIPLY = 100; ATTRMULTIPLIER_SPEED = 10;...
unit umathPars; interface type TMath = record private Left : Double; Right : Double; Oper : Char; public function Calc : string; end; TOperator = Set of char; TMathParser = record const inNumber : set of Char = ['0'..'9', ',']; private FPrepare : ...
unit Rx.Fibers; interface uses Windows, SysUtils; type TCustomFiber = class const STACK_SIZE = 1024; type AKill = class(EAbort); strict private FIsTerminated: Boolean; FIsRunned: Boolean; FContext: Pointer; FKill: Boolean; function GetRootContext: Pointer; cl...
unit audio; {$mode objfpc}{$H+} interface uses Classes, SysUtils, SDL2, SDL2_Mixer, BaseTypes, Utility; type { tAudioEngine } rNote = record Pitch, Velocity: word; Duration, Position: single; end; rPattern = array of rNote; {tPattern = class A: array of ; default; end;} eEffect = (eN...
unit TestBlankLineRemoval; { AFS 7 August 2001 This unit compiles but is not semantically meaningfull it is test cases for the code formatting utility This unit tests blank line removal } interface implementation uses SysUtils; procedure TestBlankLines1; var a: integer; b: string; ...
unit AvailabilityDisplayForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.DateUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.ComCtrls, pdatesw; type TdayPings = array[0..23,0..59] of integer; TyearPings ...
{$nested-comments} { Regular expression matching and replacement The RegEx unit provides routines to match strings against regular expressions and perform substitutions using matched subexpressions. To use the RegEx unit, you will need the rx library which can be found in http://www.gnu-pascal.de/libs/ ...
{$F-,A+,O+,G+,R-,S+,I+,Q-,V-,B-,X+,T-,P-,D-,L-,N-,E+} unit StatBar; interface procedure sbClear; procedure sbInfo(S : String; Stick : Boolean); procedure sbReset; procedure sbStatBar(On : Boolean); procedure sbToggleMode; procedure sbUpdate; implementation uses Crt, Global, Misc, Strings, FastIO...
unit ponteProcessa; interface uses dvcrt, dvwin, dvform, sysutils, classes, pontemsg, pontevars, ponteconfig; procedure processa; implementation {--------------------------------------------------------} { Gera um form padrão a parti de uma ponte(nova ou não) } {--------------------...
//////////////////////////////////////////////////////////////////////////////// // // // FileName : SUIMenu.pas // Creator : Shen Min // Date : 2002-09-01 // Comment : // // Copyright (c) 2002-2003 Sunisoft // http://www.sunisoft.com // Email: support@sunisoft.com // ////////////////////...
{$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 August '1999 Problem 12 O(E) Dfs Method } program KnightsPath; const MaxN = 100; const DX : array [1 .. 8] of Integer = (2, 1, -1, -2, -2, -1, 1, 2); DY : array [1 .. 8] of Integer = (1, 2, 2...
unit SEA_Base; (************************************************************************* DESCRIPTION : SEED Encryption basic routines REQUIREMENTS : TP5-7, D1-D7/D9-D10/D12/D17-D18/D25S, FPC, VP, WDOSX EXTERNAL DATA : --- MEMORY USAGE : 4.0 KB static data DISPLAY MODE : --- REFEREN...
unit uLibraries; interface uses ShareMem,windows, classes, SysUtils, uTypes, uErrorConst; type TDllInfoProc = function:TDllInfo; stdcall; TDllTerminateProc = procedure; stdcall; TDllRunProc = procedure; stdcall; TDllInitializeProc = procedure; stdcall; TDllLastErrorProc = function :string; stdc...
unit UntInfoUsuario; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, UntLayoutBase, FMX.Objects, FMX.Layouts, FMX.Controls.Presentation, System.Actions, FMX.ActnList, FMX.StdActn...