text
stringlengths
14
6.51M
unit GLDStandardObjectsFrame; interface uses SysUtils, Classes, Controls, Forms, Buttons, StdCtrls, GLDTypes, GLDSystem; type TGLDParamsFrameType = (GLD_PARAMS_FRAME_NONE, GLD_PARAMS_FRAME_BOX, GLD_PARAMS_FRAME_PYRAMID, GLD_PARAMS_FRAME_CYLINDER, GLD_PARAMS_FRAME_CONE, GLD...
(* Category: SWAG Title: POINTERS, LINKING, LISTS, TREES Original name: 0026.PAS Description: Sorting Linked Lists Author: LEE BARKER Date: 08-25-94 09:10 *) { │ I'm looking for a routine to swap two nodes in a double │ linked list or a complete sort. There has been a thread on the TP conf area in CIS on q...
{******************************************************************************} { } { Delphi OPENSSL Library } { Copyright (c) 2016 Luca Minuti ...
unit pangocairo; interface uses pangolib, cairolib, pangocairolib, cairo, pango, glib; type IPangoCairoFontMap = interface(IPangoFontMap) // todo ginterface ['{99B6172B-64C1-44E4-8030-AC30C08F6F1D}'] procedure SetDefault; function GetFontType: TCairoFontType; procedure SetResolution(dp...
unit EqualsOpTest; interface uses DUnitX.TestFramework, uIntX; type [TestFixture] TEqualsOpTest = class(TObject) public [Test] procedure Equals2IntX(); [Test] procedure EqualsZeroIntX(); [Test] procedure EqualsIntIntX(); [Test] procedure EqualsNullIntX()...
unit NewFrontiers.GUI.PropertyChanged; interface type TPropertyChangedObject = class protected procedure propertyChanged(aPropertyname: string); end; implementation uses NewFrontiers.GUI.Binding; { TPropertyChangedObject } procedure TPropertyChangedObject.propertyChanged(aPropertyname: string...
{******************************************************************************} { } { Delphi JOSE Library } { Copyright (c) 2015-2017 Paolo Rossi ...
Program readByLineAndChar; VAR ch: CHAR; line:STRING; charsRead, charsWritten:LONGINT; linesRead, linesWritten:LONGINT; mode:(byChars, byLines); BEGIN mode:=byChars; charsRead :=0; charsWritten :=0; linesRead:=0; linesWritten:=0; CASE mode OF byChars: BEGIN REPEAT ...
unit StatusUpdaterThread; interface uses System.Classes; type StatusUpdater = class(TThread) private { Private declarations } protected procedure Execute; override; end; implementation { Important: Methods and properties of objects in visual components can only be used in ...
unit Geometry; interface uses BattleField; type { Represents a point or vector on a 2d plane } Vector = record x: double; y: double; end; IntVector = record x: integer; y: integer; end; { Represents a pair of poins, a line segment or a rectangle on a 2d plane } Rect = record p1: Vector; p2: Vecto...
(* ************************************************ *) (* *) (* Advanced Encryption Standard (AES) *) (* Interface Unit v1.0 *) (* *) (* *) (* Copyright (c) 2002 Jorlen Young *) (* *) (* *) (* *) (* Description: *) (* *) (* Based on ElASE.pas unit package *) (* *) (* This is the standard interface for an AES encryption...
unit UMain; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ActnList, UPostfix, StdCtrls; type TfrmMain = class(TForm) alMain: TActionList; processString: TAction; editInput: TEdit; btnConvert: TButton; editResult: TEdit; procedure Form...
{Ingresar una matriz de N x M de enteros resolver mediante procedimientos o funciones los siguientes puntos y mostrar el resultado: (Maximo de filas y columnas:6). a. Dado un número, calcular cuantas veces se repite (puede no estar). b. Indicar cuántos elementos son nulos, positivos y negativos. c. Intercambiar la fila...
unit GridController; interface uses Generics.Collections, FMX.Grid; type TGridFillRow<T> = reference to procedure(Obj: T; Cols: TArray<string>); TGridController<T: class> = class private FGrid: TStringGrid; FItems: TList<T>; FFillRow: TGridFillRow<T>; procedure FillGrid; function GetSelec...
(*----------------------------------------------------------------------------* * Direct3D sample from DirectX 9.0 SDK December 2006 * * Delphi adaptation by Alexey Barkovoy (e-mail: directx@clootie.ru) * * * ...
(*----------------------------------------------------------------------------* * Direct3D sample from DirectX 9.0 SDK December 2006 * * Delphi adaptation by Alexey Barkovoy (e-mail: directx@clootie.ru) * * * ...
unit OrcamentoItens.Model.Interf; interface uses TESTORCAMENTOITENS.Entidade.Model, ormbr.container.objectset.interfaces; type IOrcamentoItensModel = interface ['{03181149-B5E8-4325-A1D4-550E60ADCD2E}'] function Entidade(AValue: TTESTORCAMENTOITENS): IOrcamentoItensModel; overload; function Entidade: T...
UNIT lista2; INTERFACE uses lista; TYPE pListaM = ^TListaM; TListaM = RECORD id : Longint; Nomb_Marker : String; tamanio : integer; coordenadas : integer; figprimitivas : pTPrimitiva; siguiente : pListaM; END; VAR NM : String; ID : longint; TM : Integer; C...
unit ToolExcel; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, AdvGlowButton, AdvToolBar; type TFrmToolExcel = class(TForm) ToolBarExcelFonts: TAdvToolBar; ButtonSmallFont: TAdvGlowButton; ButtonLargeFont: TAdvGlowButton; ButtonSh...
unit GLDCylinder; interface uses Classes, GL, GLDTypes, GLDConst, GLDClasses, GLDObjects; type TGLDCylinder = class(TGLDEditableObject) private FRadius: GLfloat; FHeight: GLfloat; FHeightSegs: GLushort; FCapSegs: GLushort; FSides: GLushort; FStartAngle: GLfloat; FSwe...
unit uDuck; interface uses uFly, uQuack, Windows; type TDuck=class protected FlyBehavior:IFlyBehavior; QuackBehavior:IQuackBehavior; public procedure PerformQuack; procedure Swim; procedure Display;virtual;abstract; procedure PerformFly; procedure SetFlyBehavior(FB:IFlyBehavior); ...
{: GLHiddenLineShader<p> A shader that renders hidden (back-faced) lines differently from visible (front) lines. Polygon offset is used to displace fragments depths a little so that there is no z-fighting in rendering the same geometry multiple times.<p> <b>History : </b><font size=-1><ul> <li>05/03...
unit DSA.List_Stack_Queue.QueueCompare; {$mode objfpc}{$H+} interface uses Classes, SysUtils, DSA.Interfaces.DataStructure, DSA.List_Stack_Queue.ArrayListQueue, DSA.List_Stack_Queue.LoopListQueue, DSA.List_Stack_Queue.LinkedListQueue; procedure Main; implementation function testTime(q: specialize IQu...
unit User; interface uses Windows, Messages, SysUtils, Classes, IBQuery, IBSQL, IBDatabase, Db, IBStoredProc, Dbun, Variants, Dialogs; type TUser = class(TDbunObject) private FUserName: string; FUserFullName: string; FPassword: string; FPasswordHash: string; FUserI...
{************************************************************* Author: Stéphane Vander Clock (SVanderClock@Arkadia.com) www: http://www.arkadia.com EMail: SVanderClock@Arkadia.com product: QuickSortList function Version: 3.05 Description: TALIntegerList or TALDoubleList that work exac...
unit glCurrency; interface uses SysUtils, Classes, IdHTTP; type TglCurrency = class(TComponent) private fAuthentication: boolean; fLogin: string; fPassword: string; fPort: integer; fHost: string; fHTTP: TidHTTP; fImportList: TStringList; function ParseValRBC(ins...
// ----------- Parse::Easy::Runtime ----------- // https://github.com/MahdiSafsafi/Parse-Easy // -------------------------------------------- unit Parse.Easy.Parser.Rule; interface uses System.Classes, System.SysUtils; type TRuleFlag = (rfAccept); TRuleFlags = set of TRuleFlag; TRule = class(TObject) p...
unit LogDataMain; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, IniFiles, Menus, DB, ADODB, IdBaseComponent, IdComponent, IdUDPBase, IdUDPServer, IdGlobal, IdSocketHandle; type TFrmLogData = class(TForm) Label3: TLabel; Label4: TLabel; ...
// // Created by the DataSnap proxy generator. // 26/06/2020 08:45:06 // unit Guia.Proxy; interface uses System.JSON, Datasnap.DSProxyRest, Datasnap.DSClientRest, Data.DBXCommon, Data.DBXClient, Data.DBXDataSnap, Data.DBXJSON, Datasnap.DSProxy, System.Classes, System.SysUtils, Data.DB, Data.SqlExpr, Data.DB...
{--------------------------------------------------------} { { Rotinas de comunicacao serial { { Autor: José Antonio Borges { { Em 26/04/98 { {--------------------------------------------------------} Unit dvComm; interface uses windows, messages, sysUtils; function inicLink (porta: word; vel: longi...
{$i deltics.interfacedobjects.inc} unit Deltics.InterfacedObjects.InterfacedObjectList; interface uses Contnrs, Deltics.InterfacedObjects.Interfaces.IInterfacedObjectList, Deltics.InterfacedObjects.ComInterfacedObject; type TInterfacedObjectList = class(TComInterfacedObject, IInterfacedObje...
unit AFSplitter; interface uses HashAlg_U; // "Standard" version; uses SHA-1 // n - Set to the number of stripes function AFSplit(input: Ansistring; n: integer; var output: Ansistring): boolean; overload; function AFMerge(input: Ansistring; n: integer; var output: Ansistring): boolean; overload; // ...
unit uFrmNewBarCode; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, siComp, siLangRT, PaiDeForms; type TFrmNewBarcode = class(TFrmParentForms) EditBarcode: TEdit; Panel1: TPanel; Panel3: TPanel; Panel6: TPanel; Label1: TLabel; ...
{ Autor: Vinícius Lopes de Melo Data: 17/06/2014 Link: https://github.com/viniciuslopesmelo/Aplicacao-Delphi } unit untDMConexao; interface uses SysUtils, Classes, DBXFirebird, DB, SqlExpr, WideStrings, Dialogs, Forms, DBXCommon; type TDMConexao = class(TDataModule) ConexaoApp: TSQLConnection; ...
{******************************************************************************* Title: T2Ti ERP Description: VO relacionado à tabela [FISCAL_NOTA_FISCAL_ENTRADA] The MIT ...
// Cette unité sert pour la lecture d'un fichier texte. Il permet de retourner // le type MIME ainsi que le contenu d'un fichier. unit uniteLecteurFichierTexte; interface // Utilisation de la superclasse pour créer cette sous-classe. uses SysUtils, uniteLecteurFichier; type // Nom de la classe. Hérite de la...
unit uDataBaseFunctions; { Database function Developer: Rodrigo Costa - 05/08/02 } interface uses db, ADOdb, stdctrls, Sysutils, uMsgBox, xBase, uLanguageFunctions, uStringFunctions{, Variants}; procedure CheckRequired(MyDataSet : TDataSet); function MyLocate(MyDataSet : TDataSet; v...
{******************************************************************************* Title: T2Ti ERP Description: Controller relacionado à tabela [ECF_CONFIGURACAO] The MIT Lice...
(*----------------------------------------------------------------------------* * Direct3D sample from DirectX 9.0 SDK December 2006 * * Delphi adaptation by Alexey Barkovoy (e-mail: directx@clootie.ru) * * * ...
{$I-,Q-,R-,S-} {Problema 6: Lexicon Vacuno [Vladimir Novakovski, 2002] Pocos saben que las vacas tienen su propio diccionario con W (1 <= W <= 600) palabras, cada una conteniendo no más de 25 de los caracteres 'a'..'z'. Debido a que su sistema de comunicación, basado en mugidos, no es muy preciso, algunas veces el...
unit TextView; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Htmlview, StdCtrls, AmlView; type TTextViewer = class(TAmlViewer) HtmlViewer: THTMLViewer; private procedure SetHeading(const AHeading : String); procedure SetHTML(const AHtml : String); publ...
unit DPM.Core.Package.PackageLatestVersionInfo; interface uses DPM.Core.Types, DPM.Core.Package.Interfaces; type TDPMPackageLatestVersionInfo = class(TInterfacedObject, IPackageLatestVersionInfo) private FId : string; FLatestStableVersion: TPackageVersion; FLatestVersion: TPackageVersion; prote...
// Copyright (c) 2009, ConTEXT Project Ltd // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: // // Redistributions of source code must retain the above copyright notice, this list of condition...
unit Main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls; type TScreenForm = class(TForm) RenderTimer: TTimer; Display: TPaintBox; procedure DisplayPaint(Sender: TObject); proced...
unit Services.Tour; interface uses Classes, XData.Server.Module, XData.Service.Common, System.Generics.Collections; type [ServiceContract] ITourService = interface(IInvokable) ['{ADDC3977-6CEF-4854-9C65-CFB22FAE691D}'] [HttpGet] function Levels : TList<string>; [HttpGet] function To...
unit CDPAsignacionTerceros; interface uses SysUtils, Classes, DB, DBTables, Windows, Forms; type TDPAsignacionTerceros = class(TDataModule) QKilosSalida: TQuery; QEnvase: TQuery; QAux: TQuery; QKilosSalidaTercero: TQuery; QKilosEntrada: TQuery; QSalidasTerceros: TQuery; QAuxAct: TQuer...
// // Generated by JavaToPas v1.5 20171018 - 171012 //////////////////////////////////////////////////////////////////////////////// unit android.service.voice.AlwaysOnHotwordDetector; interface uses AndroidAPI.JNIBridge, Androidapi.JNI.JavaTypes, android.content.ClipData; type JAlwaysOnHotwordDetector = int...
unit winCrypt; interface uses Windows; const // Algorithm classes ALG_CLASS_ANY = (0); ALG_CLASS_SIGNATURE = (1 shl 13); ALG_CLASS_MSG_ENCRYPT = (2 shl 13); ALG_CLASS_DATA_ENCRYPT = (3 shl 13); ALG_CLASS_HASH = (4 shl 13); ALG...
unit fZeeBeTestCLI; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, JvBaseDlg, JvBrowseFolder, Vcl.Mask; type TForm1 = class(TForm) dlgBrowseForFolder: TJvBrowseForFolderDialo...
{************************************************************* Author: Stéphane Vander Clock (SVanderClock@Arkadia.com) JCL www: http://www.arkadia.com EMail: SVanderClock@Arkadia.com product: Alcinoe Mime function Version: 3.05 Description: Function mime encode and dec...
unit Meteo; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, ComCtrls; type TForm1 = class(TForm) Button1: TButton; ComboBox1: TComboBox; Timer1: TTimer; Memo1: TMemo; procedure Button1Click(Sender: TObject); procedu...
unit rtti_idebinder_iBindings; interface uses rtti_broker_iBroker, Controls; type { IRBBinderContext } IRBBinderContext = interface ['{39F9470D-08ED-49CB-B0F7-2E11ED80316C}'] function GetDataQuery: IRBDataQuery; function GetDataStore: IRBStore; property DataQuery: IRBDataQuery read GetDataQuery...
unit pSHHighlighter; {$I SynEdit.inc} interface uses {$IFDEF SYN_CLX} Types, QGraphics, QSynEditTypes, QSynEditHighlighter, QSynHighlighterHashEntries, {$ELSE} Graphics, Registry, SynEditTypes, SynEditHighlighter, SynHighlighterHashEntries, {$ENDIF} SysUtils, Classes, ...
// ************************************************************************ // ***************************** CEF4Delphi ******************************* // ************************************************************************ // // CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based // browser in D...
unit fMineSweeper2D; interface uses Windows, Messages, SysUtils, Variants, Actions, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, ComCtrls, ActnList, Menus, StrUtils, uMinesClasses, uSimpleRenderer; type TfrmMineSweeper2D = class(TForm) MinesPanel: TPanel; Timer_GameT...
{------------------------------------------------------------------------------- This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. --------------------------------------...
(* Category: SWAG Title: MATH ROUTINES Original name: 0045.PAS Description: Calculate PI Author: LOU DUCHEZ Date: 11-02-93 10:31 *) { LOU DUCHEZ ATTENTION, whoever was trying to calculate PI! Here's a swell program, as a follow-up to a recent post of mine about approximating techniques! } program calcpi...
unit Forms.Main; interface uses System.SysUtils, System.Classes, JS, Web, WEBLib.Graphics, WEBLib.Controls, WEBLib.Forms, WEBLib.Dialogs, Vcl.Controls, WEBLib.ExtCtrls, VCL.TMSFNCTypes, VCL.TMSFNCUtils, VCL.TMSFNCGraphics, VCL.TMSFNCGraphicsTypes, VCL.TMSFNCMapsCommonTypes, Vcl.StdCtrls, WEBLib.StdCtrls, VCL....
{* * Outliner Lighto * Copyright (C) 2011 Kostas Michalopoulos * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * * Permission is granted to anyone to use this software for any ...
unit uVarianteFunctions; interface uses DB, Sysutils; function ConvVariant(FieldType : TFieldType; Value : String) : Variant; function VarHigh(MyVariant : Variant) : integer; function VarToNum(MyVariant : Variant) : Variant; function VarToBol(MyVariant : Variant) : Variant; function ConvVarArray(cString : String) : ...
unit utf8util; interface // RFC 2279 function EncodeUTF8 (S: WideString): String; function DecodeUTF8 (S: String): WideString; // *** // // Created: // // October 2. 2004 ...
unit LuaWrapper; interface {$IFDEF FPC} {$mode objfpc}{$H+} {$TYPEDADDRESS ON} {$ENDIF} {$I pLua.inc} {$DEFINE TLuaAsComponent} {$DEFINE TLuaHandlersAsIsObjectType} uses Classes, SysUtils, lua, pLua, pLuaObject, pLuaRecord; type TLua = class; TLuaOnException = procedure( Title: ansistring; Line: Inte...
namespace NSTableView; interface uses AppKit, Foundation; type [IBObject] MainWindowController = public class(NSWindowController, INSTableViewDelegate,INSTableViewDataSource) private people : NSMutableArray; protected public [IBOutlet] tableView : NSTableView; [IBOutlet] me...
unit uFrmMsgBox; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, uDefCom, uOtherIntf; type TfrmMsgBox = class(TForm) pnlClient: TPanel; pnlBottom: TPanel; procedure FormCreate(Sender: TObject); private { Private declarations } F...
unit Main; interface uses SysUtils, Classes, Controls, Forms, Dialogs, StdCtrls, Grids, ExtCtrls, Menus, MPlayer, Buttons, IniFiles, jpeg; type TfMain = class(TForm) sField: TStringGrid; pnlHorizontal1: TPanel; pnlHorizontal2: TPanel; pnlVertical1: TPanel; pnlVertical2: TPanel; btnNew...
unit OpenImg; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, System.IOUtils, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Layouts, FMX.ListBox, FMX.Controls.Presentation, FMX.StdCtrls; type TFrmOpenImg = class(TForm) LbxDate...
unit ContaPagarDAO; interface uses DBXCommon, SqlExpr, BaseDAO, ContaPagar, SysUtils; type TContaPagarDAO = class(TBaseDAO) public function List: TDBXReader; function Insert(ContaPagar: TContaPagar): Boolean; function Update(ContaPagar: TContaPagar): Boolean; function Delete(ContaPagar: TContaP...
unit Hash32Tests; interface {$IFDEF FPC} {$WARNINGS OFF} {$NOTES OFF} {$ENDIF FPC} uses Classes, SysUtils, {$IFDEF FPC} fpcunit, testregistry, {$ELSE} TestFramework, {$ENDIF FPC} HashLibTestBase, HlpHashFactory, HlpIHash, HlpIHashInfo, HlpConverters; // Hash32 type TTestAP = class(THashLibAl...
{################################################} {# Program func #} {# | | _ |V| _|\| _ __ _ _ #} {# |__|_||<(/_ | |(_| |(/_|||(/_(/_ #} {# 2015 #} {################################################} {# Ukázka použ...
//--------------------------------------------------------------------------- // This software is Copyright (c) 2012 Embarcadero Technologies, Inc. // You may only use this software if you are an authorized licensee // of Delphi, C++Builder or RAD Studio (Embarcadero Products). // This software is considered a...
unit EditBone.Dialog.ChangedFiles; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BCCommon.Dialog.Base, Vcl.StdCtrls, Vcl.ExtCtrls, sPanel, BCControl.Panel, VirtualTrees, sSkinProvider; type PChan...
program poignore; {$mode objfpc}{$H+} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Classes, SysUtils, mpofiles, futils; var SourcePo, RemovePo, OutPo: TPoFile; fname: string; i, first: integer; begin writeln; if (paramcount < 2) or (paramcount > 3) then begin writeln('Remo...
{*******************************************************} { } { Borland Delphi Visual Component Library } { } { Copyright (c) 1996-2001 Borland Software Corporation } { ...
unit htAjaxPanel; interface uses Windows, SysUtils, Types, Classes, Controls, Graphics, htInterfaces, htTag, htMarkup, htControls, htPanel; type IhtAjaxControl = interface ['{F5E67CB7-D1B1-44A7-A709-37F66146B2D2}'] procedure GenerateTag(inTag: ThtTag; inMarkup: ThtMarkup); end; // ThtAjaxPane...
// Copyright (c) 2009, ConTEXT Project Ltd // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: // // Redistributions of source code must retain the above copyright notice, this list of condition...
unit ibSHDatabaseAliasOptions; interface uses Windows, SysUtils, Classes, Controls, Forms, Dialogs, Graphics, SHDesignIntf, ibSHDesignIntf, ibSHConsts; type TibSHDDLOptions = class; TibSHDMLOptions = class; TibSHNavigatorOptions = class; TibSHDatabaseAliasOptions = class(TSHInterfacedPersiste...
unit ModflowSUB_Writer; interface uses Classes, CustomModflowWriterUnit, ModflowPackageSelectionUnit, UnitList, IntListUnit, PhastModelUnit, SysUtils; type TMaterialZone = record VerticalK: double; ElasticSpecificStorage: double; InelasticSpecificStorage: double; class operator Equal(Var1: TMat...
unit M_smledt; interface uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, Buttons, StdCtrls, ExtCtrls, FileCtrl, SysUtils, Dialogs; type TSmallTextEditor = class(TForm) Memo: TMemo; SpeedBar: TPanel; SpeedButtonCOmmit: TSpeedButton; SpeedButtonRollback: TSpeedButton; SpeedButtonFo...
{ NAME: Jordan Millett CLASS: Comp Sci 1 DATE: 9/15/2016 PURPOSE: This program will add two numbers from the user and display the answer. } Program calculat; uses crt; var num1,num2,sum1,sum2,sum3,sum4,mystery:integer; quot:real; txtcolor:string; begin {main} Writeln('...
//============================================================================= // sgUtils.pas //============================================================================= // // The Utils unit contains general utility routins that may be useful for games. // // Change History: // // Version 3: // - 2010-12-15: Andre...
unit uErrors; interface uses System.SysUtils, Dmitry.Utils.System {$IFDEF PHOTODB} ,uTranslate {$ENDIF} ; const CRYPT_RESULT_UNDEFINED = 0; CRYPT_RESULT_OK = 1; CRYPT_RESULT_FAILED_CRYPT = 2; CRYPT_RESULT_FAILED_CRYPT_FILE = 3; CRYPT_RESULT_F...
unit uIMultiplier; {$I ..\Include\IntXLib.inc} interface uses uIntX, uIntXLibTypes; type /// <summary> /// Multiplier class interface. /// </summary> IIMultiplier = interface(IInterface) ['{9259DC7D-71A5-433A-A756-FD239C6F562F}'] /// <summary> /// Multiplies two big inte...
unit uFrmPrincipal; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, uContinente, uPais, uMundo, uEnumContinente; type TFrmPrincipal = class(TForm) Panel1: TPanel; btnInser...
unit uDBBaseTypes; interface uses Vcl.Menus; type TStringFunction = function: string; TIntegerFunction = function: Integer; TBooleanFunction = function: Boolean; TPAnsiCharFunction = function: PAnsiChar; TDllRegisterServer = function: HResult; stdcall; //array types type TArMenuItem ...
unit MT5.Protocol; interface uses MT5.Utils; type TMTHeaderProtocol = class private { private declarations } var FSizeBody: Integer; FFlag: Integer; FNumberPacket: Integer; protected { protected declarations } public { public declarations } const HEADER_LENGTH = 9; cons...
{----------------------------------------------------------------------------- Miguel A. Risco Castillo TuESelector v0.3 http://ue.accesus.com/uecontrols 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 Licens...
unit Passw; { Скомпонован и дописан 13.10.2004 Предоставляет две функции типа Boolean: - IsPasswordValid проверяет является ли аргумент p_Password валидным паролем типа p_Type с параметрами p_Options. - TestPassword высвечивает окошко для ввода пароля и проверяет его на валидность в соответствии с типом p...
unit IntXZeroandOneTest; interface uses DUnitX.TestFramework, uIntX; type [TestFixture] TTIntXZeroandOneTest = class(TObject) public [Test] procedure IsCustomTIntXZeroEqualToZero(); [Test] procedure IsCustomTIntXZeroEqualToNegativeZero(); [Test] procedure IsCustom...
unit OpenSSL.DSAUtilsTests; interface uses TestFramework, OpenSSL.Api_11, OpenSSL.DSAUtils, System.SysUtils, System.Classes, OpenSSL.Core; type TDSAUtilTest = class(TTestCase) strict private FDSAUtil: TDSAUtil; private function LoadBufferFromFile(const AFile: string): TBytes; public procedur...
unit WORKAR; {Protsedura Workaround, u yakiy pryvedenyy alhorytm z neobkhidnymy metodamy obkhoda} interface uses GLOBAL; {Opysannya dostupnoyi informatsiyi dlya yinshykh moduliv} procedure WORKAR1711(var A: arr); {Alhorytm "vstavka – obmin" z vykorystannyam dodatkovoho masyvu} procedure WORKAR1712(var A: arr); {Al...
unit ConnectPage; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ADSchemaUnit, ADSchemaTypes, ErrorPage; type TConnectForm = class(TForm) EditHost: TEdit; EditUsername: TEdit; EditPassword: TEdit; LabelHost: TLabel; Labe...
(* Hashing - Chaining 15.03.2017*) PROGRAM hash; uses Crt; CONST size = 31; TYPE NodePtr = ^Node; Node = RECORD key: STRING; (* data: AnyType*) next: NodePtr; END; (*Record*) ListPtr = NodePtr; HashTable = ARRAY[0..size-1] OF ListPtr; VAR ht : HashTable; procedure InitHashTable; v...
unit uHttpTransfer; interface uses Transfer, IdComponent, System.Classes, IdHTTP, System.SysUtils, IdURI; type THTTPTransfer = class(TTransfer) private FidHttp: TIdHttp; protected function GetOnStatus: TIdStatusEvent; override; procedure SetOnStatus(Value: TIdStatusEvent); override; procedur...
unit GlobalFunctionsUnit; interface Uses ConfigurationUnit, MailWatchDogUnit, SysUtils,Classes, Windows ; Var Configured : Boolean; ApplicationPath : String; Configs : TConfiguration; MailWatchDog : TMailWatchDog; Mutex : THandle; Const DirWatchDogSleepTime = 10 * 1000; InboxWatchDogSleepTime = 1...
{ Clever Internet Suite Version 6.2 Copyright (C) 1999 - 2006 Clever Components www.CleverComponents.com } unit clXmlUtils; interface {$I clVer.inc} uses Classes{$IFDEF DELPHI6}, Variants, msxml {$ELSE}, msxml_tlb{$ENDIF}; procedure StringsToXML(AStrings: TStrings; ANode: IXMLDOMNode); procedure XMLToStrin...
unit uDatabaseDirectoriesUpdater; interface uses Winapi.Windows, Winapi.ActiveX, Generics.Defaults, Generics.Collections, System.SyncObjs, System.SysUtils, System.Classes, System.DateUtils, System.Math, Vcl.Forms, Vcl.Imaging.Jpeg, Data.DB, Xml.Xmldom, Dmitry.CRC32, ...
unit TestUHistoricoController; { Delphi DUnit Test Case ---------------------- This unit contains a skeleton test case class generated by the Test Case Wizard. Modify the generated code to correctly setup and call the methods from the unit being tested. } interface uses TestFramework, DB, DBXJSON, Cone...
unit UDPClient; interface uses UDPSocketUtils, PacketBuffer, IdBaseComponent, IdComponent, IdUDPBase, IdUDPServer, IdSocketHandle, Windows, SysUtils, Classes, ExtCtrls; type TUDPClient = class (TComponent) private FPacketData : TPacketData; FPacketBuffer : TPacketBuffer; FIdUDPClient: TIdUDPSer...
unit sdBasic; {Basic code for double precision special functions} interface {$i std.inc} {$ifdef BIT16} {$N+} {$endif} uses DAMath; (************************************************************************* DESCRIPTION : Basic code for double precision special functions: ...
{: Projected Textures example.<p> Controls: Left Mouse Button: Rotate Right Mouse Button: Adjust Distance 'S': Change styles The TGLProjectedTextures object can be used to simulate projected lights or other special effects. To use it, add it to the scene and set all objects that sh...