text stringlengths 14 6.51M |
|---|
unit ANovaTransferencia;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios,
Componentes1, ExtCtrls, PainelGradiente, Localizacao, StdCtrls, Buttons,
ComCtrls, Mask, numericos, UnDadosCR, UnCaixa,SqlExpr;
type
TTipoTela = (ttTransferencia,ttAplicaca... |
unit Table;
interface
uses
{$IFDEF FPC}
LResources,
{$ENDIF}
{$IFNDEF LINUX}
Windows, Messages,
{$ENDIF}
Classes, SysUtils, Menus, ImgList, StdCtrls, ComCtrls, Buttons, ExtCtrls, Graphics,
Controls, Forms, Dialogs, DBCtrls, Grids, DBGrids, UniDacVcl, Variants,
{$IFNDEF FPC}
MemDS,
{$ELSE}
MemDataSet,
{$EN... |
// -------------------------------------------------------------------------------
// Um programa em Pascal que lê um número não conhecido de valores,um de cada vez,
// e conta quantos deles estão em cada um dos intervalos [0, 50], (50, 100],
//(100,200]. O programa deve encerrar ou terminar, quando for lido um valor... |
//ALGORITHME : CARRE_MAGIQUE
//BUT : Creer un carre magique de 5x5 ou 7x7
//ENTREE :
//SORTIE : Carre magique
(*
procedure matrice (var carre : Tableau, n : entier)
var i, j : entier
DEBUT
pour i + 1 A 5 faire
DEBUT
pour j + 1 A 5 faire
DEBUT
ECRIRE Carre[i, j]
FIN
FIN
FIN
procedure remplir_matrice(var ... |
// -------------------------------------------------------------------------------
// Descrição: Um programa em Pascal que determina se um determinado número,
// lido do teclado, é impar
// -------------------------------------------------------------------------------
//Autor : Fernando Gomes
//Data : 19/08/2021
... |
{**********************************************************************}
{* Иллюстрация к книге "OpenGL в проектах Delphi" *}
{* Краснов М.В. softgl@chat.ru *}
{**********************************************************************}
unit frmMain;
interface
u... |
program VoltageProbeInfo;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes, SysUtils, uSMBIOS
{ you can add units after this };
function ByteToBinStr(AValue:Byte):string;
const
Bits: array[1..8] of byte = (128,64,32,16,8,4,2,1);
var i: integer;... |
unit fMenu;
(*
Projet : POC Notes de frais
URL du projet : https://www.developpeur-pascal.fr/p/_6006-poc-notes-de-frais-une-application-multiplateforme-de-saisie-de-notes-de-frais-en-itinerance.html
Auteur : Patrick Prémartin https://patrick.premartin.fr
Editeur : Olf Software https://www.olfsoftware.fr
... |
unit NtUtils.Job;
interface
uses
Winapi.WinNt, Ntapi.ntdef, Ntapi.ntpsapi, NtUtils.Exceptions, NtUtils.Objects;
const
PROCESS_ASSIGN_TO_JOB = PROCESS_SET_QUOTA or PROCESS_TERMINATE;
// Create new job object
function NtxCreateJob(out hxJob: IHandle; ObjectName: String = '';
RootDirectory: THandle = 0; HandleAt... |
{**********************************************************************}
{* Иллюстрация к книге "OpenGL в проектах Delphi" *}
{* Краснов М.В. softgl@chat.ru *}
{**********************************************************************}
unit Main;
interface
uses
... |
unit nkTitleBar;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, ExtCtrls;
type
{ TnkTitleBar }
TnkTitleBar = class(TPanel)
private
FImage:TImage;
FTopForm:TForm;
FMoving:boolean;
FXPos:integer;
FYPos:integer;
function GetPictur... |
unit IdDateTimeStamp;
interface
uses
Classes,
IdBaseComponent,
SysConst, SysUtils;
const
IdMilliSecondsInSecond = 1000;
IdSecondsInMinute = 60;
IdMinutesInHour = 60;
IdHoursInDay = 24;
IdDaysInWeek = 7;
IdDaysInYear = 365;
IdDaysInLeapYear = 366;
IdYearsInShortLeapYearCycle = 4;
IdDaysInSho... |
unit uPostagensControl;
interface
uses
uPostagensModel, System.SysUtils, FireDAC.Comp.Client;
type
TPostagensControl = class
private
FPostagensModel: TpostagensModel;
public
constructor Create;
destructor Destroy; override;
function Exibir(): TFDQuery;
function Excluir(pId: Integer)... |
unit fAbout;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TAboutForm = class(TForm)
Label1: TLabel;
VersionLabel: TLabel;
Label3: TLabel;
Button1: TButton;
UrlLabel: TLabel;
procedure FormCreate(Sender: TObject);
p... |
unit llcltest_DfmCheck_Unit;
interface
implementation
uses
Unit1,
SysUtils;
procedure TestDfmFormConsistency;
begin
{ Form1: TForm1 }
with TForm1(nil) do { Unit1.pas }
begin
Label1.ClassName; { Label1: TLabel; }
GroupBox1.ClassName; { GroupBox1: TGroupBox; }
RadioButton1.ClassNa... |
unit Security.User;
interface
uses
System.SysUtils, System.Classes, Vcl.ExtCtrls, System.UITypes, Vcl.StdCtrls, Vcl.Forms
, Security.User.Interfaces
, Security.User.View, System.StrUtils
;
type
TPermissionNotifyEvent = Security.User.Interfaces.TUserNotifyEvent;
TResultNotifyEvent = Security.Us... |
unit SemiAutoTrimmer;
interface
uses
SysUtils, Classes, ClipBrd, Windows,
Thread.Trim, TrimList,
Device.PhysicalDrive.List,
Device.PhysicalDrive, Getter.PhysicalDrive.PartitionList, Getter.PhysicalDrive.ListChange;
type
TSemiAutoTrimmer = class
public
procedure SemiAutoTrim(const Model, Serial: Strin... |
namespace WindowsApplication2;
interface
uses
System.Windows.Forms,
System.Drawing;
type
/// <summary>
/// Summary description for MainForm.
/// </summary>
MainForm = partial class(System.Windows.Forms.Form)
private
protected
method Dispose(aDisposing: boolean); override;
publi... |
unit FTPClient;
interface
uses
Windows, Messages, Variants,SysUtils, Classes, Wininet, Dialogs;
type
TFTPClient = class(TObject)
private
FInetHandle: HInternet; // 句柄
FFtpHandle: HInternet; // 句柄
... |
unit UI.CommandLineParser;
interface
uses
System.Classes,
System.TypInfo,
System.SysUtils,
System.Generics.Collections,
App.Types,
UI.Types;
type
TCommandLinePattern = class
strict private
FName: string;
FParametrs: TParametrs;
function TryParse(Args: strings;out Return: TCommandDat... |
unit VersionInfo;
interface
uses
Windows, SysUtils;
type
TLangAndCP = record
wLanguage: word;
wCodePage: word;
end;
PLangAndCP = ^TLangAndCP;
RAppInfo = record
InfoStr: String;
Value: String;
end;
rRAppInfo = array of RAppInfo;
{$M+}
TVersionInfo = class
... |
unit Converts;
interface
uses
SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
Forms, Dialogs, StdCtrls, ExtCtrls;
function CheckHex(const hex:string):boolean;
function CheckDec(const dec:string):boolean;
function CheckUnsigned(const dec:string):boolean;
function CheckBin(const bin:s... |
{$G+}
Unit FCache;
{
Cache work with files. (for better speed on accesing disk)
by Maple Leaf, 1996
}
Interface
Const
MaxCache = 4*1024; { 4K }
CacheError : byte = 0;
CacheEOF : Boolean = False;
(*
'CacheError' values:
0 = No error
1 = Write error/Disk full
2 =... |
{
"Windows Console Station (VCL)"
- Copyright 2004-2017 (c) RealThinClient.com (http://www.realthinclient.com)
@exclude
}
unit rtcVWinStationCLI;
interface
{$INCLUDE rtcDefs.inc}
USES
Windows,
SysUtils,
rtcLog;
TYPE
{ winsta.dll }
TWinStationConnect = FUNCTION(hServer: THANDLE; S... |
unit Localizer;
interface
uses Forms, Classes;
type
TLocalizer = class
private
fLanguage: String;
procedure SetLanguage(const Value: String);
public
procedure Localize(pForm: TForm; pList: TStrings);
procedure LoadStrings(pList: TStrings);
property language: String read fLanguag... |
//Настройки
unit fOptions;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls, Mask, DBCtrlsEh, ToolEdit, FileCtrl,
LMDCustomFileEdit, LMDFileOpenEdit, LMDColorEdit, LMDCustomControl,
LMDCustomPanel, LMDCustomBevelPanel, LMDBaseEdit, LMDCustom... |
unit Getter.TrimBasics.NTFS;
interface
uses
Windows,
OSFile.IoControl, Getter.TrimBasics;
type
TNTFSTrimBasicsGetter = class(TTrimBasicsGetter)
public
function IsPartitionMyResponsibility: Boolean; override;
function GetTrimBasicsToInitialize: TTrimBasicsToInitialize; override;
private
type
... |
unit Codes;
interface
uses
Values, Variables, Strings;
const
TYPE_CONTINUE = -3;
TYPE_BREAK = -2;
TYPE_EXIT = -1;
OW_VALUE = 1;
OW_ID = 2;
OW_DEFINE = 3;
LW_NONE = 0;
LW_OPERAND = 1;
LW_OPERATOR = 2;
LW_FUNCTION = 3;
LW_FUNCTIONEND = 4;
LW_INSTRUCTION = 5;
LW_FLOWCONTROL = 6;
type
... |
unit TestWriteBufferSettingVerifier;
{
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,
OS.WriteB... |
unit JATimer;
{$mode objfpc}{$H+}
{$i JA.inc}
interface
uses
exec, timer, amigados,
JATypes, JALog;
const
JATimer_SecondsPerMinute = 60;
JATimer_SecondsPerHour = JATimer_SecondsPerMinute*60;
JATimer_SecondsPerDay = JATimer_SecondsPerHour*24;
{V50 of timer.device (morphOS AROS?)}
... |
unit IntentServiceUnit;
interface
uses
AndroidApi.JNI.GraphicsContentViewText;
type
TIntentServiceHelper = record
private
FIntent: JIntent;
FCode: Integer;
FData: string;
public
class function Create(const Intent: JIntent): TIntentServiceHelper; overload; static;
class func... |
unit U_Disp;
interface
uses Windows, Messages, SysUtils, Classes;
type
T_Disp = class(TThread)
private
procedure Execute;override;
function MyPostThreadMessage(msg:Cardinal; wParam:Integer; lParam:Integer):LongBool;
procedure DispConnPro();
procedure DispDisConnPro();
procedure Di... |
unit SMCnst;
interface
{Brazilian Portuguese strings}
{translated by Rodrigo Hjort, rodrigo_hjort@excite.com}
{atualizado por Alexandre Sant'Anna em 06/08/2007, alex.santanna@globo.com}
{atualizado por Francisco Ernesto Teixeira em 01/10/2013, fco.ernesto@gmail.com}
const
strMessage = 'Imprimir...';
str... |
unit uObjectDXFDrawing;
interface
uses
SysUtils,
Types,
Vcl.Graphics,
Contnrs,
System.Math,
uMyTypes,
uObjectDXFEntity,
uObjectDrawing;
type
TDXFDrawing = class(TObject)
private
objFullPath: string; // cesta a nazov suboru
objCurrLayer: string;
objEntities: TObjectList;
objBoundi... |
unit MIRTCompressionSettingsFrm;
//////////////////////////////////////////////////////
// //
// Description: MIRT JPEG Compression Settings form //
// //
//////////////////////////////////////////////////////
inte... |
unit eSocial.Models.Entities.Configuracao;
interface
uses
eSocial.Models.Entities.Interfaces,
eSocial.Models.Entities.Responsavel,
eSocial.Models.DAO.Interfaces;
type
TConfiguracao = class
private
[weak]
FParent : iModelDAOEntity<TConfiguracao>;
FCodigoSIAFI : String;
... |
unit bool;
interface
uses
structs;
function bitcount(x:int32): Integer;
function LSB(x: int32): Integer;
implementation
var
LSBarray : array [0..255] of Byte;
MSBarray : array [0..255] of Byte;
bitsinbyte : array [0..255] of Byte;
function recbitcount(n: int32): Integer;
// co... |
unit lib_sincronizacao;
interface
uses IdHTTP, SysUtils, Windows, Classes, Variants, Dialogs, XMLDoc, XMLIntf, DateUtils, lib_db,
DB, DBClient, IdURI, IdCookie;
type
TStatusAtualizacao = (saSucesso, saError);
TSincronizacaoBase = class(TObject)
protected
FUrlToGetXML: string;
FUrlToSendXML: string... |
{
Данный пример демонстрирует использование очереди TThreadedQueue.
При запуске программы создаётся один Consumer-поток, который исполняет команды,
которые другие потоки кладут в очередь ConsumerQueue.
Также есть несколько Producer-потоков, которые хотят получить у Consumer-потока
какие-то данные. Producer-потоки пери... |
{*!
* Fano Web Framework (https://fanoframework.github.io)
*
* @link https://github.com/fanoframework/fano
* @copyright Copyright (c) 2018 Zamrony P. Juhara
* @license https://github.com/fanoframework/fano/blob/master/LICENSE (MIT)
*}
unit TemplateFetcherIntf;
interface
{$MODE OBJFPC}
{$H+}
uses
V... |
unit UFrmMain;
interface
uses FMX.Forms, DzXMLTable, FMX.StdCtrls, FMX.Controls.Presentation,
System.Classes, FMX.Types, FMX.Controls, FMX.Layouts, FMX.ListBox;
type
TFrmMain = class(TForm)
L: TListBox;
Label1: TLabel;
BtnAdd: TButton;
BtnMod: TButton;
BtnDel: TButton;
XT: TDzXMLTable;
... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLHeightTileFile<p>
Access to large tiled height data files.<p>
Performance vs Raw file accesses (for perfect tile match):<ul>
<li>Cached data:<ul>
<li>"Smooth" terrain 1:2 to 1:10
<li>Random terrain 1:1
... |
unit ParameterValuesUnit;
interface
uses
ParametricExcelDataModule, System.Generics.Collections, SearchParameterQuery,
NotifyEvents;
type
TParameterValues = class(TObject)
private
class var
public
class procedure LoadParameters(AProductCategoryIDArray: TArray<Integer>;
AExcelTable: TParametricE... |
unit Delphi_Messenger_Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, IPPeerClient, IPPeerServer, System.Tether.Manager, System.Tether.AppProfile, System.Actions,
Vcl.ActnList, Vcl.Co... |
unit NodeHelper;
interface
uses
SourceNode,
SourceLocation;
procedure InsertErrorNextTo(Node: TSourceNode; const Message: String; Location: PLocation);
implementation
uses
NodeParsing;
procedure InsertErrorNextTo(Node: TSourceNode; const Message: String; Location: PLocation);
var
Error: TSourceNode;
begin... |
(**
This module contains a class to represent a form for editing the applications
global options.
@Author David Hoyle
@Version 1.0
@Date 05 Jan 2018
**)
Unit ITHelper.GlobalOptionsDialogue;
Interface
Uses
Windows,
Messages,
SysUtils,
Variants,
Classes,
Graphics,
Controls,
Forms,
Dia... |
unit Parser;
interface
uses
Grammar, Classes, FMX.Dialogs;
function Parse(grammar: TGrammar; iteration: Integer): String;
function FetchMovements(grammar: TGrammar; production: String): TStringList;
implementation
function Parse(grammar: TGrammar; iteration: Integer): String;
var
productionIn, productionOut: ... |
PROGRAM AproxPi;
USES RandUnit;
FUNCTION ApproximatePi(n: longint): real;
var
i: longint;
nrOfPointsInCircle: longint;
x, y: real;
BEGIN (* ApproximatePi *)
nrOfPointsInCircle := 0;
for i := 1 to n do begin
x := RealRand;
y := RealRand;
if (x * x + y * ... |
unit ALocalizaFracaoOP;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios,
ExtCtrls, PainelGradiente, Grids, DBGrids, Tabela, DBKeyViolation,
Componentes1, StdCtrls, Buttons, Localizacao, Mask, numericos, UnDadosProduto,
Db, DBTables, UnOrdemproducao,... |
unit uTestuDrawingArea;
{
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, uDrawingAr... |
{$A+,O+,R-,S+,I+,Q-,V-,B-,X+,T-,P-,}
unit IPLX; { Iniquity Programming Language - Code Parser }
interface
uses
{$IFDEF OS2} Use32, {$ENDIF}
Crt;
function iplExecute(fn, par : String) : Word;
function iplModule(fn, par : string) : integer;
var iplError : Word;
implementation
uses
Global, ... |
unit MediaServer.Definitions;
interface
uses SysUtils, Classes, Generics.Collections, SyncObjs,
MediaProcessing.Definitions,MediaServer.Net.Definitions,RTSP.Definitions;
type
TMediaStreamWorkingConditions = (mscNormal,mscUnauthorizedUser,mscBlockedUser,mscDisconnected,mscInsufficientPrivileges, mscOverqueue);
... |
unit Optimizer.Template;
interface
uses
Generics.Collections,
Getter.OS.Version, OS.Version.Helper;
type
IOptimizationUnit = interface['{4B334B0F-9AB0-4D12-8CCB-8307FA239698}']
function IsOptional: Boolean;
function IsCompatible: Boolean;
function IsApplied: Boolean;
function GetName: String;
... |
unit UReadMemoryFrm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, PsAPI, TlHelp32;
type
TReadMemoryForm = class(TForm)
stat1: TStatusBar;
ReadMemoryProgress: TProgressBar;
private
{ Private declarations }
public
{ Public declar... |
{*******************************************************}
{ }
{ Delphi Runtime Library }
{ SOAP Support }
{ }
{ Copyright(c) 1995-2011 Embar... |
{ **************************************************************
Package: XWB - Kernel RPCBroker
Date Created: Sept 18, 1997 (Version 1.1)
Site Name: Oakland, OI Field Office, Dept of Veteran Affairs
Developers: Danila Manapsal, Don Craven, Joel Ivey, Herlan Westra
Description: Contains TRPCBroker and related comp... |
{
This file is part of the Free Component Library
Implementation of TJSONConfig class
Copyright (c) 2007 Michael Van Canneyt michael@freepascal.org
See the file COPYING.FPC, included in this distribution,
for details about the copyright.
This program is distributed in the hope that i... |
unit form_VerifyCapacity;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls;
const
RETAIL_1_KB = 1000;
RETAIL_1_MB = (RETAIL_1_KB * 1000);
RETAIL_1_GB = (RETAIL_1_MB * 1000);
SIZE_1_KB = 1024;
SIZE_1_MB = (SIZE_1_KB * ... |
unit uCommon;
interface
uses
SysUtils, IOUtils, Generics.Collections, IniFiles, DB, Classes,
uGlobal, uLogger, uSQLHelper;
procedure Initialize;
procedure Finalizat;
implementation
procedure SQLError(const SQL, Description: string);
begin
logger.Error(Description + #13#10 + SQL);
end;
procedure Initialize;
... |
unit DAOMember;
interface
uses
Generics.Collections,
DataAccessObjects, LTClasses;
type
TDAOMember = class(TDAOBase)
public
function Authentication(ID: string; Password: string): TAcademy;
function Validate(ID: string; Password: string): Boolean;
function Login(ID: string; Password: string): Boo... |
{*******************************************************}
{ }
{ Delphi Visual Component Library }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
Unit UnImportacaoDados;
Interface
Uses Classes, DBTables, Tabela, SysUtils, UnDados,SQLExpr, StdCtrls, ComCtrls ;
//classe funcoes
Type TRBFuncoesImportacaoDado = class
private
Aux,
Tabela,
TabelaMatriz : TSQL;
VprLabelQtd : TLabel;
VprBarraProgresso : TProgressBar;
function R... |
unit ServerContainerUnit;
interface
uses System.SysUtils, System.Classes,
Datasnap.DSTCPServerTransport,
Datasnap.DSServer, Datasnap.DSCommonServer,
Datasnap.DSAuth, IPPeerServer, vcl.ComCtrls,
System.Generics.Collections, Datasnap.DSHTTP;
type
TServerContainer1 = class(TDataModule)
DSServer1: TDSServe... |
{$A+,B-,D+,E-,F-,G+,I+,L+,N+,O-,P-,Q-,R-,S-,T-,V+,X+,Y+}
{$M 65520,0,655360}
{
by Behdad Esfahbod
Algorithmic Problems Book
September '1999
Problem 25 O(N2) Dfs Method
}
program
DiameterOfTree;
const
MaxN = 10000;
type
TArr = array [1 .. MaxN] of Integer;
var
N, E : Integer;
A : array [1 .. MaxN, 1 .. 2] ... |
unit fifo;
interface
uses windows, sysutils, math;
type
tFIFO=class
private
data:array of byte;
write_pos:integer;
read_pos:integer;
v_count:integer;
r_count:integer;
v_max:integer;
debug:integer;
critical_section:_RTL_CRITICAL_SECTION;
function get_free:integer;
procedure put(v:by... |
unit TestuCSVUpdater;
{
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.Gen... |
unit eSocial.Controllers.Configuracao;
interface
uses
System.SysUtils,
System.Classes,
eSocial.Controllers.Interfaces,
eSocial.Models.DAO.Interfaces,
eSocial.Models.DAO.Factory,
eSocial.Models.Entities.Configuracao;
type
TControllerConfiguracao = class(TInterfacedObject, IControllerConfigu... |
unit uconfig;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, inifiles;
const
ConfigFile = 'config.cfg';
type
{ TConfig }
TConfig = class
private
FCardPrefix: string;
FComPortName: string;
FCurrentCardValue: int64;
FEncoderMode: integer;
public
procedure Load;
procedure S... |
unit Vigilante.Build.DI;
interface
uses
ContainerDI.Base, ContainerDI.Base.Impl;
type
TBuildDI = class(TContainerDI)
public
class function New: IContainerDI;
procedure Build; override;
end;
implementation
uses
ContainerDI,
Vigilante.Build.View,
Vigilante.View.BuildURLDialog,
Vigilante.Build... |
unit MoveToCellFrm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Spin, Matrix32;
type
TMoveToCellForm = class(TForm)
Panel1: TPanel;
btnOK: TButton;
btnCancel: TButton;
Label1: TLabel;
Label2: TLabel;
... |
{**************************************************
llPDFLib
Version 6.4.0.1389, 09.07.2016
Copyright (c) 2002-2016 Sybrex Systems
Copyright (c) 2002-2016 Vadim M. Shakun
Al... |
unit tariff_test;
interface
uses System, VM_System, VM_SysUtils, VM_DateUtils;
implementation
type
TCZonePeriod = packed record
BeginDate: TDate;
EndDate: TDate;
ZoneInDate: TDateTime;
LastUseDate: TDateTime;
MAC: UInt32;
end;
TCWallet = packed record
BeginDate: TDateTime;
EndDate: TDa... |
{**********************************************************************}
{* Иллюстрация к книге "OpenGL в проектах Delphi" *}
{* Краснов М.В. softgl@chat.ru *}
{**********************************************************************}
unit frmMain;
interface
u... |
unit GrievanceLawyerCodeDialogUnit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, wwdblook, Db, DBTables;
type
TGrievanceLawyerCodeDialog = class(TForm)
OKButton: TBitBtn;
CancelButton: TBitBtn;
Label1: TLabel;
Label2: TLabel;
La... |
//------------------------------------------
// TASK 1 GLOBAL WARMING
//------------------------------------------
Program GlobalWarming;
TYPE
OneDArray = Array of LongInt; // note: LongInt is 32 bits.
//------------------------------------------
// Reading the input from stan... |
(***********************************************************)
(* xPLRFX *)
(* part of Digital Home Server project *)
(* http://www.digitalhomeserver.net *)
(* info@digitalhomeserver.net *)
(****... |
(*************************************************************************
Cephes Math Library Release 2.8: June, 2000
Copyright by Stephen L. Moshier
Contributors:
* Sergey Bochkanov (ALGLIB project). Translation from C to
pseudocode.
See subroutines comments for additional copyrights.
>>> SOUR... |
unit inc_1;
interface
implementation
var
i8: int8;
u8: uint8;
i16: int16;
u16: uint16;
i32: int32;
u32: uint32;
i64: int64;
u64: uint64;
procedure Init;
begin
i8 := 0;
u8 := 0;
i16 := 0;
u16 := 0;
i32 := 0;
u32 := 0;
i64 := 0;
u64 := 0;
end;
procedure Test1;
begin
inc(i8);
inc... |
{******************************************}
{ TeeChart }
{ Scroll Bars Example }
{ Copyright (c) 1995-2001 by David Berneda }
{ All Rights Reserved }
{******************************************}
unit uscrollb;
interface
uses
SysUtils, WinTyp... |
{*********************************************}
{ TeeChart Delphi Component Library }
{ Stacked Bar Series Example }
{ Copyright (c) 1995-1996 by David Berneda }
{ All rights reserved }
{*********************************************}
unit Ustack;
interface
uses
... |
{********************************************}
{ TeeChart Pro Charting Library }
{ Copyright (c) 1995-2004 by David Berneda }
{ All Rights Reserved }
{********************************************}
unit TeeDBSumEdit;
{$I TeeDefs.inc}
interface
uses
SysUtils, Classes,
{$IFDEF C... |
unit PascalCoin.Update.Classes;
interface
uses Spring, System.SysUtils, System.Classes, System.Generics.Collections,
PascalCoin.Update.Interfaces, PascalCoin.RPC.Interfaces;
type
TUpdatedAccount = class(TInterfacedObject, IUpdatedAccount)
private
FAccount: IPascalCoinAccount;
FStatus: TAccountUpdateStat... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
unit googledocs;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, sqlite3ds, otlog, configuration, utils, dateutils, spreadsheet, httpsend, synautil, ssl_openssl;
type
TStorageGoogleDocs = class(TThread)
private
CacheSS: Tstringlist;
CacheWS: Tstringlist;
CacheDocs: string;
GA... |
{: GLRagdoll<p>
Base abstract ragdoll class. Should be extended to use any physics system. <p>
<b>History :</b><font size=-1><ul>
<li>10/11/12 - PW - Added CPP compatibility: changed vector arrays to arrays of records
<li>23/08/10 - Yar - Added GLVectorTypes to uses
<li>09/11/05 - LucasG - Fixed ... |
{***********************************<_INFO>************************************}
{ <Проект> Компоненты медиа-преобразования }
{ }
{ <Область> Мультимедиа ... |
{*******************************************************}
{ }
{ Delphi DBX Framework }
{ Copyright(c) 2012-2018 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
unit GameService_Impl;
{$I RemObjects.inc}
interface
uses
System.SysUtils, System.Classes, System.TypInfo,
uROXMLIntf, uROClientIntf, uROClasses, uROTypes, uROServer, uROServerIntf,
uROSessions,
uRORemoteDataModule, uRORTTIAttributes, uRORTTIServerSupport, uROArray;
{$REGION 'brief info for Code... |
{geovar.pas:}
null2d : vt2d; null3d : vt3d; {Nullvektoren}
scalefactor: real;
{**fuer area_2d and curve2d:}
origin2d : vt2d;
{**fuer Parallel- und Zentral-Projektion:}
u_angle,v_angle, {Projektionswinkel}
rad_u,rad_v... |
unit ufrmTestToolbar;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, umyToolbars, System.Actions, Vcl.ActnList, Vcl.ImgList, Vcl.ComCtrls,
Vcl.ToolWin, Vcl.StdCtrls, types;
type
TForm24 = class(TForm)
A... |
unit ComCtrls;
{
LLCL - FPC/Lazarus Light LCL
based upon
LVCL - Very LIGHT VCL
----------------------------
This file is a part of the Light LCL (LLCL).
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was no... |
unit URegistros;
interface
uses
Classes, SysUtils, Graphics;
type
TRegistro = class(TCollectionItem)
private
FName: string;
FForeground: TColor;
FBackground: TColor;
FBold: boolean;
public
published
property Name: string read FName write FName;
property Foreground:... |
unit search;
interface
uses WinApi.Windows, System.SysUtils, System.Classes, fileTools;
type
TFileLocation = fileTools.TFileLocation;
PFileLocation = ^TFileLocation;
TTextEcncodingType = (encASCII, encUTF8, encUTF16);
TSearchField = (ffFolder,ffTime,ffFileAttr,ffFileSize,ffFileText);
TSear... |
{**
@Abstract(Выборка фреймов)
@Author(Prof1983 prof1983@ya.ru)
@Created(26.04.2006)
@LastMod(28.06.2012)
@Version(0.5)
}
unit AiSelectObj;
interface
uses
ATypes,
AiBase, AiFrameObj;
type //** Выборка фреймов
TAiSelectObject = class
private
FItems: array of TAId;
FQuery: String;
FSource: AiSourc... |
{-----------------------------------------------------------------------------
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.... |
(*
* Analizator LL(1) prostych wyrazen arytmetycznch.
*
*
* wersja 1.01
* author: Jerzy Wawro
*
*>--Copyright (c) 1991-2016, Galicea <fundacja@galicea.org>
*>--All rights reserved.
*>--License FreeBSD: see license.txt for details.
*)
program kalk_ll1;
uses Crt, Dos,
scaner;
const
StackSize = 25; {Maksyma... |
unit Module1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, IBConnection, sqldb, db;
type
{ TDataModule1 }
TDataModule1 = class(TDataModule)
IBCMaquina: TIBConnection;
qrImpRomaneioBEBERCOCO: TLongintField;
qrImpRomaneioBEBERLIMPO: TFloatField;
qrImpRomaneioCANCELADO: TStringField;
... |
{**
@Abstract Контрол фреймов
@Author Prof1983 <prof1983@ya.ru>
@Created 06.11.2006
@LastMod 17.12.2012
}
unit AiFramesControl2;
interface
uses
Classes, ComCtrls, Controls, StdCtrls,
AControlImpl,
AiKbCode, AiKbFrame;
type //** @abstract(Контрол фреймов)
TAIFramesControl = class(TAControl)
private
FTr... |
unit UnitCadastreCreditCard;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls,
FMX.Objects, FMX.Controls.Presentation, FMX.Layouts, FMX.Edit, FMX.ListBox, DateUtils
,StrUtils, System.Image... |
unit SSPatternBuilder;
interface
uses
System.RegularExpressions,
System.SysUtils,
System.StrUtils,
System.Generics.Collections,
System.Generics.Defaults;
type
TSSPatternBuilder = record
const
{ Predefined regular expressions }
_CPF = '^([0-9]{3}\.){2}[0-9]{3}-[0-... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.