text stringlengths 14 6.51M |
|---|
program Records;
{5 6 7 8 9 10 :-) Done.}
type
rec1 = record
a : integer;
b : integer
end;
rec2 = record
a: integer;
b: integer;
r : rec1
end;
var
i : integer;
r1 : rec1;
r2 : rec2;
procedure printInt(i:integer);
begin
putint(i);
putch(... |
{----------------------------------------------------------------------------}
{ Written by Nguyen Le Quang Duy }
{ Nguyen Quang Dieu High School, An Giang }
{----------------------------------------------------------------------------}
... |
unit USaveLoadToLPF;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, UVisualTools, typinfo, UTransformation, UFigures, Dialogs,
UGraph, UExceptions;
procedure Save(Put: AnsiString);
procedure Open(Loa: AnsiString);
implementation
procedure SaveFigure(ADest: TStrings; AFigure: TFigure);
var
PropInfo: P... |
unit ANovoContratoCliente;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios,
StdCtrls, Buttons, Componentes1, ExtCtrls, PainelGradiente, Mask,
Localizacao, ComCtrls, Spin, numericos, Constantes, UnDados, Grids,
CGrades, DBKeyViolation, UnContrato, Un... |
{ ---------------------------------------------------------------------------- }
{ BulbTracer for MB3D }
{ Copyright (C) 2016-2017 Andreas Maschke }
{ ---------------------------------------------------------------------------... |
unit BlockSizeSpreadBenchmark;
interface
uses
BenchmarkClassUnit, Math;
const
{The number of pointers}
NumPointers = 2000000;
{The maximum block size}
MaxBlockSize = 25; // *4
type
TBlockSizeSpreadBench = class(TFastcodeMMBenchmark)
protected
FPointers: array[0..NumPointers - 1] of PChar;
publi... |
{** Message Digest 5 : Rotina de criação de chave fixa a partir de uma semente. }
unit osMD5;
{
Algoritmo de Message Digest MD5
(c) 1991-1992, RSA Data Security, Inc. All rights reserved.
A partir do código original em C
$Header: \FW/Lib/osMD5.pas,v 1.1.1.1 2004/12/10 19:19:28 Ricardo Acras Exp $
$... |
unit VAClasses;
interface
uses
Windows, Controls, Classes, SysUtils, Types, RTLConsts;
type
TVABaseMethodList = class(TObject)
strict private
FCode: TList;
FData: TList;
strict protected
function GetMethod(index: integer): TMethod;
property Code: TList read FCode;
property Data: TList rea... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2014-2018 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
unit OpenURLUtil;
interface
{$mode objfpc}{$h+}
// Using Win32Proc binds the unit to LCL
// to break the binding, check for Unicode Windows must be done manually
// CarbonProc CreateCFString should also be replaced with MacOSAll code
{$ifdef Windows}
uses ShellAPI, Win32Proc;
{$endif}
{$ifdef LINUX}
uses SysUtils... |
unit ServiceUnit;
interface
uses Windows, WinSvc;
function ServiceGetStatus(sMachine, sService: PChar): DWORD;
function ServiceStart(sMachine, sService : string ) : boolean;
function ServiceStop(sMachine, sService : string ) : boolean;
implementation
function ServiceGetStatus(sMachine, sService: ... |
{*******************************************************}
{ }
{ Delphi LiveBindings Framework }
{ }
{ Copyright(c) 2011-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls,system.Types,
Vcl.Buttons, Vcl.Grids, ComObj ;
type
//===========================================CLASS CHA... |
{*
FormProgress.pas/dfm
---------------------
Begin: 2005/07/14
Last revision: $Date: 2010-11-01 20:40:51 $ $Author: rhupalo $
Version number: $Revision: 1.21 $
Project: APHI General Purpose Delphi Libary
Website: http://www.naadsm.org/opensource/delphi/
Author: Aaron Reeves <aaron.reeves@naadsm.org>
------------------... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ }
{ Notification Center implementation for MacOS }
{ ... |
unit acao;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, Buttons, CheckLst, ComCtrls, DB, ADODB,
DBTables, Grids, DBGrids;
type
TfrmAcao = class(TForm)
Shape1: TShape;
Shape2: TShape;
Label1: TLabel;
Shape3: TShape;
... |
PROGRAM Diagonalsummen;
const size = 4;
type Matrix = ARRAY [1..size, 1..size] OF INTEGER;
type DiagonalSums = ARRAY [1..size] OF INTEGER;
PROCEDURE CalculateDiagonalSums(m: Matrix; VAR d: DiagonalSums);
var i, j: integer;
BEGIN (* CalculateDiagonalSums *)
FOR i := 1 TO size DO BEGIN
d[i] :... |
unit MainFrm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, Menus;
type
TMainForm = class(TForm)
MainMenu1: TMainMenu;
N1: TMenuItem;
N2: TMenuItem;
N3: TMenuItem;
pgc: TPageControl;
procedure N2Click(Sender: TObject);
p... |
{
Ultibo QEMU Launcher Tool.
Copyright (C) 2022 - SoftOz Pty Ltd.
Arch
====
<All>
Boards
======
<All>
Licence
=======
LGPLv2.1 with static linking exception (See COPYING.modifiedLGPL.txt)
Credits
=======
Information for this unit was obtained from:
References
==========
QEMU Launcher
=============
... |
unit FC.StockChart.UnitTask.ValueSupport.DataGridDialog;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Contnrs,
Dialogs, BaseUtils,SystemService, ufmDialogClose_B, ufmDialog_B, ActnList, StdCtrls, ExtendControls, ExtCtrls, Spin,
StockChart.Definitions,StockChart.Defini... |
(*
Implementation of typical Observable.
Before deciding to implement your own Observable,
check here.
--- Implicit infrastructure ---
There are principles that may not be obvious in the code.
One of the most important is that no event will be issued
after the sequence is complete (onError or... |
unit char_to_str_2;
interface
implementation
var C: Char = 'Þ';
S: string;
procedure Test;
begin
S := C;
end;
initialization
Test();
finalization
Assert(S = C);
end. |
{*******************************************************}
{ }
{ Delphi FireMonkey Platform }
{ }
{ Copyright(c) 2011 Embarcadero Technologies, Inc. }
{ ... |
unit uStatusEcho;
interface
procedure StatusEchoInit;
procedure StatusEchoFree;
implementation
uses Windows, SysUtils, DateUtils, Classes, IdUDPServer, IDSocketHandle;
type
TUDPServerOwner = class
constructor Create;
destructor Destroy; override;
private
FInitUDPOK: boolean;
FU... |
{-------------------------------------------------------------------------------
// EasyComponents For Delphi 7
// 一轩软研第三方开发包
// @Copyright 2010 hehf
// ----------------------------... |
unit UStopWatch;
interface
uses
Winapi.Windows, System.Classes, System.SysUtils, System.DateUtils;
type
TStopWatch = class
private
FOwner: TObject;
fFrequency: TLargeInteger;
fIsRunning: Boolean;
fIsHighResolution: Boolean;
fStartCount, fStopCount: TLargeInteger;
fActive: Boolean;
pr... |
unit FC.Trade.ViewAlertersDialog;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ufmDialogClose_B, StdCtrls, ExtendControls, ExtCtrls, ComCtrls,
FC.Definitions, ActnList, Menus, ActnPopup;
type
TfmViewAlertersDialog = class(TfmDialogClose_B)
Label1: TLa... |
unit jsonquery;
interface
uses
classes,sysutils,DB,DBClient,dialogs,superobject,httpsend;
type
TJSONQuery = class(TCustomClientDataSet)
private
FURL: string;
FAuthor: string;
procedure resetState;
function MemoryStreamToString(M: TMemoryStream): string;
procedure JSONToData(AD... |
program Sample;
begin
WriteLn(1);
WriteLn(2.1);
WriteLn('a string');
WriteLn(#65);
WriteLn('Hello ', 1);
end.
|
{*******************************************************}
{ }
{ FMX UI 日志输出模块 }
{ }
{ 版权所有 (C) 2013 YangYxd }
{ ... |
unit FC.StockChart.UnitTask.ValueSupport.StatisticsDialog;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Contnrs,
Dialogs, BaseUtils,SystemService, ufmDialogClose_B, ufmDialog_B, ActnList, StdCtrls, ExtendControls, ExtCtrls, Spin,
StockChart.Definitions,StockChart.Def... |
{*******************************************************}
{ }
{ Delphi LiveBindings Framework }
{ }
{ Copyright(c) 2011-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit CmdLineParameters;
interface
uses
Classes;
procedure Initialize;
function ParamAsString(name : String; isRequired : Boolean = false; sDefault : String = '') : String;
function ParamAsInteger(name : String; isRequired : Boolean = false; sDefault : String = '') : Integer;
function ParamAsBoolean(name : S... |
unit uControls;
{$mode objfpc}{$H+}
interface
uses Classes, SysUtils, ExtCtrls, StdCtrls, ComCtrls, u_xpl_sender;
type { TxPLActionPanel }
TxPLActionPanel = class(TPanel)
private
fImage : TImage;
fName : TLabel;
fStatus : TLabel;
fAct1 : TButton;
... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.StdCtrls;
type
TForm1 = class(TForm)
Memo1: TMemo;
ListView1: TListView;
btnProses: TButton;
procedure FormCreate(S... |
unit uTestuDrawingPage;
{
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, Windows, u... |
unit typeid_1;
interface
implementation
var
id: TDataTypeID;
procedure Test;
begin
id := typeid(id);
end;
initialization
Test();
finalization
Assert(id = dtEnum);
end. |
unit AdminMainForm;
interface
uses
NewMemberForm,
DAOMember,
ResultForm,
EstimateForm,
LTClasses,
Generics.collections,
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Grids, BaseGrid, AdvGrid;
type
TfrAdminMain = class(TLTForm)
btEstimateView: TBut... |
(*
* This code was generated by the TaskGen tool from file
* "DCCTask.xml"
* Version: 16.0.0.0
* Runtime Version: v2.0.50727
* Changes to this file may cause incorrect behavior and will be
* overwritten when the code is regenerated.
*)
unit DCCStrs;
interface
const
sTaskName = 'dcc';
// Compiling
sOpti... |
program Z;
uses graphABC;
const
H = 480;
W = 600;
winColor = clWhite;
procedure Brush
(
color: System.Drawing.Color;
style: System.Drawing.Drawing2D.DashStyle;
width: integer
);
{ Sets brush options }
begin
SetPenColor(color);
SetPenStyle(style);
... |
unit SDIMAIN;
interface
uses Winapi.Windows, System.Classes, Vcl.Graphics, Vcl.Forms, Vcl.Controls,
Vcl.Menus, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls, Vcl.ComCtrls,
Vcl.ImgList, Vcl.StdActns, Vcl.ActnList, Vcl.ToolWin, System.ImageList,
System.Actions, Vcl.Samples.Spin, Vcl.Grids, SysUtils, Vcl.Ch... |
{******************************************************************************}
{ VCLThemeSelector Launcher by Carlo Barazzetta }
{ A simple example to launch VCLThemeSelector }
{ ... |
(*****************************************************************************
* *
* This file is part of the UMLCat Component Library. *
* *
* ... |
unit frm_Settings;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ActnList, XPStyleActnCtrls, ActnMan, ToolWin, ActnCtrls, StdCtrls,
ExtCtrls, Grids, ValEdit;
type
TfrmSettings = class(TForm)
ActionToolBar1: TActionToolBar;
ActionManager1: TActionMa... |
unit Test_FIToolkit.Config.FixInsight;
{
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,
FITool... |
{
https://www.cnblogs.com/gw811/archive/2012/10/12/2720777.html
【算法分析】表达式不合法有三种情况:①左右括号不匹配;②变量名不合法;③运算符两旁无参与运算的变量或数。
分析表达式树可以看到:表达式的根结点及其子树的根结点为运算符,其在树中的顺序是按运算的先后顺序从后到前,表达树的叶子为参与运算的变量或数。
例如,表达式:a+(b-c)/d
运算顺序: ③ ① ②
表达式树如图8-11-2
处理时,首先找到运算级别最低的运算符“+”作为根结点,继而确定该根结点的左、右子树结点在表达式串中的范围为a和(b-c)/d,再在对应的范围内寻找运算级别最低的运... |
unit Ths.Erp.Database.Table.AracTakip.Arac;
interface
uses
SysUtils, Classes, Dialogs, Forms, Windows, Controls, Types, DateUtils,
FireDAC.Stan.Param, System.Variants, Data.DB,
Ths.Erp.Database,
Ths.Erp.Database.Table;
type
TArac = class(TTable)
private
FMarka: TFieldDB;
FModel: TFieldDB;
FPl... |
unit MyShlObj;
interface
uses ShlObj, ShellApi, windows;
const
{
// Следующие идентификаторы имеются в модуле ShlObj:
CSIDL_DESKTOP = $0000;
// Виртуальный каталог, представляющий Рабочий стол. (Корень в проводнике)
CSIDL_INTERNET = $0001;
// Виртуальный каталог для Internet Explorer.
CSIDL_PROGRAMS = $0002;
// Меню... |
unit uMidiDevices;
interface
uses KbdMacro,
Windows, Messages, Classes, MidiIn, MidiType, MidiCons;
const
WM_MIDI_KEY = WM_USER + 304;
type
TMIDIDevice = class (THIDKeyboard)
private
fMidiIn: TMidiInput;
procedure ReceivedMidiInput(Sender: TObject);
public
constructor Create(pSystemID: stri... |
unit SqlThreadUnit;
interface
uses
Winapi.Windows, System.SysUtils, System.Classes, System.StrUtils,
System.Win.ComObj, Data.DB, Data.Win.ADODB, WinApi.ADOInt, Vcl.Dialogs,
Variants, ThreadUnit, StringGridsUnit, StringGridExUnit,
plugin;
type
TSqlThreadObject = class(TThreadExecObject)
private
FSql: ... |
unit cdrom;
{Great Amazing CD player !!!}
{Great Amazing CD player !!!}
{
this program will allow the control of multiple cd-rom audio drives
simultaniously.
I am not sure just yet what sort of an interface I'm going to provide
but we will soon see eh?
}
{ prototype #1, just get talking to an audi... |
{
Copyright (c) 1998-2002 by Florian Klaempfl, Pierre Muller
Tokens used by the compiler
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 2 of the License, or
(... |
unit tfAlarm;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ButtonPanel, StdCtrls,
Spin, ExtCtrls,
JvTFManager;
type
{ TAlarmForm }
TAlarmForm = class(TForm)
ButtonPanel1: TButtonPanel;
cmbTimeUnits: TComboBox;
Label1: TLabel;
EventLabel: TLabe... |
{
PROGRAM:
LogonLogoffSkv.exe
DESCRIPTION:
Register the logon/logoff action of an account in Splunk SKV format
USAGE:
LogonLogoffSkv.exe \\vm70as006.rec.nsint\INDEXEDBYSPLUNK LOGON P
LogonLogoffSkv.exe \\vm70as006.rec.nsint\INDEXEDBYSPLUNK LOGOFF T
VERSION:
02 2014-11-13 PVDH Ad... |
unit ResultAll;
interface
uses
Classes,OlegFunction,SomeFunction,OlegMath;
type TArguments=(aFe,aB,aT,aD);
const
DirectoryNames:array[TArguments]of string=
('Iron','Boron','Temperature','Thickness');
ShortDirectoryNames:array[TArguments]of string=
('Fe','Bo','T','d');
FileHeaderName... |
unit ServerConsts;
interface
const
JWT_SECRET: string = 'EREWR6DF8S7FSDF7SDFS9F7FSF7SFSFSNF';
API_VERSION: string = '1.00';
implementation
end.
|
unit UnitTransfersManager;
interface
uses
Windows, SocketUnit, UnitConstants, UnitVariables, UnitFunctions, UnitConfiguration,
UnitInformations, UnitConnection;
procedure SendFile(Filename: string; Filesize, Begining: Int64);
function ReceiveFile(Filename, Destination: string; Filesize: Int64; ToSend:... |
unit TrackLoginsUnit;
interface
uses SysUtils, WinTypes, WinProcs, Messages, Classes, DB, DBTables;
Procedure TrackUserLogin(UserID : String;
ActionType : Integer);
const
lgIn = 0;
lgOut = 1;
implementation
{===================================================================}
Function... |
unit uFIFO_async;
interface
uses windows, sysutils, math,
uFIFO_rec;
{$Q-}
{$R-}
type
tFIFO_async=class
private
fifo_buffer : array of byte;
crit_section_read :_RTL_CRITICAL_SECTION;
crit_section_write :_RTL_CRITICAL_SECTION;
function get_size : integer;
function get_free : integer;
functio... |
(*************************************************************************
Copyright (c) 2007, Sergey Bochkanov (ALGLIB project).
>>> SOURCE LICENSE >>>
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 Foun... |
unit ThSort;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, StdCtrls;
type
TThreadSortForm = class(TForm)
StartBtn: TButton;
BubbleSortBox: TPaintBox;
SelectionSortBox: TPaintBox;
QuickSortBox: TPaintBox;
Label1: TLabel;
Bevel1: TBevel... |
unit uImportacaoDogus;
interface
uses
uImportacao, Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, JvExStdCtrls, JvGroupBox, ExtCtrls, IOUtils,
FMTBcd, DB, SqlExpr, DateUtils, xmldom, XMLIntf, msxmldom, XMLDoc,
IdBaseComponent, IdComponent, IdTCPConnecti... |
namespace RemObjects.SDK.CodeGen4;
uses
RemObjects.Elements.RTL;
type
RodlServiceEntity = public abstract class (RodlComplexEntity<RodlInterface>)
public
constructor;
begin
inherited constructor("Interface");
end;
property DefaultInterface: RodlInterface read if Count > 0 ... |
unit chpcConversas;
interface
uses
SysUtils,
Classes,
Controls,
chBase,
chfrConversa,
cxPC;
type
TchpcConversas = class ( TcxPageControl )
private
FClasseFrameConversa : TchClasseFrameConversa;
FChat : TClienteChat;
function GetConversa(Index: Integer): TchFrameConversa;
... |
unit HttpConnection;
interface
uses Classes;
type
THttpConnectionType = (hctUnknown, hctIndy, hctWinHttp);
IHttpConnection = interface
['{B9611100-5243-4874-A777-D91448517116}']
function SetAcceptTypes(AAcceptTypes: string): IHttpConnection;
function SetContentTypes(AContentTypes: string): IHttpConnec... |
{*******************************************************************************
Title: T2Ti ERP
Description: Classe de controle dos totais de tipos de pagamento.
The MIT License
Copyright: Copyright (C) 2010 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and a... |
unit FMX.Toast.Windows;
interface
uses
System.SysUtils, System.Classes, System.Types, System.UITypes, FMX.Types, FMX.TextLayout,
FMX.Controls, FMX.Graphics, FMX.Ani, FMX.Forms, FMX.Layouts,
System.Generics.Collections, DateUtils;
type
TWindowsToastDuration = (ToastDurationLengthShort, ToastDuration... |
unit ltr24api;
interface
uses SysUtils, ltrapitypes, ltrapidefine, ltrapi;
const
// Текущая версия библиотеки.
LTR24_VERSION_CODE = $02000000;
// Количество каналов.
LTR24_CHANNEL_NUM = 4;
// Количество диапазонов в режиме диф. входа.
LTR24_RANGE_NUM = 2;
// Количес... |
unit Initializer.PhysicalDrive;
interface
uses
SysUtils, Graphics,
Global.LanguageString,
Initializer.Mainpart, Initializer.PartitionAlign,
Initializer.ReplacedSector, Initializer.SMART, BufferInterpreter,
Initializer.TotalWrite, Initializer.CriticalWarning, Support,
OS.Version.Helper, Getter.OS.Version;
... |
{*******************************************************}
{ }
{ Delphi FireMonkey Platform }
{ }
{ Copyright(c) 2011 Embarcadero Technologies, Inc. }
{ ... |
// Ported CrystalDiskInfo (The MIT License, http://crystalmark.info)
unit SMARTSupport.Plextor;
interface
uses
BufferInterpreter, Device.SMART.List, SMARTSupport, Support;
type
TPlextorSMARTSupport = class(TSMARTSupport)
private
function IsCFDSSD(const Model: String): Boolean;
function IsPlextorSSD(con... |
unit FIToolkit.Reports.Parser.Consts;
interface
uses
System.SysUtils,
FIToolkit.Reports.Parser.Types,
FIToolkit.Localization;
const
{ FixInsight message types. Do not localize! }
REGEX_FIMSG_CODING_CONVENTION = '^C[0-9]+$';
REGEX_FIMSG_FATAL = '^FATAL$';
REGEX_FIMSG_OPTIMIZATION = '... |
unit Utils;
interface
uses
uniPanel, uniPageControl,uniGUIFrame,forms,System.SysUtils,uniGUIDialogs,
uniGUITypes, uniGUIAbstractClasses,uniGUIVars,
uniGUIClasses, uniGUIRegClasses, uniGUIForm, uniGUIBaseClasses, Vcl.Controls;
procedure AddTab(PC:TuniPageControl;FrameAba: TFrame; Titulo: string);
procedure ... |
// released under MIT license
unit Unit2;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Windows, Dialogs, StrUtils;
var
ComPort: array[0..4] of Char = 'COM1'; // COMxx
PowPort: Integer = 1;
FatalError: Boolean = False;
procedure PowerOn();
procedure PowerOff();
function GetPower(): Boolean;
functi... |
unit Test.CommonRoutines;
interface
uses Windows, TestFrameWork, GMGlobals;
type
TCommonRoutinesTest = class(TTestCase)
private
protected
procedure SetUp; override;
procedure TearDown; override;
published
procedure MultiLineSplit;
procedure Zip;
procedure Md5;
procedure Buf_WriteStrin... |
{$G+}
Unit Files;
{
Files library v1.0
by Maple Leaf, 13 Nov 1996
-------------------------------------------------------------------------
no comments necessary...
}
interface
uses String_s, Dos;
Const
OwnDirectory : String = '';
OwnFileName : String = '';
OwnPath : String = '';
function ... |
unit nii_label;
{$IFDEF FPC}
{$mode delphi}
{$ENDIF}
interface
uses
{$IFNDEF FPC}
gziod,
{$ELSE}
gzio2,
{$ENDIF}
dialogs,Classes, SysUtils, define_types;
procedure createLutLabel (var lut: TLUT; lSaturationFrac: single);
procedure LoadLabels(lFileName: string; var lLabels: TStrRA; lOffset,lLength: integer);
pro... |
{*******************************************************************************
作者: dmzn@163.com 2013-12-04
描述: 模块业务对象
*******************************************************************************}
unit UWorkerBusinessCommand;
{$I Link.Inc}
interface
uses
Windows, Classes, Controls, DB, ADODB, SysU... |
unit uFormMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Datasnap.DBClient, Vcl.StdCtrls,
MidasLib;
type
TForm1 = class(TForm)
Memo1: TMemo;
cdsMain: TClientDataSet;
... |
// Designer : Elisabeth Levana (16518128)
// Coder : Elisabeth Levana (16518128)
// Tester : Morgen Sudyanto (16518380)
unit F10;
//tambahJumlahBuku
interface
uses typeList,tools;
procedure tambahJumlahBuku(var lbuku:listbuku);
{Buku yang sudah ada ditambahkan jumlahnya dalam file buku.csv}
implementation... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC FireMonkey script processing form }
{ }
{ Copyright(c) 2004-2018 Embar... |
unit QEMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Buttons, Vcl.StdCtrls,StrUtils, shellapi;
type
QEClass = class (TObject)
private
procedure FindExclude( workspace : string; i:integer; Sha... |
unit ufrmSysGridDefaultOrderFilter;
interface
{$I ThsERP.inc}
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Vcl.StdCtrls, ExtCtrls, ComCtrls, StrUtils, Vcl.Menus,
Vcl.Samples.Spin, Vcl.AppEvnts,
Ths.Erp.Helper.Edit,
Ths.Erp.Helper.Memo,
Ths.Erp.Helper.ComboBox,... |
unit NtUtils.Profiles;
interface
uses
Winapi.WinNt, NtUtils.Exceptions, NtUtils.Security.Sid;
type
TProfileInfo = record
Flags: Cardinal;
FullProfile: LongBool;
ProfilePath: String;
end;
TAppContainerInfo = record
Name: String;
DisplayName: String;
IsChild: Boolean;
ParentName: S... |
{
@html(<b>)
TCP/IP Client Connection
@html(</b>)
- Copyright (c) Danijel Tkalcec
@html(<br><br>)
Introducing the @html(<b>) @Link(TRtcTcpClient) @html(</b>) component:
@html(<br>)
Client connection component for pure TCP/IP communication using raw data.
There will be no special pre-set formatting wh... |
unit StoreHouseForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, DictonaryForm, RootForm, cxGraphics,
cxLookAndFeels, cxLookAndFeelPainters, Vcl.Menus, dxSkinsCore, dxSkinBlack,
dxSkinBlue, dxSkinBlueprin... |
{*******************************************************}
{ }
{ Delphi REST Client Framework }
{ }
{ Copyright(c) 2014-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit UserAuthContentForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ImgList, ComCtrls, ToolWin, ExtCtrls, StdCtrls, Grids, DBGrids,
adodb, db, clsDataConnect, clsGlobal, clsUserAuthContentControl, clsCommFunction, clsClientDtSet;
type TState = (dsInsert... |
unit clsTUsuario;
{$M+}
{$TYPEINFO ON}
interface
uses
System.SysUtils,
System.Classes,
System.JSON,
System.Rtti,
REST.JSON,
Data.DBXJSON,
Data.DBXJSONReflect,
clsTUsuarioDTO,
clsTUsuarioDAO,
libEnumTypes;
type
TUsuario = class
private
FMarshal: TJSONMarshal;
... |
// Ported CrystalDiskInfo (The MIT License, http://crystalmark.info)
unit SMARTSupport.Micron.Old;
interface
uses
SysUtils,
BufferInterpreter, Device.SMART.List, SMARTSupport, Support;
type
TOldMicronSMARTSupport = class(TSMARTSupport)
private
function ModelHasMicronString(const Model: String): Boolean;
... |
{ SMIX is Copyright 1995 by Ethan Brodsky. All rights reserved. }
unit Detects;
interface
function GetSettings
(
var BaseIO : word;
var IRQ : byte;
var DMA : byte;
var DMA16 : byte
): boolean;
{Gets sound card settings from BLASTER environment ... |
unit mGMV_PrinterSelector;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, ComCtrls, StdCtrls;
type
TfrGMV_PrinterSelector = class(TFrame)
Panel1: TPanel;
edTarget: TEdit;
lvDevices: TListView;
tmDevice: TTimer;
gbDevice: TGroupBox;
pro... |
unit uLivroControl;
interface
uses
uLivroModel, System.SysUtils, FireDAC.Comp.Client;
type
TLivroControl = class
private
FLivroModel: TLivroModel;
public
constructor Create;
destructor Destroy; override;
function Salvar: Boolean;
function Obter: TFDQuery;
function Buscar: TFDQuery;
... |
unit BlockChain.BaseBlock;
interface
uses
System.SysUtils,
App.Types,
BlockChain.Types;
type
TBaseBlock = class abstract
protected
Header: THeader;
public
function GetHeader: THeader;
function GetSizeBlock: uint64; virtual; abstract;
function GetData: TBytes; virtual; abstract;
functio... |
unit fw_vm_constants;
interface
uses fw_vm_types,fw_system_types;
const
// Flags de funcionamiento de la VM: Mode_Flags
opV_DebugOn =$000001; // 000000001
opV_DebugOff =$FFFFFE; // 111111110
opV_StopOn =$000002; // 000000010
opV_StopOff =$FFFFFD; // 1111111... |
unit DocumentTypeDialog;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, Buttons;
type
TDocumentTypeDialogForm = class(TForm)
PreviousButton: TBitBtn;
CancelButton: TBitBtn;
Panel1: TPanel;
NextButton: TBitBtn;
Notebook: TNotebook... |
/ *****************************************************************
// ** COMPANY NAME: HPA Systems
// *****************************************************************
// ** Application......:
// **
// ** Module Name......: LinkedLists.pas
// ** Program Name.....:
// ** Program Description: L... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC Oracle driver }
{ }
{ Copyright(c) 2004-2018 Embar... |
{*******************************************************}
{ }
{ Borland Delphi Run-time Library }
{ Control Panel extension DLL definitions }
{ }
{ Copyright (c) 1985-19... |
unit BCEditor.Editor.Selection.Colors;
interface
uses
Classes, Graphics, BCEditor.Consts;
type
TBCEditorSelectedColor = class(TPersistent)
strict private
FBackground: TColor;
FForeground: TColor;
FOnChange: TNotifyEvent;
procedure SetBackground(Value: TColor);
procedure SetFor... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.