text stringlengths 14 6.51M |
|---|
{*******************************************************************************
Title: iTEC-SOFTWARE
Description: VO relational the table [EMPRESA]
The MIT License ... |
{
@title: uAutorun
@author: scribe
@date: 15.09.2015
@version: 1.0
@delphi: Delphi 2010
@description: Занесение программы в автозапуск через реестр от имени
текущего пользователя.
}
unit uAutorun;
interface
uses
Windows, Registry;
procedure Autorun(const aFlag: boolean; const aNameParam, aPath: Str... |
unit uWSManager;
interface
uses
Classes, SysUtils, SyncObjs;
type
TWSManager = class
private
cs: TCriticalSection;
function UpdateWSBH(wsbh: string; flag: integer): boolean;
public
function Apply(yhbh: string; wslb: string; num: integer): string;
function Rollback(wsbh: string): boolean;
... |
unit WSCommon;
interface
uses System.classes, System.Sysutils, VCL.Forms;
type
TWSmsgtype = (LINFO, LWARN, LERROR ,LEXCEPT, LDUMPINFO, LSQLCOMMON, LSQLDUMP);
TWSmsgOptions = array of TWSmsgtype;
TWSonLog = procedure(Amsg:string; Atype: TWSmsgtype) of object;
TWSCommon = class(TObject)
... |
Procedure CreateShortCircuitRule;
var
PCBBoard : IPCB_Board;
Rule : IPCB_ShortCircuitConstraint;
Begin
PCBBoard := PCBServer.GetCurrentPCBBoard;
If PCBBoard = Nil Then Exit;
Rule := PCBServer.PCBRuleFactory(eRule_ShortCircuit);
Rule.Scope1Exp... |
{
* 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/
*
* Copyright (C) 2003-2014, Peter Johnson (www.delphidabbler.com).
*
* $Rev$
* $Date$
*
* Component registrat... |
unit B2.Lfo.SmoothedLfo;
interface
uses
B2.Lfo.SimpleLfo,
B2.Filter.LeakyInteger;
type
TSmoothedLfo = class(TSimpleLfo)
private
fSmoothingFilter: TLeakyInteger;
public
constructor Create; override;
destructor Destroy; override;
function StepUnipolar : single; inline;
f... |
unit eeIntegerWaveTable;
interface
uses
VamLib.MoreTypes;
type
TIntegerWaveTable = class
private
fTableLength: integer;
fWaveData: TArrayOfInteger;
fDeltaValues: TArrayOfInteger;
fMaxFrequency: single;
procedure SetTableLength(Value: integer);
public
constructor Create... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.7.2.2-19, FILE=ERR69... |
unit Burger;
interface
type TBurger = class
procedure Nome;
procedure Ingredientes;
procedure Adicionais;
procedure Combo;
end;
implementation
{ TBurger }
procedure TBurger.Adicionais;
begin
Writeln('Pickles e Farrofa de Bacon');
end;
procedure TBurger.Combo;
begin
Writeln('Possibilidade de comprar co... |
unit BTree;
interface
type
TBTreeNode=class
fRightChild : tbtreenode;
fLeftChild : tbtreenode;
fData : integer;
constructor Create(Data:integer);
destructor Destroy;
procedure Insert(num:integer);
//procedure OutputInAscendingOrder(TSL:TStringList);
//proce... |
uses System;
type Greeting = interface
function Greet(self: Self);
end;
type HelloWorld = class
end;
function Greeting.Greet(self: HelloWorld)
begin
WriteLn('Hello, world');
end;
function Greeting.Greet(self: String)
begin
WriteLn('Hello, ' + self);
end;
let hw := HelloWorld();
Greeting.Greet(hw);
Gree... |
unit ObjBlokUsek;
interface
uses ObjBlok, Generics.Collections, Types, symbolHelper, vetev, IniFiles,
SysUtils, StrUtils, Global, Graphics, PGraphics;
type
TDKSType = (dksNone = 0, dksTop = 1, dksBottom = 2);
TTrack = class(TGraphBlok)
Root: TPoint;
IsTurnout: boolean; // pomocny flag pro vykreslovan... |
unit UnPrincipal;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, IdComponent,
IdBaseComponent;
type
TForm1 = class(TForm)
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
edtNa... |
{*
* Copyright 2013 Artur Mkrtchyan
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
{ 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... |
{*
* Copyright 2013 Artur Mkrtchyan
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.9.3.3-1, FILE=CONF201, CLAS... |
unit FontProporties;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Spin;
Type
TImportInfo = Record
Empty: Boolean;
Autodetect: Boolean;
DataOffset: DWord;
MaxSize: DWord;
DirectOffset: Boolean;
Case Byte of
0:(
... |
program Flugzeit2 (input, ouput);
const
STUNDE = 23;
MINSEK = 59;
type
tZeit = record
h: 0..STUNDE;
m: 0..MINSEK;
s: 0..MINSEK;
end;
tUebertrag = 0..1;
var
Abflug,
Ankunft,
Flugdauer : tZeit;
Uebertrag : tUebertrag;
procedure ZeitLesen (Zeit:tZeit);
var
Eingabe: integer;
begin
repeat
wr... |
unit AggQuadratureOscillator;
////////////////////////////////////////////////////////////////////////////////
// //
// Anti-Grain Geometry (modernized Pascal fork, aka 'AggPasMod') //
// Maintained by Christian-W. Budde (Christ... |
unit WatchTower.Global;
interface
uses
System.SyncObjs,
WatchTower,
WatchTower.TestCollection;
procedure RegisterTest(const TestClass : TWatchTowerTestClass);
procedure RunTests(const LogCallback : TWriteToLogMethod; const TestDataDirs : array of string);
function GlobalTestCollection:TTestCollection;
implem... |
Program StackLongint;
type
LongItemPtr = ^LongItem;
LongItem = record
data:longint;
next:longItemPtr;
end;
StackOfLongints = LongItemPtr;
procedure SOLinit(var stack:StackOfLongints);
begin
stack:=nil; {correct empty stack}
end;
procedure SOLPush(var stack:StackOfLongints; n:longint);
var
tmp:Lon... |
unit DBEditFrm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, DBGridBaseFrm, Vcl.Grids, Vcl.DBGrids,
Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.Buttons, System.Actions, Vcl.ActnList,
Vcl.Menus;
type
TProc = procedu... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.10-17, FILE=DEV259, CLA... |
unit Classe.Administrador;
interface
uses Classe.Funcionario;
type
TAdministrador = class(TFuncionario)
private
FBonus: Currency;
procedure SetBonus(const Value: Currency);
public
property Bonus : Currency read FBonus write SetBonus;
function CalcularSalario : Currency; override;
end;
implementation... |
{
A leaky integer filter is equlivient to a RC filter.
}
unit B2.Filter.LeakyInteger;
interface
type
TLeakyInteger = class
private
fCoefficient: single;
OldValue : double;
public
constructor Create; virtual;
function Step(const Value:double):double; inline;
procedure Res... |
unit SendForm;
interface
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, Menus,
StdCtrls, Dialogs, Buttons, Messages, ExtCtrls, ComCtrls,
IdComponent, IdTCPConnection, IdTCPClient,
IdMessageClient, IdSMTP, IdBaseComponent, IdMessage;
type
TMainForm = class(TForm)
Panel2: TPanel;
... |
unit serverfrm;
interface
uses
servers,
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, ComCtrls, CheckLst;
type
TServerForm = class(TForm)
GroupBox1: TGroupBox;
clbServices: TCheckListBox;
bOk: TButton;
bCancel: TButton;
bConfigure... |
unit uSwitchService;
interface
uses
Windows, Messages, SysUtils, Classes, SvcMgr, uPipeServer, Call_TLB;
type
TSwitchService = class(TService)
procedure ServiceAfterInstall(Sender: TService);
procedure ServiceContinue(Sender: TService; var Continued: Boolean);
procedure ServiceExecute(Sender: TServic... |
PROGRAM Primes (input, ouput);
uses crt;
{Erick Nave
9:00 ICS 4-1-93
Primes asks the user to input a number. Primes then determines if the #
is already prime. If it is, prime is printed. If it isn't, the program
then gets the prime factors of the number and they are displayed.}
VAR
Number: LONGINT;
P... |
unit AggPixelFormatTransposer;
////////////////////////////////////////////////////////////////////////////////
// //
// Anti-Grain Geometry (modernized Pascal fork, aka 'AggPasMod') //
// Maintained by Christian-W. Budde (Chris... |
unit PlugInterface;
interface
type
//LunaGFX types
TChannelType = (ctRed, ctGreen, ctBlue, ctAlpha, ctDummy);
TPixelReadFormat = (prRightToLeft, prLeftToRight);
PChannel = ^TChannel;
TChannel = packed record
chType: TChannelType;
chBitsCount: Byte;
end;
TGfxHead = Array[0..7] of Char;
const
//Stream c... |
namespace RemObjects.Elements.System;
interface
type
&Object = public class
assembly
public
constructor; empty;
[SymbolName('__default_finalize'), Warning('Do not call this method directly, it''s called by the finalizer')]
method &Finalize; virtual; assembly or protected; empty; // DO NOT MOVE THIS... |
unit untCommDataType;
interface
uses
Windows;
const
//定义驱动错误类型
DRIVER_ERROR_SUCCESS = $00000000;//成功
DRIVER_ERROR_SETTING_FILE_NOT_FOUND = $00000001;//驱动配置文件不存在
MAX_DEVNAME_LENGTH = 64;
type
TDeviceNameType = array [0 .. MAX_DEVNAME_LENGTH-1] of Char;
{$POINTERMATH ON}
PDeviceNameType = ^TDeviceNameTy... |
unit ChatManager;
interface
uses
ChatProtocol, TCPClient, SyncObjs, Winapi.Windows;
type
// const
// PRESSW =
TChatMgr = class(TTCPClient)
private
FServerMsgs: TLockChatMsgs;
FAccount: AnsiString;
FPlayerInfo: TPlayerInfo;
protected
procedure ProcessReadData; override;
public
proced... |
unit frmCurrency;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, frmUni, Menus, cxLookAndFeelPainters, dxSkinsCore, dxSkinBlack,
dxSkinBlue, dxSkinCaramel, dxSkinCoffee, dxSkinDarkSide, dxSkinGlassOceans,
dxSkiniMaginary, dxSkinLilian, dxSkinLiquidSk... |
unit unitConvert;
interface
uses sysutils,classes,dialogs;
//=====================================================================================================================
//將數值(十進位的字串)轉成特殊格式的字串,假如是十六進位,賺f_stype為"0123456789ABCDEF" 十進位則f_sType為"0123456789"
function G_convertIntToSpecial(f_sType,f_sOldValue... |
{
Showy Task Runner v.0.2 alfa
@author: scribe
@date: 15.09.2015
Delphi 2010
Description: программа для управления заданиями на работе (по сути будильник)
Юнит для отображения наступившего задания!
}
unit uTask;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
... |
unit LucidityGUI.XYPadHandler;
interface
{$INCLUDE Defines.inc}
uses
Lucidity.CustomControlHandler,
VamLib.DuckType,
Contnrs,
Controls,
Classes,
Vcl.Menus,
Menu.CustomPopupMenu,
VamLib.ZeroObject,
Menu.XYPadContextMenu,
eePlugin,
eeMidiAutomationV2,
Lucidity.PluginParameters;
{+M}
type
TX... |
unit LazyRest.Utils;
interface
uses
Winapi.ActiveX, Winapi.ShellAPI, Winapi.Windows,
Winapi.ShlObj, System.SysUtils, System.Classes;
function IsEmptyString(AValue: string): boolean;
function CheckDirectoryExists(ADirectory: string;
ACreate: boolean = true): boolean;
procedure QuickFileSearch(const PathName, Fi... |
unit frmCounselingDlg;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, FWSQLBaseDlgfrm, Data.FMTBcd, Data.DB,System.AnsiStrings,
Data.SqlExpr, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.ComCtrls, MySQLAccessor, frmClientS... |
unit TaskRunner;
{$mode objfpc}{$H+}
interface
uses
SysUtils, Classes;
type
TObjectProcedure = procedure of object;
ITask = interface;
TTaskNotifyEvent = procedure(const Task: ITask) of object;
TTaskErrorEvent = procedure(const Task: ITask; Error: Exception) of object;
{ ITask }
ITask = interfac... |
unit eeWindowedSincFilter;
interface
uses
VamLib.MoreTypes;
// Reference:
// - The Scientist and Engineer's Guide to Digital Signal Processing
// - Chapter 16 - Windowed Sinc Filters
// - http://www.analog.com/static/imported-files/tech_docs/dsp_book_Ch16.pdf
// NOTE:
// This windowed sin... |
unit uDM;
interface
uses
SysUtils, Data.DB, System.Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def,
FireDAC.Phys, FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys.OracleDef,
FireDAC.VCLUI.Wait, FireDAC.Comp.UI, FireDAC.Phys.Oracle,Fi... |
unit DX7.Forms.Op;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls,
Vcl.ExtCtrls, Vcl.Menus, Vcl.ComCtrls, FS1R.Params;
const
Cols: array[0..3] of TColor = ($99CC99, $CC9999, $99AACC, $CC88CC);
type
TFrame1 ... |
unit SampleMock;
interface
uses
System.SysUtils,
System.Classes,
System.Rtti,
DUnitX.TestFramework, Delphi.Mocks;
type
{$M+}
ISample = interface
['{69162E72-8C1E-421B-B970-15230BBB3B2B}']
function GetProp: string;
procedure SetProp(const Value: string);
function GetIndexProp(Index: Integer... |
(* 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 RingBuffer;
interface
uses
synth;
type
PRingBuffer = ^TRingBuffer;
TRingBuffer = record
const
kBufSize = 8192;
public
wr_ix_, rd_ix_: uint32;
buf_ : array [0 .. (kBufSize) - 1] of byte;
function BytesAvailable: integer;
function WriteBytesAvailable: integer;
function Read(size:... |
{*
* Copyright 2013 Artur Mkrtchyan
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
unit hmod_itf;
{%File '..\MatModel\Tmp\mvs_hmod.dll'}
interface
type
TArrDouble = packed array [1..MaxInt div (sizeof(double)*sizeof(double))] of double;
pArrDouble =^TArrDouble;
function RunTo(Tau: double): integer; stdcall;
function RunThreadTo(Tau: double): integer; stdcall; export;
function RunU... |
unit Main;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
System.UITypes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.StdCtrls,
SendInputHelper;
type
TMainForm = class(TForm)
RelativeClickTestButton: TB... |
program GameMain;
uses SplashKit, sysUtils;
function GetNewPlayer(): Sprite;
begin
result := CreateSprite(BitmapNamed('Player'), AnimationScriptNamed('PlayerAnimations'));
SpriteSetX(result, ScreenWidth() / 2 - SpriteWidth(result));
SpriteSetY(result, ScreenHeight() / 2);
SpriteStartAnimation(result, 'Fly');
e... |
unit SpTBXColorPickerForm;
{==============================================================================
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 SpTBXLib... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.6.5.3-4, FILE=ERR30P... |
unit ActionDispatcherTest;
interface
uses
DUnitX.TestFramework, System.Generics.Collections, ProviderFactory, Provider, VenditoriSimple, SoluzioneAgenti,
Actions;
type
[TestFixture]
TActionDispatcherTest = class(TObject)
private
action1, action2, action3, action4, defaultAction: TAction;
actions: ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.7.1-1, FILE=CONF144, CLASS=... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.7.2.5-13, FILE=DEV189, ... |
unit uMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.SvcMgr, Vcl.Dialogs, IniFiles, IOUtils, IdBaseComponent,
IdComponent, IdCustomTCPServer, IdCustomHTTPServer, IdHTTPServer, uLogger,
IdContext, IdHTTP, Generics.Collections, HTTPAPP, Sys... |
program MinArray(input, output);
const
MAX = 100;
MAXPLUS1 = 101;
type
tIndex = 1..max;
tField = array[tIndex] of integer;
tIndexPlus1 = 1..MAXPLUS1;
var
field : tfield;
i: tIndexPlus1;
found : boolean;
size,
searchvalue : integer;
begin
repeat
write('How many numbers would you like to enter? (maximum:... |
unit EnterEscapeFixerUnit;
{
Als er een TDBLookupComboBox open staat, en er is een Default en/of Cancel TButton
dan kan het form worden afgesloten en krijg je allemaal vage foutmeldingen
(cannot focus invisible control).
Dit lost het op: zodra de dropdown list open is, dan worden de Buttons met Default en Canc... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.6.5.3-11, FILE=ERR37... |
unit Test.Ron.Lexer;
interface
uses
WatchTower,
ron.Lexer;
type
TRonLowLevelFunctions = class(TWatchTowerTest)
private
public
[Test]
procedure ObjectPathTest;
[Test]
procedure ObjectTypeTest;
end;
TRonStringTest = class(TWatchTowerTest)
public
[Test]
procedure UnescapeBasicSt... |
unit Parser;
{$i Compiler.inc}
interface
uses SysUtils,BeRoStream,Globals,Symbols,Scanner,Error,Tree,OptimizerHighLevel,
BeRoGUIDTools,IntegerList,UnitManager,PointerList,Code,CodegenC,
HugeString;
type TParser=class
private
Options:TOptions;
Error:TError;
SymbolMana... |
unit Unit1;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.Controls.Presentation, FMX.StdCtrls, FMX.Layouts, FMX.Ani, FMX.ExtCtrls,
FMX.Filter.Effects, FMX.Effects, System.Math.Vectors... |
unit SPEDC190.Model;
interface
uses Bridge.Model.interf, System.Classes;
type
TSPEDC190Model = class(TInterfacedObject, IEXport<TVenda>)
private
FArquivo: TStringList;
public
constructor Create;
destructor Destroy; override;
class function New: IEXport<TVenda>;
function GerarRegistros(AVa... |
unit UnitFace;
// Copyright (c) 2020 Sergey-KoRJiK, Belarus
interface
uses
SysUtils,
Windows,
Classes,
Graphics,
OpenGL,
UnitOpenGLext,
UnitUserTypes,
UnitVec,
UnitPlane,
UnitTexture;
type tFace = packed record
iPlane: WORD;
nPlaneSides: WORD;
iFirstSurfEdge: DWO... |
unit AggSvgException;
////////////////////////////////////////////////////////////////////////////////
// //
// Anti-Grain Geometry (modernized Pascal fork, aka 'AggPasMod') //
// Maintained by Christian-W. Budde (Christian... |
unit CadPedItem;
{*************************************************************************}
{* *}
{* Author: Alcindo Schleder. *}
{* Copyright: © 2003 by Sistema Processa Ltda. All rights reserved. ... |
unit WeatherCentral;
interface
uses
Observer, Subject, System.Generics.Collections, System.SysUtils;
type
TWeatherCentral = class(TInterfacedObject, ISubject)
public
FObservers: TList<IObserver>;
NHeatIndex : double;
FTemperature: double;
FHumidity : double;
FPressure : double;
constr... |
unit ZitateUTF8;
{$mode objfpc}{$H+}
interface
procedure WriteUTF8Ln(zeile: string);
procedure WriteUTF8(zeile: string);
function Ansi2UTF8(zeile: string): string;
function OEM2UTF8(zeile: string): string;
function Str0(n, anz: integer): string;
function myReplace(zeile, von, nach: string): string;
funct... |
unit Classes.Conversao.ConvertePrimeiraMaiuscula;
interface
uses Classes.Conversao.ConverteTexto;
type
TConverterPrimeiraMaiuscula = class(TConverteTexto)
protected
function getTextoConvertido: String; override;
end;
implementation
uses SysUtils;
{ TConverterPrimeiraMaiuscula }
function TConverterPrime... |
UNIT CCTParser;
INTERFACE
PROCEDURE Parse(var inputFile: TEXT; VAR ok: BOOLEAN; VAR count: INTEGER);
IMPLEMENTATION
USES CCTScanner, sysutils;
VAR
success: BOOLEAN;
PROCEDURE List(VAR count: INTEGER); FORWARD;
PROCEDURE Entry(VAR isDangerous: BOOLEAN); FORWARD;
PROCEDURE Duration(VAR duration: INTEGER); FORWA... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.3.3-16, FILE=IMDEFB15... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.5.2-12, FILE=ERR26T, ... |
unit CPFException;
{ Exceções criadas para tratar erros na validação do CPF}
interface
uses
SysUtils;
type
ECpfInvalido = class(Exception)
constructor Create(const AMessageErro: String = 'CPF Invalido');
end;
ECpfDuplicado = class(Exception)
constructor Create(const AMessageErro: String = 'CPF Dupl... |
unit VideDllEntry;
interface
uses
SysUtils, ToolsAPI, VideWizard;
// The entry point for initializing the wizard.
function InitWizard(const BorlandIDEServices: IBorlandIDEServices;
RegisterProc: TWizardRegisterProc;
var Terminate: TWizardTerminateProc): Boolean; stdcall;
exports
InitWizard name... |
unit Lucidity.Osc.OneShotSampler.SubOsc;
interface
uses
Lucidity.Interfaces,
VamLib.MoreTypes, Lucidity.Enums,
Lucidity.SampleMap, soGateEnvelope,
uConstants, eeSampleFloat,
Math, eeDsp, eeFunctions,
eeDsp.Interpolation,
SampleOscUtils;
type
TOscState = (osInactive, osPlayForward, osLoo... |
unit eeSoundObject;
interface
uses
eeGlobals;
type
{
SoundObject is the base class for all sound and modulation obects.
Oscilators, filters, envelopes etc.
}
ISoundObject = interface
['{90661E87-6654-4470-A480-069285E54E69}']
end;
TSoundObject = class(TInterfacedObject)
... |
unit GaugeFloat;
interface
uses
SysUtils, Windows, Messages, Classes, Graphics, Controls,
Forms, StdCtrls, Gauges, ExtCtrls, uConstants;
type
TWZBoundLabel = class(TBoundLabel)
private
{ Private declarations }
protected
{ Protected declarations }
public
{ Public declarations }
... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.1.6-3, FILE=CONF013, CLASS=... |
(*-----------------------------------------------------------------------------
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... |
unit FWGridBasefrm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Grids, Vcl.DBGrids, Vcl.StdCtrls,
Vcl.ExtCtrls,Data.DBXMySQL, Data.DB,
Data.SqlExpr, Data.FMTBcd, Datasnap.DBClient, Datasnap.Pr... |
unit Models.DataCommunicationModels;
interface
uses
System.SysUtils,
IdIOHandler,
IdSSLOpenSSL,
IdHTTP,
IdCompressorZLib;
type
/// <summary>データ通信用Model。</summary>
TDataCommunicationModel = class
public
/// <summary>コンテンツを取得する。</summary>
/// <param name="URL">URL文字列。</param>
/// <returns>コ... |
program ZBO_vytvoreni_zbozi(zkrJed : String[16] = 'ks');
info
Title = 'vytvoreni zbozi'; // Script Title
Keywords = 'vytvoreni zbozi'; // Script Keywords
Author = 'Správce systému K2'; // Script Author
end;
// tento skript se zepta na typ jednotky, projede vsechno zbozi, a u ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.7.1-14, FILE=LEV1F2... |
unit LPTControllerGetBitStatusRequestHandler;
interface
uses
Winsock, Classes, SysUtils, Log4D,
LPTControllerRequestHandler, LPTControllerRequestHandlerBag;
type
TLPTControllerGetBitStatusRequestHandler = class (TInterfacedObject, ILPTControllerRequestHandler)
protected
class function Log: TLo... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
Button2: TButton;
Button3: TButton;
Memo1: TMemo;
procedure Button2Cli... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.5.5-2, FILE=ERR15P, ... |
unit DAClasses;
interface
uses
System.SysUtils, System.Variants, System.Classes, System.Math;
type
TTryResult = class(TObject)
private
public
x1, x2, x3, x4, y: double;
i: integer;
constructor Create(_x1, _x2, _x3, _x4, _y: double; _i: integer); virtual;
function ToString(): string;
end;
... |
unit Dao.IDataSet;
interface
uses
Data.DB, System.Rtti, System.SysUtils;
type
IDaoDataSet<T: class> = interface
['{262A20B9-D025-41E0-8BAE-9E7345A0B4B4}']
function DataSetToObject(ds: TDataSet): T;
function CreateInstance: T;
end;
implementation
end.
|
unit eeDFT;
interface
uses
VamLib.MoreTypes;
procedure CalcDFT(Input:TArrayOfSingle; Output:TArrayOfComplex; SampleFrames:integer);
procedure CalcInverseDFT(Input:TArrayOfComplex; Output:TArrayOfSingle; SampleFrames:integer);
procedure CalcMagnitudes(DFTData:TArrayOfComplex; Output:TArrayOfSingle; Sam... |
unit Main;
interface
procedure Run;
implementation
uses
WatchTower,
WatchTower.Global,
VamLib.Console,
RegisterTests.FarScape;
procedure Run;
var
WriteToLog : TWriteToLogMethod;
begin
WriteToLog := procedure(Msg : string)
begin
WriteLn(Msg);
end;
WatchTower.Global.RunTests(WriteToLog);
W... |
unit Cayan.Common;
interface
uses
System.Classes, System.SysUtils,
Xml.XmlDoc, Xml.XmlDom, Xml.XmlIntf,
StrUtils, DateUtils, IdURI,
Cayan.XSuperObject;
const
sLineBreak = #10#13;
type
TCardType = (ctUnknown = 0, ctAmex = 1, ctDiscover = 2, ctMastercard = 3, ctVisa = 4,
ctDebit = 5, ctEbt = 6, ctEgc ... |
{
Showy Task Runner v.0.2 alfa
@author: scribe
@date: 15.09.2015
Delphi 2010
Description: программа для управления заданиями на работе (по сути будильник)
Юнит для создания/редактирования группы
}
unit uGroup;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
... |
unit P10Build;
{$I+} { I/O checking is always on }
{$DEFINE UseIntegerOP}
// NOTE: Removed old and buggy code for Dyna conditional define - HV
interface
uses
Parser10,
SysUtils, Classes;
procedure ParseFunction(FunctionString: string; { the unparsed string }
Variables: TStringlist; { list of vari... |
unit ONMCredentials;
interface
type
TONMCredentials = class abstract(TObject)
const
From = 'info@offertenuovimandati.com';
EmailInternal = 'mailertest@ritolladvd.it';
Name = 'Info Offerte Nuovi Mandati';
Subject_Client = 'Registrazione sul portale Offerte Nuovi Mandati';
Subject_Internal = 'Ri... |
unit ContaReceberService;
interface
uses BasicService, Datasnap.DBClient, PessoaVO, Vcl.StdCtrls, System.SysUtils,
Vcl.ExtCtrls, RecebimentoContaVO, Bibli, System.StrUtils, Generics.Collections,
FireDAC.Comp.Client, ViewExtratoContaVO, System.Math, Data.DB, ViewVendaItemVO,
ImpressoraVO, EmpresaVO, System.Class... |
unit frmChangePassword;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Uni, DB, ADODB,
// Auto Generate
frmUni, Menus, cxLookAndFeelPainters, untIvEncryption, cxControls,
cxContainer, cxEdit, cxTextEdit, StdCtrls, ActnList, cxButtons, ExtCtrls;
... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs;
type
TForm1 = class(TForm)
procedure FormCreate(Sender: TObject);
procedure FormShow(Sender: TObject);
procedure FormPaint(Sender: TObject);
procedure FormResize(Sender: TObject);
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.