text stringlengths 14 6.51M |
|---|
unit fntMailTest;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, o_SendMail;
type
TfrmMailTest = class(TForm)
GroupBox1: TGroupBox;
edt_MeineWebEMail: TEdit;
Label1: TLabel;
Labe... |
{**************************************************************************************************}
{ }
{ Project JEDI Code Library (JCL) }
{ ... |
/// <summary>
/// Reader for WKT format
/// </summary>
/// <seealso href="http://www.geoapi.org/2.0/javadoc/org/opengis/referencing/doc-files/WKT.html">
/// see also
/// </seealso>
unit WKTProjections;
interface
uses
Classes, Types, SysUtils, Contnrs;
type
TWktNode = class;
TWKTCRSDefinition = class;
EWKTE... |
//
// Generated by JavaToPas v1.5 20150830 - 103228
////////////////////////////////////////////////////////////////////////////////
unit org.apache.http.conn.ClientConnectionManager;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes,
org.apache.http.conn.scheme.SchemeRegistry,
org.apache.http.con... |
unit tvl_ubehavebinders;
{$mode objfpc}{$H+}
interface
uses
Controls, ComCtrls, LMessages, Forms, SysUtils, StdCtrls, Menus, types,
classes, ExtCtrls, LCLProc, lclintf, fgl, tvl_ucontrolbinder{, Windows},
SynEdit, SynEditTypes, Dialogs, LCLType;
const
LM_FOCUSCONTROLONPAGE = LM_BEHAVEBINDER + 02;
type
{... |
unit EditSongController;
interface
uses
Generics.Collections,
Song, MediaFile, Artist, SongFormat,
Aurelius.Engine.ObjectManager;
type
TEditSongController = class
private
FManager: TObjectManager;
FSong: TSong;
public
constructor Create;
destructor Destroy; override;
procedure SaveS... |
<<<<<<< HEAD
PROGRAM WorkWithQueryString(INPUT, OUTPUT);
USES GPC;
FUNCTION GetQueryStringParameter(Key: STRING): STRING;
VAR
QS: STRING;
PosKey, PosAmp: INTEGER;
BEGIN
QS := GetEnv('QUERY_STRING');
PosKey := POS(Key, QS);
PosAmp := POS('&', QS);
IF PosAmp = 0
THEN
GetQueryStringParameter := COPY(QS... |
unit uFrAutor;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uFrPadrao, Data.DB, Vcl.Buttons,
Vcl.Grids, Vcl.DBGrids, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls,
FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDA... |
(*----------------------------------------------------------------------------*
* Direct3D sample from DirectX 9.0 SDK December 2006 *
* Delphi adaptation by Alexey Barkovoy (e-mail: directx@clootie.ru) *
* *
... |
unit kiwi.s3.objectinfo;
interface
uses kiwi.s3.interfaces;
type
tkiwiS3ObjectInfo = class(tinterfacedobject, ikiwiS3ObjectInfo)
private
{ private declarations }
fname: string;
flastModifield: tdateTime;
feTag: string;
fsize: integer;
fownerID: string;
fdate: tdatetime;
procedur... |
unit Test_Data;
interface
uses
Windows,
SysUtils,
Classes,
ctsTypesDef,
ctsPointerInterface;
type
TTestObj = class(TObject)
public
FStr: TStrings;
Name: string;
constructor Create;
destructor Destroy; override;
function CompareI(AData1, AData2 : Pointer): LongInt;
function Compa... |
unit frmTip;
interface
uses
buttons,comctrls,Windows,Messages,SysUtils,Classes,Graphics,Controls,
Forms,Dialogs,StdCtrls,ExtCtrls;
type
TformGETip = class(TForm)
bClose: TBitBtn;
bNextTip : TBitBtn;
bRandomTip: TBitBtn;
cbxShowTips: TCheckBox;
Image: TImage;
lblTitle: TLa... |
unit acSelectSkin;
{$I sDefs.inc}
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, sListBox, StdCtrls, Buttons, sBitBtn, sSkinProvider,
ExtCtrls, sPanel, ComCtrls, Mask, sMaskEdit, sSkinManager, sCustomComboEdit, sTooledit,
sTrackBar, sLabel;
{$IFNDEF NOTFORHELP}
type
... |
unit OrderedWeightList;
// Muniz Binary Tree v1.0
// Created by Banshee
// A somewhat ballanced binary tree. It is an ion cannon made to kill an ant, basically.
// It codifies an ordered list that allows you to browse it as a linked list and a
// binary tree at the same time. You can also browse the whole bina... |
unit DBManagers;
interface
uses
stmObj,
stmPG,
stmDataBase2,
Ncdef2,
DBRecord1,
DBQueryBuilder,
DBModels,
DBObjects,
DBQuerySets,
Classes,
SysUtils,
ZDbcIntfs;
type
TDBManager = class(typeUO)
private... |
unit uRepConnectionFrm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, siComp, ExtCtrls, StdCtrls, IniFiles;
const
CON_DCOM = 0;
CON_SOCKET = 1;
CON_WEB = 2;
type
TRepConnectionFrm = class(TForm)
Panel1: TPanel;
BNext: TButton;
BClose:... |
unit Invoice.Model.Order;
interface
uses
DB,
Classes,
SysUtils,
Generics.Collections,
/// orm
Invoice.Model.Customer,
ormbr.types.blob,
ormbr.types.lazy,
ormbr.types.mapping,
ormbr.types.nullable,
ormbr.mapping.classes,
ormbr.mapping.register,
ormbr.mapping.attributes;
type
[Entity]
[Ta... |
unit UpOrderAddItem;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, FIBDataSet, pFIBDataSet, ActnList, uMemoControl, StdCtrls,
Buttons, uFormControl, uInvisControl, uCharControl, uIntControl, qFTools,
uFControl, uLabeledFControl, uSpravControl, E... |
unit UEntradaEstoque;
interface
uses
UEntidade
,UProduto
,UDeposito
;
type
TENTRADAESTOQUE = CLASS (TENTIDADE)
public
DATAEMISSAO : TDateTime;
DATAENTRADA : TDateTime;
NUMERODOCUMENTO : Integer;
PRODUTO : TPRODUTO;
QUANTIDADE : Integer;
C... |
{
@abstract(TSynUniSyn classes source)
@authors(Fantasist [walking_in_the_sky@yahoo.com], Vit [nevzorov@yahoo.com],
Vitalik [2vitalik@gmail.com], Quadr0 [quadr02005@gmail.com])
@created(2004)
@lastmod(2006-07-19)
}
{$IFNDEF QSYNUNICLASSES}
unit SynUniClasses;
{$ENDIF}
{$I SynUniHighlighter.inc}
... |
{
NAME: Gąsienica;
VERSION: 1.4;
AUTHOR: Przemysław Wiecheć;
CONTACT: os.Orła Białego 52/11
61-251 Poznań
Poland;
COMPILER: Delphi 2.0;
STATUS: Freeware;
DATE: 08.XI.2001-09.II.2002
Copyright © Przemysław Wiecheć
}
unit Unit1;
interface
uses
Windows, Messages, Sy... |
unit uDM;
interface
uses
SysUtils, Classes, IniFiles, Forms, DB, DBClient, Graphics,
IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, ExtCtrls, uInvoicePollDisplay, uThreadConnectMRPDS;
const
SCREEN_CONF = 'Screen';
SCREEN_CONF_MOVING_TEXT = 'MovingText';
SCREEN_CONF_TEXT_SPEED =... |
unit uPaymentGiftCard;
interface
uses
uPayment, ADODB;
type
TPaymentGiftCard = class(TPayment)
private
// Antonio, August 09, 2013
FIsMercuryGiftCard: Boolean;
FIDGiftCard: Integer;
FAmountGiftCard: Currency;
FCardNumber: String;
procedure setMercuryGiftCard(value: Boolean);
proced... |
unit CMoveOldFilesAgent;
interface
uses
CDBMiddleEngine,
VMoveOldFileParamsForms;
type
TMoveOldFilesAgent = class( TObject )
private
FDialogParamsForm: TMoveOldFilesParamsForm;
FParams: TMoveRecFilesParams;
procedure copyParamsToForm;
procedure copyFormToParams;
procedure d... |
unit frmMainUI;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Samples.Spin, OoMisc, AdPort, AdWnPort;
type
TformMainUI = class(TForm)
memoLog: TMemo;
btnLeft: TButton;
btnRight:... |
unit UCommon;
interface
const
// Reference
// http://theroadtodelphi.wordpress.com/2010/08/07/using-the-google-maps-api-v3-from-delphi-part-i-basic-functionality/
//
// Geocoding
// https://developers.google.com/maps/documentation/geocoding/?hl=ja
MapHTMLStr: AnsiString =
'<!DOCTYPE html>' +
'<... |
unit FHIRProfileUtilities;
interface
uses
SysUtils, Classes,
StringSupport,
AdvObjects, AdvGenerics,
FHIRBase, FHIRResources, FHIRTypes, FHIRUtilities, FHIRConstants;
Const
DERIVATION_EQUALS = 'derivation.equals';
IS_DERIVED = 'derived.fact';
type
TValidationResult = class (TAdvObject)
private
F... |
unit myShellAPI;
interface
uses Windows,ShellApi,Classes,SysUtils;
function FindFiles (folderName,mask:string;aSL:TSTRINGList):integer;
function RecycleBinDelete(strFileName: string): boolean;
function DirectoryCopy(sFrom, sTo: string; Protect: boolean;Silent:boolean): boolean;
procedure MakeDir(Dir: String);... |
{
$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 rights reser... |
{-------------------------------------------------------------------------------
Copyright 2012 Ethea S.r.l.
Licensed under the Apache License, Version 2.0 (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.apa... |
unit fDerivativeOptions;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
System.Math,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.StdCtrls,
Vcl.Buttons,
Vcl.ExtCtrls,
Vcl.ComCtrls,
OpenGLTokens,
GLVecto... |
unit Objekt.DHLReceiver;
interface
uses
SysUtils, Classes, geschaeftskundenversand_api_2, Objekt.DHLReceiverNativeAddress,
Objekt.DHLCommunication;
type
TDHLReceiver = class
private
fReceiverTypeAPI: ReceiverType;
fName1: string;
fAddress: TDHLReceiverNativeAddress;
fCommunication: TDHLCommun... |
unit uDemoViewFrameTipo2;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
FMX.Controls.Presentation,
uInterfaces,
uAtributos,
uDemoInterfaces,
uDemoViewModels,
uTypes,
uView,... |
Program pi(output);
Uses sysutils;
{ Use am Int64 for numsteps because we want to use big numbers of steps. }
Var
step, x, sum, mypi, time, start, stop : Double;
i, numsteps : Int64;
Begin
numsteps := 1000000000;
{ Get numsteps from command line args. }
if ParamCount > 0 then
numsteps := StrToInt64(P... |
unit TpForm;
interface
uses
Windows, Classes, Controls, StdCtrls, ExtCtrls, Graphics, Messages, SysUtils,
Types,
ThTag, ThForm,
TpControls;
type
TTpForm = class(TThForm)
private
FOnGenerate: TTpEvent;
FOnSubmit: TTpEvent;
protected
function GetInputsHtml: string; override;
protected
... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
unit Related;
{ a modal dialog used for displaying and deleting all questions related to a question }
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
DB, DBTables, Grids, DBGrids, Buttons, ExtCtrls, ComCtrls;
type
TfrmRelated = class(TForm)
panHeader: TPanel;
b... |
{*
FtermSSH : An SSH implementation in Delphi for FTerm2 by kxn@cic.tsinghua.edu.cn
Cryptograpical code from OpenSSL Project
*}
unit sshdh;
interface
uses Classes, sysutils, sshbn;
type
DH_STRUCT = record
pad, version: integer;
p, g: BIGNUM;
length: integer;
pub_key, pri... |
unit vwuFoodsReport;
interface
uses
System.SysUtils, System.Classes, Variants, vwuCommon, FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS,
FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC.Stan.Async, FireDAC.DApt,
Data.DB, FireDAC.Comp.DataSet, FireDAC.Comp.Client, fr... |
// design a program to get 100 values,
//find the average of the values
//and find the number of values greater than the average.
// the program should display the average,
//and a count of the numbers greater than the average.
Program avg_count;
var
sum, avg:real;
count, j:integer;
value: array [1..5] of real... |
program bubble_sort;
const
N = 10; // Max number of array elements
type
array1d = Array[1..N] of Integer;
{ Start pf procedure switchElements }
procedure switchElements(var el1, el2 : Integer);
var
temp : Integer;
begin
temp := el1;
el1 := el2;
el2 := temp;
end;
{ End of procedure switch... |
unit KrDnceGraphTypes;
interface
uses
System.Types, System.UITypes, FMX.Graphics, FMX.ImgList;
function ImageListAdd(AImgList: TImageList; ABitmap: TBitmap): Integer;
procedure ImageListReplace(AImgList: TImageList; AIndex: Integer;
ABitmap: TBitmap);
implementation
uses
FMX.MultiResBitmap;
function Im... |
unit Antlr.Runtime.Collections.Tests;
{
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,
Antlr.Ru... |
unit uProgressDialog;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls, uWorker;
type
TProgressDialog = class( TForm )
Label0: TLabel;
Label1: TLabel;
ProgressBar1: TProgr... |
{
@abstract Implements @link(TNtTranslator) class that perform runtime language switch.
Normally you don't use this unit. Instead you use @link(NtLanguageDlg.TNtLanguageDialog)
to perform runtime language switch. If you have your own user interface to
select a new language then you use @link(TNtTranslator.SetN... |
Program Library (Input,Output);
{****************************************************************************
Author: Scott Janousek Username: ScottJ
Student ID: 4361106 Program Assignment 3
Instructor: Cris Pedregal MWF 1:25 Due Date: March 31, 1993
Program Descript... |
unit uNewGroup;
interface
uses
SysUtils, Classes, uTSBaseClass;
type
TGroup = class(TSBaseClass)
private
FMerchanUnitID: Integer;
FCompanyID: Integer;
FDefaultMarkUp: Double;
FID: Integer;
FKode: string;
FKodeRek: string;
FMerchanID: Integer;
FNama: string;
FUnitID: Integer;... |
unit typeDefSucc;
{Модуль реализации классов.}
interface
uses
SysUtils,
Classes,
typeDefBase;
// Класс Закладка
type
TAppBookMarks = class(TAppItem)
private
_url: string;
public
published
property url: string read _url write _url;
end;
// Класс Журнал
type
TAppJournal = class(TAppItem)... |
unit Unit1;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
GLCadencer,
GLScene,
GLObjects,
GLWin32Viewer,
GLAsyncTimer,
GLVectorFileObjects,
GLTexture,
GLGrap... |
unit GreaterEqOpTest;
{$mode objfpc}{$H+}
interface
uses
fpcunit,
testregistry,
uIntXLibTypes,
uIntX;
type
{ TTestGreaterEqOp }
TTestGreaterEqOp = class(TTestCase)
published
procedure Simple();
procedure SimpleFail();
procedure Big();
procedure BigFail();
procedure EqualValu... |
unit uReg_Add;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxClasses, cxStyles, cxTL, dxBarExtItems, dxBar, ImgList,
cxCustomData, cxGraphics, cxFilter, cxData, cxDataStorage, cxEdit, DB,
cxDBData, cxLookAndFeelPainters, StdCtrls, cxButtons, cxGridLevel,
... |
unit AddOpTest;
{$mode objfpc}{$H+}
interface
uses
SysUtils,
fpcunit,
testregistry,
uIntX,
uConstants,
uIntXLibTypes;
type
{ TTestAddOp }
TTestAddOp = class(TTestCase)
published
procedure Add2IntX();
procedure Add2IntXNeg();
procedure AddIntIntX();
procedure AddIntXInt();
... |
//------------------------------------------------------------------------------
//Mob UNIT
//------------------------------------------------------------------------------
// What it does-
// A mob that uses TMobAI to take control of everything... |
unit Fun;
interface
uses
Registry,Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs;
implementation
procedure SaveParam(Left,Top,Width,Height:integer);
var
Reg:TRegistry;
begin
Reg:=TRegistry.Create;
try
Reg.RootKey := HKEY_CURRENT_USER;
if Reg.OpenKey('\Softw... |
unit St_sp_Category_Class_Form;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ImgList, ComCtrls, ToolWin, cxStyles, cxCustomData, cxGraphics,
cxFilter, cxData, cxDataStorage, cxEdit, DB, cxDBData, cxCheckBox,
FIBQuery, pFIBQuery, pFIBStoredProc, ActnList, F... |
unit nsLogFrm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, nsGlobals, nsTypes, nsUtils, ShellAPI, ShlObj,
Printers, ComCtrls, Vcl.ActnMan, Vcl.ActnCtrls, Vcl.ActnList,
Vcl.PlatformDefaultStyleActnCtrls, Vcl.ToolWin;
type
... |
Unit GraphObjects;
Interface
uses Graphics, Classes;
var ColrBlack: TColor;
type
TViz = class(TObject)
ColrLine: TColor;
Canvas: TCanvas;
x,y,r: word;
procedure Ris; virtual; abstract;
procedure Draw(bl:boolean);
procedure Show;
procedure Hide;
procedure MovTo(dx,dy,dr:... |
// Pascal Coding Reference.pas |
PROGRAM PrimFac;
TYPE
{* Needed for the return type of GetPrimesOfNumber
since Arrays can't be a return type for functions.
*}
ArrayOfInteger = ARRAY OF INTEGER;
{* IsPrime function from Uebung 2 WS 2018 *}
FUNCTION IsPrime(number: INTEGER): BOOLEAN;
VAR
i: INTEGER;
BEGIN
IF number = 2 THEN
IsPrime ... |
unit Auth;
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.OleCtrls, SHDocVw, System.Net.URLClient, System.Net.HttpClient,
System.Net.HttpClientComponent, System.JSON, Vcl.Butt... |
{$I-,Q-,R-,S-}
{Problema 12: Marcas RADAR [Tradicional, 2006]
GJ ha estado marcando las vacas con un número serial. Están de moda
las marcas `RADAR`, llamadas así porque ellas se leen igual hacia
delante y hacia atrás: ellas son palíndromos. Todas las vacas quieren
que sus hijas sean marcadas con el nuevo estilo.
... |
//+-------------------------------------------------------------------------
// Microsoft Windows
// Copyright (c) Microsoft Corporation. All rights reserved.
//--------------------------------------------------------------------------
unit CMC.Inspectable;
{$IFDEF FPC}
{$mode delphi}
{$ENDIF}
interface
uses
... |
{ ****************************************************************************** }
{ * cadencer imp library written by QQ 600585@qq.com * }
{ * https://zpascal.net * }
{ * https://github.com/PassByYou888/zAI ... |
{==============================================================================|
| Project : Ararat Synapse | 001.003.001 |
|==============================================================================|
| Content: Utils for FreePascal compatibility ... |
unit fre_http_srvhandler;
{
(§LIC)
(c) Autor,Copyright
Dipl.Ing.- Helmut Hartl, Dipl.Ing.- Franz Schober, Dipl.Ing.- Christian Koch
FirmOS Business Solutions GmbH
www.openfirmos.org
New Style BSD Licence (OSI)
Copyright (c) 2001-2013, FirmOS Business Solutions GmbH
All rights reserved.
... |
unit Unit2;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms,COMObj, KompasAPI7_TLB,Kompas6Constants_TLB,Vcl.Dialogs,
Vcl.StdCtrls, Vcl.Imaging.jpeg, Vcl.ExtCtrls;
type
TForm2 = class(TForm)
Button1: TButton... |
unit DSA.Tree.Heap;
interface
uses
System.SysUtils,
DSA.List_Stack_Queue.ArrayList,
DSA.Interfaces.DataStructure,
DSA.Interfaces.Comparer,
DSA.Utils;
type
THeapkind = (Min, Max);
THeap<T> = class
private type
TArr_T = TArray<T>;
TArrayList_T = TArrayList<T>;
TComparer_T = TComparer<T>;
... |
{
This sample shows how to make a single file deployment.
}
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TForm1 = class(TForm)
Label1: TLabel;
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
... |
unit uInfo;
interface
uses
SysUtils, Windows;
function GetBuildInfo(var Version: string; AFileName: string = ''): boolean;
implementation
function GetBuildInfo(var Version: string; AFileName: string = ''): boolean;
var
VerInfoSize: DWORD;
VerInfo: Pointer;
VerValueSize: DWORD;
VerValue: PVSFixedFileI... |
unit UHeatExchanger;
interface
uses UFlow;
type
HeatExchanger = class
d_in := 0.2;
d_out := 0.5;
length := 3.0;
k := 4900;
function calculate(hot, cold: Flow; h: real := 0.01): array of Flow;
end;
implementation
function HeatExchanger.calculate(hot, cold: Flow; h: real): array o... |
namespace RegExpression;
interface
uses
System.SysUtils,
System.Types,
System.UITypes,
System.Classes,
System.Variants,
FMX.Types,
FMX.Controls,
FMX.Forms,
FMX.Dialogs,
FMX.Effects,
FMX.Edit,
FMX.Memo,
FMX.ListBox,
FMX.Layouts,
System.RegularExpressions,
FMX.StdCtrls,
FMX.Contro... |
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;
public
constructo... |
unit Validador.Data.FDdbChange;
interface
uses
Data.DB, FireDac.Comp.Client;
type
TFDDbChange = class(TFDMemTable)
private
FTemPos: TField;
FVersao: TField;
FDescricao: TField;
FExisteNaPasta: TField;
FValue: TField;
FZDescricao: TField;
FOrdemOriginal: TField;
FImportar: TField... |
unit NfeTransporte;
{$mode objfpc}{$H+}
interface
uses
HTTPDefs, BrookRESTActions, BrookUtils, FPJson, SysUtils, BrookHTTPConsts;
type
TNfeTransporteOptions = class(TBrookOptionsAction)
end;
TNfeTransporteRetrieve = class(TBrookRetrieveAction)
procedure Request({%H-}ARequest: TRequest; AResponse: TRes... |
unit glIterator;
interface
type
TglIterator = class
private
FValue, FDefault: Integer;
public
property DefaultValue: Integer read FDefault write FDefault;
property Value: Integer read FValue;
constructor Create; overload;
constructor Create(StartValue: Integer); overload;
... |
unit MeshOptimization2009Command;
interface
uses ControllerDataTypes, ActorActionCommandBase, Actor;
{$INCLUDE source/Global_Conditionals.inc}
type
TMeshOptmization2009Command = class (TActorActionCommandBase)
protected
FIgnoreColours: boolean;
FAngle: single;
public
... |
//------------------------------------------------------------------------------
//Server UNIT
//------------------------------------------------------------------------------
// What it does-
// Base class of all servers
//
// Changes -
// January ... |
//------------------------------------------------------------------------------
//
// getTraj.pas
//
//------------------------------------------------------------------------------
//
// Contains procedures for generating trajectories for the robot. Trajectories
// are saved to a TTrajectory object passed as referenc... |
unit MODFLOW_SwtWriterUnit;
interface
uses
CustomModflowWriterUnit, ModflowPackageSelectionUnit, IntListUnit,
PhastModelUnit, Classes;
type
TModflowSWT_Writer = class(TCustomSubWriter)
private
FSwtPackage: TSwtPackageSelection;
FNameOfFile: string;
// model layer assignments for each system of no... |
unit PCL0;
{ Gère les objets photon en utilisant les mêmes principes que dans dtf0 ou tbe0 }
interface
uses util1, dtf0;
{ TPCLrecord est la structure d'un photon dans un fichier PCL
Les nombres sont stockés en Big Endian format
Convert rétablit l'ordre des octets .
Quand TPCLrecord est utilisé en interne, o... |
program HowToCollideTwoSprites;
uses
SwinGame, sgTypes;
procedure Main();
var
earth: Sprite;
asteroid: Sprite;
begin
OpenGraphicsWindow('Colliding Sprites', 800, 600);
ClearScreen(ColorWhite);
LoadBitmapNamed('earth', 'earth.png');
LoadBitmapNamed('asteroid', 'asteroid.png');
earth :... |
(*
Copyright 2016, MARS-Curiosity library
Home: https://github.com/andrea-magni/MARS
*)
unit MARS.Client.Client;
{$I MARS.inc}
interface
uses
SysUtils, Classes
, MARS.Core.JSON
, MARS.Client.Utils, MARS.Core.Utils
;
type
TMARSAuthEndorsement = (Cookie, AuthorizationBearer);
TMARSHttpVerb = (Get, Pu... |
(*----------------------------------------------------------------------------*
* Direct3D sample from DirectX 9.0 SDK August 2006 *
* Delphi adaptation by Alexey Barkovoy (e-mail: directx@clootie.ru) *
* *
... |
unit NfeNumero;
{$mode objfpc}{$H+}
interface
uses
HTTPDefs, BrookRESTActions, BrookUtils;
type
TNfeNumeroOptions = class(TBrookOptionsAction)
end;
TNfeNumeroRetrieve = class(TBrookRetrieveAction)
procedure Request({%H-}ARequest: TRequest; AResponse: TResponse); override;
end;
TNfeNumeroShow = cl... |
//------------------------------------------------------------------------------
//CharAccountInfo UNIT
//------------------------------------------------------------------------------
// What it does-
// This class used by Char server to handle each account data in list
... |
{$i deltics.inc}
unit Test.InterfacedObjectList;
interface
uses
Deltics.Smoketest;
type
TInterfacedObjectListTests = class(TTest)
procedure InterfacedObjectAddedToListIsRemovedWhenDestroyed;
procedure AddingItemsViaObjectReferenceIsAnInvalidOperation;
procedure AddingItemsViaInter... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
// Embedded_GUI_SubArch_List,
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, EditBtn,
Buttons, FileUtil, SynEdit, SynHighlighterPas, IniFiles;
type
{ TForm1 }
TForm1 = class(TForm)
Close_Btn: TBitBtn;
Generate_BitBtn: TBitBtn;
... |
//
// VXScene Component Library, based on GLScene http://glscene.sourceforge.net
//
{
A GLSL shader that applies bump mapping.
Notes:
1) Alpha is a synthetic property, in real life your should set each
color's Alpha individualy
2) TVXSLMLBumpShader takes all Light parameters directl... |
unit storage;
{$mode objfpc}{$H+}
{$codepage UTF8}
interface
uses
Classes, SysUtils, Contnrs, lazutf8;
// Юнит для хранения узлов, предоставляет основные структуры хранения данных и первоначальную инфраструктуру доступа
// Ядро
type
TCore=record
Name: String; // Имя системы... |
unit Objekt.DHLStatusinformationList;
interface
uses
System.SysUtils, System.Classes, Objekt.DHLStatusinformation, Objekt.DHLBaseList,
System.Contnrs;
type
TDHLStatusinformationList = class(TDHLBaseList)
private
fStatusinformation : TDHLStatusinformation;
function getDHLStatusinformation(Index: Integ... |
unit ufrmExportToMDB;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ufrmMaster, StdCtrls, ComCtrls, ExtCtrls, uTSCommonDlg,
uTSINIFile, uConstanta, Types, OleCtrls, DateUtils;
type
TfrmExportToMDB = class(TfrmMaster)
Panel1: TPanel;
Label1: TLabel;... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
// XD Pascal - a 32-bit compiler for Windows
// Copyright (c) 2009-2010, 2019-2020, Vasiliy Tereshkov
{$I-}
{$H-}
unit CodeGen;
interface
uses Common;
const
MAXCODESIZE = 1 * 1024 * 1024;
var
Code: array [0..MAXCODESIZE - 1] of Byte;
procedure InitializeCodeGen;
function GetCode... |
{$I-,Q-,R-,S-}
{Problema 13: Compre Uno Obtenga Uno Gratis [Jeffrey Wang, 2007]
El Granjero Juan ha descubierto que el Internet está comprando fardos de
heno en línea cuando él ha descubierto una oferta especial. ¡Por cada
fardo de heno de tamaño A (1 <= A <= 1,000,000) que el compre, él puede
obtener un fardo de h... |
namespace TestApplication;
interface
uses
proholz.xsdparser,
RemObjects.Elements.EUnit;
type
TestBaseClass = public class(Test)
private
//const testfile : String = 'test.xsd';
protected
var elements : List<XsdElement> ;
var schemas : List<XsdSchema>;
var parser : XsdParser;
meth... |
{*******************************************************************************
Title: T2Ti ERP
Description: Controller relacionado à tabela [R02]
The MIT License ... |
{
Double Commander
-------------------------------------------------------------------------
General icons loaded at launch based on screen resolution
Copyright (C) 2009-2020 Alexander Koblov (alexx2000@mail.ru)
This program is free software; you can redistribute it and/or modify
it under the terms ... |
unit n_WebArmProcedures; // процедуры для WebArm
interface
uses Windows, Classes, SysUtils, Math, Forms, DateUtils, Contnrs, IBDatabase, IBSQL,
n_free_functions, v_constants, v_DataTrans, v_Server_Common, n_LogThreads,
n_DataCacheInMemory, n_constants, n_DataSetsManager, n_server_common,
n_DataCacheAddi... |
unit DelphiFeedsIOSClientForm;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP,
FMX.Layouts, FMX.Memo, Xml.XMLIntf, FMX.ListB... |
unit Odontologia.Vistas.Agenda;
interface
uses
Data.DB,
System.Variants,
System.Classes,
System.ImageList,
Winapi.Windows,
Winapi.Messages,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.StdCtrls,
Vcl.Buttons,
Vcl.Grids,
Vcl.DBGrids,
Vcl.WinXPanels,
Vcl.ExtCtrls,
Vcl.ImgLis... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.