text
stringlengths
14
6.51M
unit mSysCad; {*************************************************************************} {* *} {* Author: Alcindo Schleder *} {* Copyright: © 2003 by Alcindo Schleder. All rights reserved. ...
{Program: VGA Benchmark Version: 1.0 - 15/06/1999 Author: Jan Knipperts } Program VSPEED; uses crt,misc,tptimer; const vseg : word = $0A000; title : string = 'VGA Speed Test v. 1.0 (c) 1999 by Jan Knipperts'; var start,stop, fcnt,fcntw,pcnt,pcntb,daccnt : Longint; retrace ...
{==============================================================================| | Project : Ararat Synapse | 003.001.008 | |==============================================================================| | Content: PING sender ...
unit LinkProp; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, SimpleGraph, ExtCtrls, StdCtrls; type TLinkProperties = class(TForm) Label1: TLabel; LinkLabel: TEdit; Style: TGroupBox; StyleSolid: TRadioButton; Shape1: TShape; Shape...
unit unitHook; interface uses Windows, Messages, Classes, SysUtils; type //NtHook类相关类型 TNtJmpCode = packed record //8字节 MovEax: Byte; Addr: DWORD; JmpCode: Word; dwReserved: Byte; end; TNtHookClass = class(TObject) private hProcess: THandle; NewAddr: TNtJmpC...
unit eeOleDropHandler; interface uses Windows, Classes, DragDropFile, DragDropText, DropTarget; type // TMutantDropTarget is a love child of TDropTextTarget and TDropFileTarget. // It creates a drop target that accepts files and text. // Text is useful as the VST-XML drag and drop f...
unit LUX.Lattice.T2; interface //#################################################################### ■ type //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$【型】 //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$【レコード】 //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.3.3-1, FILE=CONF108, CLAS...
unit WinEventHook; interface uses Windows, System.Classes, Generics.Collections; TYPE TWinEventHookHandle = THandle; TWinEventStruct = record Hook: TWinEventHookHandle; Event: DWORD; hWnd: THandle; idObject: Longint; idChild: Longint; idEventThread: DWORD; dwmsEventTime: DWORD; ...
unit uDBFunction; interface uses System.SysUtils, System.Classes,Winapi.ActiveX,Data.Win.ADODB,DB; type TdmDBFunction = class(TDataModule) private { Private declarations } public { Public declarations } Function CheckTB_ADMIN_UserID(aAdminUserID:string):integer; Function CheckTB_CARDPERMITGRO...
program llist; type node_t = record value : integer; next : ^node_t; end; list_t = ^node_t; procedure writelist(a : list_t); begin while a <> nil do begin write(a^.value); write(', '); a := a^.next; end; writeln; end; procedure insert(var a : list_t; v : in...
unit LoadForm; interface uses w3system, w3graphics, w3ctrls, w3components, w3forms, w3fonts, w3borders,w3application, w3time; type TfrmLoader=class(TW3form) private { Private methods } {$I 'LoadForm:intf'} FImages: array of TW3Image; FNames: array of String; FCounter...
unit uDB1Data; interface uses SysUtils, Classes, DB, SqlExpr; type TDB1Data = class(TSQLDataSet) private FListaCondicoes: TStrings; FListaCampos: TStrings; FListaTabelas: TStrings; procedure MontarSQL(Sender: TObject); procedure SetListaCampos(const Value: TStrings); procedure SetListaC...
{ *************************************************************************** } { Data: 04/12/2016 } { Resenha: { *************************************************************************** } { Licença segue a mesma estabelecida no código original determina...
{*********************************************************************} { TADVSTRINGGRID component } { for Delphi & C++Builder } { } { written by TMS Software ...
unit Test.FarScape.Parentage; interface uses FarScape.CustomControl, WatchTower; type TControlParentTest = class(TWatchTowerTest) public procedure Setup; override; procedure TearDown; override; [Test] procedure NoParentOnCreate; [Test] procedure TestParentHierarchy; [Test] ...
unit FrmPrincipal; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uVariavelDeClasse, Vcl.StdCtrls, UConexao, UEntidades, uFrmFornecedores, uFuncoes, Aurelius.Commands.Listeners, Aurelius.Drivers.Interfaces, ...
unit uDataBaseConfig; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, AdvPanel, W7Classes, W7Buttons, Vcl.ImgList,System.iniFiles,Data.DB,Data.Win.ADODB,JclMime, ActiveX,uDBVariabl...
unit AQAPIConsumer; interface uses AQSubscriptionResponce, ActiveQueueEntry, System.Generics.Collections, MVCFramework.RESTAdapter, MVCFramework.Commons, MVCFramework, ObjectsMappers, AQSubscriptionEntry; type IAQAPIConsumer = interface(IInvokable) ['{485A42C7-B598-428A-83E3-F524B115604C}'] [RESTResourc...
unit uCommon; interface uses SysUtils, Classes, IniFiles, uGlobal, Rtti, uSQLHelper, uLogger, ADODB, System.JSON, DateUtils, syncobjs, QJson, Data.DB, System.Generics.Collections; type TCommon = Class private class var cs: TCriticalSection; class function ReadConfig(): Boolean; class procedure...
{ MIT License Copyright (c) 2018 Hélio S. Ribeiro and Anderson J. Gado da Silva Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rig...
// ************************************************************************ // // The types declared in this file were generated from data read from the // WSDL File described below: // WSDL : F:\web service对接描述文档(V5.1).wsdl // >Import : F:\web service对接描述文档(V5.1).wsdl>0 // Encoding : UTF-8 // Codegen : [wfForceS...
unit logic; {$mode objfpc}{$H+} //{$define debug} interface uses Classes, SysUtils,windows; type trilean=(triUnset, tri0, tri1); //wie boolean für ein Feld const TRI_NOT:array[trilean] of trilean=(triUnset,tri1,tri0); //not-Operator type { TBidoku } //Speichert das Ergebnis einer Lösungssuche ...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.4.3.3-3, FILE=CONF057, CLAS...
unit SimpleUtil; interface uses System.Classes, Data.DB, System.Generics.Collections, {$IFNDEF CONSOLE} {$IFDEF FMX} FMX.Forms, FMX.StdCtrls, FMX.DateTimeCtrls, {$ELSE} Vcl.Forms, Vcl.StdCtrls, Vcl.ComCtrls, {$ENDIF} {$ENDIF} SimpleEntity; type TSimpleUtil = class private {$IF...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { PRETEST 6.9.1-4, FILE=ERR79P, ...
unit DispatcherController; interface uses MVCFramework, MVCFramework.Commons, DispatcherModel, MVCFramework.RESTAdapter, AQAPIClient, ServerConfig, RepositoryConfig, RequestSaverFactory, System.Generics.Collections, DispatcherEntry; type [MVCPath('/')] TDispatcherController = class(TMVCController) stric...
unit frmLazyRestU; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, System.Types, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls, System.Actions, Vcl.ActnList, Vcl.Buttons, LazyRest.Server, Vcl.Mask, JvExMask, JvToolEdit, Vcl.I...
{ Windows' FNT/FON } {$MODE OBJFPC} {$H+} {$INLINE ON} unit fi_winfnt; interface uses fi_common, fi_info_reader, fi_utils, classes, streamex, sysutils; implementation const MZ_MAGIC = $5a4d; NE_MAGIC = $454e; // New Executable PE_MAGIC = $4550; // Portable Executable { Reading of PE ...
unit httppoolInterfaces; interface uses ActiveX, SuperObject; const HTTPWORKER_JOB = 100; HTTPWORKER_JOB_BEFOREREQUEST = 101; HTTPWORKER_JOB_AFTERREQUEST = 102; HTTPWORKER_JOB_SUCCESS = 103; HTTPWORKER_JOB_ERROR = 104; BEFORE_REQUEST_ACTION_NONE = 0; // Do not process job BEFORE_REQUE...
unit ImgPlayerMessages; interface uses Types, SysUtils, Classes, TypInfo, Graphics, Contnrs, Controls, Dialogs, ScUtils, GR32, FunLabyUtils, FunLabyCoreConsts, FunLabyToolsConsts, Generics, GraphicsTools, MapTools, FLBShowMessage, GraphicsToolsEx; const msgShowImageMsg = $43; idShowImageMes...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { PRETEST 6.6.5.4-2, FILE=ERR43P...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.7.2.4-8, FILE=DEV178, C...
unit frmImportReport; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Printers, StrUtils, INIFiles, DB, ADODB, // Auto Generate frmUniPosition, Menus, cxLookAndFeelPainters, ComCtrls, ShlObj, cxShellCommon, cxStyles, cxCustomData, cxGraphics, cxF...
unit BookShelf; interface uses Aggregate, Iterator, Book; type BookShelfClass = class(TInterfacedObject ,IAggregate) private p_Last : integer; p_Books : array of BookClass; public constructor Create(maxsize:integer); procedure AppendBoo...
unit Test.VamLib.Utils; interface uses WatchTower, VamLib.Utils; type TVamLibUtilsTest = class(TWatchTowerTest) private public [Test] procedure VstFloatToIntConversion; [Test] procedure MidiNoteToTextConversion; end; implementation uses WatchTower.Confirm; { TVamLibUtilsTest } pro...
unit Iocp.ObjectPool; interface uses Classes, Types, SysUtils, SyncObjs; type TIocpObject = class protected FOwner: TObject; protected procedure Initialize; virtual; procedure Finalize; virtual; public constructor Create(AOwner: TObject); virtual; property Owner: TObject read FOwner; ...
unit DAO.RTTI.Types; interface uses System.RTTI, System.SysUtils, System.Generics.Collections; type TAttrType = (tpInteger, tpString, tpCurrency); Table = class(TCustomAttribute) private FTableName: String; procedure SetTableName(const Value: String); published constructor Create ( aTableN...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.2-5, FILE=DEV118, CLA...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { PRETEST 6.6.5.3-6, FILE=ERR32P...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.5.5-4, FILE=CONF091, CLASS=...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.3.1-5, FILE=DEV124, C...
unit crDefs; {$mode objfpc}{$H+} interface uses Classes, SysUtils, ExtCtrls, Graphics, strutils, Controls; { "Common Runtime Definitions" to be used in ALL units of program} const crGrab = 1; crGrabbed = 2; crScrollVert = 3; crScrollHorz = 4; crDefaultCursor = ...
{------------------------------------------------------------------------------- 单元: SynJumpDlg.pas 作者: 姚乔锋 日期: 2004.11.27 说明: 跳转对话框 版本: 1.00 00 -------------------------------------------------------...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1995, Prospero Software Limited } { } { TEST 6.9.1-17, FILE=CONF220, CLASS...
{ by David Waitzman 2/25/85 for Gregg Lebovitz and CMU-ECE This implements the UDP layer of tftp. } MODULE TFTP_UDP; IMPORT TFTP_DEC, TFTP_CKSM, TFTP_IP; EXPORT FUNCTION Udp_Create : Upcb_Ptr; PROCEDURE Udp_Port (VAR up : upcb; d, s : INTEGER); PROCEDURE Udp_Output (VAR up : upcb; VAR m : MBuf_t; len : IN...
{******************************************************************************* Title: T2Ti ERP Description: Classe de controle do contador. The MIT License Copyright: Copyright (C) 2010 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentati...
unit WinSysServer; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Menus, ExtCtrls, StdCtrls, ComCtrls, ShellAPI, ActnList, DateUtils, Buttons, ImgList, USysServer, OleCtrls, System.Actions, ComDefine, System.ImageList; type Tfrm_SysServer = class(TForm) PopupMenu...
{**************************************************************************************************} { } { Project JEDI Code Library (JCL) } { ...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.8.2.2-1, FILE=IMPDEP11,...
program Average; type Number = (a, b, c, d, e, f, g, h, i, j); NumberList = array[Number] of integer; var x : Number; y : NumberList; total: integer; ave : real; begin{program} writeln('Enter ten integers'); writeln('And I will tell you the average'); for x := a to j do read(y[x]); total := 0; for x :=...
unit UnitStatistics; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, StdCtrls, Grids, DBGrids, ExtCtrls, DB, ADODB, Provider, Math; type TFrameStatistics = class(TFrame) GridPanelLeft: TGridPanel; GridPanelFilter: TGridPanel; LabelCondit...
(* Copyright (c) 2017. Cary Jensen, Jensen Data Systems, Inc. This code sample is intended for the readers of "Delphi in Depth: FireDAC" by Cary Jensen ISBN-13: 978-1546391272 ISBN-10: 1546391274 No guarantees or warranties are expressed or implied concerning the applicability of techniques or...
Unit ReplacementCache; INTERFACE (* * Adds a replacement entry to the in memory cache * IN sourceWord: the key * IN destinationWord: the replacement entry *) FUNCTION AddReplacement(sourceWord: STRING; destinationWord: STRING): BOOLEAN; (* * Returns a replacement entry for a specific k...
{ ****************************************************************** Optimization by Simulated Annealing ****************************************************************** Adapted from Fortran program SIMANN by Bill Goffe: http://www.netlib.org/opt/simann.f Modifications 20120210 Alex Vergara Gil ...
unit UCL.Text; interface uses Classes, Windows, Messages, Controls, StdCtrls, UCL.Classes, UCL.ThemeManager; type TUTextKind = (tkCustom, tkNormal, tkDescription, tkEntry, tkHeading, tkTitle); TUText = class(TLabel, IUThemedComponent, IUIDEAware) private FThemeManager: TUTh...
unit eeSerialTools; interface //Generates a random sequence of Alpha-numeric charactors suitable for a serial number. function GenerateSerialCore(CoreLength:integer):AnsiString; function CalcCheckSum(Text:AnsiString):cardinal; function AnsiCharToInteger(Text:AnsiChar):integer; function IntegerToAnsi...
{ ****************************************************************** Hyperbolic functions ****************************************************************** } unit uhyper; interface uses uConstants, math; function Sinh(X: Float): Float; { Hyperbolic sine } function Cosh(X: Float): Float; { Hyperbo...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.7.2.2-1, FILE=CONF151, CLAS...
unit Helpers.HelperObject; interface uses System.JSON, System.Classes, System.TypInfo, System.SysUtils, System.Rtti, JSON.Utils; type THelperObject = class helper for TObject class function ToJSON<T: Class>: TJSONObject; class function FromJSON<T: Class>(obj: TJSONObject): T; end; implementati...
unit MineUnit; { This unit provides the TMiner class, which is a descendant of TWorker. This class is capable of executing and monitoring an external cryptocurrency miner (Nanominer). } interface uses Windows, SysUtils, Classes, Basics, CommandUnit, Zip, DProcess; type TMiner = class(TWorker) public...
unit Sheets; interface uses JvSimpleXml, Cell, System.Generics.Collections, CellFormat, SharedStrings; type TXlsxSheet = class(TObject) private FName: String; FId: Integer; FCells: TObjectList<TXlsxCell>; FDefaultFormat: TXlsxCellFormat; FSharedStrings: TXlsxSharedStrings; function Gene...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.6.2-5, FILE=ERR50T, C...
program HelloWorld; var // секция объявления переменных x :integer; //объявим целочисленную переменную begin writeln('Привет Мир!'); read(x); // ожидаем ввода (который всегда заканчивается нажатием Enter) end.
{ MIT License Copyright (c) 2017-2018 Marcos Douglas B. Santos Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, cop...
unit soCustomSynthFilter; interface uses eeGlobals; type TCustomSynthFilter = class private fGlobals: TGlobals; procedure SetPar1(const Value: single); procedure SetPar2(const Value: single); procedure SetPar3(const Value: single); procedure SetPar4(const Value: single); pr...
unit uBusiness; { 业务界面,主界面 } interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.ComCtrls, Vcl.Menus, uDBStructure, uTableInfo, System.Win.ComObj, Winapi.ShellAPI; type TfrmBus...
unit UnitMegatextureManager; interface uses SysUtils, Windows, Classes, Graphics, OpenGL, UnitOpenGLext, UnitOpenGLErrorManager, UnitUserTypes, UnitVec; const MEGATEXTURE_SIZE = 256; // min 256 quad's 16x16 per one megatexture MEGATEXTURE_AREA = 256*256; // 6553...
unit Cliente; interface type Tcliente = class private FCNPJ: string; FIDCliente: Integer; FNome: string; protected {protected} public property IDCliente : Integer read FIDCliente write FIDCliente ; property Nome : String read FNome write...
unit ISRProvisionalesDM; interface uses System.SysUtils, System.Classes, _StandarDMod, System.Actions, Vcl.ActnList, Data.DB, Data.Win.ADODB; type TdmISRProvisionales = class(T_dmStandar) adodsMasterIdISRProvisional: TAutoIncField; adodsMasterIdMovimiento: TIntegerField; adodsMasterIdMo...
{**************************************************************************} { TColumnListBox component } { for Delphi & C++Builder } { } { Copyright ...
unit resources_Actions; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ActnList, ImgList, makestudio_TLB, ActiveX, AxCtrls; type TFormActions = class(TForm, IActionCallback) ActionList1: TActionList; ImageList1: TImageList; acCreateRCVersionReso...
unit Main; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, JclSysUtils, JvComponent, JvFormAnimation; type TFormRunCmd = class(TForm) MemoCmd: TMemo; btRun: TButton; MemoAnswer: TMemo; Edit1: TEdit; Label1: TLabel; ...
// Language Bath - Wave Form Timing Editor // Copyright (c) 2020 Barend Gehrels, Amsterdam, the Netherlands. // Use, modification and distribution is subject to the MIT License // https://raw.githubusercontent.com/barendgehrels/langbath/main/LICENSE // This form samples a wave form, draws it, and lets the user define ...
Unit TCP_RoutingWizard; Interface Uses Classes, Forms, Graphics, StdCtrls, TabCtrls, Buttons, ExtCtrls, Spin,Messages; Type TRoutingWizard = Class (TForm) NoteBook1: TNoteBook; BackButton: TButton; CancelButton: TButton; NextButton: TButton; HelpButton: TButton; Image1: TImage; Label1...
{ ******************************************************************************* Copyright (c) 2004-2010 by Edyard Tolmachev IMadering project http://imadering.com ICQ: 118648 E-mail: imadering@mail.ru ******************************************************************************* } unit XStatusU...
unit uCrashTaskThread; interface uses System.Classes, ActiveX, System.Generics.Collections, SysUtils, uPassRec, uGlobal, ADODB, uDFS; type TCrashParam = class SBBH: string; BeginTime: double; EndTime: double; end; TCrashTaskResult = class HPHM: string; HPZL: string; Rate: double; ...
unit GradPanel; interface uses SysUtils,WinTypes, WinProcs, Messages, Classes, ExtCtrls,Controls,menus,graphics,dialogs; const mxcolors=100; type TDirection = (bdFlat,bdStretchImage,bdTileImage,bdUp, bdDown, bdLeft, bdRight, bdHorzIn, bdHorzOut, bdVertIn, bdVertOut); TOneWayType = (Up, Down, DLeft, DRight);...
unit CadPrdPrc; {*************************************************************************} {* *} {* Author: Alcindo Schleder. *} {* Copyright: © 2003 by Sistema Processa Ltda. All rights reserved. ...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.4.2.3-1, FILE=CONF043, CLAS...
unit algebra; interface Type TAlgebra = Class a: integer; b: integer; u: integer; t: integer; private function quociente : int64; function mdc(p,q:int64) : int64; function mdcExtendido(a,b: int64) : int64; function euler(p,q :int64) : int64; function potenciaModul...
unit F3F4; interface uses bentukan, F12; procedure StartSimulasi (var tsimulasi : tabsimulasi; var t1Mentah : tabMentah; var t1Olah : tabOlah; var t1iMentah : tabiMentah; var t1iOlah : tabiOlah; var t1resep : tabresep; var idx:integer; var JA:jumlahAksi); {I.S.: simulasi belum dimulai} {F.S.: memulai simula...
unit CsvReader; interface uses ReaderInterface, System.StrUtils, System.SysUtils, System.Classes; type TcsvReader = class(TBBReader) function ShowOnGrid: string; override; procedure Split (DelimiterText : string; Delimiter : Char; ListOfStrings : TStrings); end; implementation { TcsvReader } functio...
{ MIT License Copyright (c) 2017 Jamie Geddes Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, di...
{ TCustomSampleOsc is the base class for all Lucidity sample oscillator classes. } unit uLucidityCustomSampleOsc; interface uses Lucidity.Types, Lucidity.Interfaces, VamLib.MoreTypes, Lucidity.SampleMap, uConstants, eeSampleFloat, uLucidityClock; type TCustomSampleOsc = class private ...
unit UPilhaTeste; interface Type TMensagem = String; Tpilha = ^Nopilha; Nopilha = record valor: Tmensagem; prox : Tpilha; Quant:integer; end; TPilhas = Class Quant:Integer; Procedure Inicializa(Pilha:Tpilha); Procedure Empilha(Mensagem:Tmensagem;Var Pilha:Tpilha)...
unit AggRendererPrimitives; //////////////////////////////////////////////////////////////////////////////// // // // Anti-Grain Geometry (modernized Pascal fork, aka 'AggPasMod') // // Maintained by Christian-W. Budde (Christia...
unit lb_repeat_settings; {$mode objfpc}{$H+} interface uses Classes, SysUtils; type TRepeatSettings = record showOriginal : boolean; showTranslation : boolean; playAudio : boolean; end; TArrayOfRepeatSettings = array of TRepeatSettings; // Converts repeat settings to a string function RepeatSe...
unit Venda; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, DataModule, Vcl.Grids, Vcl.DBGrids, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls; type Produtos = record UnidadeTributavel: string; ValorUnitar...
unit lb_form_paste; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls; type { TFormPaste } TFormPaste = class(TForm) ButtonCancel: TButton; ButtonOk: TButton; MemoTarget: TMemo; MemoNew: TMemo; MemoCurrent: TMemo; PanelClient...
{****************************************************************** * 项目名称: * 单元名称:除魔任务面板内容 * 单元作者: * 摘 要: * 备 注: *******************************************************************} program Mir2; {$I common.pas} //本任务的任务编号,每个任务对应不同的任务编号,这个不可以重复 const CurrentTaskID = 10009; //TASK_TYPE_MAIN 任务类型为主...
unit ClassWorld; interface type TWorldRecord = record woType: byte; woGUID: uInt64; woMap: word; woAddr: pointer; end; TWorld = class private List: array of TWorldRecord; function GetObjectByIndex(index: longint): TWorldRecord; function GetObjectByGUID(guid: uInt64): TWor...
unit ee3.CustomPlugin; interface uses Vcl.Forms, Classes, DAEffect, DAEffectX, DAudioEffect, DAudioEffectX, ee3.VstConstants, ee3.VstGlobals, ee3.ProcessController, ee3.CustomPlugin.PublishedVstParInfo; type TCustomVstPlugin = class; TCustomVstEditor = class; TCustomVstGuiForm = class; T...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { PRETEST 6.4.6-10, FILE=ERR08P,...
unit IocpHttpServerMain; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, FileCtrl, IoUtils, Vcl.Buttons, Iocp.Utils, Iocp.TcpSocket, Iocp.HttpServer, Iocp.HttpUtils, Iocp.Buffer, Iocp.Logger, Iocp.HttpClient; type TTestIocpHttpServer = cl...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.4.3.1-4, FILE=DEV067, C...
PROGRAM SplitTimes (input, output); {Erick Nave 2-4-93 ICS 9:00 program 16, page 84 SplitTimes (runtime.pas) asks a track coach for times at miles 1 and 2 and for the finish time. It then computes the split times for each point and displays them on the screen.} VAR RunNum, MinMile1, MinMile2, MinFi...
unit Dao.ResultAdapter; interface uses Data.DB, MidasLib, Datasnap.DBClient, System.Generics.Collections, Dao.IResultAdapter, Dao.DataSet; type TDaoResultAdapter<T: class> = class(TInterfacedObject, IDaoResultAdapter<T>) private FDataSet: TDataSet; FFreeDataSet: boolean; public function AsD...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { PRETEST 6.6.6.3-4, FILE=ERR55P...
{ ****************************************************************** Balances a matrix and tries to isolate eigenvalues ****************************************************************** } unit ubalance; interface uses utypes; procedure Balance(var A: TMatrix; Lb, Ub: Integer; out I_low, I_igh: Int...