text
stringlengths
14
6.51M
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.2-3, FILE=CONF096, CLASS=...
unit ViewTransformation; interface uses Types, SysUtils, Classes, TypInfo, Graphics, Contnrs, Controls, Dialogs, ScUtils, GR32, FunLabyUtils, FunLabyCoreConsts, FunLabyToolsConsts, Generics, GraphicsTools, MapTools, GR32_Transforms; type {* Classe de base pour les plugins appliquant une tra...
unit uAddress; interface uses System.Classes; type TAddress = class(TPersistent) private FStreet: String; FNumber: string; public constructor Create(AOwner: TComponent); destructor Destroy; override; procedure Assign(aSource: TAddress); overload; published property Street: String re...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.8.3.10-1, FILE=CONF185, CLA...
unit RDLuAnalogClock; interface uses System.SysUtils, System.Classes, System.Types, System.UITypes, FMX.Types, FMX.Controls, FMX.Layouts, FMX.Graphics, FMX.Objects; type TRDLAnalogClock = class(TLayout) private { Private declarations } FTimer : TTimer; FBitmapPanel, FBitmapHour, FBitmapM...
{==============================================================================| | Project : Delphree - Synapse | 001.000.000 | |==============================================================================| | Content: Inline MIME support procedures and functions ...
unit DelphiCodeUtils; interface uses Classes, DBCode_Generator; function ComponentToString(Component: TComponent): string; function StringToComponent(Value: string): TComponent; function ConvComponent(AComponent: TComponent): TStrings; function GerRefEntityNames(AEntity: TEntity): TStrings; impl...
{ 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 JvCarouselViewReg; interface {$I jvcl.inc} uses SysUtils, Classes, TypInfo, Forms, {$IFDEF COMPILER6_UP} DesignEditors, DesignIntf, {$ELSE} DsgnIntf, {$ENDIF COMPILER6_UP} JvCarouselView; type TJvCarouselViewItemsProperty = class(TClassProperty) function GetAttributes: TPropertyAttributes; ...
unit MyORM.Atributos; interface uses Rtti, System.Generics.Collections; type TPeriodo = record dtInicial : TDate ; dtFinal : TDate ; end; // Enumerado de rotas de transacao entre o Form e o Model TInOut = (envia,recebe); // Enumerado de tipos de Variaveis TEnumVar = (tvString,tvFloat,tvDate,tvChecked,tvImag...
unit UCL.ItemButton; interface uses Classes, Types, Windows, Messages, Controls, Graphics, ImgList, UCL.Classes, UCL.Types, UCL.Utils, UCL.Graphics; type TUItemButton = class; TUItemButtonCheckType = (ctCheckBox, ctRadioBtn); TUItemObjectKind = (iokNone, iokCheckB...
program Minimum (input, output); {reads integer input and prints the lowest number} var number : integer; min : integer; begin writeln('enter full numbers to get the lowest number.'); writeln('Exit with 0: '); readln(number); min := number; while number <> 0 do a begin if number < min then min := number; rea...
unit VarWIPUnit; interface uses Classes,Stdctrls,Graphics,Extctrls,Inifiles; Function PADR(mString:String; mLength:WORD; mChar:String):String; Function PADL(mString:String; mLength:WORD; mChar:String):String; Procedure ReadINI; Procedure WriteINI; Var ServerString,DownLoadPath,BackupPath:String; FactoryID : Str...
unit Cell; interface uses JvSimpleXml, CellFormat, SharedStrings; type TXlsxCellValueType = (vtString, vtNumber, vtBoolean); TXlsxCellValue = record private FCellValueType: TXlsxCellValueType; FStringValue: String; FNumberValue: Double; FBoolValue: Boolean; function AsXlsxBoolean: Integer...
unit LogServer; interface uses System.Classes, System.SyncObjs; type TLogLevel = (llDebug, llInfo, llWarn, llError, llFatal); TLogserver = class private FLogLevel: TLogLevel; FLogs: TStrings; FLock: TCriticalSection; public constructor Create; destructor Destroy; override; public ...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.4.1-3, FILE=DEV054, CLA...
{ ****************************************************************** Nonlinear regression ****************************************************************** } Unit unlfit; Interface Uses umachar, utypes, uConstants; Type TBaseOptAlgo = Class End; { Function of several variables } TF...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.9.1-7, FILE=IMDEFB43, C...
{***********************************************************************} { } { XML Data Binding } { } { Generate...
unit Test.VamLib.FlexValue; interface uses WatchTower, VamLib.FlexValue; type TFlexValueTest = class(TWatchTowerTest) private fvA : IFlexValue; fvB : IFlexValue; fvC : IFlexValue; public procedure Setup; override; procedure TearDown; override; [Test] procedure ReadingAndWriti...
{$MODE OBJFPC} Unit FastGraph; //----------------------------------------------------------------------------------------------------------------- Interface CONST VERSION = 'v.0420'; Type TPoint = record x , y : LongInt; end; Procedure Paint(); Procedure Clear(); //Primitives Procedure Rectangle...
program exam2; const DATA_FILE_NAME = 'students.dat'; {Если терминал не поддерживает cp-1251, пересохраняем .dat и .pas в UTF-8 и ставим STRING_MAX_LENGTH = 24} STRING_MAX_LENGTH = 12; GROUP_LOWER_NUMBER = 301; GROUP_HIGHER_NUMBER = 329; MODALITY_TYPE_PATRONYM = 'patronim'; MODALITY_TYPE_MONTH = 'mont...
unit frmLoginCashier; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DPFPCtlXLib_TLB, DPFPShrXLib_TLB, //Auto Create Menus, cxLookAndFeelPainters, cxGraphics, DPFPEngXLib_TLB, OleServer, ActnList, DB, MemDS, DBAccess, Uni, cxDBExtLookupComboBox,...
unit uInstallment; interface uses System.Classes, System.generics.Collections, System.Math, uIInstallment; type TInstallment = class(TInterfacedObject, IInstallment) private FListAvailableInstallments: TList<Integer>; FMaxInstallment: Integer; FMinInstallment: Integer; FInstallmentNumber: Int...
Unit DirChangeDlg; Interface Uses Classes, Forms, Graphics, BmpList, FileCtrl, StdCtrls, Buttons,Dialogs,Messages; Type TDirChangeDialog = Class (TForm) DirectoryListBox1: TDirectoryListBox; DriveComboBox1: TDriveComboBox; Label1: TLabel; Label2: TLabel; OKButton: TButton; CancelButton: T...
unit AudioPlugin.ProcessController; interface uses VamLib.Types, VamVst2.DAEffect, VamVst2.DAEffectX, VamVst2.MidiEvent, VamVst2.MidiEventInputBuffer, VamVst2.MidiEventOutputBuffer, PlugLib.AirControl, AudioPlugin.Interfaces, AudioPlugin.PlugMain; type TAbstractProcessController = class(TPureInt...
Program rec; type CheckPoint = record n:integer; latitude, longitude:real; hidden:boolean; penalty:integer; end; var cp:CheckPoint; begin cp.n:=70; cp.latitude:=54.83843; cp.longitude:=37.59556; cp.hidden:=false; cp.penalty:=30; Writeln('n = ',cp.n); Writeln('latitude = ',cp.latitude:8:5); Writeln('l...
//9Mar1999: first creation unit paintCode; interface uses math, jni, windows, messages, javasoft_jawt, javasoft_jawt_md, sysutils, testForm, dialogs, controls, j2awtControl; (* * Class: MyWindow * Method: paint * Signature: (Ljava/awt/Graphics;)V *) procedure Java_MyWindow_paint(env:J...
unit uIInstallment; interface uses System.Generics.Collections; type IInstallment = Interface(IInterface) ['{EB53D011-5D8C-40B5-BC40-EF6A5256A2F1}'] function Count(): Integer; function InRange(const aValue: Integer): Boolean; procedure CloneDefaultInstallments(const [ref] aSource: TList<Integer>)...
Program TP; { * * * D E C L A R A C I O N E S * * * } uses CRT; const MAX_PASILLOS = 10; MAX_ESTANTES = 15; MAX_EJEMPLAR = 200; MAX_TITULO = 200; MAX_AUTOR = 200; MAX_GENERO = 7; type tr_ejemplar = record id_ejemplar : integer; id_titulo : integer; pasillo : integer; esta...
unit uBSpline; interface uses uspline, utypes, uConstants; type /// <summary> /// Class for BSpline: parametric curves /// </summary> /// <remarks> /// X=f(T) and Y=f(T); where T is the parameter /// </remarks> TBSpline = class(TBaseSpline) private Xa, Ya, der2Xa, der2Ya: TVector; ...
program diagonal; type mat = array [1..10, 1..10] of byte; var m : mat; d1, d2, n : byte; procedure saisie(var n : byte; var m : mat); var i, j : byte; begin repeat write('N -> '); readln(n); until n in [2..10]; randomize; for i:=1 to n do for j:=1 to n do m[i, j] := random...
unit c_msgbox; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, ExtCtrls, StdCtrls, Graphics, crDefs; type { TFrmMsgBox } TFrmMsgBox = class(TFrame) BtnOK: TPanel; LbMessage: TLabel; PnContent: TPanel; PnTitle: TPanel; procedure goClos...
unit eeGlobals; interface {$INCLUDE Defines.inc} uses VamLib.ZeroObject, PlugLib.AirControl, Lucidity.Interfaces, eeCpuMonitor, SysUtils, ExtCtrls, Lucidity.GuiState, Lucidity.Options, eeCustomGlobals, eeSkinImageLoader.VCL; type TPatchInfo = class private fPatchFile...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.8.3.9-25, FILE=CONF182, CLA...
{ *************************************************************************** } { Data: 04/12/2016 } { Resenha: Extraido da MongoQuery para reduzir acoplamento { *************************************************************************** } { Licença segue a mesma estabelecida no código original determinada pelo seu ...
unit LucidityModConnections; interface uses Classes, VamLib.Collections.Lists, VamLib.MoreTypes, Lucidity.Enums, uConstants; {$SCOPEDENUMS ON} type PModConnections = ^TModConnections; TModConnections = class private fModSourcePolarity : array[0..kModSlotCount-1] of TModSourcePol...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.3.4-6, FILE=DEV134, C...
unit util; interface uses Dialogs,StdCtrls,ComCtrls,Forms,Graphics; Type TUtil = Class public procedure richTextSaveAsClick(Sender: TObject; SaveDialog: TSaveDialog; richText: TRichEdit); procedure memoFileSaveAsClick(Sender: TObject; SaveDialog: TSaveDialog; memo: TMemo); Function printerI...
(* Integer vector implemented as abstract data type. *) (* GHO, 20.05.2017 *) UNIT IntVect; INTERFACE TYPE (* Integer vector. *) IntegerVector = POINTER; (* Initializes integer vector. *) (* REF vector: Vector to initialize. *) PROCEDURE InitIntegerVector(VAR vector: IntegerVector); (* Disposes integer vector. *...
{ *********************************************************** } { * ksTools Library * } { * Copyright (c) Sergey Kasandrov 1997, 2010 * } { * ----------------------------------------- * } { * http://sergworks.wordpress.com/kstools * } ...
unit FileManager.Providers.ObserverFile.Intf; interface uses Vcl.Forms; type IObserverFile = interface ['{A2963272-DFAC-41C2-BF77-E0271AA8053D}'] procedure RemoveFileItem(const FileFrame: TFrame); end; implementation end.
Program EngisKitchen; {Simulasi Engi's Kitchen selama maksimum 10 hari} {KAMUS} uses bentukan,F1,F2,F3F4,F5,F6,F7,F8,F9,F10,F11,F12,F13,F14,F15, F16,F17; var tMentah : tabMentah; //array file bahan mentah tOlah : tabOlah; //array file bahan olahan tiMentah : tabiMentah; //array file inventori bahan...
unit unitCodeSoft5; interface uses classes,sysutils,unitCodeSoftSample,unitLog,LabelManager_TLB,dialogs; type TCodeSoft5=class(TCodeSoftSample) private m_CS5 : TCS_5; m_Document : Document; m_Variables : Variables; m_Parameter : Variable; m_tsParameter : tstrings; protected { ≥B≤zvisi...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.4.3.2-7, FILE=IMDEFB11,...
unit TestmlLibraryManagerHooked; interface uses TestFramework, Windows, Classes, SysUtils, mlLibrary, mlTypes, TestConstants; type TestLibraryManagerHooked = class(TTestCase) private fMemStream: TMemoryStream; fEventCalled: Boolean; procedure TestEvent(const aLibName, aDependentLib: Str...
unit ULinkedList; interface uses UEntries, Classes; type TLinkedList = class private head: TListEntry; function findEntry(key: TKey): TListEntry; public constructor Create; procedure add(value: TBase); function remove(key: TKey): boolean; function get(key: TKey): TValue;...
PROGRAM SumDigits(INPUT, OUTPUT); VAR D, Sum: INTEGER; PROCEDURE ReadDigit(VAR F: TEXT; VAR D: INTEGER); {��������� ������� ������ �� �����, ���� �� - �����, ���������� ��� ���������� � �������� ���� INTEGER. ���� ��������� ������ �� ����� ���������� -1} VAR Ch: CHAR; TempFile: TEXT; BEGIN D := -1; REWRI...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.5.2-5, FILE=ERR19T, C...
unit PropertiesFile4D.UnitTest.Mapping; interface {$INCLUDE ..\src\PropertiesFile4D.inc} uses TestFramework, {$IFDEF USE_SYSTEM_NAMESPACE} System.Classes, System.SysUtils, {$ELSE USE_SYSTEM_NAMESPACE} Classes, SysUtils, {$ENDIF USE_SYSTEM_NAMESPACE} PropertiesFile4D.Mapping, PropertiesFile4...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { PRETEST 6.4.6-12, FILE=ERR10P,...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.3.7-4, FILE=LEV1F09, ...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.9.3.1-3, FILE=ERR84T, C...
unit VamCompoundModMatrixSection; interface uses Types, Controls, Classes, StdCtrls, Graphics, WinApi.Messages, RedFox, RedFoxColor, VamWinControl, VamScrollBar, VamDiv, VamPanel, VamTextBox, VamKnob, VamArrows, VamLabel; type TControlElements = (egNone, egTextBox1, egTextBox2, egTextBox3, egKnob1); T...
unit ExportarPagosFiltroForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, _ReportForm, dxSkinsCore, dxSkinBlack, dxSkinBlue, dxSkinBlueprint, dxSkinCaramel, dxSkinCoffee, dxSkinDarkRoom, dxSkinDar...
{$I Directives.inc} unit UDownloadThread; interface uses SysUtils, Classes, Forms, IdComponent, IdHTTP; type {>> Compatibilité Indy9 <-> Indy10 } {-$DEFINE Indy10} TDownloadThread = class(TThread) private FHTTP: TIdHTTP; FFileNum: Integer; FWorkCount: Integer; FWorkCountMax: I...
unit SoundElement.Modules; interface uses SysUtils, Classes, Contnrs, SoundElement.Types, SoundElement.ModulePins; { } type //======== Forward Declarations ======================== TModulePinList = class; TCustomModule = class; //====================================================== //=======...
{ * FmEg2.pas * * Form unit that implements example 2 for the Version Information Component * HelpEgs demo program. * * $Rev$ * $Date$ * * Any copyright in this file is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ } unit FmEg2; {$UNDEF Supports_RTLNameSpaces} {$IFDEF C...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.5.3-14, FILE=ERR39T, ...
unit ee3AddOn.ProcessController.MultiChannelResampler.r8brain; interface uses Classes, SysUtils, VamLib.Types, r8Brain, DAEffect, DAEffectX, DAudioEffectX; type TResamplerArray = TAutomaticObjectArray<TR8BrainSingleChannelResampler>; TMultiChannelResampler = class private protected Config ...
(* 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 UnitGrabbingFigures; interface uses System.Classes, Vcl.Controls, Vcl.Forms, Math, UnitCreatingFigures; type TCoord = Record Top, Left: SmallInt; End; procedure MouseStartsToGrabFigure(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer); procedure MouseMovesOverFigur...
Unit ACF785; //********************************************************* // CREADO POR : Abelardo Sulca Palomino // Nº HPP : HPP_201103_ACF // FECHA CREACION : 15/03/2011 // DESCRIPCION : Ventana que permite ingresar los criterios de // consulta para el reporte de traslados //*...
Program Lab1; {Data Structures & Algorithms I - Lab 1 Written by Tim Margush This program copies data from a sequential text file into a file of records. } type SexType = (male, female, undetermined); RecordType = Record Age: Integer; Code: Char; Size:...
unit modul; interface uses SysUtils, Classes, IBXDB, {WSocket,} Forms, Controls, NxGrid, NxColumns,NxColumnClasses, NxCustomGridControl, Dialogs, DB, Graphics, Variants, ImgList; type TAccountLogin = record userID, ShiftID, groupID, groupName, NameID, passwd, passwdMD5, IPA...
unit Iocp.OpenSSL; interface uses {$IFDEF MSWINDOWS} Winapi.Windows, {$ENDIF} System.SysUtils, System.SyncObjs; const SSLEAY_DLL = {$IFDEF MACOS} '/usr/lib/libssl.dylib'; {$ELSE} 'SSLEAY32.DLL'; {$ENDIF} LIBEAY_DLL = {$IFDEF MACOS} '/usr/lib/libcrypto.dylib'; {$ELSE} 'LIBEAY32.DLL'; {$ENDIF} SSL_ERROR...
unit SCUTUM.Connection.MSSQL.FireDac; interface uses SCUTUM.Connection.Generic.FireDac, SCUTUM.Connection.Abstract; type TSCUTUMConnectionMSSQLFireDac = class(TSCUTUMConnectionGenericFireDac ,ISCUTUMConnection) public procedure Open;override; end; TSCUTUMDatabaseFactoryMSSQLFireDac = class(TSCUTUMDat...
unit ufProgress; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, StdCtrls, ExtCtrls; type TfrmProgress = class(TFrame) panStep3: TPanel; lblProgress: TLabel; aniExecute: TAnimate; pbrExecute: TProgressBar; private function GetM...
unit uColumnGenerator; interface uses cxGridTableView, cxGridDBTableView, Generics.Collections, System.Classes, System.IOUtils, cxGridDBCardView, cxGridDBChartView, cxGridCustomTableView, System.SysUtils, System.Types, cxTextEdit, FireDAC.Comp.Client, Data.DB, cxDBLookupComboBox, uRequestItf, uJSONUtils; type ...
(*----------------------------------------------------------------------------- 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/MPL/MPL-1.1...
(*----------------------------------------------------------------------------- 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/MPL/MPL-1.1...
// Модуль для работы с USB-реле. Работает только с определёнными моделями реле, // т.к. протокол "зашит" явным образом в dll-библиотеку. // Для работы требуются две dll: неуправляемая USB_RELAY_DEVICE.dll и // управляемая .NET-библиотека USBRelay.dll, обе библиотеки должны быть доступны. // Основывается на ...
unit UStringCalculator; interface uses classes, windows; type TStringCalculator = class private Delimiters : TStringList; function strToken(var S: String; Delimiters: TStringList): String; overload; function strToken(var S: String; Separator: string): String; overload; function ExtractOperan...
unit unitVect2D; interface type Vect2D = RECORD posX : integer; posY : integer; END; function getVectPosX(position : Vect2D):integer; function getVectPosY(position : Vect2D):integer; procedure setVectPosX(var position : Vect2D;X : integer); procedure setVectPosY(var position : Vect2D;Y : integer); implementatio...
UNIT HashingOpen; INTERFACE PROCEDURE AddPerson(name: STRING; VAR ok: BOOLEAN); FUNCTION ContainsPerson(name: STRING): BOOLEAN; PROCEDURE Dispaly; IMPLEMENTATION TYPE Hash = 0..9; FUNCTION ComputeHash(name: STRING) : Hash; BEGIN IF Length(name) = 0 THEN ComputeHash := Low(Hash) ELSE Co...
program Triangles (input, output); {determining characteristics of triangle} var a, b, c : integer; Flaeche, s : real; begin {read and print the sides of the triangle in ascending order} writeln('Please insert 3 numbers in ascending order'); readln(a); readln(b); readln(c); writeln(a:3, b:3, c:3); if...
{ ******************************************************************************* Copyright (c) 2004-2010 by Edyard Tolmachev IMadering project http://imadering.com ICQ: 118648 E-mail: imadering@mail.ru ******************************************************************************* } unit GtransUn...
(* FildLongestMatch: Xaver Buttinger, 21.03.2021 *) (* ----------- *) (* Find Longest subsequence in two string and set subs / position*) (*===============================================================*) PROGRAM WordCounter; USES WinCrt, sysutil...
{******************************************************************************* Title: T2Ti ERP Description: VO da empresa. 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 documentation files (the "So...
program aula2; { Autor: Samuel T. C. Santos Data: 03/06/2014 Descricao: Constante } const PI = 3.1415; //Real, integer VAZIO = 'V'; // char, string NOME = 'MARIA'; FLAG = true; // false begin writeln('PI: ' , PI); writeln('VAZIO: ', VAZIO); writeln('NOME: ', NOME); writeln('FLAG: ', FLAG); end.
{ *************************************************************************** } { Autor: Amarildo Lacerda } { Data: 04/12/2016 } { Resenha: Extraido da MongoQuery para reduzir acoplamento { *************************************************************************** } { Licença segue a mesma estabelecida no código or...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.6.3-2, FILE=DEV158, C...
unit frmCustomer; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxNavigator, // Auto Generate frmUniMasterEx, Menus, cxLookAndFeelPainters, dxPSGlbl, dxPSUtl, dxPSEngn, dxPrnPg, dxBkgnd, dxWrap, dxPrnDev, dxPSCompsProvider, dxPSFillPatterns, ...
unit InWindowDialog.MessageDialog.Form; interface uses InWindowDialog.Prototypes, Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, RedFoxWinControl, VamWinControl, VamPanel, RedFoxContainer, Vcl.StdCtrls, VamLa...
unit uRanTests; // Statistical Tests of randomness // Made by Alex Vergara Gil May 7, 2008 interface uses utypes, uConstants, math; type TMKind = (tmMomentos, tmCorrelacion); TDTtype = (TDTNoD, TDTBits); procedure TestsOfMomentos(const k, N: integer; out mean, stdvar, skew, curt, hash, chi2, p:...
unit TestPickleDuck; interface uses TestFramework, System.SysUtils, SwimUtils, QuackQuack, FlyUtils, SwimSwim, DuckUtils, FlyPickleMagic, PickleDuck, QuackUtils, RoyalDuck; type TestTPickleDuck = class(TTestCase) strict private FPickleDuck: TPickleDuck; FFlyBehavior: FlyUtils.IFlyBehavior; FPi...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.1.5-4, FILE=DEV009, CLA...
unit uTaskManager; interface uses SysUtils, IOUtils, Classes, Generics.Collections, IniFiles, uBaseThread, uTypes, uGlobal; type TTaskManager = class private FThreadList: TList<TBaseThread>; function LoadDJThreadConfig: TList<TDJThreadConfig>; procedure CreateDJThread; public constructor Cr...
unit VamMemo; interface uses Graphics, RedFoxTextBuffer, Classes, RedFox, RedFoxColor, RedFoxWinControl, VamWinControl; type TVamMemo = class(TVamWinControl) private fColor: TRedFoxColorString; fTextVAlign: TRedFoxAlign; fTextAlign: TRedFoxAlign; fColorMouseOver: TRedFoxColorString; fText...
unit unitSystemIcon; interface uses SysUtils,Classes,Messages,windows,shellAPI,Menus,controls,forms,dialogs; const WM_TRAYICON=WM_APP+0; type TTrayIcon = class(TForm) private PopupMenu : TPopupMenu; mmClose : Tmenuitem; mmShow : Tmenuitem; procedure modifyTrayIcon(Action : Dword); procedure...
unit ACBrHTMLtoXML; interface uses Forms, Windows, SysUtils, Math, pcnNFe, pcnNFeW, pcnAuxiliar, pcnConversao, ACBrUtil, Classes, Dialogs; function GerarXML(Arquivo: AnsiString): String; function SeparaAte(Chave, Texto: AnsiString; var Resto: AnsiString): String; function LerCampo(Texto, NomeCampo: string...
program saikoro; {$mode objfpc}{$H+} uses SysUtils, Classes; type Die = record Name : string; numSides : integer; rolls : integer; content : Array[0..50] of String; end; procedure OpenDice(var myDice : Array of Die; var numDice : Integer); var ...
unit TargaImage; // ========================================================== // // This file is part of FreeImage 3 // // COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTY // OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES // THAT THE COVERE...
unit ExportarPagosDocumentosDM; interface uses System.SysUtils, System.Classes, _StandarDMod, System.Actions, Vcl.ActnList, Data.DB, Data.Win.ADODB, System.StrUtils, Vcl.Dialogs, System.UITypes, dxmdaset; const TAB_CHAR = #9; IdBancoBanorte = 18; TXTExt = '.TXT'; resources...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.3.6-6, FILE=LEV1F02, ...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.4.3.3-24, FILE=DEV266, ...
program TestPrimePage224; var x : integer; function PrimeNumber(x: integer): boolean; var Test: integer; Divisor: boolean; begin{PrimeNumber} if x = 1 then PrimeNumber := false else if x = 2 then PrimeNumber := true else begin{else} Divisor := true; Test := 2; while Divisor and (Test < 0) do i...
Unit ESoft.UI.Downloader; { ---------- Developed by Muhammad Ajmal P ---------- } { ---------- ajumalp@gmail.com --------------------- } Interface Uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, System.UITypes, Vcl.Graphics, Vcl.Controls,...
unit PropertiesFile4D.UnitTest; interface {$INCLUDE ..\src\PropertiesFile4D.inc} uses TestFramework, {$IFDEF USE_SYSTEM_NAMESPACE} System.Classes, System.SysUtils, {$ELSE USE_SYSTEM_NAMESPACE} Classes, SysUtils, {$ENDIF USE_SYSTEM_NAMESPACE} PropertiesFile4D, PropertiesFile4D.Impl; type ...
unit udmFichaTecnica; interface uses SysUtils, Classes, DB, IBCustomDataSet, IBQuery, IBDatabase, VirtualTrees, dbObjects; type TRowData = class(TObject) Node : PVirtualNode; dbRow: TdbRow; Level: Integer; constructor Create; destructor Destroy;override; end; PRowData = ^...