text stringlengths 14 6.51M |
|---|
program someName(input, output);
var
n, result : integer;
procedure factorial(k : integer; var answer : integer);
begin
if k = 0 then
answer := 1
else
begin
factorial(k - 1, answer);
answer := answer * k
end
end; { factorial }
begin
writeString('Value for n: ');
readInteger... |
unit TImageTextButtonData;
interface
uses
System.SysUtils, System.Classes, FMX.Types, FMX.Controls, FMX.Layouts,
FMX.Edit, FMX.StdCtrls, FMX.Clipboard, FMX.Platform, FMX.Objects,
System.Types, StrUtils, FMX.Dialogs, misc;
type
TImageTextButton = class(TButton)
private
{ Private declarations }
proce... |
Program trees;
Type
root = ^tree;
tree = Record
data : integer;
left : root;
right: root;
End;
Type
node = ^list;
list = Record
data : integer;
next : node;
End;
Type
fnReturn = ^returnBlok;
returnBlok = Record
val : integer;
child: node;
next: fnReturn;
End;
... |
unit MessageBox;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, StdCtrls, FramedButton, InternationalizerComponent;
type
TMsgBoxFrm = class(TForm)
BorderPanel: TPanel;
Panel2: TPanel;
CaptionPanel: TPanel;
TextPanel: TPanel;
Text: TLabel;
... |
{
Clever Internet Suite
Copyright (C) 2013 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clGZip;
interface
{$I clVer.inc}
uses
{$IFNDEF DELPHIXE2}
SysUtils, Windows, Classes,
{$ELSE}
System.SysUtils, Winapi.Windows, System.Classes,
{$ENDIF}
clZLibStreams, clZLibBase, clWUtils, ... |
unit Cargos;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.StdCtrls, Vcl.Grids,
Vcl.DBGrids, Vcl.Buttons;
type
TFrmCargos = class(TForm)
btnNovo: TSpeedButton;
btnSalvar: TSpeedButton;... |
unit TestBaseJsonMarshalUnit;
interface
uses
TestFramework, Classes, SysUtils;
type
TTestBaseJsonMarshal = class abstract(TTestCase)
protected
procedure SaveTestDataToFile(s: String);
procedure CheckEquals(EtalonFilename: String; Actual: String);
function EtalonFilename(TestName: String): String;
... |
unit Mensa;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, DB, DBTables, StdCtrls, Grids, DBGrids, Buttons,
ExtCtrls, NxColumns, NxColumnClasses, NxScrollControl,
NxCustomGridControl, NxCustomGrid, NxGrid, FMTBcd, SqlExpr, Menus;
type
TfrmMensa ... |
unit PowerPointUtils;
interface
uses Classes, MainUtils, ResourceUtils, ActiveX, ComObj, WinINet, Variants, sysutils, Types, StrUtils;
type
TPowerPointConverter = Class(TDocumentConverter)
Private
FPPVersion : String;
PPApp : OleVariant;
public
constructor Create();
function CreateOfficeA... |
program fppower;
{
Rtl_power produces a compact CSV file with minimal redundancy. The columns are:
date, time, Hz low, Hz high, Hz step, samples, dB, dB, dB, ...
Date and time apply across the entire row. The exact frequency of a dB value can be found by (hz_low + N * hz_step). The samples column indicated how many... |
{
Wolverine Hudson Message Base Extensions - 13th Dec 96 - 03:46 - SSG
}
unit WHudson;
interface
uses WTypes;
type
PHudsonBase = ^THudsonBase;
THudsonBase = object(TObject)
constructor Init(awhere,apacketid:FnameStr);
function Load:boolean;virtual;
function ReadMsgText(amsg:PMsg):PMsgText;virtu... |
unit ufrmSettingAplikasi;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ufrmDefault, cxGraphics, cxControls,
cxLookAndFeels, cxLookAndFeelPainters, dxBarBuiltInMenu, Vcl.Menus, cxStyles,
cxCustomData, cxFil... |
unit DW.PushKit;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-Platform Library }
{ ... |
unit BaseDataIO;
interface
uses
DataChain;
type
PDataIO = ^TDataIO;
PDataBuffer = ^TDataBuffer;
PDataBufferNode = ^TDataBufferNode;
TDataIO = packed record
Owner : Pointer;
DoDataIn : procedure(ADataIO: PDataIO; AData: PDataBuffer);
DoDataOut ... |
unit guests;
interface
uses net,jpeg,main,common;
type
TGuestChar = class(TObject)
private
fimage:TJPEGImage;
fnick: String;
fcol: word;
fvisible:boolean;
fnpc:boolean;
filh,firh,fineck,fiarm,fihead,firring,filring,ficloak,figaunt,fiboot,fibp,firap,filap,firfp,filfp:integer;
f... |
Unit HashMap;
{=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=]
Copyright (c) 2013, Jarl K. <Slacky> Holta || http://github.com/WarPie
All rights reserved.
For more info see: Copyright.txt
[=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=}
interface
(... |
unit QRAbsDatas;
//********************************************************************
//
// TQRAbstractTable : TDataset with no underlying database
//
// (c) QBS 2003/4/5/6/10/11/12
//
// 3/05/2006 Upgraded with GetRecordEvent to fix extra record bug.
// 26/01/2010 improved Prior implementation
// 17/01/... |
unit udebug;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, DateUtils, uLimitedStringList, Dialogs;
procedure DebugLog(Usuario: string; API: string; Mensaje: string);
procedure DebugLog(Usuario: string; API: string; OK: boolean);
procedure InitLog;
implementation
var
LastDebugTime: TDateTime;
DebugFi... |
unit Unit6;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TForm6 = class(TForm)
Memo1: TMemo;
Memo2: TMemo;
Button1: TButton;
Button2: TButton;
Button3: TButton;
... |
unit kwRGB2String;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "ScriptEngine"
// Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwRGB2String.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML model, root ele... |
unit GX_CompRenameConfig;
{$I GX_CondDefine.inc}
interface
uses
Forms, StdCtrls, Classes, Controls, Messages, Grids, Menus, Dialogs, ActnList,
ExtCtrls, GX_BaseForm;
const
UM_SHOW_CONTROL = WM_USER + 133;
resourcestring
SNotFound = 'not found: %s';
type
TEditMode = (emRead, emEdit, emIn... |
unit ATImage;
interface
uses
Windows, Messages, Classes, Controls, Graphics,
ExtCtrls,
FBits, FTrack;
//These are global flags (for all images)
var
FMapImagesStop: Boolean = False; //Disables drawing during dragging
FMapImagesResample: Boolean = True; //Enables resampling on drawing
type
TATImageEx = ... |
unit SelectDateForma;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ExtCtrls, frmDateSelect;
type
TSelectDateForm = class(TForm)
frDates: TfrmRequestDate;
pnlBTNS: TPanel;
Panel1: TPanel;
bbOk: TBitBtn;
bbCancel: TBitB... |
unit ce_interfaces;
{$I ce_defines.inc}
interface
uses
Classes, SysUtils, actnList, menus, process,
ce_synmemo, ce_project, ce_observer;
type
(**
* An implementer declares some actions on demand.
*)
ICEContextualActions = interface
['ICEContextualActions']
// declares a context name for the act... |
{$define PROFILE}
unit ItemEdit2;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,Planner,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, CurvyControls, W7Classes, W7Bars,
PAFPlanner, AdvGlassButton, AdvSmoothPanel;
type
TPafEditForm = class(TCustomItem... |
{$IfNDef vcmChromeLikeTabUpdater_imp}
// Модуль: "w:\common\components\gui\Garant\VCM\implementation\Visual\ChromeLike\vcmChromeLikeTabUpdater.imp.pas"
// Стереотип: "Impurity"
// Элемент модели: "vcmChromeLikeTabUpdater" MUID: (53B6495D0309)
// Имя типа: "_vcmChromeLikeTabUpdater_"
{$Define vcmChromeLikeTabUpdater_i... |
unit Volume;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, StdCtrls, INIFiles, ExtCtrls;
type
TfrmVolume = class(TForm)
chkMute: TCheckBox;
lblVolume: TLabel;
tbVolume: TTrackBar;
imgMute: TImage;
imgUnmute: TImage;
line: TS... |
unit LocalCacheManager;
interface
uses
GameTypes, MapTypes, LanderTypes;
type
TWorldAgents =
record
Manager : ILocalCacheManager;
Document : IGameDocument;
Map : IWorldMap;
end;
function GetWorldAgents(out Agents : TWorldAgents) : boolean;
implementation
uses
Classes, SysU... |
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// http://code.google.com/p/protobuf/
//
// author this port to delphi - Marat Shaymardanov, Tomsk 2007, 2018
//
// You can freely use this code in any project
// if sending any postcards with postage stamp... |
unit daSortField;
// Модуль: "w:\common\components\rtl\Garant\DA\daSortField.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TdaSortField" MUID: (5680EF290107)
{$Include w:\common\components\rtl\Garant\DA\daDefine.inc}
interface
uses
l3IntfUses
, l3ProtoObject
, daInterfaces
, daTypes
;
type
TdaSortField... |
unit EditImpl;
interface
uses
Windows, ActiveX, Classes, Controls, Graphics, Menus, Forms, StdCtrls,
ComServ, StdVCL, AXCtrls, EditXControl_TLB;
type
TEditX = class(TActiveXControl, IEditX)
private
{ Private declarations }
FDelphiControl: TEdit;
FEvents: IEditXEvents;
procedure ChangeEvent(Se... |
unit uEditorIntf;
interface
uses
Graphics, Dialogs;
type
TWordCount = record
AnsiChar: Integer;
MultiChar: Integer;
NumChar: Integer;
Other: Integer;
end;
IEditorIntf = interface
['{2D1EAB66-95CB-4EA9-B9B6-C271EA1DAA24}']
function GetFileName: string;
function GetSaved: Boolean;
... |
unit tb97WordsPack;
// Модуль: "w:\common\components\rtl\Garant\ScriptEngine\tb97WordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "tb97WordsPack" MUID: (54F591820236)
{$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc}
interface
{$If NOT Defined(NoScripts) AND NOT Defined(NoTB97... |
unit mnSynHighlighterNim;
{$mode objfpc}{$H+}
{**
*
* This file is part of the "Mini Library"
*
* @url http://www.sourceforge.net/projects/minilib
* @license modifiedLGPL (modified of http://www.gnu.org/licenses/lgpl.html)
* See the file COPYING.MLGPL, included in this distribution,
... |
unit ncsClientTransporter;
// Модуль: "w:\common\components\rtl\Garant\cs\ncsClientTransporter.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TncsClientTransporter" MUID: (544A0A0D0239)
{$Include w:\common\components\rtl\Garant\cs\CsDefine.inc}
interface
{$If NOT Defined(Nemesis)}
uses
l3IntfUses
, ncsTrans... |
//Exercicio 84: Receber a temperatura média de cada mês do ano e armazenar estas informações em um vetor. Calcular e
//exibir qual foi a maior e qual foi a menor temperatura do ano e em quais meses ocorreram.
{ Solução em Portugol
Algoritmo Exercicio 84; // Esse é igual o 69.
... |
program medCabinet;
uses crt, sysUtils;
Type
node = ^list;
list = Record
data : string;
next : node;
End;
Type
fnReturn = ^returnBlok;
returnBlok = Record
value : integer;
child: node;
next: fnReturn;
End;
Procedure nodeMakerV2 (Var el: node; data : string);
Begin
new(el);
... |
(*
Tg framework, FCL HTTP Daemon Broker
Copyright (C) 2014 Silvio Clecio
See the file LICENSE.txt, included in this distribution,
for details about the copyright.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILI... |
unit FocusMonitorForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls;
type
TfrmFocusMonitor = class(TForm)
btStart: TButton;
edInterval: TEdit;
Memo1: TMemo;
btClear: TButton;
tmrFocus: TTimer;
rgWinType: TRadioGrou... |
unit fpcorm_common_types;
{< @author(Andreas Lorenzen)
@created(2014-06-25)
@abstract(Common types, inherited into other objects throughout the project.)
This unit contains common interface declarations, that are applied in
multiple other places in the project. }
{$mode objfpc}{$H+}
interface
uses
Cl... |
{$MODE OBJFPC}
Const ginp='countmod.inp';
gout='countmod.out';
Var st:longint;
a,b:array[1..7] of int64;
Function Diophante(a,b,c:int64; var xx,lcm:int64):boolean;
Var m,n,r,xm,xn,xr,q:int64;
Begin
m:=a; n:=b;
xm:=1; xn:=0;
while n<>0 do
begin
... |
unit uMainFMX;
interface
uses System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf,
FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, Fire... |
unit vcmImageListForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, StdCtrls, Buttons, ImgList, ExtCtrls,
DesignEditors;
type
TvcmImageList = class(TForm)
ListView: TListView;
BitBtn1: TBitBtn;
BitBtn2: TBitBtn;
procedure ListVie... |
(*==========================================================================*
| unitEXGraphics |
| |
| Provides extended cursor and icon graphic objects that support 256 |
| color... |
unit BabelForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Rio, SoapHTTPClient, InvokeRegistry;
type
TForm1 = class(TForm)
HTTPRIO1: THTTPRIO;
btnTranslate: TButton;
EditSource: TEdit;
EditTarget: TEdit;
ComboBoxType: TComboB... |
unit GetDataU;
interface
uses
Classes, SysUtils;
type
TGetData = class(TThread)
private
FXMLText: string;
FURL: string;
FError: string;
FAfterGet: TNotifyEvent;
FUserAgent: string;
procedure DoAfterGet;
protected
procedure Execute; override;
public
constru... |
unit UPCSafeBoxTransaction;
interface
uses
UOrderedAccountList, UPascalCoinSafeBox, URawBytes, UOrderedRawList, UAccount, UAccountPreviousBlockInfo, UAccountInfo, UAccountKey, UOperationBlock;
type
{ TPCSafeBoxTransaction }
TPCSafeBoxTransaction = Class
private
FOrderedList : TOrderedAccountList;
FFr... |
unit drunkWalkman_form;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls,
Vcl.ComCtrls, Vcl.Grids,Math,drunkWalkman_options, Vcl.ImgList;
const halffoot = 15;
const footh = 23;
const f... |
{*****************************************************}
{ }
{ EldoS Themes Support Library }
{ }
{ (C) 2002-2003 EldoS Corporation }
{ http://www.eldos.com/ ... |
program imgprocess1;
{$mode objfpc}{$H+}
{$linklib cvtutils}
{ Raspberry Pi 3 Application }
{ Add your program code below, add additional units to the "uses" section if }
{ required and create new units by selecting File, New Unit from the menu. }
{ ... |
unit ddCodexDataHolder;
{ $Id: ddCodexDataHolder.pas,v 1.2 2016/07/18 10:49:49 fireton Exp $ }
interface
uses
l3Types,
l3ProtoObject,
l3StringList,
dt_Types,
ddAutolinkInterfaces;
type
TCodexDataHolder = class(Tl3ProtoObject, ICodexDataHolder)
private
f_ActualEdition: TddALDocRec;
f_Abbreviations: T... |
unit Modules;
interface
uses
Data, Common, System.IOUtils,
System.Generics.Collections;
type
/// <summary>
/// A module is a set of functions and types in a common namespace.
/// </summary>
TModule = class
protected
FSourceFile : string;
FContext : TContext;
FRuntime : TRuntime;
... |
unit GMIntServer;
interface
uses
GMKernel, Collection;
{$M+}
type
TCustomerInfo =
class
public
constructor Create( ObjId : integer; aCustomerId : TCustomerId );
private
fGMCustumer : IGMCustomer;
fCustomerId : TCustomerId;
function custIdToG... |
Unit H2ListBox;
Interface
Uses
Messages,Windows, Classes,Controls, ExtCtrls, SysUtils,GR32_Image,GR32,gr32_layers,Graphics;
Type
TH2ListBox = Class(TControl)
Private
fx,
fy,
fwidth,
fheight,
fcount,
findent,
ffirst,
findex,
fitemheight:Integer;
fvisi... |
unit k053260;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}sound_engine,misc_functions,timer_engine;
type
tKDSC_Voice=class
constructor create(adpcm_rom:pbyte;size:dword);
destructor free;
public
procedure play;
function voice_playing:boolean;
function read_rom:byte;
private
// liv... |
unit BasicAccounts;
interface
const
accIdx_None = -1;
accIdx_Master = 0;
accIdx_Roads = 1;
accIdx_Commerce = 3;
accIdx_Industries = 4;
accIdx_Public = 5;
accIdx_Firms = 7;
accIdx_RoadConstruction = 8;
accIdx_Road... |
(*==========================================================================;
*
* Copyright (C) 1995-1997 Microsoft Corporation. All Rights Reserved.
*
* File: d3drm.h
* Content: Direct3DRM include file
*
* DirectX 6 Delphi adaptation by Erik Unger
*
* Modyfied: 16.Jul.98
*
* Download: http://www.bigf... |
unit Control.Cadastro;
interface
uses Model.Cadastro, System.SysUtils, FireDAC.Comp.Client, Forms, Windows, Common.ENum, Classes;
type
TCadastroControl = class
private
FCadastro : TCadastro;
public
constructor Create;
destructor Destroy; override;
function Gravar: Boolean;
function Localiz... |
unit FileOpUtils;
// Copyright (c) 1996 Jorge Romero Gomez, Merchise.
interface
uses
Windows, ShellApi;
function CopyFile( const SourceName, DestName : string; Flags : dword ) : boolean;
function MoveFile( const SourceName, DestName : string; Flags : dword ) : boolean;
function RenameFile( const SourceN... |
unit UConfiguracao;
interface
uses
FireDAC.Comp.Client, SysUtils, Vcl.Forms, Windows, Vcl.Controls, Data.DB,
System.Classes, Vcl.CheckLst, UFuncoesFaciliteXE8, uConstantes;
type
TConfiguracao = class(TObject)
private
FConexao : TFDConnection;
vloFuncoes : TFuncoesGerais;
FC... |
unit iOSapi.AVFoundation.Helper;
interface
uses
iOSapi.Foundation, iOSapi.AVFoundation;
function AVEncoderAudioQualityKey: NSString;
function AVAudioSessionCategoryPlayAndRecord: NSString;
implementation
function AVEncoderAudioQualityKey: NSString;
begin
Result := CocoaNSStringConst(libAVFoundation, 'AVEncoder... |
unit uXPMenu;
interface
uses
SysUtils, Types, Classes,
Variants, QTypes, QGraphics,
QControls, QForms, QDialogs,
QStdCtrls, Qt, uGraphics,
iniFiles, QExtCtrls,
uCommon, uXPImageList;
type
TXPMenuItems=class;
TXPMenuItem=class(TObject)
private
FCaption: string;
FItems: TXPMenu... |
unit GetAllConfigValuesUnit;
interface
uses SysUtils, BaseExampleUnit, EnumsUnit;
type
TGetAllConfigValues = class(TBaseExample)
public
procedure Execute;
end;
implementation
uses
CommonTypesUnit;
procedure TGetAllConfigValues.Execute;
var
ErrorString: String;
Values: TListStringPair;
i:... |
unit PaymentSourcesForma;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
GridForma, ToolCtrlsEh, DBGridEhToolCtrls,
Data.DB, FIBDataSet, System.UITypes,
pFIBDataSet, CnErrorProvider, Vcl.Menus, System.Acti... |
unit SearchInterfaces;
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\Search\SearchInterfaces.pas"
// Стереотип: "ControllerInterfaces"
// Элемент модели: "SearchInterfaces" MUID: (491DAF4202EE)
{$Include w:\garant6x\implementation\Garant\nsDefine.inc}
interface
uses
l3IntfUses
, BaseTypesUnit
, Dynami... |
unit Compile;
{
Inno Setup
Copyright (C) 1997-2012 Jordan Russell
Portions by Martijn Laan
For conditions of distribution and use, see LICENSE.TXT.
Compiler
}
{x$DEFINE STATICPREPROC}
{ For debugging purposes, remove the 'x' to have it link the ISPP code
into this program and not depend on ISPP.dll. Most... |
unit BitFonts;
// Bitmapped Fonts. Copyright (c) 1997 Jorge Romero Gomez, Merchise.
interface
uses
SysUtils, Classes, Windows, Graphics, Buffer;
type
TBitFontChar = class;
PCharList = ^TCharList;
TCharList = array[0..0] of TBitFontChar;
TBitFont =
class( TPersistent )
private... |
unit UnitDemo2;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TForm1 = class(TForm)
btnCopy: TButton;
btnWrite: TButton;
btnRead: TButton;
mmoDisplay: TMemo;
btnLoad: T... |
unit fmScriptButton;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls,
ADC.Types, ADC.ScriptBtn, Vcl.ExtCtrls;
type
TForm_ScriptButton = class(TForm)
Label_Title: TLabel;
Label1: TLabel;
... |
{****************************************************************}
{ TWebImage component }
{ for Delphi & C++Builder }
{ version 1.1 }
{ ... |
{$I ATStreamSearchOptions.inc}
unit UFormMain;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls,
TntStdCtrls, TntDialogs,
ATBinHex, ATStreamSearch;
type
TFormMain = class(TForm)
Panel1: TPanel;
Search: TATStreamSearch;
OpenDialog1: TTn... |
unit pacman_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
nz80,main_engine,namco_snd,controls_engine,gfx_engine,rom_engine,
misc_functions,pal_engine,sound_engine,qsnapshot;
function iniciar_pacman:boolean;
implementation
const
//Pacman
pacman_rom:array[0..3] of tipo_roms=(
(n... |
unit DW.VOIP.iOS;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-Platform Library }
{ ... |
unit DictionKeywordsPack;
{* Набор слов словаря для доступа к экземплярам контролов формы Diction }
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Diction\Forms\DictionKeywordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "DictionKeywordsPack" MUID: (4A9CEA5001CF_Pack)
{$Include w:\g... |
unit speedrumbler_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
m6809,nz80,ym_2203,main_engine,controls_engine,gfx_engine,rom_engine,
pal_engine,sound_engine;
function iniciar_speedr:boolean;
implementation
const
speedr_rom:array[0..7] of tipo_roms=(
(n:'rc04.14e';l:$8000;p:$0;crc:$a6... |
unit uImageDownloadThread;
interface
uses
Classes,
SysUtils,
TypInfo,
Variants,
XMLDoc,
DB,
nxdb,
ShoppingServiceXMLClasses,
EbayConnect, uTypes,
Forms, IdThread, IdSync, uThreadSync, IdComponent;
type
TDownloadImagesThread = class(TidThread)
private
// Private declar... |
unit MdiChilds.DocToProjectFormat;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, MdiChilds.Reg, MdiChilds.ProgressForm, MdiChilds.DocList,
MDIChilds.CustomDialog, Vcl.StdCtrls, Vcl.ExtCtrls, GlobalData, GsDoc... |
unit AddressBookContactUnit;
interface
uses
REST.Json.Types, System.Generics.Collections,
JSONNullableAttributeUnit, NullableBasicTypesUnit, GenericParametersUnit,
JSONDictionaryIntermediateObjectUnit;
type
/// <summary>
/// Address Book Contact
/// </summary>
/// <remarks>
/// https://github.com/r... |
{
$Project$
$Workfile$
$Revision$
$DateUTC$
$Id$
This file is part of the Indy (Internet Direct) project, and is offered
under the dual-licensing agreement described on the Indy website.
(http://www.indyproject.org/)
Copyright:
(c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r... |
unit UnrarDll;
interface
function UnrarAll(const fn, dir: string): boolean;
function UnrarSingle(const fn, dir, fn1: string): boolean;
implementation
uses
Windows, SysUtils, RAR, Classes;
function UnrarAll(const fn, dir: string): boolean;
var
r: TRAR;
begin
r := TRAR.Create(nil);
try
Result := r.OpenF... |
program ReverseArray(input, output);
const
MAX_SIZE = 30;
var
size, i, number : integer;
list : array[0..MAX_SIZE] of integer;
begin
write('Enter the numbers, input 1 to indicate termination: ');
size := 0;
number := 1;
while number <> 0 do begin
read(number);
list[size] := number;
size := size + 1;
... |
{***********************************************************************}
{ TPlanner component }
{ for Delphi & C++Builder }
{ }
{ written by TMS Softwar... |
unit UCodes;
interface
var
DosOrigLevelCodes: array[0..3, 0..29] of string =
(
(
'AAWFHRIEJL', 'CMBVBHXJUI', 'SVSHEIMGVH', 'MDWHUZMXVA', 'DDNAPAUQUS',
'OFRPYQZGRH', 'CUMWNOYRIA', 'SZUTFDXUPW', 'RHCQHWEHOY', 'EEGEOMHEPT',
'TCBBCUUJPL', 'TMIVVDCBBF', 'RFOGJVIIRR', 'XIMHTTOSKO', 'PWRCMKCBOR... |
unit UniversalMapHandler;
interface
uses
VoyagerInterfaces, Classes, Controls, MPlayer, UniversalMapViewer, VoyagerServerInterfaces, VCLUtils;
type
TUniversalMapHandler =
class( TInterfacedObject, IMetaURLHandler, IURLHandler )
public
constructor Create;
destructor Dest... |
program const_circle (input,output);
const
PI = 3.141592654;
var
r, d, c : real; {variable declaration: radius, dia, circumference}
begin
d := 2 * r;
c := PI * d;
end.
|
unit Billing;
interface
uses
JunoApi4Delphi.Interfaces;
type
TBilling<T : IInterface> = class(TInterfacedObject, iBilling<T>)
private
[weak]
FParent : T;
FEmail : String;
FName : String;
FDocument : String;
FStreet : String;
FNumber : String;
F... |
unit PlansService;
interface
uses
JunoApi4Delphi.Interfaces,
Data.DB,
System.JSON,
REST.Response.Adapter;
type
TPlansService = class(TInterfacedObject, iPlans)
private
FParent : iJunoApi4DelphiConig;
FAuth : iAuthorizationService;
FJSON : TJSONObject;
public
... |
unit Main;
interface
uses
Thermostat.Classes,
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls, ExtCtrls;
type
TFormMain = class(TForm)
TrackBarSampleTemp: TTrackBar;
Label1: TLabel;
Label2: TLabel;
TrackBarTargetTemp: TTrackBar;
Label... |
unit ExtAILog;
interface
uses
Windows, Messages, SysUtils, Variants, Classes;
type
TLogEvent = procedure (const aText: string) of object;
TLogIDEvent = procedure (const aText: string; const aID: Byte) of object;
// Global logger
TExtAILog = class
private
fSynchronize: Boolean;
fID: Byte;
fOnLo... |
unit CameraConfigurationUtils;
interface
uses
System.Classes,
System.SysUtils,
Fmx.Forms,
Fmx.Dialogs,
Androidapi.JNI.Hardware,
Androidapi.JNI.JavaTypes,
Androidapi.Helpers;
type
TCameraConfigurationUtils = class sealed
private
class function findSettableValue(name: string;
const supporte... |
{
lzRichEdit
Copyright (C) 2010 Elson Junio elsonjunio@yahoo.com.br
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your
option) any later version wit... |
unit GMChatHandler;
interface
uses
Classes, VoyagerInterfaces, VoyagerServerInterfaces, Controls, GMChatViewer,
Protocol, GMKernel;
type
TMetaGMChatHandler =
class( TInterfacedObject, IMetaURLHandler )
// IMetaURLHandler
private
function getName : string;
... |
// ***************************************************************************
//
// FMXComponents: Firemonkey Opensource Components Set from China
//
// A simple Firemonkey Circle Score Indicator component
//
// Copyright 2017 谢顿 (zhaoyipeng@hotmail.com)
//
// https://github.com/zhaoyipeng/FMXComponents
//
// *******... |
unit Timer.Main;
interface
Uses
System.Classes,
System.SysUtils,
FireDAC.Comp.Client,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.ExtCtrls,
Base.Struct,
Form.Modulo,
DB.Conect,
_Function.Base,
Timer.DB;
Type
TTimerMain = Class
Private
{ Class Private }
class procedure StartTimers(Se... |
unit NewProp;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, StdCtrls, EditableObjects, ComCtrls, NativeEdObjects, Collection;
const
MAX_EDITPROP = 2;
type
TPropsInfo =
array[0..MAX_EDITPROP-1] of
record
NameLabel : TLabel;
Edi... |
unit vcmFormSetRefreshParams;
{* Параметры обновления представления сборки. }
// Библиотека : "vcm"
// Автор : Морозов. М.А.
// Модуль : vcmInterfaces -
// Начат : 21.06.2007
// Версия : $Id: vcmFormSetRefreshParams.pas,v 1.2 2008/11/28 19:38:40 lulin Exp $ }
{---------------------------------------... |
{$MODE OBJFPC}
{$INLINE ON}
program ShufflingMachine;
uses Math;
const
InputFile = 'SHUFFLE.INP';
OutputFile = 'SHUFFLE.OUT';
maxN = 1000000000;
maxM = 100000;
type
PNode = ^TNode;
TNode = record
inf, sup: Integer;
size: Integer;
P, L, R: PNode;
end;
var
fi, fo: TextFile;
n, m: Integer;
... |
unit vg_dsgn;
{$I vg_define.inc}
interface
uses
SysUtils, Classes, Graphics, Controls, Forms, ExtCtrls, ExtDlgs, Dialogs, StdCtrls,
vg_scene, vg_layouts, vg_objects, vg_controls, vg_colors, vg_ani,
vg_tabcontrol, vg_textbox, vg_listbox, vg_treeview, vg_inspector,
vgComponent, vgC... |
unit TTSTRANTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TTTSTRANRecord = record
PLenderNumber: String[4];
PLoanCif: String[20];
PDateStamp: String[17];
PLineNumber: SmallInt;
PTranCode: String[2];
PData: String[120];
PUserID: St... |
unit untUtil;
interface
uses
// VCL
Windows, SysUtils, Controls, Registry, StdCtrls, ExtCtrls, ComCtrls, Classes,
Graphics;
function StrToHex(const S: string): string;
function HexToStr(const S: string): string;
function GetINN(const S: string): string;
function GetRNM(const S: string): string;
function GetLic... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.