text stringlengths 14 6.51M |
|---|
unit frmUniMainMenu;
interface
uses
DateUtils, Forms, Messages, Dialogs, SysUtils, Windows,
// Auto Generate
Controls, Classes, ActnList, XPStyleActnCtrls, ActnMan, AppEvnts, ExtCtrls,
ToolWin, ActnCtrls, ActnMenus, ComCtrls, Menus;
type
TFormUniMainMenu = class(TForm)
aeMainMenuEvent: TA... |
unit WindowsFunc;
interface
function CopyDir(const fromDir, toDir: string): Boolean;
function MoveDir(const fromDir, toDir: string): Boolean;
function DelDir(const dir: string): Boolean;
implementation
uses Windows, ShellAPI, SysUtils;
// Если в конце имени каталога идёт '\', то надо добавить '*'
fun... |
{==============================================================================|
| Project : Delphree - Synapse | 003.002.004 |
|==============================================================================|
| Content: SMTP client ... |
unit VamLib.GuiUtils.ThrottleDebounce;
interface
uses
SysUtils,
VamLib.OneShotTimer;
/// Throttle - Debounce
///
/// TODO:MED
///
/// It would be possible to create a dynamic throttle-debounce system where all
/// the client code wouldn't need to maintain individual instances of Throttle
/// and Debounce to... |
unit UMovieForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, UMovie;
type
TMovieForm = class(TForm)
grpInput: TGroupBox;
edMovieName: TLabeledEdit;
edProducer: TLabeledEdit;
edActors: TLabeledEdit;
edDescription: TLa... |
unit uCCSVList;
interface
uses Windows, SysUtils, Classes;
type
TCSVStringList = class(TStringList)
private
FForceQuoteWords: boolean;
function GetStrictDelText: string;
procedure SetStrictDelText(const Value: string);
public
property StrictDelimitedText: string read GetStrictDelText write SetS... |
program once;
const
cantSucursales = 8;
corte = '0';
valorAltoString = 'zzz';
type
str10 = String[10];
rangoSucursales = 1..cantSucursales;
tProducto = record
codProducto, descripcion : str10;
precio : real;
stock : integer;
end;
listaProductos = ^nodo;
nodo = record
dato : tProducto;
sig : lis... |
UNIT VectorADS;
INTERFACE
PROCEDURE Add(val: INTEGER); //AppendValue
PROCEDURE SetElementAt(pos: INTEGER; val: INTEGER);
PROCEDURE GetElementAt(pos: INTEGER; VAR val: INTEGER);
PROCEDURE RemoveElementAt(pos: INTEGER);
FUNCTION Size: INTEGER; //Size of container
FUNCTION Capacity: INTEGER;
PROCEDURE DisplayArr... |
{*******************************************************}
{ }
{ Delphi VCL Components }
{ for selecting/creating/viewing a folder }
{ Explorer-like style }
{ ... |
unit MainForm;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
OpenGL,
System.Classes, Vcl.Graphics,
ExtCtrls,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs;
type
TForm5 = class(TForm)
procedure FormPaint(Sender: TObject);
private
{ Private 宣言 }
DC: HDC; { デバイ... |
unit Bookmarks;
{$mode objfpc}{$H+}
interface
uses
contnrs;
const
ibmNone = -1; // no active indexed bookmark
type
TSaveBookmarkEvent = function: TObject of object;
TRestoreBookmarkEvent = procedure(Which: TObject) of object;
{ TBookmarkManager }
TBookmarkManager = class
private
FOnSaveBookmar... |
unit DragPos;
interface
uses
Windows, Messages, SysUtils, Classes, Controls, ExtCtrls,graphics;
type
marker = record
ypos,xpos,cxpos,cypos : word;
moving : boolean;
end;
pmarker=^marker;
dataarray = array[0..maxword] of word;
pdataarray=^dataarray;
TDragPos = class(tpanel)
priva... |
unit HaxList;
interface
uses Windows, Classes, SysUtils, StrUtils;
Type
TValueType = (vtByte, vtWord, vtDWord);
TValueStatus = (vsOK, vsInvalidOffset, vsUnknown);
TCreateError = Procedure(S: String);
THaxValue = Record
Name: String;
Offset: DWord;
Source: DWord;
Value: DWord;... |
unit GenericConnector;
interface
uses classes, ConnectorTypes;
type TGenericConnector = class (TPersistent)
public
constructor Create(); virtual;
destructor Destroy; override;
public
procedure setup(); virtual;
procedure toggleConnect();
procedure connect(); virtual;
... |
unit Produto;
interface
uses Rtti , MyORM.Atributos.Model ,System.TypInfo ;
type
[TNomeTabela('PRODUTO')]
TProduto = class(TTabela)
private
FMedidaCompra: String;
FPrecoCusto: Currency;
FCodigoBarras: String;
FPrecoVenda: Currency;
FId: Integer;
FNome: String;
FMedidaVenda: String;
... |
(* Helper unit for reading MiniPascal/MidiPascal code file. *)
(* GHO, 13.05.2017 *)
UNIT CodeRdr;
INTERFACE
USES CodeDef;
(* Reads code file and initializes code reader. *)
(* IN filename: Code file to read. *)
(* OUT ok: True if code file could be successfully read. *)
PROCEDURE InitCodeReader(filename: STRING; VA... |
unit UDMCadAluno2;
interface
uses
System.SysUtils, System.Classes, UDMPaiCadastro, Data.FMTBcd, Data.SqlExpr,
Datasnap.Provider, Data.DB, Datasnap.DBClient, UClassCadAluno, UDMConexao;
type
TDMCadAluno2 = class(TDMPaiCadastro)
procedure DataModuleCreate(Sender: TObject);
procedure SQLDSAfterOpen(DataSe... |
// ***************************************************************************
// Delphi MVC Framework
//
// Copyright (c) 2010-2016 Daniele Teti and the DMVCFramework Team
//
// https://github.com/danieleteti/delphimvcframework
//
// ***************************************************************************
//
// Lic... |
{***********************************************************************}
{ TAdvSmoothImageListBoxPicker component }
{ for Delphi & C++ Builder }
{ }
{ written by : ... |
program WholeNumber;
procedure WholeNumber(number: real);
begin;
writeln('number1 equals: ', number:4:0);
writeln('number2 is: ', number:0:1);
end;
begin
WholeNumber(3.14);
end.
|
(* Copyright (c) 2017. Cary Jensen, Jensen Data Systems, Inc.
This code sample is intended for the readers of
"Delphi in Depth: FireDAC"
by Cary Jensen
ISBN-13: 978-1546391272
ISBN-10: 1546391274
No guarantees or warranties are expressed or implied concerning
the applicability of techniques or... |
unit DX7.Synth;
interface
uses
System.SyncObjs,
Generics.Collections,
DX7.Config,
FS1R.Params,
DX7.Voice;
type
TMidiEvent = record
data: array of byte;
receivedTime: TDateTime;
end;
TDX7Synth = class
private
voices: TList<TDX7Voice>;
sustainPedalDown: boolean;
function GetVoice... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.8.3.9-8, FILE=ERR73P... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.6-13, FILE=ERR11T, CL... |
unit EPaster;
interface
uses Classes, EP_GBA;
Type
TErrorType = (etLog, etHint, etWarning, etError);
TCreateError = Procedure(const S: string; Level: TErrorType = etError);
{ECreateError = Class(EAbort)
constructor Create(S: String; ErrorProc: TCreateError = nil); overload;
constructor Create(S: String... |
unit eeMipMapSample;
interface
uses
VamLib.MoreTypes, eeMipMapLayer, Contnrs;
const
kBundleLayerCount = 6;
type
//MonoSumMode - controls how a stereo signal is mixed down to mono.
// msCenter is as in Mid/Side processing. Taking the mid channel.
// msSumAndScale. Add both channels and rescale... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.3.10-11, FILE=DEV238,... |
Program HelloWorld;
Var
a, b, c : Integer;
Begin (*This is a comment*)
a := 1;
b := 2;
Writeln('Hello, world');
End. |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.6.5-1, FILE=CONF141, CLAS... |
{ ******************************************************************
Optimization by Genetic Algorithm
******************************************************************
Ref.: E. Perrin, A. Mandrille, M. Oumoun, C. Fonteix & I. Marc
Optimisation globale par strategie d'evolution
Technique utilisant la g... |
{
DM CSV A CSV Class for Delphi
By Ben Jones 26/8/2015
If you have any questions you can email me at:
Email: dreamvb@outlook.com
Enjoy the class
Updated 19:58 12/10/2015
//Added remove quotes from field return property.
}
unit dmcsv;
interface
uses
SysUtils, Variants, Classes, Dialogs;
type TCsv =... |
unit UCL.Button;
interface
{$IF CompilerVersion > 29}
{$LEGACYIFEND ON}
{$IFEND}
uses
SysUtils,
Windows,
Messages,
Classes,
Types,
Controls,
Graphics,
ImgList,
UCL.Classes,
UCL.Types,
UCL.Utils,
UCL.Graphics,
UCL.Colors;
type
TUButton = class(TUCustomControl)
... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.2.2-11, FILE=DEV042, CL... |
unit Wait4D.View.Loading;
interface
uses
Wait4D.Interfaces,
System.Classes,
System.SysUtils,
System.Variants,
Vcl.Controls,
Vcl.Dialogs,
Vcl.ExtCtrls,
Vcl.Forms,
Vcl.Graphics,
Vcl.StdCtrls,
Vcl.WinXCtrls,
Winapi.Messages,
Winapi.Windows;
type
TfrmLoading = class(TForm, iWait4DNotificad... |
unit VehicleUnit;
interface
type
TVehicle = class(TObject)
private
FWheels: Integer;
public
constructor Create;
function Drive: string; virtual;
property Wheels: Integer read FWheels;
end;
TBike = class(TVehicle)
private
FFuel: string;
public
constructor Create... |
unit uDMServico;
interface
uses
System.SysUtils, System.Classes, uDMBase, Data.FMTBcd, Datasnap.DBClient,
Datasnap.Provider, Data.DB, Data.SqlExpr, uModelServico, uDMConexao;
type
TDMServico = class(TDMBase)
CDSConsultaidServico: TIntegerField;
CDSConsultaidcategoria: TIntegerField;
SQLCategoria: T... |
unit Rest.Concret.ClientAPI;
interface
uses Rest.Abstract.ClientAPI, System.Net.HttpClient,
Rest.Client, Rest.Types,
{$IF DECLARED(FireMonkeyVersion)}
FMX.Types,
{$ENDIF}
System.sysutils,
Rest.Authenticator.Basic;
type
TRestClientAPI = class(TInterfacedObject, IRestClientAPI)
private
function GetHTT... |
{
Plugs of the Commonwealth:
Update all ARMA and ARMO to use a different slot.
darkconsole http://darkconsole.tumblr.com
}
Unit UserScript;
Var
InputSlot: Integer;
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////... |
unit Model.Conections.Rest.CEP.Providers;
interface
uses
System.JSON,
RESTRequest4D,
System.SysUtils,
Model.Services.Interfaces,
Model.Conections.Rest.Interfaces,
Model.Conections.Rest;
type
TRestConnectionViaCEP = class(TInterfacedObject, IRestProvider)
public
class function New: IRestPr... |
program union;
type
contents_t = (notes,book,laptop);
color_t = (red,green,blue);
bag_t = record
color : color_t;
case contents : contents_t of
notes : (first:char; second:char);
book : (onlybook:integer)... |
{ ******************************************************************
Polynomial regression : Y = B(1) + B(2) * X + B(3) * X^2 + ...
****************************************************************** }
unit upolfit;
interface
uses
utypes, ulineq, usvdfit, umachar, uConstants;
procedure PolFit(X, Y: ... |
(* Copyright (c) 2017. Cary Jensen, Jensen Data Systems, Inc.
This code sample is intended for the readers of
"Delphi in Depth: FireDAC"
by Cary Jensen
ISBN-13: 978-1546391272
ISBN-10: 1546391274
No guarantees or warranties are expressed or implied concerning
the applicability of techniques or... |
PROGRAM SumDigit(INPUT, OUTPUT);
VAR
Digit, DigitSum: INTEGER;
PROCEDURE ReadDigit(VAR Source: TEXT; VAR Digit: INTEGER);
VAR
Ch: CHAR;
BEGIN
Digit := -1;
READ(Source, Ch);
IF Ch = '0' THEN Digit := 0 ELSE
IF Ch = '1' THEN Digit := 1 ELSE
IF Ch = '2' THEN Digit := 2 ELSE
IF Ch = '3' THEN Digit := 3 ELSE
IF Ch... |
{==============================================================================|
| Project : Delphree - Synapse | 002.000.000 |
|==============================================================================|
| Content: PING sender ... |
unit eeMenus;
interface
uses
Vcl.Menus, WinApi.Messages, Vcl.Controls;
type
TMenuCloseEvent = procedure(Sender: TObject; Cancelled: Boolean) of object;
TPopupMenuEx = class(TPopUpMenu)
private
FOnClosed: TMenuCloseEvent;
public
procedure Popup(X, Y: Integer); override;
publishe... |
unit Dokan;
{
Copyright (c) 2008, Shinya Okano<xxshss@yahoo.co.jp>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list... |
unit Principal;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uADStanIntf, uADStanOption,
uADStanParam, uADStanError, uADDatSManager, uADPhysIntf, uADDAptIntf,
uADStanAsync, uADDAptManager, uADGUIxIntf, uAD... |
{
@Test Programm "User Roles" v0.1 alfa
@author: SCRIBE (Volodymyr Sedler)
@date: 24.06.2015
@contacts: skype: neo-scribe; e-mail: justscribe@yahoo.com
}
unit uMain;
interface
uses
Windows, SysUtils, Forms, Menus, Grids, StdCtrls, Controls, Classes, Dialogs,
TypInfo, Variants,
// Classes units
uRB, ... |
unit ShellUtils;
interface
type
TShellBehavior = interface
procedure Shell;
end;
implementation
end.
|
unit TitleBarForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Types, TransparentCanvas, DwmApi,
Vcl.ComCtrls;
type
TFormGlowColor = class(TForm)
clbText: TColo... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.2.1-7, FILE=DEV035, CLA... |
unit eeMipMapLayer;
interface
uses
VamLib.MoreTypes, eeSampleInt;
type
// TMipMapLayer
// If the mip map layer being based on the SmallInt type becomes a problem in the future,
// it shouldn't be too difficult to drop in an alternative data array, and set the class
// up so that it can handle ei... |
(*
* CuadradoPerfecto
* Este Programa determina si un numero es un cuadrado perfecto
* Autor: Jose Pena
* Ultima fehca de modificacion: 31/01/2013
*)
Program CuadradoPerfecto;
Var n : integer; // Numero Entero
b : boolean; // Variable booleana
Begin
(* Lectura de Datos *)
Writeln ( ' Ingrese un entero "n" para dete... |
unit FarScape.UserInteraction;
interface
// NOTE: FarScape has a couple interaction differences to VCL controls.
// - All FarScape controls capture the mouse when clicked.
// - Mouse capture will occur with all button clicks (left, right, middle etc).
uses
Classes,
Controls,
FarScape.PureInterfacedObject,
Fa... |
{
PROG: lessons
LANG: PASCAL
}
//- - - - - < old code > - - - - -
{$IFDEF WIN32}{$DEFINE DEBUG}{$ENDIF}
{$IFDEF DELPHICOMPILED}
unit ;
interface implementation
{$ELSE}
program lessons;
{$ENDIF}
uses {$IFDEF DEBUG}windows,{$ENDIF}sysutils;
const PROBLEM_NAME='lessons';
// - - - - - </ old code ... |
program purge;
uses crt;
//ALGORITHME : purge_caractere
//BUT : faire une fonction qui purge une chaine d un caractere
//ENTREE:
//SORTIE:
FUNCTION purge(chaine_source:string;car_a_sup:char):string;
VAR
temp_chaine,car_temp :string;
ent,i:integer;
BEGIN
ent:=length(chaine_source);
temp_chaine:='';
for i:=1... |
unit unt_HoSynEdit;
{*
2012-06-10 liqj 增加跳转窗口 u_SynJumpDlg
....
*}
{.$I SynEdit.Inc}
interface
uses
Windows, SysUtils, Classes, Controls, SynEdit, SynEditTypes, Graphics, Contnrs
, Messages;
type
EDirection = (edLeft, edRight, edAll);
THoSynEdit = class(TSynEdit)
private
{ Private declarations }
... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.5.3-15, FILE=CONF124, CLA... |
unit VamBasicReg;
interface
uses
VamCompoundLabel,
VamCompoundModMatrixSection,
VamCompoundNumericKnob,
VamArrows,
VamButton,
VamDiv,
VamImage,
VamKnob,
VamLabel,
VamMemo,
VamMiniLevelMeter,
VamModularJack,
VamMultiLineTextBox,
VamNumericKnob,
VamPanel,
VamSampleDisplay,
VamSamplerKe... |
unit About;
interface
uses Windows, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ExtCtrls, SysUtils;
type
TAboutBox = class(TForm)
OKButton: TButton;
Panel1: TPanel;
ProgramIcon: TImage;
ProgramName: TLabel;
Copyright: TLabel;
procedure FormCreate(Sender: TObject);... |
unit frmBilling;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, FWGridBasefrm, Data.FMTBcd,
Vcl.AppEvnts, Datasnap.Provider, Data.DB, Datasnap.DBClient, Data.SqlExpr,
Vcl.StdCtrls, Vcl.Imaging.jpeg, Vcl.ExtC... |
{
* FmUserDemo.pas
*
* Main form for the Window State Components UserDemo demo program.
*
* $Rev$
* $Date$
*
* Any copyright in this file is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/
}
unit FmUserDemo;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics,... |
unit uFSimulacaoFinanciamento;
interface
uses
Winapi.Windows, Winapi.Messages,
System.SysUtils, System.Variants, System.Classes, System.UITypes, System.Generics.Collections,
System.Math,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls,
Firedac.Comp.Client, UFDMemTableHelper, D... |
unit Unit5;
interface
{$DEFINE TMS}
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, FMX.Objects, neTabControl
{$IFDEF TMS}
, FMX.TMSBadge
{$ENDIF}
, ... |
unit TableFont;
interface
uses
TableText, H_Graphics, Graphics, Types, Direct3D9, D3DX9;
Type
TCharRecord = Record
Left: Word;
Width: Word;
Right: Word;
end;
TTableFont = Class(TEngineFont)
//constructor Create(DXDraw: TDXDraw; Table: TTable);
FTable: TTable;
FCharsData: Arra... |
unit PrcIBFBInfo;
{*************************************************************************}
{* *}
{* Author: Alcindo Schleder *}
{* Copyright: © 2003 by Alcindo Schleder. All rights reserved. ... |
unit ArrayHelpers;
interface
type
// if you declare TArray<string>, delphi will apply the record helper to every TArray variable, such as TArray<Integer>
TStringArray = array of string;
TStringArrayHelper = record helper for TStringArray
public
function AsArray: TArray<string>;
procedure Add(Value: st... |
//http://stackoverflow.com/questions/5993877/checking-digital-signature-programmatically-from-delphi
unit verificador;
{$mode delphi}{$H+}
interface
uses Windows;
const
{$EXTERNALSYM WIN_CERT_REVISION_1_0}
WIN_CERT_REVISION_1_0 = $0100;
function IsCodeSigned(const Filename: string): Boolean;
function IsCompanySi... |
unit TestDaoBase;
{
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 Firedac.VCLUI.Wait,
TestFramework, System.SysU... |
{
THotKeySupport adds support for hotkeys in VST plugins.
Hotkey support in VST plugins is problematic because not all hosts send keystrokes to the plugin GUI.
For those plugins that don't, THotkeySupport uses a global keyhook.
THotkeySupport will capture key strokes when the attached GUI/form is in foc... |
unit Venda;
interface
uses
Venda.Interfaces,
System.Generics.Collections,
System.SysUtils,
Venda.Types,
Venda.Types.Helpers;
type
TVenda = class(TInterfacedObject, iVenda)
private
FAttributes: iVendaAttributes<iVenda>;
FActions : iVendaActions;
public
constructor Create;
d... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.3.3-12, FILE=ERR04T, ... |
unit IocpDsServer;
{$define __IOCP_DATASNAP__}
interface
uses
{$ifdef __IOCP_DATASNAP__}
Iocp.DSHTTPWebBroker
{$else}
IdHTTPWebBrokerBridge
{$endif};
type
TDataSnapServer = class
private
{$ifdef __IOCP_DATASNAP__}
class var FServer: TIocpWebBrokerBridge;
{$else}
class var FServer: TIdH... |
{
Crafting Interpreters
https://craftinginterpreters.com/
}
unit scanner;
{$ifdef FPC}
{$mode delphi}
{$endif}
interface
uses
Classes, SysUtils, Generics.Collections
, ptypes, token;
type
TScanner = class(TObject)
private
FSource: string;
FTokens: TObjectList<TToken>;
FStart: integer;
... |
unit CalcularPreco.Interfaces;
interface
uses
System.SysUtils,
System.Classes,
CalcularPreco.Tipos;
type
ICalculadoraDePrecoParametros = interface;
ICalculadoraDePrecoOperacoes = interface;
ICalculadoraDePreco = interface
['{31E2905C-C3BF-42EF-AAD2-8CA65A5ECD8E}']
function Parametros: ICalculado... |
// Language Bath - Common
// Copyright (c) 2020 Barend Gehrels, Amsterdam, the Netherlands.
// Use, modification and distribution is subject to the MIT License
// https://raw.githubusercontent.com/barendgehrels/langbath/main/LICENSE
// This unit a structure keeping book settings, and functionality to read
// and write... |
unit MainUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls;
type
TMainForm = class(TForm)
ScoreLabel: TLabel;
GameButton: TButton;
LeftMove: TButton;
RightMove: TButton;
Ring: TImage;
Basket: TImage;
GameTimer... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.9.3.4.1-1, FILE=IMPDEF1... |
unit frmCategory;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs,
// Auto Generate
frmUniMasterEx, Menus, cxLookAndFeelPainters, dxPSGlbl, dxPSUtl, dxPSEngn,
dxPrnPg, dxBkgnd, dxWrap, dxPrnDev, dxPSCompsProvider, dxPSFillPatterns,
dxPSEdgePatt... |
PROGRAM Paint (input, output);
uses crt;
{Erick Nave
2-16-93 ICS 9:00
Program paint (paint.pas) computes the surface area of a room, how much
paint is needed to cover that area, and the total cost of the paint}
CONST
DoorArea = 22;
WindowArea= 11;
VAR
RoomLength, RoomHeight, RoomWidth, RoomArea, ... |
unit VamTextBox;
interface
uses
VamGuicontrolInterfaces,
Graphics, Controls,
Classes, RedFox, RedFoxColor, RedFoxWinControl, VamWinControl;
type
TVamTextBox = class(TVamWinControl, IMenuControl)
private
IsMouseOver : boolean;
fColor : TRedFoxColor;
fColorMouseOver : TRedFoxColor;
fColorBord... |
PROGRAM SplitTimes (input, output);
{Erick Nave
2-4-93 ICS 9:00
program 16, page 84
SplitTimes (runtime.pas) asks a track coach for times at miles 1 and 2 and
for the finish time. It then computes the split times for each point
and displays them on the screen.}
VAR
RunNum, MinMile1, MinMile2, MinFi... |
unit utestvalidator;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, fpcunit, testutils, testregistry,
uhelpercalculator, uvalidator;
type
{ TestValidator }
TestValidator= class(TTestCase)
private
FListNumbers: TIntegerList;
FValidator : TValidator; // Ref.Counted
procedure UnMetodoGe... |
// Marcello Mello
// 28/09/2019
unit lps.parser;
interface
uses
SysUtils,
Generics.Collections,
lps.types,
lps.ast;
type
TOnParserErrorEvent = procedure(Token: TToken; Msg: string) of object;
EParseError = class(Exception)
end;
TParser = class
private
FLoopDepth: Integer;
FOnError: TOn... |
unit Entidade.Pedido;
interface
uses
SimpleAttributes;
Type
[Tabela('PEDIDO')]
TPEDIDO = class
private
FID: Integer;
FCLIENTE: String;
FDATAPEDIDO: TDatetime;
FVALORTOTAL: Currency;
procedure SetID(const Value: Integer);
procedure SetCLIENTE(const Value: String);
procedure SetDATA... |
{*******************************************************************************
Title: T2Ti ERP
Description: VOs relacionado à tabela [NotaFiscalCabecalho]
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 assoc... |
unit DragDock;
interface
uses Dock.Interfaces,
Classes, Controls, Graphics, Windows, Messages, Forms, SysUtils, StdCtrls,
RTTI, System.Generics.Collections;
type
TDragDockClass = class of TDragDock;
/// Base class for drag handles
TDragDock = class(TCustomControl)
protected
FClickOrigin: TPoin... |
unit AggRendererRasterText;
////////////////////////////////////////////////////////////////////////////////
// //
// Anti-Grain Geometry (modernized Pascal fork, aka 'AggPasMod') //
// Maintained by Christian-W. Budde (Christia... |
{******************************************************************************}
{ }
{ Part of speech }
{ ... |
unit ViewUnit;
interface
uses TableText, FontUnit, OpenGL, OpenGLUnit, Types;
const
cBufferSize = 1024 * 64;
var
WinTex: Integer = 0;
Type
TTextViewer = class
FTable: TTable;
FMarioFont: TMarioFont;
FBuffer: Array[0..cBufferSize-1] of Byte;
FWinWidth: Integer;
FWinHeight: Integer;
... |
unit UnitClipboard;
interface
Uses
windows,
shellapi;
function GetClipboardFiles(var Resultado: widestring): Boolean;
function GetClipboardText(Wnd: HWND; var Resultado: string): Boolean;
procedure SetClipboardText(const S: wideString);
implementation
function GetClipboardFiles(var Resultado: widestring): Bool... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.1.7-14, FILE=IMDEFB06, ... |
unit AQModel;
interface
uses
AQSubscriptionResponce, AQSubscriptionEntry, ActiveQueueEntry,
System.Classes, Consumer, ListenerProxyInterface,
ConditionInterface, AQConfig, JsonSaver, Client, RequestStorageInterface,
System.Generics.Collections, RequestSaverFactory, RepositoryConfig, MVCFramework.Logger;
type... |
unit RelayFrameUnit;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseFrameUnit, Vcl.Imaging.pngimage,
Vcl.ExtCtrls,
supla_proto, ProgCfgUnit, System.ImageList, Vcl.ImgList, Vcl.StdCtrls;
type
TRelayFra... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.7.3-5, FILE=LEV1F36... |
// License
//
// The contents of this file are subject to the Mozilla Public License
// Version 1.1 (the "License"); you may not use this file except in
// compliance with the License. You may obtain a copy of the License at
// http://www.mozilla.org/MPL/
//
// Software distributed under the License is distribut... |
unit ArqStr;
{
*************************************************************************
* *
* Author: Alcindo Schleder *
* Copyright: © 2003 by Alcindo Schleder. All rights reserved. *
*... |
unit AggEllipseBresenham;
////////////////////////////////////////////////////////////////////////////////
// //
// Anti-Grain Geometry (modernized Pascal fork, aka 'AggPasMod') //
// Maintained by Christian-W. Budde (Christian@... |
unit uCollapseMap;
interface
uses classes, u3DTypes, uCalc, Math, uMDM,uMDX, OpenGL,dialogs;
// polygon-reduction method by Stan Melax
type
TTriData = record
v: array[0..2] of integer; // indices to vertex list
end;
TVectorArray = array of TVector;
TTriDataArray = array of TTriData;
TIntArray = array o... |
program Garage;
uses crt;
//Il me manque tout le programme principal en revanche toutes les fonctions, les procedures et les vérifications sont faites
{ALGO Garage
//BUT Créer et afficher un ensemble de garages contenant entre 6 et 15 voitures
//ENTREE infos sur chaques voitures
//SORTIE infos de toutres les voiture... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.