text
stringlengths
14
6.51M
unit xxmGeckoInterfaces; interface uses nsXPCOM, nsTypes, nsGeckoStrings; const NS_OK = 0; NS_ERR = 1; NS_NOENT = 2; NS_ISTANDARDURL_CONTRACT='@mozilla.org/network/standard-url;1'; NS_IHTTPPROTOCOLHANDLER_CONTRACT='@mozilla.org/network/protocol;1?name=http'; NS_IINPUTSTREAMPUMP_CONTRACT='@m...
unit Lfo; interface uses FS1R.Params, sin; const LG_N = 6; N = 1 shl LG_N; type /// <remarks> /// 6 bytes /// </remarks> TLFOParameters = packed record public // array[0..5] of byte; rate : byte; delay : byte; p1, p2, Sync: byte; WaveForm : TLFOWaveForm; ...
unit TM; {$mode objfpc}{$H+} interface uses Classes, SysUtils; type { TTaskListManager } TTask = class(TComponent) private FCaption: string; FPosition: Integer; protected procedure AssignTo(Dest: TPersistent); override; published property Caption: string read FCaption write FCaption; ...
unit eInterface.View.Principal; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, eInterface.Model.Interfaces; type TfrmPrincipal = class(TForm) editNome: TEdit; editSobreNome: TEdit; ...
unit FF7_Window; interface uses DXDraws, FF7_Common, Classes, DIB, Windows, FF7_Text, StrUtils, Graphics; Type TWin = Packed Record ID,N: Byte; X,Y: SmallInt; W,H: Word; end; TDlg = Packed Record ID,N,D: Byte; end; TAsk = Packed Record ID,Bank,Win,Mess,First,Last,Addr: Byte; end; T...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.1.6-4, FILE=DEV014, CLA...
unit uHik; interface uses System.Classes, Generics.Collections, IdHTTP, SysUtils, uGlobal, uCommon, uDecodeHikResult, DateUtils, ActiveX, uEntity; type TImageInfo = Record GCXH: String; KDBH: String; CDBH: String; Url: String; PassTime: String; End; THik = class private class fu...
UNIT lexico; INTERFACE FUNCTION ReadLexem(VAR InputFile: TEXT): STRING; IMPLEMENTATION FUNCTION ReadLexem(VAR InputFile: TEXT): STRING; CONST ValidSymbols = ['A' .. 'Z', 'a' .. 'z', 'À' .. 'ß', 'à' .. 'ÿ']; VAR Ch: CHAR; Str: STRING; FUNCTION ToValidType(Ch: CHAR): CHAR; BEGIN {T oValidType} CASE C...
unit Exercicios.DataModule.Intf.DM; interface uses SysUtils, DB, DBClient; type IDm = Interface procedure Abrir(const ID: Integer); function DataSet: TClientDataSet; function Pesquisa: TClientDataSet; end; IDmPessoa = Interface(IDm) procedure SalvarArquivo(const FileName: TFileName; Pessoa: TD...
unit VamImage; interface uses Types, Controls, Classes, Graphics, AggColor, RedFox, RedFoxGraphicControl, RedFoxColor, VamWinControl; type TVamImage = class(TVamWinControl) private fBitmap: TBitmap; procedure SetBitmap(const Value: TBitmap); protected procedure Paint; override; public c...
// RFC 2781 https://tools.ietf.org/html/rfc2781 {$MODE FPC} {$MODESWITCH DEFAULTPARAMETERS} {$MODESWITCH OUT} {$MODESWITCH RESULT} unit dutf16; interface const // // UTF16_IS_SYSTEM_ENDIAN_BIG // // Returns True whenever system is big endian. // // Can be used as a BigEndian parameter if encodi...
unit Msgdlg; {==========================================================================} { MessageDlg Replacement v1.4 for Delphi } { (Delphi1 - Delphi3) } { ...
unit UCL.SymbolButton; interface uses Classes, Types, Messages, Windows, Controls, Graphics, ImgList, UCL.Classes, UCL.Types, UCL.SystemSettings, UCL.Utils, UCL.Graphics; type TUSymbolButtonToggleEvent = procedure (Sender: TObject; State: Boolean) of object; TUSymbo...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.7.2.5-8, FILE=DEV185, C...
(* * ValorAbsoluto * Este Programa calcula el valor absoluto de un entero * Autor: Jose Pena * Ultima fehca de modificacion: 31/01/2013 *) Program ValorAbsoluto; Var n : integer; // nro. Entero r : integer; // Valor absoluto del entero Begin (* Lectura de datos *) Writeln('Introduzca un entero: '); Readln (n); ...
/// <summary> /// Unit uAnalyze handles Analyze medical images Created by Alex Vergara Gil /// based on ezDICOM by Chris Rorden. Changed char definitions to AnsiChar to /// accomplish standard char size of 1 byte which is different in Delphi /// SizeOf(char) returns 2 while SizeOf(AnsiChar) returns 1 /// </summary...
unit Dao.IConection; interface uses System.Generics.Collections, Data.DB, Database.SGDB, Model.CampoValor; type IConection = interface ['{F4CD79FE-8AB6-449D-9041-C3F44BC18D09}'] procedure StartTransaction; procedure Commit; procedure Rollback; function ExecSQL(const ASQL: String): LongI...
unit UCL.Form; interface {$IF CompilerVersion > 29} {$LEGACYIFEND ON} {$IFEND} uses Classes, Windows, Messages, Forms, Controls, ExtCtrls, Graphics, UCL.Classes, UCL.Colors, UCL.Types, // UCL.Utils, UCL.SystemSettings, UCL.ThemeManager, UCL.Tooltip, UCL.FormOverl...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { PRETEST 6.7.2.2-10, FILE=ERR64...
unit UnitShaderManager; interface uses SysUtils, Windows, Classes, OpenGL, UnitOpenGLext; type CShaderManager = class private iVertexObj, iGeometryObj, iFragmentObj, iProgramObj: GLuint; bVertexFileLoad, bGeometryFileLoad, bFragmentFileLoad: Boolean; bVertexObjCreated, bGeometr...
program main; const DIMENSION = 10; // Простая сортировка методом пузырька procedure bubblesort(var numbers: array of integer); var i, j, tmp: integer; begin for i := length(numbers) - 1 downto 1 do for j := 1 to i do if (numbers[j-1] > numbers[j]) then begin tmp := numbers[j-1]; numbers...
unit BaseTestCase; interface uses System.SysUtils, TestFrameWork; type TBaseTestCase = class(TTestCase) private FCurrentProcToCheck: TProc; procedure RunCurrentProcToCheck; public procedure CheckException(AMethod: TProc; AExceptionClass: TClass; AMsg :string); overload; ...
unit SubscriptionOutcomeDataTest; interface uses DUnitX.TestFramework; type [TestFixture] TSubscriptionOutcomeDataTest = class(TObject) public [Setup] procedure Setup; [TearDown] procedure TearDown; /// Test suit for the constructing of the instance from a json /// Partition input as...
unit NetMessages; interface const NETMSG_VERSION = '0.8.0'; NETMSG_BUILD = '08885'; NETMSG_RELEASE = 'WoW [Release Assertions Enabled] Build 8885 (Aug 27 2008 22:49:53)'; // ----------------------------...
unit UserAccessControlUtils; interface uses SysUtils, Windows; ///<summary> /// Test if current process has admin privileges. /// Will always return True on os older than Windows 2000.</summary> ///<returns>Boolean - Returns True if process has administrator privileges, False if not.</returns> function IsUserAn...
{ Copyright (c) 1998 Jonathan Revusky All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following ...
unit F12; interface uses bentukan; procedure lihatStatistik(var arrsimulasi:tabsimulasi;jmlhaksi:jumlahAksi;nosim:integer); { I.S.: arrsimulasi, jmlhaksi, nosim terdefinisi F.S.: menampilkan statistik simulasi (minimum menampilkan apa yang ada dalam data simulasi yang bersangkutan } implementation pro...
unit uTTransporteViaSmtp; interface uses IdMessage, IdIOHandler, IdExplicitTLSClientServerBase, IdSMTP, IdText, IdSSLOpenSSL, System.SysUtils, Vcl.Dialogs, uITransporte; type TTransporteViaSmtp = class(TInterfacedObject, ITransporte) private Fservidor: String; Fporta: String; ...
unit unitResourceXPManifests; interface uses Windows, Classes, SysUtils, Contnrs, unitResourceDetails, AxCtrls; type TXPManifestResourceDetails = class (TAnsiResourceDetails) public class function GetBaseType : string; override; procedure InitNew; override; end; const RT_XPMANIFEST = MakeIntReso...
{ ******************************************************* } { QSDK.Wechat.iOS 1.0 } { Interfaces for libWeChatSDK 1.7.1 } { Created by TU2(Ticr),and agree to share with QSDK } { ******************************************************* } unit QSDK.Wechat.ios; interface uses iOSapi.Foundation, FMX.Platform.ios, Macap...
unit uExecuteScript; { 数据库脚本执行单元 zhoubin 2016-12-02 } interface uses Classes, Windows, SysUtils, StrUtils, uThiDB, Forms; type TSQLExecuteScript = class private FStep: string; FFileKey: string; FDescKey: string; FFileName: string; public property Step: string read FStep write FStep; ...
{**************************************************************************************************} { } { Project JEDI Code Library (JCL) } { ...
unit uTestParser; {$mode objfpc}{$H+} interface uses Classes, SysUtils, fpcunit, testutils, testregistry, uhelpercalculator, uParser; type { TestParser } TestParser= class(TTestCase) private FReceived: TIntegerList; FNumbers: string; FParser: TParser; // Ref.Counted procedure UnMetodoGe...
{ ******************************************************************************* Title: T2Ti ERP Description: Classe de controle do Sped Fiscal. 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 associ...
var i : integer; begin i := 100; while (i > 0) do write('+'); i := i div 2; end.
unit VclEx.PopupMenuEx; { The TPopupMenu.Popup method (which is used to display such a menu even when presented "automatically" by the VCL) has it's own message pump whilst being displayed. i.e. the Popup procedure only returns to the caller when the menu has been dismissed. I used this feature to implemen...
unit SpTBXEditors; {============================================================================== Version 2.5.3 The contents of this file are subject to the SpTBXLib License; you may not use or distribute this file except in compliance with the SpTBXLib License. A copy of the SpTBXLib License may be found in...
// ======================================================== // Multimedia Player, based on BASS sound system // Delphi 7 // (c) 2005-2006 Nikolay Petrochenko // ======================================================== unit BASSPlayerX; interface uses Windows, Messages, SysUtils, Classes, xIni, Dynamic_BASS, RT...
{ The following unit was created to prevent circular usage of xcb and xcbproto. It does it by creating the actual types decleared by the two headers and the two headers just use alias to this unit. } unit xcb_types; {$mode fpc}{$PACKRECORDS C}{$MACRO ON}{$CALLING CDECL} interface uses ctypes; const libXC...
unit Clean.Main; interface uses System.SysUtils, Clean.Utils; type TClean = class private _dirList: TArray_str; _fileList: TArray_str; /// <summary> 对目录下的所有文件进行扫描并加入 __fileList </summary> /// <param name="dir">当前目录 </param> procedure __addAllFlie(dir: UString); /// <summary> 将 str 字...
unit SimpleJSON; interface uses Classes, SysUtils; type TcdJsonValueType = (jvNone, jvNull, jvString, jvNumber, jvBoolean, jvObject, jvArray); TcdJsonStructType = (jsNone, jsArray, jsObject); TcdJsonNull = (null); TcdJsonEmpty = (empty); type TSimpleJsonBase = class(TObject) private FOwner: TSimpleJ...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.7.2.5-5, FILE=DEV182, C...
{------------------------------------------------------------------------------- 单元: SynEditSearcher.pas 作者: 姚乔锋 日期: 2005-05-17 17:20 说明: 实现SynEdit的搜索简化 版本: 1.00 -------------------------------------------------------------------------------} (* -- 使用者 -- * Uesr : liqj * Date : 2006-09-29 * Modi ...
unit F15; interface uses bentukan; procedure cariResep(var arrresep:tabresep); { I.S.: arresep terdefinisi F.S.: melakukan pencarian resep berdasarkan nama resep yang tersedia. Jika masukan nama resep ditemukan, maka program akan menampilkan nama resep dan nama bahan-bahan yang diperlukan dan harga jual ...
{ BattleField 2 Server Info Library v 0.4.4a http:// blogspot.com } unit BF2ServerInfo; interface uses Windows, Messages, SysUtils,Forms, Classes, {ExtCtrls,} DSiWin32, OverbyteIcsWSocket, OverbyteIcsWndControl, OverbyteIcsWSocketS, OverbyteIcsPing, OverbyteIcsIcmp, ALfcnString, ALSt...
unit FarScape.Scene; interface uses Contnrs, Types, FarScape.Event, FarScape.Events, FarScape.CustomControl, FarScape.ControlHelper, FarScape.PureInterfacedObject; type // TODO:MED Think about adding TScene to the root control. // Is there any reason it needs to be created independently. TSceneE...
unit Logging4D.UnitTest.Standard; interface uses TestFramework, System.Classes, System.SysUtils, System.TypInfo, Logging4D, Logging4D.Impl, Logging4D.Driver.Standard; type TTestLogging4DStandard = class(TTestCase) private fFileName: string; fLogging: ILogging; fAppender: TLoggerAppende...
Unit CODE; Interface Procedure Draw(); // Draw smthing @60 Procedure Init(); // Before all code Procedure Mouse_Pressed(Button , State , mX , mY : LongInt ) ; // subj Procedure Key_Pressed(Key : LongInt ) ; // subj Implementation Uses FastGraph , MATH , SysUtils ; Const ClientWidth = 800; Cli...
unit AggSpanAllocator; //////////////////////////////////////////////////////////////////////////////// // // // Anti-Grain Geometry (modernized Pascal fork, aka 'AggPasMod') // // Maintained by Christian-W. Budde (Christian@sav...
unit r8Brain; {$include r8Brain.inc} interface uses r8bsrc; type PResampleConfig = ^TResampleConfig; TResampleConfig = record SourceRate : Double; DestRate : Double; MaxInputBufferFrames : LongInt; TransitionBand : double; Res : LongInt; pro...
PROGRAM Containers; TYPE Vector = OBJECT PROCEDURE Init; PROCEDURE Done; PROCEDURE Add(value: INTEGER); PROCEDURE InsertAt(pos: INTEGER; value: INTEGER); PROCEDURE RemoveAt(pos: INTEGER; VAR value: INTEGER); PROCEDURE Clear; PRIVATE ...
Unit MainForm; 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, Generics.Collections, VCFRecord; Type TMainFrm = class(TForm) MainPanel: TPanel; SetsAndFi...
unit Vam.SmartInspectExt; interface uses Windows, SmartInspect, VamLib.Logging.AbstractLog; type IAutoFreeObjectWrapper = interface ['{31A791D3-A8CC-43F5-83A5-46CF870D9170}'] function GetObject : TObject; end; TAutoFreeObjectWrapper = class(TInterfacedObject, IAutoFreeObjectWrapper) private ...
unit eePerformanceCounterForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type TPerformanceCounterForm = class(TForm) LastTimeDisplay: TEdit; Label1: TLabel; Label2: TLabel; MaxTimeDisplay: TEdit; Butt...
unit SoundElement.RealTime.DcBlocker; interface uses VamLib.MoreTypes; type //http://www.embedded.com/design/configurable-systems/4007653/DSP-Tricks-DC-Removal TDcBlocker = class private OldL : double; OldR : double; Coeff : double; FSampleRate: single; procedure SetSampleRate(const Valu...
unit VamButton; interface uses Types, Controls, Classes, Graphics, RedFox, RedFoxGraphicControl, RedFoxColor, VamGraphicControl, VamWinControl; type TVamButtonState = (bsOff, bsOn); TVamButtonBehaviour = (bbAuto, bbManual); TVamButton = class(TVamWinControl) private fOnChanged: TNotifyEvent; ...
unit ESoft.Launcher.UI.ErrorViewer; { ---------- Developed by Muhammad Ajmal P ---------- } { ---------- ajumalp@gmail.com --------------------- } Interface uses System.UITypes, SysUtils, Forms, StdCtrls, Classes, Controls, ExtCtrls, Graphics, Buttons, ActnList, ExtActns, S...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.1.8-3, FILE=DEV027, CLA...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.4.5-6, FILE=CONF084, CLASS=...
{ * FmMain.pas * * Main form for the Window State Components StandAloneDemo demo program. * * $Rev$ * $Date$ * * Any copyright in this file is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ } unit FmMain; interface uses Windows, Messages, SysUtils, Classes, Graphics, C...
unit ToolsFunc; interface uses Classes, SysUtils, DBTables, DB; const E_OpenTable = 'Не може да отвори таблицата %s'; type TMode = (tmBanka, tmKasa, tmTeglene); TStrDoc = String[20]; PPersonPayment = ^TPersonPayment; TPersonPayment = record Date: TDateTime; DocNo: TStrDoc; Sum: Single; Mode:...
{ Ця программа, була розроблена, для знаходження результату формули з трьома невідомими, які користувач вводить у відповідні поля ================================================================= Версія ПЗ: Alpha 0.1 **********************************************************...
unit BeverageBlackCoffee; interface uses Beverage, System.SysUtils; type TBlackCoffee = class(TBeverage) public function getPrice: double;override; function getDescription: string; override; end; implementation { TSanduiche } function TBlackCoffee.getDescription: string; begin inherited; Resul...
unit Providers.Helpers.JSON; interface uses System.JSON; type TJSONHelper = class helper for TJSONObject procedure UpdatePair(const PairName, PairValue: string); end; implementation { TJSONHelper } procedure TJSONHelper.UpdatePair(const PairName, PairValue: string); begin Self.RemovePair(PairName).Free;...
unit AudioPlugin.Globals; interface uses Classes, PlugLib.AirControl, AudioPlugin.Types, VamVst2.DAEffect, VamVst2.DAEffectX, AudioPlugin.Interfaces; type //=============================================== // Vst2 Plug Methods //=============================================== TGetVstParameter =...
(* ----------------------------------------------------------------------------- The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MP...
Unit TM_File; INTERFACE Type FileBuffer = Array[0..$fff8] of byte; BufFileObj = Object BufFile : File; Buf : ^FileBuffer; IOResult : Integer; Filename : String; Open, Dirty : Boolean; BufFilePos : Longint; RecordSize, BufSize, BufPos, BufTop : Word; Constructor I...
unit Database.TDataseMigrationBase; interface uses System.SysUtils, System.Classes, System.Generics.Collections, System.Rtti, Data.DB, FireDAC.Comp.Client, Model.Atributos, Model.Atributos.Tipos, Dao.IConection, Utils.Funcoes, Database.IDataseMigration, Database.TTabelaBD, Database.SGDB, Dat...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.5.3.2-5, FILE=IMDEFB23,...
unit Test.Ron.Parser; interface uses WatchTower, Ron.Lexer, Ron.Parser; type TReadRonValueTest = class(TWatchTowerTest) private public [Test] procedure SetParserValueTestsA; [Test] procedure SetParserValueTestsB; [Test] procedure ReadRonValueTest; [Test] procedure ReadR...
unit NetMessages; interface const NETMSG_VERSION = '0.8.0'; NETMSG_BUILD = '08885'; NETMSG_RELEASE = 'WoW [Release Assertions Enabled] Build 8885 (Aug 27 2008 22:49:53)'; // -------------------------------------...
{******************************* Copyrights By Zetron System Last Modified 10/07/2008 *******************************} unit frmUni; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, untProcedure, // Auto Generate Menus, cxLookAndFeelPainters...
unit Test.FarScape.Events; interface uses TestMocks.FarScapeControls, FarScape.CustomControl, FarScape.Event, FarScape.Events, FarScape.EventDispatcher, WatchTower; type TFarScapeEventsTest = class(TWatchTowerTest) private ControlA, ControlB, ControlC : TFarScapeControl; EventACount : intege...
unit bc_litedb; {************************************************ * * * A lightweight database connection for SQLite3 * * Wraps a TSQLite3Connection, TSQLTransaction * * and a TSQLQuery all into one. * * * * Re...
unit Lucidity.MidiInputProcessor; interface uses //VamLib.CpuOverloadWatcher, eeGlobals, VamLib.ZeroObject, VamLib.Utils, B2.Filter.CriticallyDampedLowpass, soNoteStack, uConstants, Lucidity.Types, Lucidity.Enums; const kMidiNoteCount = 128; type TSuspendedNoteData = record public IsNote...
unit FormTest; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, // the following units are not used in Snappy, them are provided for a base benchmark; // you can delete them into your Snappy cod...
unit Venda.Attributes; interface uses Venda.Interfaces, Venda.Types, System.SysUtils, System.Classes, System.Generics.Collections; type TVendaAttributes = class(TinterfacedObject, IVendaAttributes<IVenda>) private [weak] FParent: IVenda; FDisplay: TProc<string>; FListItens: TList<iItemA...
Unit uComplex; { Unit uComplex : Complex numbers handling Unit Created by : Alex Vergara Gil Contains the routines for handling complex numbers } Interface Uses math, uConstants; { ------------------------------------------------------------------ Complex numbers ------------------------...
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ugene, Vcl.StdCtrls, Vcl.ExtCtrls; type TMyData = array [1..100,1..100] of boolean; PMyData = ^TMyData; TForm1 = class(TForm) BtnInit: TButt...
{ 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 Tree; {$i Compiler.inc} interface uses BeRoUtils,Globals,Error,Symbols,HugeString; type TTreeNodeType=(ttntEmpty, ttntSubRange,ttntAssign, ttntArrayConstructor, ttntLess,ttntLessOrEqual,ttntGreater,ttntGreaterOrEqual,ttntEqual,ttntNotEqual, ...
unit DlgVersion; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Buttons, ComCtrls, StdCtrls, ExtCtrls, Spin; type TTypeMod = (tmNew, tmVersion); TdgVersion = class(TForm) rgTypeMod: TRadioGroup; Painel: TStatusBar; lRefPart: TLab...
unit Disciplinas; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.StdCtrls, Vcl.Mask, Vcl.DBCtrls, Vcl.Grids, Vcl.DBGrids, Vcl.ExtCtrls; type TfrmCadastroDisciplinas = class(TForm) Panel1: T...
unit DayState; interface uses Base; type DayStateClass = class(BaseState) private class var p_Singleton : DayStateClass; constructor Create; public class destructor Destroy; class function GetInstance:BaseState; procedure DoClock(context : IContext; hour:intege...
unit oaAF3000; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Mant, db, ExtCtrls; type TFControlOperativo = class(TForm) private { Private declarations } public { Public declarations } procedure PanelCreaMant(Sender: TObject); ...
unit uMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, System.JSON, // Controller.Interfaces, Controller; type TForm2 = class(TForm) Label1: TLabel; Edit1: TE...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.7.3-1, FILE=IMDEFB31, C...
unit NGINX.FCGIStream; /// <summary> /// The stream where responses to this request should be written to. /// Only write FastCGI records here, not the raw response body. Use <see cref="FCGIResponse.SendRaw"/> for sending response data. /// </summary> interface uses System.SysUtils, System.Classes, NGINX.FCGIConsta...
uses System; const ARRAY_DIM: Integer = 3; let x: array[ARRAY_DIM] of Integer := [1, 2, 3]; // x[2].ToString() parses wrong! WriteLn('element 2: ' + (x[2]).ToString()); WriteLn('element 3: ' + (x[ARRAY_DIM]).ToString());
unit UFrmReboque; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Mask, Vcl.DBCtrls, Vcl.Buttons, RzCmboBx, RzDBCmbo, DosMove, UFrm_MDF, UFrm_GradeVeiculos, RzButton, System.Actions,...
unit orm4d.model.cliente; interface uses DB, CLIENTE, Forms, ObjectSet4D; type iModelDAO = interface ['{68F6A79F-1C86-4A13-BBDE-9BC491396E28}'] function Find(): iModelDAO; function Insert : iModelDAO; overload; function Update : iModelDAO; overload; function Delete(AWher...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { PRETEST 6.6.5.3-21, FILE=ERR42...
UNIT treeunit; INTERFACE CONST MaxLength = 30; TYPE SmallString = STRING[MaxLength]; PROCEDURE InitTree; PROCEDURE GetResultToFile(VAR F: TEXT); PROCEDURE SaveData(VAR NewLexem: SmallString); PROCEDURE ResultToFile(VAR F: TEXT); IMPLEMENTATION CONST MaxTreeSize = 100; TYPE Tre...
unit FileManager.Providers.Dialogs.Input.Form; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, VCL.BlockUI, VCL.BlockUI.Intf, Vcl.Buttons, dxGDIPlusClasses, Vcl.ExtCtrls, System.ImageList, Vcl.Img...
unit untInitVCL; interface uses SysUtils, Forms, Classes, DB, Controls, Windows, INIFiles, Dialogs, ADODB, Uni, cxEdit, cxMemo, cxNavigator, cxRadioGroup, cxCalendar, cxCalc, cxCurrencyEdit, cxDBLookupComboBox, cxDBExtLookupComboBox, cxCustomData, cxGridCustomTableView, cxGridTableView, cxGrid, cxGrid...
unit unitIntraWeb; interface uses classes,sysutils,IWAppForm,IWInit,IWTreeview; procedure G_IWChangeForm(AFormClass: TIWAppFormClass); procedure G_IWaddTreeData(f_tvTarget : TIWTreeView;f_tsData : tstrings;f_iCol : integer); implementation procedure G_IWaddTreeData(f_tvTarget : TIWTreeView;f_tsData : tstrings;f_i...
unit Crypto; { MiniCoin Wallet and Miner Copyright (c) 2019 by Preben Bjorn Biermann Madsen Based on Kreditz Coin Copyright (c) 2018 Pjor, Kreditz Team Distributed under the MIT software license, see the accompanying file LICENSE or visit http://www.opensource.org/licenses/mit-license.php. This unit is a...
unit UMultiLineEdit; interface uses QStdCtrls,Classes; procedure Register; // So we add it to forms type TMultiLineEdit = class (TMemo) private linedata: array of WideString; //storage for lines datalen: integer; // lines currently stored function GetArrayLength:integer; procedure SetArrayLeng...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.8.2.4-2, FILE=DEV206, C...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.2-11, FILE=CONF098, CLASS...