text stringlengths 14 6.51M |
|---|
unit ExceptionExt;
interface
uses
SysUtils;
type
ExceptionClass = class of Exception;
EArgumentOutOfRangeException = class(Exception)
end;
/// Класс исключений
/// вызов метода запрещён
ECallProhibited = class (Exception)
constructor Create;
end;
/// Класс исключений
/// метод ещё не ре... |
(* @file UTetromino.pas
* @author Willi Schinmeyer
* @date 2011-10-29
*
* UTetromino Unit
*
* Contains the TTetronimo type and funcions/procedures operating on it.
*)
unit UTetromino;
interface
uses
UVector2i, //vectors, obviously
UTetrominoShape, //TTetrominoShape
UGeneralTypes; //TRowIndexSet
typ... |
unit DPacientes;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ADPadrao, Db, DBTables;
type
TPosicionaCamposFPacientes = (
pcFPacientesNenhum,
pcFPacientesCODPaciente,
pcFPacientesNomPaciente);
TDmPacientes = class(TADmPadrao)
QryCada... |
unit uGameInfo;
interface
type
TInningHalf = (Top, Bottom);
TTeam = (Home, Away);
TInning = record
Top: integer;
Bottom: integer;
constructor Create(aTop, aBottom: integer);
end;
TRuns = record
Home: integer;
Away: integer;
constructor Create(aHome, aAway: integer);
end;
THits... |
unit XLSFonts;
{
********************************************************************************
******* XLSReadWriteII V1.14 *******
******* *******
******* Copyright(C) 1999,2002 Lars Arvidsson, Axolot... |
unit cssmin_tests;
interface
procedure run_css_min_tests();
implementation
uses cssmin, SysUtils, Classes;
type
EExpectationException = class(Exception);
var
flags:record
level: Integer;
remove_empty_rulesets: Boolean;
remove_last_semicolons: Boolean;
remove_comments: Boolean;
end;
... |
unit Model.ControleContainer;
interface
type
TControleContainer = class
private
var
FContainer: String;
FData: TDate;
FPeso: Double;
FValorTotal: Double;
FVerbaTotal: Double;
FDestino: Integer;
FStatus: Integer;
FLog: String;
public
property Conta... |
unit TextEditor.Ruler.Colors;
interface
uses
System.Classes, System.UITypes, TextEditor.Consts;
type
TTextEditorRulerColors = class(TPersistent)
strict private
FBackground: TColor;
FBorder: TColor;
FLines: TColor;
FMovingEdge: TColor;
FSelection: TColor;
public
constructor Create;
... |
unit SynTexAssembler;
interface
uses
Windows, AvL, avlUtils, avlMath, SynTex;
type
TOnError=procedure(Sender: TObject; Line: Integer; const Msg: string) of object;
TSynTexDebugInfo=record
Line, Addr: Integer;
end;
TSynTexTokenType=(stString, stFloat, stInteger, stCommand, stRegister, stIden... |
//*******************************************************
//
// Delphi DataSnap Framework
//
// Copyright(c) 1995-2012 Embarcadero Technologies, Inc.
//
//*******************************************************
unit FPCStrings;
{$IFDEF FPC}
{$mode DELPHI}
//{$mode objfpc}
{$modeswitch objectivec2}
{$END... |
unit Model.EstoqueVA;
interface
type
TEstoqueVA = class
private
var
FID: Integer;
FProduto: Integer;
FData: TDate;
FQtde: Double;
FUnitario: Double;
FTotal: Double;
FLog: String;
public
property ID: Integer read FID write FID;
property Produto: Integer read FProduto write... |
unit BCEditor.Editor.CompletionProposal.Columns.Items;
interface
uses
System.Classes;
type
TBCEditorCompletionProposalColumnItem = class(TCollectionItem)
strict private
FImageIndex: Integer;
FValue: string;
public
constructor Create(ACollection: TCollection); override;
procedure... |
{*
* TV Tool Box Version 2.0
* Copyright (c) 1992, 1993 by Richard W. Hansen
* All Rights Reserved
*
*
* TvString.pas
* Turbo Vision string routines for Turbo Pascal 7.0.
*
*}
UNIT TvString;
{$B+}
{$X+}
{$V-}
{.$N+}
{$I TVDEFS.INC}
INTERFACE
USES
TvConst, TvType;
CONST
He... |
(******************************************************************************
* PasVulkan *
******************************************************************************
* Version see PasVulkan.Framework.pas ... |
unit sComboBoxes;
{$I sDefs.inc}
{.$DEFINE LOGGED}
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, ComCtrls, sConst, acntUtils, sGraphUtils{$IFNDEF DELPHI5}, types{$ENDIF}, Dialogs,
sCommonData, ImgList, sDefaults, sComboBox, {$IFNDEF DELPHI6UP}acD5Ctrls, {$ENDIF} acSBUtils{$IFDEF LOGGED}... |
unit Main;
{This is the main Form, that I`m using to display all the functionality, that is written. }
interface
{This is where Dependencies declared}
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls,
{... |
unit BusStopController;
interface
uses
BusStop, Generics.Collections, Aurelius.Engine.ObjectManager, ControllerInterfaces, BeaconItem,
System.SysUtils;
type
TBusStopController = class(TInterfacedObject, IController<TBusStop>)
private
FManager: TObjectManager;
public
constructor Create;... |
(*
* Copyright (c) 2009-2010, Ciobanu Alexandru
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this l... |
{
DocuGes - Gestion Documental
Autor: Fco. Javier Perez Vidal <developer at f-javier dot es>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your... |
unit remote.model.WindowHost;
interface
uses
superobject {An universal object serialization framework with Json support} ,
dco.framework.RPCObjectImpl,
remote.model.RPCObjectContainer,
remote.command.ResizeWindow,
remote.command.NotifyPositionChanged,
remote.command.NotifySizeChanged,
remote.command.Not... |
{*******************************************************************************
Title: T2Ti ERP Fenix
Description: Service relacionado à tabela [FIN_LANCAMENTO_RECEBER]
The ... |
{ RRRRRR ReportBuilder Class Library BBBBB
RR RR BB BB
RRRRRR Digital Metaphors Corporation BB BB
RR RR BB BB
RR R... |
unit DataAccessProvider;
interface
uses Classes,SysUtils,Variants;
type
IConnectProvider=interface
['{8A42E5EB-953E-4BFD-B4E0-12C239B779A2}']
function Get_MaxFieldCount: Integer;
function Get_MaxTableCount: Integer;
function Get_LastError: WideString;
function GetFieldDefSQL(const F... |
unit UPrincipal;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls;
type
TForm7 = class(TForm)
Panel1: TPanel;
Panel2: TPanel;
Panel3: TPanel;
Panel4: TPanel;
Panel5: TPanel;
... |
unit retry;
(*
Permission is hereby granted, on 6-May-2003, free of charge, to any person
obtaining a copy of this file (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy,
modify, merge, publish, distribute, sublicense, and/or sell copies of the
... |
unit ProdutosORM;
interface
uses
SysUtils, Variants, Classes, DB, SqlExpr, ConexaoDB, ORMUtils;
type
TProduto = class
private
FProdutoID: Integer;
FDescricao: String;
FUnidade: String;
FPrecoVenda: Extended;
FOldDescricao: String;
FOldUnidade: String;
FOldPrecoVenda:... |
unit RLFeedBack;
interface
uses
SysUtils, Classes, Graphics, Forms, Dialogs, StdCtrls, ExtCtrls, Buttons,
Controls, ComCtrls;
type
TRLFeedBackCancelEvent=procedure(Sender:TObject; var CancelIt:boolean) of object;
TfrmRLFeedBack = class(TForm)
BitBtnCancel: TBitBtn;
ProgressBar: TProgres... |
unit u_KmlWriter;
interface
uses
t_DroneMission,
u_FileWriter;
type
TKmlWriter = class(TFileWriter)
private
procedure WriteHeader;
procedure WriteFooter;
procedure WriteRoute(const ARoute: TMissionRoute; const ARouteId: Integer);
public
procedure DoWrite(const AMission: TMiss... |
unit untObradaKonekcije;
interface
type
TPodaci = record
TCom: String;
Partner: String;
Pristup: String;
User_Pwd: String;
Binary: String;
SQL: String;
Shema: String;
IPAdresaStroj: String;
AdminUser: String;
Adm... |
unit uCryptography;
interface
function md5(input : string) : string;
function sha1(input : string) : string;
function encrypt(input : string) : string;
function decrypt(input : string) : string;
function LicenceToShamsi(var Beg, En : String; Licence, ComputerID: String):String ;
function ShamsiToLicence(BeginShamsi, ... |
{$r+}
{$mode delphi}
uses math;
function num_of_zeroes(n:integer): integer;
var
zero_count:integer=0;
digit:integer;
begin
while n > 0 do begin
digit := n mod 10;
if digit = 0 then
zero_count := zero_count + 1;
n := n div 10;
end;
exit(zero_count);
end;
function highest_power(n:integer): integer;
var
d:in... |
{
DelphiProtocolBuffer: ProtBufParse.pas
Copyright 2014-2016 Stijn Sanders
Made available under terms described in file "LICENSE"
https://github.com/stijnsanders/DelphiProtocolBuffer
}
unit ProtBufParse;
interface
uses SysUtils, Classes;
type
TProtocolBufferParserValue=(
pbpvUnitName,
... |
unit uXML;
interface
uses Xml.xmldom, Xml.XMLDoc, Xml.XMLIntf;
type
{ Forward Decls }
IXMLResponseType = interface;
IXML_metaType = interface;
IXMLRateLimitType = interface;
IXMLResultType = interface;
IXMLItemType = interface;
IXML_linksType = interface;
IXMLSelfType = interface;
IXMLEditType = in... |
unit HorseRaceTrack;
interface
{$mode objfpc}{$H+}
uses
Classes, SysUtils, Controls, Graphics, LCLType,
RaceHorse,
RaceHorsePopulation,
RaceResults;
const
GATE_COUNT = 10;
HORSE_START_POSITION = 10.0;
type
THorseRaceTrack = class(TCustomControl)
private
TrackSurfaceImage: TPortableNetworkGr... |
(* Клас для стварэння справаздач у фарматах RTF і HTML на падставе шаблонаў.
Class to create RTF & HTML reports based on file templates.
Copyright (C) 2007 Kryvich, http://kryvich.googlepages.com/delphi_reporter.html
Licensed under LGPLv3 or later (http://www.gnu.org/licenses/lgpl.html)
*)
UNIT uDbFreeReporter;... |
unit ubTarefa3DataCliente;
interface
uses
System.SysUtils, System.Variants, System.Classes, Datasnap.DBClient;
type
Tarefa3DataCliente = class(TClientDataSet)
public
constructor Tarefa3DataCliente(Banco: Tarefa3DataCliente);
Procedure PreencherDataCliente;
function SomarValor(): Double;
end;
var
... |
{
Applies filter to show only STAT and SCOL records which are a part of precombined meshes
of cells in any of loaded plugins (Fallout 4 only).
Can take some time, so please wait.
}
unit FO4PrecombinedStaticsFilter;
var
slStatics: TList;
function Filter(e: IInterface): Boolean;
begin
Result := slStatics.Inde... |
unit SimpleThread;
//future fpc 2.6+ has a horrible bug with TThread in a dll (sync problem I think)
//That's why this basic thread library is used instead
{$mode delphi}
interface
uses
windows, Classes, SysUtils;
type TSimpleThread=class
private
threadid: dword;
handle: thandle;
fT... |
{ p_20_1 - первый этап разработки }
program p_10_1;
var S: string;
k: integer; { глобальная переменная }
procedure Scan(var arg : string);
var
k: integer; { локальная переменная }
begin
for k:=1 to Length(arg) do
if arg[k]='A' then
arg[k] := 'B';
end;
begin {--- главная программа --... |
unit Main;
interface
uses
Winapi.Windows,
Winapi.Messages,
Winapi.ShellAPI,
System.SysUtils,
System.Variants,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.StdCtrls,
Vcl.ExtCtrls,
Vcl.Samples.Spin,
Redis.Commons,
Redis.Client,
Redis.NetLib.INDY,
Redis.Value... |
unit Tests.Policy.Roles;
interface
uses
DUnitX.TestFramework, Casbin.Policy.Types, System.Types;
type
[TestFixture]
TTestPolicyRoles = class(TObject)
private
fPolicy: IPolicyManager;
public
[Setup]
procedure Setup;
[TearDown]
procedure TearDown;
[Test]
// From role_manager_test.... |
unit uHTMLParser;
{
Catarinka Lua Library - HTML Parser Object
Copyright (c) 2013-2014 Felipe Daragon
License: 3-clause BSD
See https://github.com/felipedaragon/catarinka/ for details
}
interface
uses
Classes, SysUtils, Lua, LuaObject, CatHTMLParser;
type
{ TCatarinkaHTMLParser }
TCatarinkaHTMLParser ... |
unit uOrderEntry;
interface
implementation
uses
uOrder,
uOrderInterfaces,
Spring.Container;
type
// Moving the `TOrderEntry` to the `implementation` section might sound like a smart idea, but it is not:
// The only way to ever reach `TOrderEntry` reach is through the `GlobalContainer` (using `ServiceLocat... |
unit TextEditor.MatchingPair.Colors;
interface
uses
System.Classes, System.UITypes, TextEditor.Consts;
type
TTextEditorMatchingPairColors = class(TPersistent)
strict private
FMatched: TColor;
FUnderline: TColor;
FUnmatched: TColor;
public
constructor Create;
procedure Assign(ASource: TPe... |
unit xe_ACC;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxGraphics, Menus,
system.StrUtils, system.Math,
cxLookAndFeelPainters, cxStyles, cxCustomData, cxFilter, cxData, cxDataStorage, cxEdit, DB, cxDBData,
cxLabel, cxCheckBox, cxDropDownEdit, cxCalendar,... |
program quicknote;
{$MODE objfpc}{$H+}
uses
crt, classes, sysutils, strutils,
notesmodel, commands;
var
notes : TNotes;
notesFile : TNotesFile;
commandString : TCommandString;
keepGoing : boolean;
line : string;
currentTopic : string;
procedure printNoteList(header: string; noteLis... |
unit PageInfo;
interface
uses
Windows, Messages, AvL, avlUtils, avlEventBus, Utils, InfoPane, Aria2,
UpdateThread;
type
TPieces = array of Boolean;
TPieceBar = class(TGraphicControl)
private
FPiecesCount: Integer;
FPieces: TPieces;
FBitmap: TBitmap;
procedure SetPiecesCount(c... |
unit Unit2;
interface
uses
Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
Label1: TLabel;
Ezahl1: TEdit;
Ezahl2: TEdit;
Label2: TLabel;
Eoperator: TEdit;
Lergebnis: TLabel;
procedure Button1Click(... |
unit ActiveDirectory.Types;
interface
type
{ Password by ADSI }
TADSIPassword = record
Expired: Boolean;
NeverExpires: Boolean;
CannotChange: Boolean;
end;
{ User by ADSI }
TADSIUserInfo = record
UID: string;
UserName: string;
Description: string;
Password: TADS... |
unit uRelatorioForecast;
interface
uses
System.IOUtils,
System.DateUtils,
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, dxSkinsCore,
dxSkinscxPCPainter, d... |
unit frmMemrecComboboxUnit;
{$mode delphi}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
ExtCtrls, MemoryRecordUnit, math, betterControls;
type
{ TfrmMemrecCombobox }
TfrmMemrecCombobox = class(TForm)
btnCancel: TButton;
btnOk: TButton;
... |
unit CRGenSectionContentsEdit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, CommonFrame, ComCtrls, GeneralizedSection, StdCtrls, SlottingWell, Slotting, BaseObjects;
type
TfrmGenSectionContentsEdit = class(TfrmCommonFrame)
gbxGenSectionContents: TGroupB... |
unit main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, NovusShell;
type
TForm1 = class(TForm)
Button1: TButton;
Button2: TButton;
Button3: TButton;
Memo: TMemo;
btnCmdDir:... |
unit SeisProfile;
interface
uses BaseObjects, Registrator, Classes, SeisMaterial;
type
// тип профиля
TSeismicProfileType = class (TRegisteredIDObject)
public
constructor Create(ACollection: TIDObjects); override;
end;
TSeismicProfileTypes = class (TRegisteredIDObjects)
private
function ... |
unit UFindFiles;
interface
Uses
Windows,SysUtils,Classes,ComCtrls,Forms, masks;
procedure FindFilesMsk(StartFolder, Mask: string; Var ListOut: TStrings; AddStartFolder, ScanSubFolders: Boolean);
procedure FindFilesMskTV(StartFolder, Mask: string; Var TNParent: TTreeNode; Var TV: TTreeView; ScanSubFolders: Boolea... |
(* Г)"Не думай о секундах свысока...". Штирлицу подарили секундомер,
который показывал секунды, прошедшие с начала суток. Пусть ваша программа
переведет это число в привычные часы, минуты и секунды.
Подсказки: во-первых, примените операции DIV и MOD. Во-вторых,
переменную для секунд объявите как LONGINT (а не INTEGE... |
{ Subroutine STRING_FIND (TOKEN,S,I)
*
* Search for the substring TOKEN in the string S. I is set to the first character
* position in S of the substring. If the substring is not found in S, then
* I is set to zero.
}
module string_find;
define string_find;
%include 'string2.ins.pas';
procedure string_find (... |
{******************************************************}
{ RecordList Class V1.0 }
{ Copyright 1998 RealSoft Development }
{ support: www.realsoftdev.com }
{******************************************************}
unit RecList;
interface
uses
S... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, DAScript, OraScript, Vcl.StdCtrls, Vcl.Grids, Vcl.DBGrids, MemDS,
DBAccess, Ora, OraCall, Vcl.ComCtrls,IniFiles, Vcl.Mask, Vcl.ExtCtrls,
Id... |
{
单元名称: uJxdTCPCompletionPortServer
单元作者: 江晓德(Terry)
邮 箱: jxd524@163.com
说 明: 使用 WSAEventSelect IO 模式的TCP服务器
开始时间: 2010-09-26
修改时间: 2010-09-26(最后修改)
说 明:
服务器使用方式:
首先需要子类化,处理:
procedure OnConnection(const Ap: PClientSocketInfo; var AIsAllow: Boolean); virtual; //有新客户端连接
procedure OnDisConnection(con... |
unit uBaseballGameDisplays;
interface
uses
uObserverPatternInterfaces
, uBaseballGame
, uGameInfo
;
type
TBaseballGameDisplay = class(TInterfacedObject, IObserver, IDisplay)
private
FSubject: TBaseballGame;
public
constructor Create(aBaseballGame: TBaseballGame);
destructor Destr... |
unit UCalculator; // 以下算法对于 -sin5、-a 一类的仍有问题
interface
uses UxlStrUtils, UxlMath, UxlFunctions, UxlClasses, UxlList;
type
TCalcOptions = record
Decimal: integer;
Tri_Degree: boolean;
end;
TUserFunction = record
Name: widestring;
Equation: widestring;
Params: ... |
unit ueSimpleSearch;
interface
uses
umSearchRequest, uSearch;
type
TmveSimpleSearchRequest = class
public
Model: TmSearchRequest;
constructor Create(Model: TSearch);
procedure Show(Sender: TObject);
procedure Close(Sender: TObject);
procedure Search(Sender: TObject);
procedure FillResul... |
unit TritonPanelUnit;
// ----------------------------------------
// Tecella Triton patch clamp control panel
// ----------------------------------------
// (c) J. Dempster, University of Strathclyde, 2008
// 9.07.08
// 4.09.08 Revised to work with tecellaamp.dll and t... |
(*
@abstract(Contient un composant TBZScreenMode pour interagir avec l'écran / bureau (changement du mode video, passage en plein écran).)
-------------------------------------------------------------------------------------------------------------
@created(2017-06-11)
@author(J.Delauney (BeanzMaster))
... |
unit BeaconItem;
interface
uses
Aurelius.Mapping.Attributes, Aurelius.Types.Nullable;
type
[Entity]
[Automapping]
TBeaconItem = class //Verificar se tem como implementar IBeacon
private
FUUID: string;
FID: Integer;
public
property ID: Integer read FID;
property UUID: s... |
unit uPrincipal;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.ExtCtrls, Vcl.StdCtrls, System.Rtti,
IniFiles, Generics.Collections;
type
IRTTIIniFile = interface;
TForm1 = class(TForm)... |
unit EnvVarSave;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
function SetGlobalEnvironment(const Name, Value: string;
const User: Boolean = True): Boolean;
implementation
uses
registry,windows;
{*********************************************}
{ Set Global Environment Function }
{ Coder : ... |
unit List_ClassInfo;
interface
{$I InfraReflection.Inc}
uses
{$IFDEF USE_GXDEBUG}DBugIntf, {$ENDIF}
InfraBasicList,
InfraCommonIntf,
InfraBase,
InfraCommon;
type
_ITERABLELIST_BASE_ = TBaseElement;
_ITERABLELIST_INTF_ = IClassInfoList;
_ITEM_INTF_ = IClassInfo;
_ITERATOR_INTF_ = I... |
unit create;
interface
uses
Windows, SysUtils, Classes, Controls, Forms, StdCtrls, ExtCtrls;
type
TFormNew = class(TForm)
LabelGame: TLabel;
BevelGame: TBevel;
LabelName: TLabel;
EditName: TEdit;
LabelKind: TLabel;
cbKind: TComboBox;
BevelClient: TBevel;
LabelCli... |
{********************************************************}
{ }
{ Zeos Database Objects }
{ Lexical Scanner Class }
{ }
{ Copyright (c... |
program InsertSort;
uses sysutils;
const ArraySize = 1000;
const Space = ' ';
const RandomRange = 100;
type
IntArray = array [1..ArraySize] of integer;
var
a : IntArray;
freq : IntArray;
average : real;
median: real;
procedure swap(var x, y: integer);
var
tmp: integer;
begin
tmp := x;
x := y;
... |
unit NewPayFromMaxInsurUnit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
CurrEdit, StdCtrls, Mask, ToolEdit, Buttons;
type
TNewPayFromMaxInsurForm = class(TForm)
DateEditFinDate: TDateEdit;
CurrencyEditFin: TCurrencyEdit;
Label2: TLabel;
Label3: TLab... |
unit RRManagerDataPosters;
interface
uses RRManagerObjects, RRManagerPersistentObjects, RRManagerBaseObjects, ClientCommon, SysUtils, Classes
{$IFDEF VER150}
, Variants
{$ENDIF}
;
type
TVersionDataPoster = class(TDataPoster)
protected
procedure Prepare; override;
// читает данные объекта в масс... |
Unit Declare;
Interface
CONST
{ program parameters }
{ flags }
FreezeFlag: boolean = false; { false for LRU queue, true to FREEZE dictionary when full }
PtrType: boolean=TRUE; { false for fixed length pointers,}
{ true for variable length pointers}
MaxChildren = 256 ; { max number of children... |
program euclid (input, output);
var x,y: integer;
function gcd(u,v: integer): integer;
var t: integer;
begin
writeln();
writeln('u ', u);
writeln('v ', v);
writeln();
repeat
if u<v then
begin
writeln('true ');
t := u; u := v; v := t
... |
unit CBSBlankModule;
interface
uses
SysUtils, Classes, adscnnct, DB, adsdata, adsfunc, adstable, CBSDataSources;
type
TBaseScreenModule = class(TDataModule)
FilesConnection: TAdsConnection;
SetupBlankQuery: TAdsQuery;
ToolsConnection: TAdsConnection;
private
FPatUnique: Integer;
FScreenType... |
unit Zoom;
{ =========================================================
CHART - Display magnification adjustment module
(c) J. Dempster, University of Strathclyde 1996-98
23/8/98 OK and cancel buttons changed to standard buttons
=========================================================}
interface
uses WinTypes... |
unit ConnectionDialog;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, ComCtrls;
type
TfrmConnectionDialog = class(TForm)
PanelTop: TPanel;
PanelBottom: TPanel;
btOk: TButton;
btCancel: TButton;
MainPanel: ... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [VIEW_PONTO_MARCACAO]
The MIT License... |
{Ä Fido Pascal Conference ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ PASCAL Ä
Msg : 375 of 385
From : Kai Rohrbacher 2:241/7451.7 10 Apr 93 19:55
To : David Todd 1:259/423.0
Subj : Mode X/Y (was Re: Faster MOVE/FILLCHAR)
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ... |
unit UFormLocalBackupPath;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
VirtualTrees, StdCtrls,
ImgList, ComCtrls, ExtCtrls, SyncObjs, UIconUtil, RzPanel, RzDlgBtn, RzTabs;
type
// This data record contains all necessary information about a particular file system ... |
unit dm_remoteserver;
interface
uses
SysUtils, Classes, rtcFunction, rtcConn, rtcDataCli, rtcHttpCli, rtcDB, rtcInfo, rtcCliModule, IniFiles,
Dialogs, Windows,SyncObjs,Forms;
type
TDmRemoteServer = class(TDataModule)
RtcClientModule1: TRtcClientModule;
RtcDataSetMonitor1: TRtcDataSetMonitor;
RtcHtt... |
unit TextEditor.WordWrap.Colors;
interface
uses
System.Classes, System.UITypes, TextEditor.Consts;
type
TTextEditorWordWrapColors = class(TPersistent)
strict private
FArrow: TColor;
FLines: TColor;
public
constructor Create;
procedure Assign(ASource: TPersistent); override;
published
p... |
/// Asynchronous Network Layer for Event-Driven Clients or Servers
// - this unit is a part of the Open Source Synopse mORMot framework 2,
// licensed under a MPL/GPL/LGPL three license - see LICENSE.md
unit mormot.net.async_rw;
interface
{$I mormot.defines.inc}
uses
sysutils,
classes,
mormot.core.base,
mor... |
{$mode macpas}
unit ErrorMessageWindow;
interface
uses
MacOSAll, TransSkel4, LWPGlobals, LWPEdit, Console,
FileUtils, QDCG, QDCGPictUnit;
procedure ClearErrorMessages;
procedure ParseErrorMessage(msg: AnsiString);
procedure ParseGCCErrorMessage(msg: AnsiString);
procedure ErrorMsgWindInit;
procedure StoreEr... |
program AlgLista2Ex3; // Exercício 3 da Lista 2 de Algoritmos.
var
num, numsv, pal: integer; // Variáveis inteiras para guardar "num" em "numsv" que será modificado para a comparação com "pal" se é palíndromo ou não.
begin // Começo do processo.
writeln('Este algoritmo analisará um numero inteiro para informar se e... |
unit CommonValueDictSelectForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Registrator, BaseObjects;
type
TfrmValueDictSelect = class(TForm)
lblCaption: TLabel;
btnOK: TButton;
btnCancel: TButton;
lstObjects: TListBox;
edtSea... |
module picprg_prog;
define picprg_prog_hexfile;
define picprg_prog_fw;
%include 'picprg2.ins.pas';
{
********************************************************************************
*
* Subroutine PICPRG_PROG_HEXFILE (PR, FNAM, PIC, STAT)
*
* Programs the contents of a HEX file into the target PIC. The connection ... |
unit View.OrderList;
interface
uses MVC.ViewBlocks, Vcl.Controls,
// TODO: Usunąć zalezność od TFDConnection
FireDAC.Comp.Client;
// ------------ ------------ ------------ ------------ ------------ --------
// Usuwanie zależności od TFDConection (koncepcja)
// * Singleton: function GetConnection: IDataConnectio... |
unit CameraClass;
interface
Uses OpenGL, vectortypes, Windows, math;
type TCamera = Object
Position : TVector3f; // The camera's position
View : TVector3f; // The camera's View
UpVector : TVector3f; // The camera's UpVector
procedure PositionCamera(positionX, position... |
unit UTS1050;
interface
uses
Contnrs, System.Classes, unUtils;
type
TS1050 = class(TObjectList)
private
function GetItem(Index: Integer): TS1050;
function Add: TS1050;
public
tpAmb_4 : String;
procEmi_5 : String;
verProc_6 : String;
tpInsc_8 : String;
nrInsc_9 : S... |
{ Copyright (c) 2013 Nick Hodges for CodingInDelphi and Jeroen Wiert Pluimers
for BeSharp.net and Coding In Delphi.
Full BSD License is available at http://BeSharp.codeplex.com/license }
unit IntegerCalculatorUnit;
interface
uses
System.Generics.Collections,
BinaryIntegerOperatorFunctionUnit;
type
TIntegerCal... |
{$I ssl.inc}
unit ssl_objects;
interface
uses ssl_types;
var
OBJ_NAME_init: function: TC_INT; cdecl = nil;
OBJ_NAME_new_index: function(hash_func: OBJ_hash_func; cmp_func: OBJ_cmp_func; free_func: OBJ_free_func): TC_INT; cdecl = nil;
OBJ_NAME_get: function(const _name: PAnsiChar; _type: TC_INT): P... |
{-----------------------------------------------------------------------------
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 uINFLIV;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ExtCtrls;
type
TfINFLIV = class(TForm)
Panel4: TPanel;
LabelLocador: TLabel;
fCD_LOCADOR: TEdit;
dfCD_LOCADOR: TEdit;
LabelLivro: TLabel;
fCD_LIVRO: TEdit;... |
unit PicFile;
interface
uses
Sysutils,
Windows,
dialogs,
PakFile,
PNGImage,
JPEG,
Graphics,
Classes,
Head,
Math;
const
Pic_Interval_Default = 30;
Type
TIMPFrame = record
dataLen: integer;
xOffset: integer;
yOffset: integer;
Null: integer;
data: array of byte;
end;
TIM... |
program height_status;
var height: integer;
begin
height := 0;
write('Enter height: ');
readln(height);
case height of
100..150 : writeln('Very small.');
151..160 : writeln('Small');
161..170 : writeln('Medium.');
171..180 : writeln('High');
181..190 : writeln(... |
unit VSEShaders;
interface
uses
Windows, AvL, avlUtils, avlClasses, OpenGL, oglExtensions;
type
TShader=class;
TShaderVariable=class(TDLCListItem)
protected
FHandle: Integer;
FName: string;
public
constructor Create(PrevItem: TDLCListItem; ShaderHandle: Integer; const Name: string... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [PRODUTO]
The MIT License ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.