text stringlengths 14 6.51M |
|---|
unit PenUtils;
interface
uses
PaintUtils, ShellUtils, System.SysUtils;
type
TPentype = class
public
FPaintBehavior: TPaintBehavior;
FShellBehavior: TShellBehavior;
procedure Paint;
procedure Shell;
constructor Create(PaintBehavior :TPaintBehavior;ShellBehavior : TShellBehavior); reintrodu... |
unit Subject;
interface
uses
Observer;
type
ISubject = interface
procedure RegisterObserver(Observer : IObserver);
procedure RemoveObserver(Observer : IObserver);
procedure NotifyObserver;
end;
implementation
end.
|
{******************************************************************
* 项目名称:
* 单元名称:除魔任务面板内容
* 单元作者:
* 摘 要:
* 备 注:
*******************************************************************}
program Mir2;
{$I common.pas}
//本任务的任务编号,每个任务对应不同的任务编号,这个不可以重复
const CurrentTaskID = 10012;
//TASK_TYPE_MAIN 任务类型为主... |
unit dtwexam1;
{ Illustrates a simple Native mode acquisition using the DTWAIN library.
The application will allow DTWAIN to control the message loop }
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Menus, DTWAIN32U, ExtCtrls, Clipbrd;
type
TForm1 = class(TForm)
... |
unit CadTipoComponentes;
{*************************************************************************}
{* *}
{* Author: Alcindo Schleder *}
{* Copyright: © 2003 by Alcindo Schleder. All rights reserved... |
program helloworld;
begin
writeln ('Hello world!');
end.
|
unit TSysPed;
{*************************************************************************}
{* *}
{* Author : Alcindo Schleder *}
{* Copyright: © 2003 by Alcindo Schleder. All rights reserved. ... |
unit BeRoDoubleToString;
(**********************************************************
** BeRo Double To String Conversion Library *
***********************************************************
**
** This file is part of the BeRo Double To String Conversion Library.
** Copyright (C) 2011-2012 by Benjam... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.1-5, FILE=DEV194, CLA... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.6.6.5-7, FILE=ERR60P... |
{ ******************************************************************
Eigenvalues and eigenvectors of a real upper Hessenberg matrix
****************************************************************** }
unit uhqr2;
interface
uses
utypes, math, uminmax;
procedure Hqr2(H: TMatrix; Lb, Ub, I_low, I_igh:... |
unit uDataFolderUtils;
interface
//===== Public Function Declarations ========================
function LocateDataFolder(CompanyName, ProductName:string):string;
//===========================================================
//===== Private Function Declarations - Do Not Use! =========
function GetDataDi... |
unit uModelCategoria;
interface
uses
System.SysUtils, UModelBase;
type
TCategoria = class(TModelBase)
private
FCodigo: String;
FID: integer;
FNome: String;
procedure SetNome(const Value: String);
public
property ID: integer read FID write FID;
property Codigo: String read FCodigo wri... |
unit uwmMyParks;
interface
uses
System.SysUtils, System.StrUtils, System.Classes, Web.HTTPApp, Web.HTTPProd, Web.DSProd,
FireDAC.UI.Intf, FireDAC.FMXUI.Wait, FireDAC.Stan.Intf, FireDAC.Comp.UI, Web.DBWeb;
type
TwmMyParks = class(TWebModule)
ppAbout: TPageProducer;
FDGUIxWaitCursor1: TFDGUIxWaitCursor;
... |
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('Введите идентификатор:');
NextC... |
unit FileManager.Views.DragDropArea;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, dxGDIPlusClasses, Vcl.ExtCtrls, Winapi.ShellAPI, FileManager.Providers.FileCatcher, Vcl.StdCtrls;
type
TAddFile = reference ... |
unit UClassCadEscolaridade;
interface
uses
Data.DB, UclassPaiCadastro;
Type
TClassCadEscolaridade = Class (TClassPaiCadastro)
Class function SQLCadastro: String; override;
Class function SQLConsulta: String; override;
Class procedure ConfigurarCampos(Fields: TFields); override;
Class function Ca... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.2.3.5-1, FILE=ERR01P... |
{==============================================================================|
| Project : Delphree - Synapse | 003.000.000 |
|==============================================================================|
| Content: MIME support character conversion tables ... |
unit UCadPartida;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
UPadrao, FMX.Controls.Presentation, FMX.Layouts, FMX.ListBox, FMX.Edit,
FMX.DateTimeCtrls, IWSFutSystem1;
type
TAca... |
{ *************************************************************************** }
{ Data: 04/12/2016 }
{ Resenha: Codigo obtido apartir do codigo FMX }
{ ***************************************************************************... |
unit BPStatesForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Generics.Collections, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Buttons,
Vcl.ExtCtrls, Vcl.StdCtrls, System.Math, DetailInfoView, Vcl.Menus,
DetailBPModel;
type
TTBPStatesForm ... |
{$D+}
unit Ansi2UTF; {(c) Alfware Bernd Schubert 10.03.2020}
{$ifndef dos} {$h+} {$endif}
interface
function string_UTF2Ansi(s: string): string;
function string_Ansi2UTF(s: string): string;
implementation
const anzahl = 11;
source: array[0..anzahl] of string[20] = (
'NR CHR ANS UTF E... |
(**
This module contains the explorer form interface.
@Date 11 Mar 2017
@Version 2.0
@Author David Hoyle
**)
Unit DGHExplFrm;
Interface
Uses
Windows,
Messages,
SysUtils,
Classes,
Graphics,
Controls,
Forms,
Dialogs,
ComCtrls,
ExtCtrls,
ImgList;
Type
(** This class represent a fo... |
unit UTroco;
interface
uses System.SysUtils, System.StrUtils;
type
TCedula = (ceNota100, ceNota50, ceNota20, ceNota10, ceNota5, ceNota2,
ceMoeda100, ceMoeda50, ceMoeda25, ceMoeda10, ceMoeda5, ceMoeda1);
type
TCedulaHelper = Record helper for TCedula
public
function ToDouble: Double;
function GetDe... |
unit uUtils;
interface
uses
{WinProcs, }SysUtils, Consts, Windows, Vcl.Forms,
uIniArq;
const
//nome do arquivo de configuracoes
NOMEARQCONFIG = 'CONFIG.INI';
//constantes usadas para configuração de interface de acordo com tipo do exame
QTD_TIPO_EXAME = 7;
te_EEG = 0; te_MAPA = 1;te_PSG = 2; te_VEEG = 3; t... |
{
* FmDemo.pas
*
* Main form for About Box Component 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
{$UNDEF RTLNAMESPACES}
{$IFDEF CONDITIONALEXPRESSIONS}
{$IF CompilerVersion ... |
unit SendUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls;
type
TSendForm = class(TForm)
UINEdit: TEdit;
UINLabel: TLabel;
MessLabel: TLabel;
MessMemo: TMemo;
StartButton: TButton;
StopButton: TBut... |
{
MIT License
Copyright (c) 2017 Jamie Geddes
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, copy, modify, merge, publish, di... |
unit WatchTower.TestRunner;
interface
uses
WatchTower,
WatchTower.TestCollection,
WatchTower.DataDirCollection;
type
TTestRunner = class
private
TestCollection : TTestCollection;
DataDirCollection : TDataDirCollection;
public
constructor Create;
destructor Destroy; override;
procedur... |
// Marcello Mello
// 28/09/2019
unit lps.interpreter;
interface
uses
SysUtils,
Classes,
VCL.Dialogs,
Generics.Collections,
DateUtils,
lps.env,
lps.ast,
lps.types;
type
TInterpreter = class(TInterfacedObject, IVisitor)
private
FGlobals: TEnvironment;
FEnvironment: TEnvironment;
FLoca... |
unit DeleteFiles;
interface
Function DeletePathFiles(Path: String; Ext: String): Boolean;
Function BackPath(Path: String): String;
implementation
Uses Windows, Classes, SysUtils, FileCtrl;
Procedure LocalFindFiles(DelFiles: String; Var Files: TStringList); Forward;
Function DeletePathFiles(Path: String; Ext: Stri... |
unit FontUnit;
interface
Type
TFontHeader = Packed Record
Signature: Array[0..3] of Char;
FileSize: Integer;
Hz: Word;
CharCount: Word;
CharOffset: Integer;
Hz2: Integer;
Height: Integer; // Height?
Hz4: Integer;
Hz5: Integer;
Name: Array[0..31] of Char;... |
{
Showy Task Runner v.0.2 alfa
@author: scribe
@date: 15.09.2015
Delphi 2010
Description: программа для управления заданиями на работе (по сути будильник)
Юнит с основной логикой
}
unit uTR;
interface
uses
Variants, Graphics, Generics.Defaults, Generics.Collections, Classes,
IniFiles, Forms, DateUti... |
{
BDF (Bitmap Distribution Format)
}
{$MODE OBJFPC}
{$H+}
{$INLINE ON}
unit fi_bdf;
interface
uses
fi_common,
fi_info_reader,
line_reader,
classes,
strutils,
sysutils;
const
BDF_COPYRIGHT = 'COPYRIGHT';
BDF_FAMILY_NAME = 'FAMILY_NAME';
BDF_FONT = 'FONT';
BDF_FOUNDRY = 'FOUNDRY';
BDF_FULL_N... |
unit fReliefSettings;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ReliefSettings, StdCtrls, ExtCtrls;
type
TF_ReliefOptions = class(TForm)
GB_Colors: TGroupBox;
CB_Mrizka: TColorBox;
CB_Kurzor: TColorBox;
CB_KurzorOperation: TColorBox;
... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.9.3.1-6, FILE=DEV246, C... |
unit uBiblioteca;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs
, Winsock, Registry;
function cpuid: dword;
//-=-=-= Retorna o ip do pc
Function GetIP:string;
//-=-=-= Retorna o nome do usuário logado no Windows }
function getUserName: string;
//-=-=-= Retorna o nome do compu... |
{***************************************************************************}
{ }
{ Spring Framework for Delphi }
{ }
{ ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.2.2-3, FILE=CONF027, CLASS=... |
{
AutoTask provides a very simple method to execute a procedure in another thread.
}
unit eeThread.AutoTask;
interface
type
TProcedureOfObject = procedure of object;
procedure AutoTask(Task, OnFinish : TProcedureOfObject);
implementation
uses
OtlTask, OtlTaskControl;
type
TAutoTask... |
unit Unit8;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf,
FireDAC.DApt.Intf, Data.DB, FireDAC... |
unit UtilsU;
interface
uses
ACBrTEFD, ACBrPAF, ACBrBase, ACBrECF, ACBrTEFDClass, Classes, DB, SqlExpr,
ACBrDevice, ACBrEAD, ACBrSintegra, ACBrEFDBlocos, ACBrSpedFiscal;
function TabelaCreate: TSQLQuery; overload;
function TabelaCreate(const SQL: String): TSQLQuery; overload;
type
TTipoNum = (tnPer... |
{
/* 脚本内容 :
/* 对应NPC : 白金帐号的奖励配置
}
{/**********************这部分代码用于生成白金帐号的奖励配置**********************/}
const REWARD_KIND = 82; //定义奖励的种类
const START_LEVEL = 50; //白金账号的起始等级
//给予玩家对应白金帐号等级的奖励
procedure GivePlatinaReward();
var
//这里简化处理,所有奖励只有一种物品,且数量为1
name : array[1..REWARD_KIND] of string;
pos : ar... |
unit ee3AddOn.ParameterManager.StaticVstV2;
{
Static VST Parameter Manager is designed for VST plugins
with relatively simple VST parameter setups. Typically this
will be suitable for plugins with a limited number of parameters
that perform one function. It's a good match for plugins
that mimic hardware wher... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.2.4-1, FILE=CONF168, CLAS... |
unit FileManager.Providers.Constants;
interface
const
REQUEST_ERROR_MESSAGE = 'Não foi possível processar a requisição!';
FILE_SERVER_SECRET_KEY = 'a2V5X2Jhc2U2NF9mb3JtYXRfZmlvcmlsbGlfc29mdHdhcmVfYXBwOmZpbGVfc2VydmVy';
type
TResponseCode = record
const Sucess = 200;
const BadRequest = 400;
const No... |
unit uHik;
interface
uses
System.Classes, Generics.Collections, IdHTTP, SysUtils, uGlobal, uCommon,
uDecodeHikResult, DateUtils, ActiveX, uEntity, Windows;
type
TImageInfo = Record
GCXH: String;
KDBH: String;
CDBH: String;
Url: String;
PassTime: String;
End;
THik = class
private
... |
unit CadTFre;
{*************************************************************************}
{* *}
{* Author : Alcindo Schleder *}
{* Copyright: © 2003 by Alcindo Schleder. All rights reserved. ... |
unit FarScape.Event;
interface
type
TFarScapeEvent = class;
TFarScapeEventClass = class of TFarScapeEvent;
TDataByte = record
case Byte of
0: (VInteger : integer);
1: (VBoolean : boolean);
2: (VPointer : pointer);
3: (VSingle : single);
end;
TEventBase = class(TObject)
private
prote... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.5-3, FILE=CONF081, CLASS=... |
unit ObjBlokVyhybka;
interface
uses ObjBlok, Types, IniFiles, Global, symbolHelper, PGraphics;
type
TTurnout = class(TGraphBlok)
PolohaPlus: Byte;
Position: TPoint;
SymbolID: Integer;
obj: Integer; // index useku, na kterem vyhybka je
constructor Create(index: Integer);
procedure Load(ini... |
unit OptimizerHighLevel;
{$i Compiler.inc}
interface
uses SysUtils,BeRoStream,Globals,Symbols,Error,Tree,HugeString;
type TOptimizerHighLevel=class
private
Options:TOptions;
Error:TError;
SymbolManager:TSymbolManager;
TreeManager:TTreeManager;
Initialized:boolean... |
unit UDP;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, IdUDPClient, IdBaseComponent, IdComponent,
IdUDPBase, IdUDPServer,
IdStack;
type
TUDPSearchEvent = Procedure(ResultIP, ResultName: String) of Object;
TUDPSearchForm = class(... |
unit udmMyParksRS;
// EMS Resource Module
interface
uses
System.SysUtils, System.Classes, System.JSON,
EMS.Services, EMS.ResourceAPI, EMS.ResourceTypes, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error,
FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Async, FireD... |
unit uADOConnector;
interface
uses
Winapi.ActiveX,
System.SysUtils,
System.Classes,
System.Threading,
Data.DB,
Data.Win.ADODB;
type
TADOConnector = class
private
FUninitializeNeeded: Boolean;
FConnection: TADOConnection;
public
constructor Create(const ConnectionString: string);
destr... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.5-5, FILE=CONF083, CLASS=... |
unit Main;
{**
* This file is part of the "Mini Translator" http://www.sourceforge.net/projects/minilib
*
* @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
* @author Zaher Dirkey <zaher at parmaja dot com>
*}
{$mode objfpc}{$H+}
{TODO: Make Original text not readonly }
{TODO: Make it work ... |
unit Test.FarScape.Positioning;
interface
uses
FarScape.CustomControl,
WatchTower,
WatchTower.Confirm;
type
TPositioningTest = class(TWatchTowerTest)
private
public
[Test]
procedure ChildPosition;
end;
TSimpleControl = class(TFarScapeControl)
end;
implementation
uses
Types;
{ TPositio... |
unit uJQThread;
interface
uses
System.Classes, SysUtils, ActiveX, IniFiles,
FireDAC.Stan.Option, uLogger, Vcl.ExtCtrls, FireDAC.Phys.MSSQL,
FireDAC.Phys.MSSQLDef, FireDAC.Phys.OracleDef, FireDAC.Phys.Oracle, DB, ADODB,
FireDAC.Stan.Intf, FireDAC.Stan.Def, FireDAC.DApt, FireDAC.Phys, Variants,
FireDAC.Phys.O... |
unit EditMaquinaOperacao;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Mask, ToolEdit, CurrEdit, Buttons, dbObjects,VirtualTrees;
type
TUpdateMaquinaEvent=procedure (Sender:TObject;afkMaquina:Integer;aDescMaquina:String;aTmpStp:Double;aTm... |
unit UCL.HyperLink;
interface
{$IF CompilerVersion > 29}
{$LEGACYIFEND ON}
{$IFEND}
uses
Classes,
{$IF CompilerVersion <= 30}
Dialogs,
{$ELSE}
UITypes,
{$IFEND}
Windows,
Messages,
Shellapi,
Controls,
StdCtrls,
Graphics,
UCL.Classes,
UCL.Types,
UCL.Colors,
UCL.Theme... |
{$REGION 'documentation'}
{
Copyright (c) 2018, Vencejo Software
Distributed under the terms of the Modified BSD License
The full license is distributed with this software
}
{
Day span definition
@created(12/05/2018)
@author Vencejo Software <www.vencejosoft.com>
}
{$ENDREGION}
unit DaySpan;
interface
use... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.8-4, FILE=LEV1F46, ... |
{
* 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) 2001-2014, Peter Johnson (www.delphidabbler.com).
*
* $Rev$
* $Date$
*
* Run time unit that ... |
// Модуль работы с реестром
unit DRegistry;
interface
uses Registry, Windows;
function RegKeyExists( KeyFullName : string ):boolean;
function RegValueExists( KeyFullName,ValueName : string ):boolean;
function RegGetValue( const KeyFullPath,ValueName: string ):variant;
procedure RegSetValue( KeyFullPath,Va... |
unit uMDIChild;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls;
type
TCloseSajetDll = procedure; stdcall;
TformMDI = class(TForm)
PanelParent: TPanel;
procedure FormShow(Sender: TObject);
procedure FormCloseQuery(Sender: TObject; var Ca... |
Program eva1;
Uses CRT;
type tree=^element;
element = record
data: char;
left,right:tree;
end;
type mnojestvo = set of char;
stack=^element;
element = record
data: char;
next: stack;
end;... |
unit ItemProporties;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, TntStdCtrls;
type
TItemPropForm = class(TForm)
gbName: TGroupBox;
eName: TEdit;
gbCaption: TGroupBox;
eCaption: TTntEdit;
gbFlags: TGroupBox;
eHide: TCheckBo... |
{******************************************************************
* 项目名称:
* 单元名称:LogonQuest
* 单元作者:
* 摘 要:
* 备 注:
*******************************************************************}
program Mir2;
{$I ActiveValidateCom.pas}
procedure _AboutActive;
begin
This_Player.PlayerDialog(
'增强传奇信用分的方式有以下:\' ... |
unit udmTCPParkClient;
interface
uses
System.SysUtils, System.Classes, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient,
IdGlobal;
type
TdmTCPParkClient = class(TDataModule)
IdTCPMyParksClient: TIdTCPClient;
procedure IdTCPMyParksClientConnected(Sender: TObject);
procedure IdTCPMyParksCli... |
unit LucidityGui.DropBoxSelector;
interface
uses
VamGuicontrolInterfaces,
Graphics, Controls,
Classes, RedFox, RedFoxColor, RedFoxWinControl, VamWinControl;
type
TDropBoxSelector = class(TVamWinControl, IMenuControl)
private
fColorTextA : TRedFoxColor;
fColorTextB : TRedFoxColor;
IsMouseOver : ... |
unit uBundle;
interface
uses
SysUtils, Classes, uBaseFile, uSharedGlobals;
type
PBundle = ^TBundle;
TBundle = class(TBaseFile)
private
FDescription: string;
FMASMFiles: TStringList;
FSetupFile: string;
FSetupFileSize: integer;
FPackageDownloadFileName: string;
procedure ... |
unit CL_tabFactory;
interface
uses Classes, ComCtrls, Controls, Forms;
type TTabManager = class (TPersistent)
constructor Create( pageControl : TPageControl );
destructor Destroy();override;
function createTab( caption : string; classStr : string ):TFrame;
procedure destroyTab( child : TWinCont... |
{
*******************************************************************************
* *
* LGPL with linking exception (like Lazarus). See the file license.md, *
* included in this distribution, for details about the copyright. ... |
(*****************************************************************************
UNIT: types-64bit
DESCRIPTION: common variable and constant type definations for 64-bit
platforms.
VERSION: 0.1
REMARKS: first version
LICENCE: Copyright (c) 2013, Matthias Schirm. All rights... |
unit uChargeEndpoints;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Contnrs,
IdBaseComponent, IdIntercept {$IFDEF UNICODE}, IdInterceptSimLog {$ENDIF}, uCommonTypes, ComCtrls;
function CreateCharge: String;
function DetailCharge(Id: String): String;
function PayChargeWithBillet(Id: String... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.8-1, FILE=LEV1F42, ... |
unit TDlgSourceTree;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls, AnimationSeekBarImpl1;
type
TDlgSourceView = class(TForm)
Button1: TButton;
FileTree: TTreeView;
Button_OK: TButton;
procedure Button1Click(Se... |
{
*******************************************************************************
* *
* LGPL with linking exception (like Lazarus). See the file license.md, *
* included in this distribution, for details about the copyright. ... |
PROGRAM FalconManufCo (input, output, Source, Business, Individual);
uses crt;
{Erick Nave
9:00 ICS 4-27-93
FalconManufCo reads a data file, specified by the user, of customers
and throws a customer's name, address, a boolean value used to decide if
the customer is a business or an individual, a descriptio... |
unit Validacoes;
interface
function SoLetras(const FValue: string):string;
function SoNumeros(const FValue: string):string;
implementation
uses
System.SysUtils;
function SoNumeros(const FValue: string): string;
var
I : integer;
texto :string;
begin
if (Length(FValue) > 0) then
begin
texto :=... |
unit RenderWindow;
interface
uses
Windows, Classes, extctrls, Messages, stdctrls, controls,
SysUtils, Forms, Menus, Graphics, Dialogs;
type
TCustomRenderWindow = class(TWinControl)
protected
FOnChangeFocus: TNotifyEvent;
FBorderStyle: TBorderStyle;
procedure SetBorderStyle(Value: TBorderStyle);
procedure... |
unit ufrmTerminal;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ufrmBase, Vcl.StdCtrls, Vcl.Themes,
Vcl.ExtCtrls, TerminalVO, MovimentoService, Winapi.ShellAPI, System.Actions,
Vcl.ActnList, Vcl.DBCtrls, S... |
unit SendMail;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Menus, ComCtrls, ToolWin, DB,
IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdEMailAddress,
IdMessageClient, IdSMTP, IdMessage, Buttons, IdTCPServer, IdSM... |
{$IFNDEF QSYNHIGHLIGHTERLUA}
unit SynLua;
{$ENDIF}
{$I SynEdit.inc}
interface
uses
SynCompletionProposal,
{$IFDEF SYN_CLX}
QGraphics,
QSynEditTypes,
QSynEditHighlighter,
{$ELSE}
Graphics,
SynEditTypes,
SynEditHighlighter,
{$ENDIF}
SysUtils,
Classes;
const
SYNS_FilterLU... |
{ ******************************************************************
Khi-2 test
****************************************************************** }
unit ukhi2;
interface
uses
utypes, uConstants;
procedure Khi2_Conform(N_cls: Integer; N_estim: Integer; Obs: TIntVector;
Calc: TVector; var Khi2: F... |
{ ******************************************************************
Test of regression
****************************************************************** }
unit uregtest;
interface
uses
utypes, umeansd, umachar, uConstants;
procedure RegTest(Y, Ycalc: TVector; LbY, UbY: Integer; var V: TMatrix;
... |
unit Logging4D.Impl;
interface
uses
{$IFDEF VER210}
SysUtils,
{$ELSE}
System.SysUtils,
{$ENDIF}
Logging4D;
type
TLoggerMarker = class(TInterfacedObject, ILoggerMarker)
private
fName: string;
fMarker: ILoggerMarker;
protected
function Name(const name: string): ILoggerMarker;
functio... |
unit uCayanPOSCart;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
System.Generics.Collections,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.ListView.Types, FMX.ListView.Appearances, FMX.ListView.Adapters.Base,
FMX.StdCtrls, FMX.Controls.... |
unit Glass.Controller.GoogleCharts;
interface
uses
Classes, SysUtils, ActiveX; //, System;
type
TGooglePie = class
private
HTMLPage: TStringList;
Data: TStringList;
FTitle: string;
FWidth: Integer;
FHeight: Integer;
procedure SetTitle(const Value: string);
procedure SetWidth(const V... |
{
This demo application accompanies the article
"How to call Delphi code from scripts running in a TWebBrowser" at
http://www.delphidabbler.com/articles?article=22.
This unit defines the IDocHostUIHandler implementation that provides the
external object to the TWebBrowser.
This code is copyright (... |
program oop4;
const
MAXSIZE = 10;
type
bird = object
name : string;
count : integer; static;
constructor create(s:string);
procedure fly; virtual;
end;
ostrich = object(bird)
procedure fly;
end;
constructor bird.create(s:string);
begin
name := s;
count := count + 1;
end;
procedur... |
(*-----------------------------------------------------------------------------
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... |
{ ******************************************************************
Multiple linear regression (Gauss-Jordan method)
****************************************************************** }
unit umulfit;
interface
uses
utypes, ulineq;
procedure MulFit(X: TMatrix; Y: TVector; Lb, Ub, Nvar: Integer;
... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.6.6.2-4, FILE=ERR49P... |
unit utests;
{ Unit utests : Statistical Tests Unit
Created by : Alex Vergara Gil
Contains the routines for statistical tests
}
interface
uses utypes, uComplex, uConstants;
function ProbKS(alam: float): float;
{ Chi Square test }
procedure ChiSquare(real, esperado: TVector; n: integer;
out... |
unit ufrmProduto;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ufrmBase, Vcl.StdCtrls, Vcl.ExtCtrls,
Vcl.Grids, Vcl.DBGrids, System.Actions, Vcl.ActnList, Data.DB,
Datasnap.DBClient;
type
TfrmProduto = ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.6.5-3, FILE=DEV162, C... |
unit ConsumerController;
interface
uses
MVCFramework, MVCFramework.Commons, ConsumerModel, ConsumerConfig;
type
[MVCPath('/')]
TConsumerController = class(TMVCController)
strict private
class var
Model: TConsumerModel;
public
/// <summary> Initialize the model. Since this controller is adde... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.