text
stringlengths
14
6.51M
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.7.2.4-9, FILE=DEV179, C...
unit eeEnumMenu; interface uses Vcl.Menus, eeMenus, eeEnumHelper; type TCustomEnumMenu = class private fOnMenuClose: TMenuCloseEvent; function GetItems: TMenuItem; protected fMenu : TPopUpMenuEx; procedure MenuClose(Sender: TObject; Cancelled: Boolean); procedure MenuItem...
{ ****************************************************************** Newton-Raphson solver for system of nonlinear equations ****************************************************************** } unit unewteqs; interface uses utypes, ulineq, ulinminq, ucompvec, umachar, uConstants; procedure NewtEqs(...
unit Beverage; interface type TBeverage = class public function getPrice: double; virtual; abstract; function getDescription: string; virtual; abstract; end; implementation end.
unit CadPedExp; {*************************************************************************} {* *} {* Author: Alcindo Schleder. *} {* Copyright: © 2003 by Sistema Processa Ltda. All rights reserved. ...
unit VSSComm32; {** This Communications Component is based on David Wann's COMM32 component. I have added a DataBits property, which Davids lacked, and as one of my apps need Databits, I set out to add Databits to Davids base componet. This is a bit of a feat for me, as I have only written one component bef...
unit JSON.Utils; interface uses System.JSON, System.Classes, System.TypInfo, System.SysUtils, System.Generics.Collections, System.Rtti, System.DateUtils, Winapi.Windows, Soap.EncdDecd, {$IF DECLARED(FireMonkeyVersion)} FMX.Graphics, {$ELSE} Vcl.Graphics, Vcl.ExtCtrls, {$IFEND} JSON.Atributes.Funco...
unit TSysCadAux; {*************************************************************************} {* *} {* Author : Alcindo Schleder *} {* Copyright: © 2003 by Alcindo Schleder. All rights reserved. ...
{******************************************************************************* Title: T2Ti ERP Description: VO relacionado à tabela [R01] 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...
unit uHBrowsers; interface uses Registry, Windows, SysUtils, ShlObj, ComObj, ActiveX, ShellAPI; type TBrowserInformation = record Name: string; Path: string; Version: string; end; function IEHandle: HWND; function ChromeH: THandle; function GetBrowser: String; function DefaultBrowser(): STRING; impl...
unit Lucidity.KeyGroupPlayer; interface {$INCLUDE Defines.inc} uses Classes, //VamLib.CpuOverloadWatcher, VamLib.Types, eeGlobals, eeCustomGlobals, soLevelMeter, eeAudioBufferUtils, VamLib.MoreTypes, VamLib.ZeroObject, Lucidity.Types, Lucidity.KeyGroup, soLucidityVoice, Lucidity.KeyGroupMan...
unit frmDisplayPrice; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, //Auto Create frmUniDisplay, Menus, cxLookAndFeelPainters, dxPSGlbl, dxPSUtl, dxPSEngn, dxPrnPg, dxBkgnd, dxWrap, dxPrnDev, dxPSCompsProvider, dxPSFillPatterns, dxPSEdgePatt...
unit uFrmMain; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DelphiMaps.GeoCoder, ExtCtrls, DelphiMaps.GoogleMaps, DelphiMaps.Browser ; type TfrmMain = class(TForm) Panel1: TPanel; GroupBox2: TGroupBox; edSearch: TEdit; ...
unit Vam.SectionTimer; interface implementation /// NOTE: TODO:MED /// I wrote this section timer class. It useful for timing parts of larges methods to help /// find out where slow code is being executed. This class was pretty useful and seemed /// to work well. I will use this as a template for the next implem...
unit Debug; interface uses Classes, SysUtils, Log4D, JclDebug, JclHookExcept; implementation procedure ExceptionLogger(ExceptObj: TObject; ExceptAddr: Pointer; OSException: Boolean); begin TLogLogger.GetLogger('EXCEPTION').Error(Exception(ExceptObj).Message); end; initialization JclAddExceptNo...
unit ZenGL_EngineStartupSettingsUnit; interface type TZenGLEngineStartupSettings = class protected FFullScreen: Boolean; FWidth: Word; FHeight: Word; public property FullScreen: Boolean read FFullScreen; property Width: Word read FWidth; property Height: Word read FHeight; end; implem...
unit eeDspWindows; interface uses VamLib.MoreTypes; type TWindowFunction = function(const x:double):double; function Io(const x: Double): Double; // NOTE: The window functions below are all normalised to use X in the range of // 0 to 1. The window mid-point is at 0.5. function BlackmanWindow(co...
unit DataMFirebird.Model; interface uses System.SysUtils, System.Classes, Data.DB, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, FireDAC.FMXUI.Wait, FireDAC.Comp.Client,...
unit FrmMain; interface uses System.SysUtils, System.Types, System.UITypes, System.UIConsts, System.Classes, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Controls.Presentation, FMX.StdCtrls, FMX.ScrollBox, FMX.Memo, FMX.Objects, FMX.Menus; type TFormMain = class(TForm) Max...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.8.1-7, FILE=DEV196, CLA...
unit ImportXLSDM; interface uses System.SysUtils, System.Classes, _StandarDMod, System.Actions, Vcl.ActnList, Data.DB, Data.Win.ADODB, Vcl.Controls, System.Variants, System.UITypes, Vcl.Dialogs, QImport3, QImport3XLS, dxmdaset, QImport3Xlsx; const MapFieldNombre = 'NOMBRE'; MapFieldValo...
unit CadModel; {*************************************************************************} {* *} {* Author : Alcindo Schleder *} {* Copyright: © 2003 by Alcindo Schleder. All rights reserved. ...
unit uStudentEntity; interface {$M+} uses uEntity, uEntityAttributes; ResourceString rsFilterSQL = 'SELECT * FROM TB_CAD_ALUNO WHERE INSTR(NOME_ALUNO, :NOME_ALUNO) ORDER BY NOME_ALUNO'; type [TableName('TB_CAD_ALUNO')] TStudentEntity = class(TGenericEntity) private FMatricula:string; FNomeAluno:s...
unit uUserPower; interface uses System.Generics.Collections, Classes, uRequestItf, uJsonUtils; type TMainMenu = Record SystemID: String; Caption: String; ImageIndex: Integer; OrderID: Integer; end; TChildMenu = Record SystemID: String; ParentID: String; Caption: String; Clas...
uses System; function SayInt(i: Integer) begin WriteLn('number ' +IntToStr(i)); end; (1).SayInt();
unit FileManager.Providers.Response.Handler.Default; interface uses FileManager.Providers.Response.Intf, System.SysUtils, System.Classes, System.UITypes, Vcl.Controls, Dialogs4D.Factory; type TResponseHandler = class(TInterfacedObject, IResponseHandler) private FCadastro: TWinControl; constructor Creat...
{***************************************************************************} { TAdvHintInfo component } { for Delphi & C++Builder } { } { writte...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.4.3.3-23, FILE=DEV080, ...
unit GearTypesUnit; interface uses Classes; type // Тип ремённой передачи TBeltType = ( btFlat {Плоский}, btVee {Клиновой}, btMultiGroove {Поликлиновой}, btFilm {Плёночнный}, btNarrowVee {Узкоклиновой}, btTiming {Зубчатый} ); // ...
unit UnitMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TFormCalculator = class(TForm) EditTextDisplay: TEdit; BtnZero: TButton; BtnOne: TButton; btnTwo: TButton; ...
unit uIConexaoDatabase; interface uses System.Classes, System.StrUtils, System.SysUtils, FireDAC.Comp.Client, Firedac.Stan.Def, Data.DB, FireDAC.Stan.Param; type TParamsDB = class(TFDParams) end; type IConexao = Interface(IInterface) ['{DD9452FC-7E28-41ED-A448-65C8848DB9AD}'] ...
{ This unit contains a collection of delay buffer classes. These classes should all be designed with direct implementation into production code in mide. Ie. efficient where possible. } unit eeDelayBuffers; interface uses VamLib.MoreTypes; type TFixedSizeBuffer256Mono = class private pu...
unit U0100_v3_1; interface Type T0100_v3_1 = class private FDesc_Conta: string; FConta_Supe: string; FNum_Linha: integer; FReg: integer; FCod_Trib_DES_IF: integer; FConta: string; FConta_COSIF: integer; FNome: string; procedure SetCod_Trib_DES_IF(const Value: integer); procedu...
PROGRAM Prime(INPUT, OUTPUT); CONST Max = 11; Min = 2; VAR I, D: INTEGER; IsPrime: BOOLEAN; Sieve: SET OF 0..Max; BEGIN {Prime} Sieve := [Min .. Max]; I := Min; WHILE (I <= Max) DO BEGIN D := I; WRITELN('Min - ', I); IF (D IN Sieve) THEN BEGIN WRITE('Dele...
unit frmChangePrice; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, //Auto Create cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxDataStorage, cxEdit, cxCurrencyEdit, untIvPositionStandard, untIvPositionDevExpress, DB, MemDS, DBAccess...
unit UExeptionExtension; interface uses System.SysUtils, Vcl.Controls; type EValidation = class(Exception) constructor Create(const aMessage: string; const aComponentFocus: TWinControl = nil);overload; end; implementation { EValidation } // Cria uma excessão podendo ser informado ou não um componente para...
unit BreaktimeCalculator; interface uses TimeService; type TBreaktimeCalculator = class private _timeService: ITimeService; public constructor Create(timeService: ITimeService); function IsBreak: Boolean; end; implementation uses System.DateUtils, System.Math; ...
unit TestJSonUtils; { 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, System.SysUtils, System.JSON,...
///- Модуль Исполнители /// Описывает ряд Исполнителей, которые могут выполнять команды unit Исполнители; ///- Процедура Вывод(значения) /// Выводит список значений procedure Вывод(params args: array of object) := Println(args); /// Выводит пустую строку procedure ВыводПустойСтроки := Println; type целое = integer;...
unit Lucidity.Osc.GrainStretch; interface {$INCLUDE Defines.inc} uses Lucidity.Interfaces, VamLib.MoreTypes, Lucidity.SampleMap, uLucidityCustomSampleOsc, soGrainStretchSubOsc, eeDsp, eeFunctions, uGuiFeedbackData, uConstants, Lucidity.Enums, eeSampleFloat, eeVirtualCV, Math, soGateEnvelope, ...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { PRETEST 6.5.4-1, FILE=ERR13P, ...
{ A bunch of functions for implementing Zero delay filters as described by Vadim Zavalishin in "Preserving the LTI system topology in s- to z- plane transforms" } unit eeZeroDelayFilters; interface function PitchToFrequency(Pitch:single):double; function PrewarpBT(Frequency, SampleRate:double):dou...
unit untUtil; interface uses Windows, Sysutils, shlwapi, Classes; type LPSocketHeader = ^TSocketHeader; TSocketHeader = packed Record bCommand: Byte; dwStreamID: DWORD; dwPacketLen: DWORD; dwDecompressedLen: DWORD; dwTotalLen: DWORD; end; Function Explode(sDelimiter: String; sSourc...
unit Menu.GroupVisibility; interface uses Menu.CustomPopupMenu; type TGroupVisibilityMenu = class(TCustomPopupMenu) private procedure EventHandle_GroupVisibilityItemSelected(Sender : TObject); public procedure Popup(const x, y : integer); end; implementation uses uConstants, Lucidity.Enums, ...
var ch: Char; pos: integer; str: string; procedure error(); begin writeln('^':pos); WritelnFormat('Ошибка в символе {0}. Целое число не может начинаться с нуля', ch); halt; end; procedure NextCh; begin read(ch); pos += 1; end; begin writeln('Введите строковое представление числ...
{ The globals class is designed to be passed to effect processing objects (filter, envelope, fx classes etc). Instead of individually updating properties like samplerate/blocksize/tempo for all objects, objects can register with the TGlobals class and automatically be notified of changes. NOTE: It w...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.4.3.5-11, FILE=CONF075, CLA...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.7.2.4-4, FILE=ERR70T, C...
unit VamKnob; interface uses VamGuiControlInterfaces, Types, Controls, Classes, Graphics, AggColor, RedFox, RedFoxGraphicControl, RedFoxColor, VamGraphicControl, VamWinControl; {$SCOPEDENUMS ON} type TVamKnob = class(TVamWinControl, IKnobControl) private fOnChanged: TNotifyEvent; ExternalPos: si...
unit DocumentCmds; interface uses Document; type TDocumentCmd = class(TObject) private FDocument: TDocument; protected procedure DoExecute; virtual; abstract; procedure DoRollback; virtual; // Used Self Encapsulate Field refactoring here. Now descendant commands // can ac...
unit UQThread; interface uses Classes, adodb, activex,SysUtils, Variants, db; type TFieldInfoRecord = Record // as far as sometimes parametertypes can not be detected by DataType: TFieldType; // Ado on his own, provide all needed informations Name: String; Size: Integer; Value: Variant; End; TF...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.5.4-16, FILE=DEV263, ...
unit LIB.Complex; interface //#################################################################### ■ type //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$【型】 //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$【レコード】 //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...
{****************************************************************************** Estou partindo do princípio que Array Dinâmico não é o mesmo que uma Lista ou uma Lista encadeada. Justamente por isso não utilizei o TStrings e seus descendentes. É digno de nota que a implementação com TStrings seria mais clara e menos v...
unit uFrmProducer; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.Grids, Vcl.DBGrids, Vcl.Buttons, Vcl.StdCtrls, Vcl.ComCtrls, uMdlProducer, uUtlForm, uUtlAlert; type TFrmProducer = class(...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.5.2-22, FILE=DEV145, ...
{ A event buffer to hold events to be processed between sample blocks. } unit eeBufferedEventList; interface uses SyncObjs, VamLib.Types; type PBufferedEvent = ^TBufferedEvent; TBufferedEvent = record Tag:integer; ValueA:integer; ValueB:integer; Text:string; Data:...
unit EasyEffect.AudioOutputController.r8Brain; interface {$INCLUDE Defines.inc} uses VamAudio.R8BrainWrapper, EasyEffect.AudioOutputController.Custom, VamVst2.DAEffect, VamLib.MoreTypes; type TVstAudioOutputController = class(TCustomVstAudioOutputController, IVstAudioOutputController) private...
{ * FmDemo.pas * * Main form for the Window State Components StandardDemo demo program. * * $Rev$ * $Date$ * * Any copyright in this file is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ } unit FmDemo; interface uses Windows, Messages, SysUtils, Classes, Graphics, Con...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.3.7.1-13, FILE=LEV1F2...
Program EraseFile; var f:file; begin {$I-} if ParamCount < 1 then begin writeln(ErrOutput,'Please specify the file to erase'); halt(1); end; assign(f,ParamStr(1)); erase(f); if IOResult <> 0 then begin Writeln(ErrOutput,'Error erasing the file'); halt(1) end; end.
unit PixelMaps; interface uses Types, Graphics, Classes, BmpUtils; type TColorRGBA = packed record function GetColor: TColor; procedure SetColor(col: TColor); property Color: TColor read GetColor write SetColor; case Integer of 0: (C: TColor); 1: (R, G, B, A: Byte); end; TColorInd...
unit fCE_ColumnFormSpTBX; // Version 2.4.0 // // The initial developer of this code is Jim Kueneman <jimdk@mindspring.com> // //---------------------------------------------------------------------------- // // Modifications by Francois Rivierre, 2005-11-28, to allow runtime // customization of internal strin...
unit uCommon; interface uses SysUtils, Classes, IniFiles, uGlobal, Rtti, uSQLHelper, uLogger, ADODB, System.JSON, DateUtils, syncobjs, uEntity, uPassReader, IdHttp, Data.DB, System.Generics.Collections; type TCommon = Class private class var cs: TCriticalSection; class function ReadConfig(): Boole...
{ ****************************************************************** Incomplete Gamma function and related functions. Translated from C code in Cephes library (http://www.moshier.net) ****************************************************************** } unit uigamma; interface uses uConstants, ugamm...
unit UnitSetupBoard; interface uses Winapi.Windows, Vcl.Forms, Vcl.Dialogs, System.UITypes; type TCell = Record CellFigureName: Char; // '0'(ничего), K, Q, R, N, B, P CellFigureColorIsWhite: Boolean; CellFigureIndex: Byte; End; TBoard = Array [1 .. 8, 1 .. 8] of TCell; const...
unit CommandUnit; { This unit handles the currently active command threads, and hosts/manipulates the thread pool. It also contains functions designed to check the status or existence of said command threads. } interface uses Windows, System.SysUtils, System.Classes, Generics.Collections, SystemUnit, Ele...
unit uTool; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, Menus, ExtCtrls, Buttons, Spin, StdCtrls, Types, uFigure, uLog, math; type TComboBoxName = array of string; TStyleBrushArray = array of TBrushStyle; RBrushStyle = record Name: TComboBoxNa...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.2.1-10, FILE=DEV038, CL...
unit FRMPrincipal; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls; type //formas de cobrança TFormaCobranca = (fcMensal,fcBimestral, fcTrimestral, fcSemestral, fcAnual,fcQuadrimestral...
unit MyORM.Controller; interface uses //uViewInformacao, MyORM.Controller.Inter, MyORM.Atributos.Model, MyORM.Atributos.DAO, MyORM.Atributos, MyORM.Constantes, Classes, FireDAC.Comp.Client, Vcl.Forms ,RTTI, System.TypInfo, System.SysUtils , cxDBLookupComboBox, cxTextEdit ; type TX25 = (Obrigatorio,Desabilitado)...
unit ZapMQ.Message.JSON; interface uses JSON; type TZapJSONMessage = class private FBody: TJSONObject; FId: string; FRPC: boolean; FTTL: Word; FResponse: TJSONObject; procedure SetBody(const Value: TJSONObject); procedure SetId(const Value: string); procedure Se...
(* * Este programa calcula la serie de e^x * Autor: Jose Pena * Fecha de creacion: 04/02/2013 *) Program quiz03; var n : integer; // Variable que define el tope de la serie x : double; // Valor de x en la serie j : integer; // Variables de interacion s : double; // Valor total de la serie y,z,e :...
unit ObjectProp; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, SimpleGraph, ExtCtrls, StdCtrls, ComCtrls; type TObjectProperties = class(TForm) Label1: TLabel; Colors: TGroupBox; Label2: TLabel; Label3: TLabel; FillColor: TPanel; ...
{ ****************************************************************** Probability functions related to the incomplete Gamma function ****************************************************************** } unit uigmdist; interface uses uConstants, ugamma, uigamma; function FGamma(A, B, X: Float): Float;...
unit System; interface type TTest=record a:integer; b:integer; c:array[1..3] of byte end; const CompilerInfoString:pchar='OBJPAS2CPP'; Test:array[0..3] of integer=(0,1,2,6); Test2:TTest=(a:6;b:45;c:(8,7,9)); fmClosed=$D7B0; fmInput=$D7B1; ...
unit SetupReg; interface Uses Classes, Forms, SysUtils, Dialogs, DB, DBtables, Registry, Windows, DBgrids, SecurityPrograms, Controls; Type TCustomOptions = Class Private FSecProgram: TSecurityProgram; FReg: TRegistry; function GetDBPassword: String; procedure ErrorRunProgram; procedure Regist...
unit SystemUnit; { This unit implements functions that have direct impact on the system, such as shutting down and rebooting. } interface uses System.SysUtils, System.Classes, Winapi.Windows, Winapi.Messages, Winsock, IdStack, DProcess, Basics; type TTaskOptions = Record Name: String; Desc: Stri...
PROGRAM Stat(INPUT, OUTPUT); USES Number; VAR N1, N2, Min, Max, Sum, Q, Average, FractPart: INTEGER; BEGIN Sum := 0; Q := 0; N1 := -2; N2 := -2; WHILE (NOT EOLN) AND (N1 <> -1) AND (N2 <> -1) DO BEGIN ReadNumber(INPUT, N1); Q := Q + 1; Sum := Sum + N1; IF NOT EOLN ...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.8.3.10-10, FILE=DEV237,...
{ Copyright (c) 2018, Vencejo Software Distributed under the terms of the Modified BSD License The full license is distributed with this software } unit Month_test; interface uses SysUtils, DateUtils, Year, Month, {$IFDEF FPC} fpcunit, testregistry {$ELSE} TestFramework {$IF CompilerVersion > 21}{$DEF...
{***************************************************************************} { } { Spring Framework for Delphi } { } { ...
unit Geometry; interface type Point = record x : Real; y : Real; end; Line = record A : Point; B : Point; end; Circle = record O:Point; R:Real; end; Triangle = record A : Point; B : Point; C : Point; end; function CreatePoint() : Point; function CreateTriangle() : Triangle; function CrLine() :Line; function GetDis...
unit SpTBXControls; {============================================================================== 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 i...
{ ****************************************************************** Inverses of incomplete Gamma function and Khi-2 distribution Translated from C code in Cephes library (http://www.moshier.net) ****************************************************************** } unit uinvgam; interface uses uCons...
unit SqlComm; {*************************************************************************} {* *} {* Author: Alcindo Schleder *} {* Copyright: © 2003 by Alcindo Schleder. All rights reserved. ...
UNIT VectorADT; INTERFACE TYPE Vector = POINTER; // Initializes a vector // IN vector // Must be called before any other operation is called on a vector. PROCEDURE InitVector(VAR v: Vector); // Disposes a vector // IN vector PROCEDURE DisposeVector(VAR v: Vector); (* fügt den Wert val „hinten“ an, wobei zuvor ...
(* WordCounter: HDO, 2003-02-28 *) (* ----------- *) (* Template for programs that count words in text files. *) (*===============================================================*) PROGRAM WordCounter; USES WinCrt, Timer, ...
unit Test.VamLib.Collection.DoubleLinkedList; interface uses WatchTower, VamLib.Collection.DoubleLinkedList; type TDoubleLinkedListTest = class(TWatchTowerTest) private DataA : array[0..20] of integer; DataB : array[0..20] of string; public procedure Setup; override; procedure TearDown; ove...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.7.1-14, FILE=IMPDEP07, ...
Unit TM_SNDEX; Interface {----------------------------------------------------------------------} {----------------------------------------------------------------------} Function Sounds_Like (Name1,Name2 : string) : Boolean; {----------------------------------------------------------------------} {****************...
{********************************************************************} { } { XML Data Binding } { } { Generated on: 2007-10-22 ...
var ch: Char; pos: integer; procedure error(); begin writeln('^':pos); writeln('Ошибка в символе ',ch); halt; end; procedure NextCh; begin read(ch); pos += 1; end; begin writeln('Введите вещественное число (заканчивающееся символом !): '); NextCh; if char.IsDigit(ch) then NextCh ...
program FeldSort3 (input, output); const FELDGROESSE = 5; type tIndex = 1..FELDGROESSE; tFeld = array[tIndex] of integer; var EingabeFeld : tFeld; index : tIndex; procedure FeldSortieren ( inoutSortFeld : tFeld); var Minpos, i : tIndex; function FeldMinimumPos ( inFeld : tFeld; inVon, i...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.5.3.2-8, FILE=DEV106, C...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.4.6-12, FILE=ERR10T, CL...
program hw8; type complex = record re: real; im: real; end; var c1, c2, c3, c4, c5, c6, c: complex; function add(c1: complex; c2: complex): complex; begin add.re := c1.re + c2.re; add.im := c1.im + c2.im; end; function subtract(c1: complex; c2: complex): complex; begin subtract.re := c1.re - c2....
unit UnitQueryPerformanceTimer; // this module created By Sergey-KoRJiK, 2020 interface uses SysUtils, Windows, Classes; type CQueryPerformanceTimer = class private Frequency: Int64; StartPoint, EndPoint: Int64; MeashuredInterval: Int64; TimerWorkState: Boolean; public propert...
{ Just another Lase Show Editor (Jlse) (based on Heathcliff) Copyright (C) 1999,2000,2010 Patrick Michael Kolla. 2013 Christian Ulrich (info@cu-tec.de) This source is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Fre...
program examples; //********************************************************************************************************************************** // // Pascal example to use TensorFlow through Graph and Eager methods, both Generic and operation Specific // // Copyright: (C) 2020, Zsolt Szakaly // // This sourc...