text stringlengths 14 6.51M |
|---|
{$l-}
{*******************************************************************************
* *
* PASCAL-P6 PORTABLE INTERPRETER *
* ... |
unit focusNfeCommunicator;
interface
uses
Forms, iniFiles, Classes, sysUtils, Dialogs, windows, IdHTTP;
type
TTipoLog = (tlErro, tlAviso, tlEvento);
TFocusNFeCommunicator = class
private
FsendDir: string;
FToken: string;
FreceiveDir: string;
FUrl: string;
FlogDir: string;
... |
{*********************************************}
{ TeeChart Storage functions }
{ Copyright (c) 1997-2004 by David Berneda }
{ All rights reserved }
{*********************************************}
unit TeeStore;
{$I TeeDefs.inc}
interface
Uses {$IFNDEF LINUX}
Windows,
... |
unit uMain;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, ImgList, Math;
const
MUR = $004080A0; // definition des couleurs
AIR = $0080C0E0;
VAISSEAU = $00999999;
type
TPointReal = record
... |
program HelloWorld; // プログラム名をつける
(*
comment
*)
{
変数:大文字小文字の区別なし
}
const
author = 'someya';
var
// message: string;
message: string = 'hello!';
begin
// message := 'hello';
// writeln : 改行付き
// writeln('hello world');
//author := 'xxxx'; コンパイルエラー
writeln(message);
writeln(author);
end. // ピリオド
|
unit SIP_Status;
interface
uses SyncObjs,Classes;
type
TSIPStatus=class(TCriticalSection)
private
FStatus,FEvent,FScript,FAction:array of String;
public
procedure Status(ID:Integer;const Event,Script,Action,Status:String);
function Get:String;
constructor Create(ChannelCount:Integer);
end;
i... |
unit UnitMainFormDaf;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.Menus, Vcl.ComCtrls,
Vcl.StdCtrls, Vcl.ToolWin, Vcl.Imaging.pngimage, System.ImageList,
server_data_types, V... |
{ Module of routines that manipulate the GUI_ENTER_T object. This object
* is used for getting the user to enter a string.
}
module gui_enter;
define gui_enter_create;
define gui_enter_delete;
define gui_enter_get;
define gui_enter_create_msg;
define gui_enter_get_fp;
define gui_enter_get_int;
%include 'gui2.ins.p... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLManager<p>
Managers are used to manage many different kinds of clients in GLScene.
They are registered so that when clients are loaded, the client can
look up the manager + register themselves with it.<p>
<b>History : </b><f... |
unit Demo.Audio;
interface
uses
ECMA.TypedArray, W3C.DOM4, W3C.Html5, W3C.WebAudio, Demo.Framework, Demo.Hrtf;
type
TNotifyEvent = procedure(Sender: TObject);
TTrack = class
private
FAudioBuffer: JAudioBuffer;
FAudioBufferSource: JAudioBufferSourceNode;
FConvolverNode: JConvolverNode;
FText:... |
unit CurrencyExchange;
interface
uses
Money, SysUtils;
type
TCurrencyExchange = class
public
class function ChangeCurrency(const FromMoney : IMoney; const ToFormatSettings : TFormatSettings; const ExchangeRate : Double): IMoney;
end;
implementation
{ TCurrencyExchange }
class function TCurrencyExchang... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit UI.Json;
interface
uses
System.JSON, System.SysUtils;
type
TJSONObjectHelper = class Helper for System.JSON.TJSONObject
private
procedure SetBoolean(const Key: string; const Value: Boolean);
procedure SetFloat(const Key: string; const Value: Double);
procedure SetInt64(const Key: string; const... |
unit functionsUnit;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, Grids, StdCtrls,
ComCtrls, ExtCtrls, math;
procedure ReportError(s:String; lbl:TLabel);
function IsInBounds(x,y:Integer; grid:TStringGrid):Boolean;
function IsStringCorrect(s:String; alowedChars:Str... |
{*******************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ }
{ Copyright (c) 1995-2002 Borland Software Corporation }
{ ... |
// Materia: Introduccion a la Algoritmica y Programacion 2016
// Proyecto fin de año "Juego PasaPalabra".
// Comisión n°2 - Grupo n°7
// Integrantes:
// - Elena, Pablo.
// - Gremiger, Santiago.
// - Martinez, Christian.
// **********************
// Unit dedicada al manejo de las LSE.
unit unitLista;
Int... |
{*******************************************************}
{ }
{ Delphi FireMonkey Platform }
{ }
{ Copyright(c) 2011 Embarcadero Technologies, Inc. }
{ ... |
unit BaseProductsViewModel;
interface
uses
System.Classes, ProductsBaseQuery0, ProducersGroupUnit2, NotifyEvents,
FireDAC.Comp.Client;
type
TBaseProductsViewModel = class(TComponent)
private
FNotGroupClone: TFDMemTable;
FqProductsBase0: TQryProductsBase0;
class var
FProducersGroup: TProducersG... |
{
Copyright (C) Alexey Torgashin, uvviewsoft.com
License: MPL 2.0 or LGPL
}
unit ATSynEdit_Cmp_HTML_Provider;
{$mode objfpc}{$H+}
interface
uses
SysUtils, Classes;
type
TATHtmlProvider = class abstract
public
procedure GetTags(L: TStringList); virtual; abstract;
procedure GetTagProps(const ATag: strin... |
unit ExemptionsNotRecalculatedFormUnit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Grids, RPCanvas, RPrinter, RPDefine, RPBase, RPFiler, Buttons,
ComCtrls;
type
TExemptionsNotRecalculatedForm = class(TForm)
Label1: TLabel;
PrintButton: TBitBtn;
... |
unit js_parser;
interface
uses js_lexer,fw_utils;
type
TJs_Parser=class(TJs_Lexer)
private
function s_IsValidSeparator:boolean;
function s_Error(s:string):boolean;
function s_ErrorN(s:string;p:p_node):boolean;
function s_ErrorP(s:string;p:p_no... |
unit Serv_TLB;
{ This file contains pascal declarations imported from a type library.
This file will be written during each import or refresh of the type
library editor. Changes to this file will be discarded during the
refresh process. }
{ EmpservLib Library }
{ Version 1.0 }
interface
uses Windows, ActiveX... |
unit ufrmMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics,
Controls, Forms, Dialogs, StdCtrls, diocp.coder.tcpClient,
utils.safeLogger,
diocp.task, diocp.sockets, diocp.tcp.client;
type
TfrmMain = class(TForm)
mmoRecvMessage: TMemo;
btnConnect: TButton;
edtHost: TEd... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2014-2018 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
unit AnnotatedImage;
interface
uses
Vcl.Graphics, System.Types, Generics.Collections,
Superobject, Annotation.Action;
type
TAnnotatedImage = class(TObject)
private
FBitmapImage: TBitmap;
FAnnotationActions: TList<IAnnotationAction>;
FName: string;
FIsChanged: boolean;
FCurrentAnnota... |
unit AChequesOO;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios,
Componentes1, ExtCtrls, PainelGradiente, Grids, CGrades, unDadosCR, unDados,
StdCtrls, Buttons, Mask, numericos, Localizacao, UnDadosLocaliza;
type
TRBDColunaGrade =(clCodBanco,clC... |
unit TeeBIRegisterCreator;
interface
uses
ToolsAPI;
type
TGeneratedCreator=class(TInterfacedObject, IOTACreator, IOTAModuleCreator)
public
Code,
UnitName : String;
Constructor Create(const ACode,AUnitName:String);
// IOTACreator
function GetCreatorType: string;
function GetExisting: B... |
unit TestBufferInterpreter.ATA;
{
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, Device.SMART.Lis... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC DBX Migration Helpers }
{ }
{ Copyright(c) 2004-2018 Embar... |
unit frmNewPassword_u;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Buttons;
type
TfrmNewPasswordGenerator = class(TForm)
btnGenerate: TButton;
pnlPasswordOut: TPanel;
bmbClose: TBitBtn;
btnTextSave: TButton;... |
unit IdAntiFreeze;
{
NOTE - This unit must NOT appear in any Indy uses clauses. This is a ONE way relationship
and is linked in IF the user uses this component. This is done to preserve the isolation from the
massive FORMS unit.
}
interface
uses
Classes,
IdAntiFreezeBase,
IdBaseComponent;
{Directive needed for... |
unit contplug;
{ Contents of file contplug.pas }
interface
uses
Windows;
const
ftNoMoreFields = 0;
ftNumeric32 = 1;
ftNumeric64 = 2;
ftNumericFloating = 3;
ftDate = 4;
ft_Time = 5;
ft_Boolean = 6;
ft_MultipleChoice = 7;
ft_String = 8;
ft_Ful... |
unit IdGopher;
interface
uses
Classes,
IdEMailAddress, IdGlobal,
IdHeaderList, IdTCPClient;
type
TIdGopherMenuItem = class(TCollectionItem)
protected
FTitle: string;
FItemType: Char;
FSelector: string;
FServer: string;
FPort: Integer;
FGopherPlusItem: Boolean;
FGopherBlock: TIdH... |
unit Ths.Erp.Database.Table.StokHareketi;
interface
{$I ThsERP.inc}
uses
SysUtils, Classes, Dialogs, Forms, Windows, Controls, Types, DateUtils,
FireDAC.Stan.Param, System.Variants, Data.DB,
Ths.Erp.Database,
Ths.Erp.Database.Table,
Ths.Erp.Database.Table.AyarStokHareketTipi;
type
TStokHareketi = class(... |
unit ChilliSauce;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, URLMon, ShellApi, Vcl.Grids,
Vcl.StdCtrls, Vcl.ExtCtrls, IdHashMessageDigest, idHash;
type
TChilliSauceV1 = class( TForm )
... |
unit Bezier;
interface
uses SysUtils, Classes, Math, Points;
function CalculateBezierCurveSplines(initPoints: TList; curvePointStep: Real): TList;
implementation
function Factorial(n: Integer): Longint;
begin
if (n = 0) then
Result := 1
else
Result := n * Factorial(n - 1);
end;
function ... |
unit uMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ScktComp, StdCtrls, ExtCtrls;
type
TfrmMain = class(TForm)
grpButtons: TGroupBox;
spl1: TSplitter;
mmoLog: TMemo;
lb1: TLabel;
edtPort: TEdit;
btnGetState: TButton;
btnInit... |
unit AComandoFiscalFiltro;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios, StdCtrls, Mask, numericos,
ComCtrls, Componentes1, Buttons, ExtCtrls, PainelGradiente, UnDados, UnECF;
type
TFComandoFiscalFiltro = class(TFormularioPermissao)
PainelGr... |
unit MasterMind.Evaluator;
{$IFDEF FPC}{$MODE DELPHI}{$ENDIF}
interface
uses
MasterMind.API;
type
TMasterMindGuessEvaluator = class(TInterfacedObject, IGuessEvaluator)
private
function ColorInCodeButWasNotAlreadyMarkedAsCorrectMatch(const Guess, CodeToBeGuessed: TMasterMindCode;
const GuessIndex: In... |
{*******************************************************}
{ }
{ FMXUI SVG图标支持单元 }
{ }
{ 版权所有 (C) 2016 YangYxd }
{ ... |
unit DragDropContext;
// -----------------------------------------------------------------------------
// Project: Drag and Drop Component Suite.
// Module: DragDropContext
// Description: Implements Context Menu Handler Shell Extensions.
// Version: 4.0
// Date: 18-MAY-2... |
unit testgq;
interface
uses Math, Sysutils, Ap, hblas, reflections, creflections, sblas, ablasf, ablas, ortfac, blas, rotations, hsschur, evd, gammafunc, gq;
function TestGQunit(Silent : Boolean):Boolean;
procedure BuildGaussHermiteQuadrature(n : AlglibInteger;
var x : TReal1DArray;
var w : TReal1DArr... |
unit stack;
interface
uses SysUtils, Classes;
const
T_NIL = 0; // external types
T_BOOLEAN = 1;
T_POINTER = 2;
T_NUMBER = 3;
T_STRING = 4;
type
TStack = class(TObject)
private
Marker : Cardinal;
DT : TList; // element type
DA ... |
unit Testthds;
{$mode objfpc}{$H+}
interface
uses
Classes,
Graphics, ExtCtrls, Forms,
PythonEngine;
type
{ TTestThread }
TTestThread = class(TPythonThread)
private
FScript: TStrings;
running : Boolean;
protected
procedure ExecuteWithPython; override;
public
constructor Create( ATh... |
unit ueverettrandom;
{ Random integer generation via beam-splitter quantum event generator
Code copyright (C)2019 minesadorada@charcodelvalle.com
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 ... |
{*******************************************************}
{ }
{ Delphi DBX Framework }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit NotesU;
interface
uses
System.Generics.Collections, FMX.Graphics, FMX.Objects;
type
TUneNote = class
strict private
FClientNom: string;
FClientID: integer;
FNoteDate: TDateTime;
FPhoto: TBitmap;
FDescription: string;
FisNewNote: boolean;
FID: Int64;
procedu... |
{*******************************************************}
{ }
{ Delphi FireMonkey Platform }
{ }
{ Copyright(c) 2011-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
{: Build mesh objects.
How often do you miss a BuildSphereMesh function for testing or editors?
Well this unit is intended to solve that problem. We want fast,
flexible functions with lots of options...
Original Author: Joen Joensen.
Contributed to the GLScene community.
Features: BuildC... |
unit xml;
{$MODE Delphi}
interface
uses Classes, Contnrs, SysUtils;
type
TXMLNode = class;
TXMLNodeEnum = class
private
FList: TObjectList;
function GetCount: Integer;
function GetItem(Index: Integer): TXMLNode;
constructor Create(AList: TObjectList);
public
destructor Destroy; override... |
unit frm_xplappslauncher;
{==============================================================================
UnitName = frm_xplappslauncher
UnitDesc = Standard xPL apps launching box
UnitCopyright = GPL by Clinique / xPL Project
========================================================================... |
unit ClassBSTree;
interface
type TBSTree = class;
TBSTreeChildren = array of TBSTree;
TBSTree = class
public
C : char;
IsWord : boolean;
Children : TBSTreeChildren;
constructor Create( Value : char; Word : boolean );
destructor Destroy; override;
... |
unit Unit1;
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)
Label1: TLabel;
Edit1: TEdit;
Label2: TLabel;
Button1: TButton;
Label3: TL... |
{ *******************************************************************************
Title: T2Ti ERP
Description: Funções e procedimentos do PAF;
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 associate... |
unit CRT;
{$A+,B-,C-,D+,E-,F-,G+,H+,I-,J+,K-,L+,M-,N+,O+,P-,Q-,R-,S-,T-,U-,V-,W-,X+,Y+}
{BP7 compatible CRT unit for Win32/64 Delphi}
interface
{$IFDEF CONDITIONALEXPRESSIONS}
{$IF CompilerVersion >= 23.0} {D16(XE2)+}
{$DEFINE UNIT_SCOPE}
{$IFEND}
{$IF CompilerVersion >= 23.0}
{$DEFINE T... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Menus, ExtCtrls, ComCtrls, ToolWin, StdCtrls, Buttons;
type
TForm1 = class(TForm)
MainMenu1: TMainMenu;
Game1: TMenuItem;
New1: TMenuItem;
Giveup1: TMenuItem;
Done1: TMenuItem;
N1: TMenu... |
unit ncnxServerPlugin;
interface
{$I NEX.INC}
uses
Classes,
Windows,
ExtCtrls,
nxptBasePooledTransport,
nxllTypes,
nxllList,
nxllComponent,
nxllTransport,
nxllPluginBase,
nxllSync,
ncNetMsg,
ncClassesBase;
type
TncnxServerPlugin = class(TnxBasePluginEngine)
private
FNexServ : TncSe... |
unit uEmpresa;
interface
uses uCidade;
type
TEmpresa = class
private
codigo: Integer;
ativo: char;
razaoSocial: String;
fantasia: String;
endereco: String;
numero: String;
bairro: String;
complemento: String;
telefone: String;
cnpjcpf: String;
ierg: String;
email:... |
unit UFileUtilities;
interface
uses Classes, SysUtils, Forms, Dialogs, WinApi.Windows, VCLZip;
type
TFileUtilities = class
public
class function FindAllDirectory(InDirectory:String):TStringList;static;
class function FindAllFiles(InDirectory:String):TStringList;static;
class function Zip(ZipMode, Pac... |
unit SJ_INTV;
{$ifdef VirtualPascal}
{$stdcall+}
{$else}
Error('Interface unit for VirtualPascal');
{$endif}
(*************************************************************************
DESCRIPTION : Interface unit for SJ_DLL
REQUIREMENTS : VirtualPascal
EXTERNAL DATA : ---
M... |
{*********************************************}
{ TeeGrid Software Library }
{ TStringGrid emulation data class }
{ Copyright (c) 2016 by Steema Software }
{ All Rights Reserved }
{*********************************************}
unit Tee.Grid.Data.Strings;
{$I ... |
program TabletopWeatherStation;
{$ifdef MSWINDOWS}{$apptype CONSOLE}{$endif}
{$ifdef FPC}{$mode OBJFPC}{$H+}{$endif}
uses
SysUtils, IPConnection, Device, BrickletLCD128x64, BrickletAirQuality;
const
HOST = 'localhost';
PORT = 4223;
type
TTabletopWeatherStation = class
private
ipcon: TIPConnection;
... |
unit Launch;
interface
uses
Windows, ShellAPI, Auth, Registry, Settings, ServersUtils;
type
TMinecraftData = record
Minepath: string;
Java: string;
Xms: string;
Xmx: string;
NativesPath: string;
CP: string;
LogonInfo: string;
end;
procedure PlayMinecraft(server: T... |
unit eSocial.Models.Entities.Responsavel;
interface
uses
System.SysUtils,
eSocial.Models.Entities.Interfaces;
type
TResponsavel<T> = class(TInterfacedObject, IResponsavel<T>)
private
FParent : T;
FNome ,
FCPF ,
FTelefone,
FCelular ,
FEmail : Str... |
unit osParser;
interface
uses osLex, Classes, SysUtils, osParserErrorHand, System.Types;
type
// representa uma pilha generica
TStack = class (TList)
public
procedure push(const E: Pointer);
function pop: Pointer;
end;
// Representa um programa de expressoes a ser executado por uma m... |
unit FC.StockChart.GetTicksDialog;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ufmDialogClose_B, StdCtrls, ExtendControls, ExtCtrls, Grids, DBGrids, MultiSelectDBGrid, ColumnSortDBGrid,
EditDBGrid, DB, FC.Dialogs.DockedDialogCloseAndAppWindow_B, ImgList, Jv... |
unit Query;
interface
uses
{$IFDEF FPC}
LResources,
{$ENDIF}
{$IFNDEF LINUX}
Windows, Messages,
{$ENDIF}
SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
DBCtrls, ExtCtrls, Db, Grids, DBGrids, StdCtrls, ToolWin, ComCtrls, Buttons,
{$IFNDEF FPC}
MemDS,
{$ELSE}
MemDataSet,
{$ENDIF}
DBAccess, Uni, Un... |
unit AMQP.Types;
{$IFDEF FPC}
{$MODE Delphi}
{$ENDIF}
{$INCLUDE config.inc}
interface
uses {$IFDEF FPC}SysUtils, Windows,{$Else} System.SysUtils, Winapi.Windows,{$ENDIF}
{$IFNDEF FPC}
{$IFDEF _WIN32}
Net.Winsock2
{$ELSE}
Net.SocketAPI
{$ENDIF}
... |
unit dynarray_of_string_2;
interface
implementation
type
TItem = record
Key: string;
Value: Int32;
end;
var
FList: array of TItem;
procedure Add(const Str: string);
var
Len: Int32;
begin
Len := Length(FList);
SetLength(FList, Len + 1);
FList[Len].Key := Str;
FList[Len].Value := Len;
en... |
unit AdoxDumper;
(*
Dedicated to dumping ADOX structures.
Unlike DAO, ADOX does not store all individual fields in Properties.
We need to output both Properties and those individual fields which are not covered.
*)
interface
uses SysUtils, ComObj, ADOX_TLB, JetCommon;
procedure PrintAdoxSchema(ad... |
(*!------------------------------------------------------------
* Fano CLI Application (https://fanoframework.github.io)
*
* @link https://github.com/fanoframework/fano-cli
* @copyright Copyright (c) 2018 Zamrony P. Juhara
* @license https://github.com/fanoframework/fano-cli/blob/master/LICENSE (MIT)
*----... |
Program HashChaining;
CONST
MAX = 100;
TYPE
NodePtr = ^Node;
Node = record
val: string;
next: NodePtr;
end;
ListPtr = NodePtr;
HashTable = array [0..MAX - 1] OF ListPtr;
FUNCTION NewNode(val: string; next: NodePtr): NodePtr;
var n: NodePtr;
BEGIN
New(n);
n^.val ... |
unit SMCnst;
interface
{Japanese strings}
const
strMessage = '印刷...';
strSaveChanges = '変更を保存しますか?';
strErrSaveChanges = 'データを保存できません! サーバへの接続を確認してください。';
strDeleteWarning = 'テーブルを削除します。よろしいですか? %s?';
strEmptyWarning = 'Do you really want to empty a table %s?';
const
PopUpCaption: array [0..... |
unit DrawGrid;
interface
uses Windows, Controls, Forms, SysUtils, Graphics, CLasses, ScaleData,
Global;
procedure GridControl(ColorBack: COLORREF);
procedure RulerVertical(X, Y: Integer);
procedure RulerHorizontal(X, Y: Integer);
implementation
uses CADFunction;
procedure RulerHorizontal(X,... |
unit Common.DatabaseUtils;
interface
uses
Aurelius.Criteria.Base,
Aurelius.Drivers.Interfaces,
Aurelius.Engine.DatabaseManager,
Aurelius.Engine.ObjectManager,
Aurelius.Criteria.Linq,
Model.Entities, System.Classes;
type
TCreateMode = (cmCreate, cmReplicate);
procedure UpdateDatabaseShema(Conn: IDBConn... |
unit PEDIDO;
interface
uses
Classes,
DB,
SysUtils,
Generics.Collections,
ormbr.mapping.attributes,
ormbr.types.mapping,
ormbr.types.lazy,
ormbr.types.nullable,
ormbr.mapping.register, PRODUTO;
type
//[Entity]
//[Table('PEDIDO','')]
//[PrimaryKey('ID', AutoInc, NoSort, True, 'Chave primária')]... |
unit GrafLib0;
(* ---------------------------------------------------------------------
Source : HIGH RESOLUTION GRAPHICS IN PASCAL by Angell & Griffith
Listing(s): 1.1, 1.3
Purpose: Graphics primitives adopted for Turbo Pascal
Adapted by: Art Steinmetz
-----------------------------------------... |
unit uTranslateVclVDBConsts;
interface
uses
Windows,
Vcl.VDBConsts,
uTranslate;
Type
TTranslateVclVDBConsts = Class(TTranslate)
private
public
class procedure ChangeValues; override;
End;
Implementation
class procedure TTranslateVclVDBConsts.ChangeValues;
begin
{ DBCtrls }
SetResourceS... |
unit Unit1;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
IdBaseComponent,
IdComponent,
IdCustomTCPServer,
IdCustomHTTPServer,
IdHTTPServer,
IdContext;
type
TForm1 = class(TForm)
... |
unit uInterfaceManager;
/// реализует объект, управляющий интерфейсом игры.
/// - имеет массив привязок ко всем значимым элементам интерфейса для полного контроля над ним
/// - получает данные от менеджера игры и отображает их в интерфейсе / изменяет состояние интерфейса
/// - получает события от интерфейс... |
unit Controller.Register.Base;
interface
uses
Model.Register.Base, View.List.Base, View.Register.Base,
Controller.Singleton.Base, System.Classes;
type
TRegister<T: class; AModel: TdtmdlRegister; AViewList: TfrmList;
AViewRegister: TfrmRegister> = class(TSingleton<T>)
private
FModel: AModel;
FRegist... |
unit TreeEditor;
//{$MODE Delphi}
interface
uses
{SysUtils, Windows,} Messages, {Classes,} Graphics, Controls,
Nodes;
type
TTreeEditor =
class(TObject)
protected
FTree : TNode;
FFocus : TNode;
FModified: Boolean;
procedure SetTree(ATree: TNode); virtual;
... |
unit Catalogs;
interface
uses
Windows, SysUtils, Classes, Controls, Forms, StdCtrls, ForestTypes,
ComCtrls, Grids, Dialogs;
type
TfrmCatalogs = class(TForm)
lblCatalog: TLabel;
lblValues: TLabel;
cmbCatalogs: TComboBox;
btnOk: TButton;
btnApply: TButton;
btnCancel: TButton;
lvValues... |
unit uzEstruturaTabs;
//************************************************
//* Source created with NexusDb Source Maker *
//* Version 1.1.4 *
//* *
//* by Roberto Nicchi *
//* M a s t e r Informatica ... |
{*******************************************************}
{ }
{ Delphi DataSnap Framework }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
{-----------------------------------------------------------------------------
Author: Roman Fadeyev
Purpose: Реализация брокера, работящего с TestServer См проект
"X:\Trade\Forecaster\Stock Server"
History:
-----------------------------------------------------------------------------}
unit FC.Trade... |
unit FC.StockChart.UnitTask.BBExpert.NavigatorDialog;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ufmDialogClose_B, StdCtrls, CheckLst, ComCtrls, ExtCtrls, ExtendControls,
StockChart.Definitions.Units,
FC.Definitions;
type
TfmNavigator = class(TfmDialo... |
PROGRAM Shuffle;
const n = 10;
type ListNodePtr = ^ListNode;
ListNode = record
val: integer;
next: ListNodePtr;
end;
List = ListNodePtr;
PROCEDURE InitList(var l: List);
BEGIN
l := NIL;
END;
FUNCTION NewNode(x: integer): ListNod... |
program _demo;
Array[0]
var
X : TReal1DArray;
Y : TReal1DArray;
N : AlglibInteger;
I : AlglibInteger;
Info : AlglibInteger;
S : Spline1DInterpolant;
T : Double;
Rep : Spline1DFitReport;
begin
//
// Fitting by unconstrained natural cubic spline
//
Wr... |
unit kehilangan_handler;
interface
uses
tipe_data;
{ KONSTANTA }
const
nmax = 1000; // Asumsi bahwa size terbesar dari database adalah 1000
{ DEKLARASI TIPE }
type
kehilangan = record
Username, ID_Buku, Tanggal_Laporan: string;
end;
tabel_kehilangan = record
t: array... |
unit UBaseShape;
{$mode objfpc}{$H+}
interface
uses
Classes, Graphics, UViewPort, UGeometry, math, LCLIntf, LCLType, sysutils;
type
{ TShape }
TPenWidth = type Integer;
TPenColor = type TColor;
TLeft = type Double;
TRight = type Double;
TTop = type Double;
TBottom = type Double;
TShape = class a... |
unit ServerMethodsUnit;
interface
uses System.SysUtils, System.Classes, System.Json,
Datasnap.DSServer, Datasnap.DSAuth, DataSnap.DSProviderDataModuleAdapter,
FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf,
FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Async... |
unit DBUtil;
interface
uses
AppData, IFinanceGlobal, SysUtils, Vcl.ExtCtrls, DB;
type
TSequenceObject = (soEntity,soGroup,soEmployer,soBankBranch,soDesignation,
soLoanClass,soLoan,soCompetitor,soPurpose, soLoanType,
soAcctType,soLoanCancelReason,soLoanRejectReason,... |
{***************************************************************
*
* Project : MailDemo
* Unit Name: MsgEditor
* Purpose : Sub form
* Version : 1.0
* Date : Wed 25 Apr 2001 - 01:28:29
* Author : Hadi Hari <hadi@pbe.com>
* History :
* Tested : Wed 25 Apr 2001 // Allen O'Neill <allen_oneill@hotmail.com... |
// ====================================================================
// Unit uDSProcessMgmt.pas
//
// This unit contains the most importants funcions and procedures for
// reading the memory information.
//
// Esta "unit" contém as funções e procedures mais importantes para a
// leitura de informação em mem... |
{***************************************************************************}
{ }
{ This file is part of the Gofy "Arkham Horror: The Board Game" migration }
{ and implementation. }
{ ... |
unit rhlPJW;
interface
uses
rhlCore;
type
{ TrhlPJW }
TrhlPJW = class(TrhlHash)
private
const
BitsInUnsignedInt = SizeOf(DWord) * 8;
ThreeQuarters = (BitsInUnsignedInt * 3) div 4;
OneEighth = BitsInUnsignedInt div 8;
HighBits = High(DWord) shl (BitsInUnsignedInt... |
unit DW.iOSapi.Foundation;
{*******************************************************}
{ }
{ Kastri Free }
{ }
{ DelphiWorlds Cross-Platform Library ... |
{*******************************************************}
{ }
{ Delphi Visual Component Library }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit MeasureUnit.Time;
interface
uses
SysUtils, Math,
Global.LanguageString;
type
TimeUnit = record
FPowerOfSUnit: Integer;
end;
const
UnittimePerHigherUnittime = 60;
HourUnit: TimeUnit = (FPowerOfSUnit: 2);
MinuteUnit: TimeUnit = (FPowerOfSUnit: 1);
SecondUnit: TimeUnit = (FPowerOfSUnit: 0);
f... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.