text stringlengths 14 6.51M |
|---|
{ GtkGLExt - OpenGL Extension to GTK+
Copyright (C) 2002-2004 Naofumi Yasufuku
These Pascal bindings copyright 2005 Michalis Kamburelis
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundatio... |
{-----------------------------------------------------------------------------
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/MPL-1.1.html... |
unit ClassPessoa;
interface
uses
System.SysUtils, ClassSql;
type
TPessoa = class
strict private // Quarto do casal
FSegredo: string;
strict protected // Apenas pessoaas da familia poderam ver
FSoFamilia: String;
private //Casas
FNome: string;
FEtnia: string;
FDataNasc: String;
... |
{************************************************}
{ }
{ Turbo Vision File Manager Demo }
{ Copyright (c) 1992 by Borland International }
{ }
{************************************************}
unit Common;
... |
{
Pascal translation of the dbus headers
Based on dbus version 1.2.16
}
{ -*- mode: C; c-file-style: "gnu" -*- }
{ dbus.h Convenience header including all other headers
*
* Copyright (C) 2002, 2003 Red Hat Inc.
*
* Licensed under the Academic Free License version 2.1
*
* This program is free software; y... |
unit LinkedList;
{$mode objfpc}{$H+}
(*
Модуль, отвечающий за взаимодействие со списком - добавление,
удаление, поиск
*)
interface
uses
Classes, SysUtils, Dialogs;
type
list = ^TLinkedList;
TLinkedList = record
date : TDateTime;
temperature : integer;
humidity : integer;
atmospherePressure : ... |
unit uFrmCadastroTipoJuros;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls,
System.ImageList, Vcl.ImgList, PngImageList, Vcl.ComCtrls, Vcl.ToolWin,
TipoJuros, JurosRN, uFrmPesquisa... |
unit DDCSReportItems;
{
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.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, sof... |
unit diocp_ex_StreamCoder;
interface
uses
diocp_coder_baseObject, Classes, SysUtils, utils_buffer, utils_BufferPool, diocp_ex_streamProtocol;
type
TIOCPStreamDecoder = class(TDiocpDecoder)
private
FBuf: PByte;
FLength: Integer;
FStreamObj: TDiocpStreamObject;
public
constructor Create; overri... |
unit udmFn15_1;
interface
uses
SysUtils, Classes, FMTBcd, DBClient, Provider, DB, SqlExpr;
type
TdmFn15_1 = class(TDataModule)
qryRecibo: TSQLQuery;
qryReciboCODIGO_RECIBO: TIntegerField;
qryReciboNUM_DOC_RECIBO: TStringField;
qryReciboTIP_DOC_RECIBO: TStringField;
qryReciboEMIS_PGTO_RECIBO: ... |
unit OposUtils;
interface
uses
// VCL
Classes, SysUtils,
// OPOS
Opos, Oposhi, OposException,
// This
GNUGetText;
function GetErrorLocusText(Value: Integer): WideString;
function GetResultCodeText(Value: Integer): WideString;
function GetErrorResponseText(Value: Integer): WideString;
function PowerStateT... |
unit NpzRanges;
interface
uses
CoreUtility,
FileRoutines,
System.Classes,
System.SysUtils;
type
TRange = class
public
FLow: Double;
FHigh: Double;
end;
TNpzRanges = class
private
FRanges: TList;
function GetRange(Index: Integer): TRange;
function GetSize: Integer;
public
property Rang... |
unit falling;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, movers;
type
{ TFallingObj }
TFallingObj = class(T2DMover)
private
t:single;
t0:TDateTime;
v0, x0, y0:double;
protected
procedure checkPos; override;
procedure OnCollusion; virtual;
public
pro... |
{
projectparser.pas
Parses the project file
Copyright (C) 2006-2007 Felipe Monteiro de Carvalho
This file is part of MkSymbian build tool.
MkSymbian is free software;
you can redistribute it and/or modify it under the
terms of the GNU General Public License version 2
as published by the Free Software Foundation.
M... |
// LAZARUS, WIN10\XP *** FidirCheckClass.pas ***
// ****************************************************************************
// * FidirCheck [120] Анализатор файлов и каталогов *
// ****************************************************************************... |
unit PowerShell;
interface
uses
System.SysUtils,
ComObj,
Variants;
type
TStrCallback = procedure(Line: String);
/// <summary>A class that allows communication with a single instance of PowerShell</summary>
TPowerShell = class
const
/// <summary>Unique string used for the detection of the end of c... |
{
This software is distributed under GPL
in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the warranty of FITNESS FOR A PARTICULAR PURPOSE.
@abstract(Contains definition of server component performing long-term operation in separate thread.)
@author(Dmitry Morozov dvmorozov@hotmail.com,
Lin... |
unit Scopes;
interface
uses Tokens;
type
TParserHash = Byte;
TIdentifierType = (itUnknown, itUndeclared, itType, itVariable, itFunction);
PIdentifier = ^TIdentifier;
PScope = ^TScope;
PType = ^TType;
PVariable = ^TVariable;
PFunctionHeader = ^TFunctionHeader;
PFunction = ^TFunctio... |
Procedure InOrder(CurrentWord : WordPOINT);
{Prints the nodes of a non-nil alphabetically ordered binary tree in order.}
Begin
If CurrentWord^.Before <> Nil Then
Begin
InOrder(CurrentWord^.Before)
End;
writeln(CurrentWord^.Word);
If CurrentWord^.After <> Nil Then
Begin
InOrder(CurrentWord... |
{**
@abstract(Subrutinas asociadas a estadisticos.)
@author(Agustin Barto <abarto@gmail.com>)
@created(March 12, 2005)
@lastmod(March 12, 2005)
Este modulo contiene constantes, funciones y procedimientos utilizados
para el calculo de estadisticos.
}
unit UnitSubrutinasEstadisticas;
interface
uses
Mat... |
{
Fast Memory Manager: Messages
Spanish translation by JRG (TheDelphiGuy@gmail.com).
Change Log:
15 Feb 2006: Updated by Marcelo Montenegro.
}
unit FastMM4Messages;
interface
{$Include FastMM4Options.inc}
const
{The name of the debug info support DLL}
FullDebugModeLibraryName32Bit = 'FastMM_FullDebugMode.... |
unit uColEdit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, SynEdit, SynMemo, StdCtrls, Buttons, JvBitBtn, SynEditHighlighter,
TB2ExtItems, TBXExtItems, TB2Item, TBX, TB2Dock, TB2Toolbar, TBXToolPals,
JvComponent, JvLabel, JvButton, JvCtrls, JvExStdCtrls, ... |
unit ScannerKeywordsLengthTableGenerator;
interface
uses SysUtils, IniFiles, Classes;
procedure IdentifierProc;
procedure InitKeywords;
implementation
uses Dialogs, Scanner, Tokens, SearchCode, HashExplorer, ComCtrls, Math, GeneratorCommon;
type
PKeywordInfo = ^TKeywordInfo;
TKeywordInfo = reco... |
unit uItensPedidoModel;
interface
uses uProdutoModel;
type
TItensPedidoModel = class
private
FValorUnitario: Double;
FQuantidade: Double;
FCodPedido: Integer;
FProduto: TProdutoModel;
FVlrTotalItem: Double;
FCodProduto: Integer;
procedure SetCodPedido(const Value: Integer);
pr... |
{
HM NIS Edit (c) 2003-2005 Héctor Mauricio Rodríguez Segura <ranametal@users.sourceforge.net>
For conditions of distribution and use, see license.txt
Base class for MDI child windows
}
unit UCustomMDIChild;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
SynEdit, ... |
{-----------------------------------------------------------------------------
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/MPL-1.1.html... |
unit PipeServerInstance;
interface
uses
Classes, Windows;
const
SHUT_DOWN_MSG = 'shutdown pipe ';
PIPE_FORMAT = '\\%s\pipe\%s'; // \\ServerName\pipe\PipeName
PIPE_TIMEOUT = 5000;
BUFF_SIZE = 8095;
type
TInstanceState = (isRun, isTerminate);
RPIPEMessage = record
Size: DWORD;
Kind: ... |
unit Forms.Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
System.IOUtils, AWS.Rekognition, Vcl.Graphics, PNGImage, JPEG,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.ExtDlgs, Vcl.StdCtrls;
type
TForm8 = class(TForm)
Button1: TButton;
... |
// Calculate the minimum and maximum of three
// user-entered values and display them.
// I will assume that values are between -10000
// and 10000
program MinMax;
var
first: real;
second: real;
third: real;
minimum: real = 10000;
maximum: real = -10000;
function max(a, b: real): real;
begin
... |
unit EditBtn;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Mask, Buttons,ExtCtrls;
type
TEditBtn = class(TEdit)
private
FButton: TSpeedButton;
FEditorEnabled: Boolean;
FOnBtnClick : TNotifyEvent;
procedure SetGlyph(Pic: TBitmap);
... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics,
Dialogs, ExtCtrls, Menus,
dglOpenGL,
oglContext, oglShader;
//image image.png
(*
Indicien kann man auch zur Laufzeit im VRAM verändern, dies geht fast gleich, wie bei den Vertex-Daten.
Man macht dies auch... |
{$REGION 'documentation'}
{
Copyright (c) 2020, Vencejo Software
Distributed under the terms of the Modified BSD License
The full license is distributed with this software
}
{
Database value format object
@created(18/09/2018)
@author Vencejo Software <www.vencejosoft.com>
}
{$ENDREGION}
unit Data... |
unit uCommands;
interface
uses
System.Classes, System.SysUtils, System.Generics.Collections,
System.RegularExpressions;
type
TArgs = TObjectDictionary<String, String>;
ICommand = Interface
['{2034534E-34E5-4CC5-A93D-27619EB40B40}']
function Execute(aArgs:TArgs):Boolean;
function getCommandName(... |
program gmp_accept_test;
{$mode objfpc}{$H+}
uses
heaptrc, testutils, strutils, math, sysutils, gmp, classes;
type
TTestCase = class(TPersistent);
TTestCases = class of TTestCase;
{$include gmp_test_intf}
{$include gmp_test_impl}
procedure Run(Tests: array of TTestCases);
var
TestObj: TTestCase;
MethodL... |
unit PublicVariable;
interface
uses
forms,SysUtils,uLogFile;
type
// 应用类型
TSDKAppType = (satNull, // 空
satSign, // 签到
satPressSign, // 按键签到(CRS)
satLoginSign, // 注册签到
satNumber, // 数值
satChoices, // 单选、多选
satSequence, // 排序
satBusinessResearch, // 调研
satMate, // 配对
... |
{ *************************************************************** }
{ }
{ TParser 10.2 for Borland Delphi }
{ }
{ A component for parsing and evaluating mathematical }
{ expressions specified at runtime }
{ }
{ Developed by }
{ Renate Schaaf (schaaf@math.usu.edu), 1993 }
{ Alin Flaider (aflaidar@datalog.ro), 1... |
unit djfxBase;
interface
uses
eeGlobals, VamLib.MoreTypes;
const
DJFXParCount = 2;
type
TDJFXType = (dxNone, dxLofiA, dxAutoPan, dxAmpMod, dxPitchMod, dxOnePoleLP, dxTwoPoleLP, dxMoogLP);
const
TagDXNone = 1;
TagDXLofiA = 2;
TagDXAutoPan = 3;
TagDXAmpMod = 4;
TagDXPi... |
unit PCUsersSerializer;
interface
uses
Windows, Dialogs, SysUtils, Classes, UserClass;
type
PCUserSerializer = class(TComponent)
private
{ Private declarations }
SaveFileDialog : TSaveDialog;
SaveFileName : string;
procedure SetFileName(NewFileName:string);
protected
{ Pr... |
unit uFrmExportFunctions;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, VirtualTrees,
System.Generics.Collections, uSharedGlobals, uEditors, uProject;
const
// Helper message to... |
unit uSQLHelper;
interface
uses
Classes,Activex, SysUtils,DB, ADODB;
type
TSQLHelperError = procedure(const SQL, Description: string);
TSQLHelper = class
private
FConnectionstring: string;
FOnError: TSQLHelperError;
FDBName: String;
FDBServer: String;
FDBUser: String;
FDBPWD: String;... |
unit UpdateFields;
interface
const
UPDATEFIELDS_VERSION = '1.12.1';
UPDATEFIELDS_BUILD = '05875';
UPDATEFIELDS_RELEASE = 'WoW [Release] Build 5875 (Sep 19 2006 20:32:39)';
OBJECT_BEGIN = 0;
OBJECT... |
unit uTerme;
interface
uses uAtom, uVariablen;
TYPE TTerme = class
private
term : TObject;
public
constructor create(a:TAtom;o:TOperationen;f:TFunktionen);
Procedure VariablenZuordnen (vf:TVariablen);
Function parsen (str:ShortString):Byte;
Procedure l... |
unit Iocp.SSLSocket;
interface
uses
System.SysUtils, System.Classes, System.SyncObjs, Iocp.TcpSocket, Iocp.OpenSSL;
type
TIocpSSLConnection = class(TIocpSocketConnection)
private
FSsl: PSSL;
FRecvBIO, FSendBIO: PBIO;
FBufSize: Integer;
FRecvSslBuffer, FSendSslBuffer: Pointer;
FSslHandshakin... |
unit FormOpenViewServerWindow;
{$mode objfpc}{$H+}
interface
uses
SysUtils, Forms, Controls,
StdCtrls, AndroidDebugBridge;
type
{ TOpenViewServerWindowForm }
TOpenViewServerWindowForm = class(TForm)
ButtonCancel: TButton;
ButtonOpen: TButton;
ButtonRefreshWindows: TButton;
ButtonRefreshDev... |
//******************************************************************************
//
// DAEffectX.pas
// 8 December 2006
//
// Part of the VST 2.4.2 SDK for Delphi
// by Frederic Vanmol
// http://www.axiworld.be
// frederic@axiworld.be
//
//--------------------------------------------------------------------... |
unit StreamManager;
interface
uses
Windows,Classes,Graphics;
procedure GetScreenToBmp(DrawCur:Boolean;StreamName:TMemoryStream);
function WindowSnap(windowHandle: HWND): Tbitmap;
procedure GetWindowsToBmp(WinXP:Boolean; Window: HWND; StreamName:TMemoryStream);
procedure CompareStream(MyFirstStream,MySecondStream,MyC... |
unit InWindowDialog.CustomDialog.Form;
interface
uses
InWindowDialog.Prototypes,
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, RedFoxWinControl,
VamWinControl, VamPanel, RedFoxContainer, Vcl.StdCtrls, VamLab... |
{ ******************************************************************
Probability functions related to the incomplete Beta function
****************************************************************** }
unit uibtdist;
interface
uses
uConstants, umath, uibeta;
function FBeta(A, B, X: Float): Float;
{ ... |
unit CellFormat;
interface
uses
System.Generics.Collections, JvSimpleXml, Vcl.Graphics;
type
TXlsxFontStyle = (xfsBold, xfsItalic, xfsUnderline);
TXlsxFontStyles = set of TXlsxFontStyle;
TXlsxBorderStyle = (xbsNone, xbsMediumDashDotDot, xbsHair, xbsSlantDashDot, xbsDotted, xbsMediumDashDot, xbsDashDotDot, ... |
unit uCayanPOSServerTest;
interface
uses
Winapi.Windows, Winapi.Messages,
System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Cayan.POS.Server,
Cayan.XSuperObject;
type
TCayanPOSSvrTest = class(TForm)
procedure FormCreate(Sender: TObject);
procedu... |
unit ListaCliente;
interface
uses Classes, Cliente, Dialogs;
type
TListaCliente = class
private
FListaClientes : TList;
public
{ public declarations }
constructor Create;
procedure Adicionar(pCliente: TCliente);
procedure Remover(Index: Integer);
... |
unit U0000_v2_3;
interface
Type
T0000_v2_3 = class
private
FAno_Mes_Fim_Cmpe: string;
FTipo_Arred: integer;
FCNPJ: integer;
FCNPJ_Resp_Rclh: integer;
FIdn_Versao: string;
FModu_Dec: integer;
FNum_Linha: integer;
FReg: integer;
FTipo_Inti: string;
FTipo_Cnso: integer;
FTipo... |
unit soDynamicWaveTableOsc.WaveGen;
interface
uses
soDynamicWaveTableOsc;
//====== HIGH Level functions ================
procedure GenerateSawWaveform(var Osc : TDynamicWaveTableOsc; const RootFreq, MaxFreq : single);
//====== Low Level functions ================
// Low level wave building functions ... |
unit uCrudCliente;
interface
uses
Windows, SysUtils, Classes, Controls, Forms, ComCtrls, uDados;
type
TClienteCrud = class
private
FCodigo: String;
FRazao: String;
FInscricao: String;
FConexao: TDmPrincipal;
public
constructor Create(pConexao: TDmPrincipal);
destructo... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.7.2.5-12, FILE=DEV188, ... |
unit AdvSmoothTileListEx;
interface
uses
Classes, AdvSmoothTileList;
type
TAdvSmoothTileContentEx = class(TAdvSmoothTileContent)
private
FExtra: string;
published
property Extra: string read FExtra write FExtra;
end;
TAdvSmoothTileEx = class(TAdvSmoothTile)
private
FExtra: string;
publi... |
unit MapMarker;
interface
uses
Types, SysUtils, Classes, TypInfo, Graphics, Contnrs, Controls,
Dialogs, ScUtils, GR32, FunLabyUtils, FunLabyCoreConsts,
FunLabyToolsConsts, Generics, GraphicsTools, MapTools;
resourcestring
SCategoryMapMarkers = 'Marqueurs';
SDefaultMapMarkerName = 'Marqueur';
... |
{***************************************************************************}
{ }
{ Spring Framework for Delphi }
{ }
{ ... |
unit Dao.Conection.Parametros;
interface
uses Database.SGDB, Dao.Abstract.Parametros;
type
TConectionParametros = class(TInterfacedObject, IDaoParametros)
private
FPort: Integer;
FDatabase: string;
FPassword: string;
FApplicationName: string;
FUserName: string;
FServer: string;
FSGBD:... |
unit Unit1;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.Controls.Presentation, FMX.StdCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
Label1: TLabel;
procedure Bu... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.2.1-11, FILE=IMDEFB07, ... |
unit main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, blcksock, Vcl.StdCtrls;
resourcestring
rsConnected = 'Подключено';
const
cReadTimeout = 10000;
type
Tfmain = class(TForm)
Label1: TLabel;
... |
//############################################################################//
{$mode objfpc}
{$h+}
unit dns_unix;
{$WArN 5028 off:Local $1 "$2" is not used}
interface
uses baseunix,sockets;
//############################################################################//
type dns_info_rec=record
ip:string;
port:wor... |
unit uEntContract;
interface
uses uEntGeneric, uEntStorage, uEntUser, uEntGrain, uEntProducer;
type
TContract = class(TGeneric)
private
FStorage: TStorage;
FProducer: TProducer;
FGrain: TGrain;
FInitialWeight: Double;
FInitialWeightedBy: TUser;
FInitialWeightedAt: TDate;
FMoisturePe... |
unit LED;
interface
uses
CommandInterface;
type
TLED = class
public
Cor: integer;
procedure Blue;
procedure Red;
procedure Green;
procedure Off;
procedure Purple;
constructor Create;
end;
TPurpleCommand = class(TInterfacedObject, ICommand)
public
proc... |
unit UFrm_RelCTE;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, System.ImageList, Vcl.ImgList,
Vcl.Menus, Vcl.StdCtrls, RzLabel, Vcl.Imaging.jpeg, Vcl.ExtCtrls, Vcl.Mask,
RzEdit, RzPanel, V... |
unit TestInterfaces;
interface
type
ITestIntf = interface(IInterface)
['{07B94685-7E78-4021-BFFD-8C4FF4B4F9EB}']
function Add(aValue1, aValue2: Integer): Integer;
function Multiply(aValue1, aValue2: Integer): Integer;
function Concatenate(const aValue1, aValue2: String): String;
end;
implementation... |
unit Lucidity.SampleMap;
interface
{$INCLUDE Defines.inc}
uses
VamLib.ZeroObject,
VamLib.MoreTypes, Generics.Collections,
VamSamplePeakBuffer,
VamSampleDisplay,
Lucidity.Types,
Lucidity.Interfaces,
uConstants,
Classes, eeSampleFloat, eePatchObject,
uSampleZeroCrossings;
type
//... |
unit DispatcherEntrySender;
interface
uses
RequestStorageInterface, DispatcherEntry, AQAPIClient, System.Classes,
DispatcherResponce, ActiveQueueEntry, AQResponce, ProviderFactory, Attachment,
System.Generics.Collections;
type
/// <summary>This class takes care of sending dispatcher entries to the active que... |
// ###################################################################
// #### This file is part of the mathematics library project, and is
// #### offered under the licence agreement described on
// #### http://www.mrsoft.org/
// ####
// #### Copyright:(c) 2011, Michael R. . All rights reserved.
// ####
// ####... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.1-6, FILE=IMDEFB25,... |
unit Preprocessor;
{$i Compiler.inc}
interface
uses SysUtils,Math,BeRoUtils,Error,BeRoStringTree,BeRoStringHashMap,StringList,Symbols,Globals,
HugeString;
type TPreprocessorDirectives=(tdNONE,tdDEFINE,tdELSE,tdELSEIF,tdENDIF,tdIF,
tdIFDEF,tdIFEND,tdIFNDEF,tdIFOPT,tdI,tdINC... |
unit SpTBXTabs;
{==============================================================================
Version 2.5.3
The contents of this file are subject to the SpTBXLib License; you may
not use or distribute this file except in compliance with the
SpTBXLib License.
A copy of the SpTBXLib License may be found in Sp... |
unit Form3m;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics,
Controls, Forms, uniGUITypes, uniGUIAbstractClasses,
uniGUIClasses, uniGUImClasses, uniGUIForm, uniGUImForm, uniGUImJSForm,
uniChart, unimChart, uniPanel, uniGUIBaseClasses, uniButton, unimButton;
type
TForm3 = class(TUni... |
unit UdtmContas;
interface
uses
System.SysUtils, System.Classes, Data.DB, Datasnap.DBClient,
Datasnap.DSConnect, Data.FMTBcd, Datasnap.Provider, Data.SqlExpr;
type
TDtmContas = class(TDataModule)
CDS_CADASTRO: TClientDataSet;
CDS_PASTA_IMAGENS: TClientDataSet;
CDS_PASTA_IMAGENSPS_REGIST... |
{ ******************************************************************
Solution of a system of linear equations with a single
constant vector by Gauss-Jordan method
****************************************************************** }
unit ulineq;
interface
uses
utypes, uminmax, umachar, uConstants;
... |
Program cfr2;
uses crt;
type reper=^locom;
locom=record
leg:reper;
cod:byte;
end;
var c:char;
prim,ultim:reper;
Procedure intrare;
var p:reper;
x:byte;
begin
write('Codul locomotivei care doriti sa intre : ');
readln(x);
if prim=nil then
... |
{
*******************************************************************************
* *
* LGPL with linking exception (like Lazarus). See the file license.md, *
* included in this distribution, for details about the copyright. ... |
unit Example.SCUTUM.Connection;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, SCUTUM.Connection.Abstract,
System.Actions, Vcl.ActnList, Vcl.StdCtrls, Vcl.Buttons, Vcl.ComCtrls,
Data.DB, Vcl.Grids, Vcl.DBGri... |
unit uChartExport;
interface
uses
SysUtils, Graphics, Types, uChartPainter, Clipbrd;
type
TChartExport = class
private
fCreatedSize: TSize;
fRefCanvas: TCanvas;
fGraphic: TGraphic;
protected
procedure CreateGraphic; virtual; abstract;
procedure PaintOnCanvas(const aCanvas: TCanvas; cons... |
unit SDCommon;
interface
uses
Windows;
const
SecureDisplayServiceName = 'SDSecureDisplayService';
SecureViewerProcessGroupBaseName = 'AAA-SecureViewer';
SecureViewerDesktopName = 'AAA-SecureDesktop';
SecureViewerMailslotForBackgroundService = 'AAA-SecureDesktop-Backgroundservice';
SecureViewe... |
unit uEditMongo;
interface
uses
System.SysUtils, System.Classes, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.Controls.Presentation, FMX.Edit, uMongo_Tipificacoes;
type
TEditMongo = class(TEdit)
private
FMongoCampo: String;
FMongoTipoCampo: TCampo;
FAutoInc: Boolean;
FCa... |
unit AdvMultiButtonEditReg;
interface
uses
Classes, AdvMultiButtonEdit;
procedure Register;
implementation
procedure Register;
begin
RegisterComponents('TMS Edits',[TAdvMultiButtonEdit]);
end;
end.
|
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.2.1-2, FILE=CONF023, CLASS=... |
{
MIT License
Copyright (c) 2017 Jamie Geddes
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, di... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.3.3-20, FILE=DEV077, ... |
unit Snake;
interface
uses
Vcl.Graphics, System.Types;
type
TDirection = (dUp, dDown, dRight, dLeft);
type
TSegmentSost = (sEmpty, sFull, sTail);
type
THeadSost = (hClosed, hOpen, hFull, hCrash);
type
TSegment = class(TObject)
private
FDirection: TDirection;
FSegmentSost: TSe... |
unit MyORM.Dao.Firedac;
interface
uses
MyORM.Dao.Inter,
MyORM.Atributos,
MyORM.Atributos.Model,
MyORM.Atributos.DAO,
MyORM.INI,
MyORM.Controller,
Rtti,
System.SysUtils,
FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def,
FireDA... |
//
// <!-- Copyright (C) 2003-2011 Gurock Software GmbH. All rights reserved. -->
//
// <summary>
// Contains the Si and SiMain variables.
// </summary>
// <remarks>
// This unit provides a variable called Si of type TSmartInspect.
// Furthermore a TSiSession instance named SiMain with Si as parent is
// ready ... |
// CSC 4200-01 - Programming Languages
// Name: Bryan Smith
// Date: 3/28/14
// Description: Bank Report
program Smith_Bryan_Bankreport;
{$H+}
{$mode objfpc}
uses
Classes,
Sysutils;
var
File1: TextFile;
Str: AnsiString;
dollarSign : AnsiString;
Id : Integer;
Balance, initialBalance,OverdraftCharge,total... |
unit ulasershow;
{$mode delphi}
interface
uses
Classes, SysUtils, uLaserFrames;
type
TShowDataItem = record
X : word;
Y : word;
R : byte;
G : byte;
B : byte;
Frameindex : Integer;
end;
atp = array of TPoint;
atb = array of boolean;
TShowData = array of TShowDataItem;
{ TShow... |
unit uCayanPOSMain;
interface
{$IF CompilerVersion >= 31}
{$DEFINE BERLIN_AND_UP}
{$ENDIF}
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Actions,
Cayan.Common,
Cayan.Genius.Intf,
Cayan.MWv4.Intf,
Cayan.Genius,
Cayan.XSuperObject,
{$IFDEF BERLIN_AND_UP}
FMX.DialogSe... |
program TestPrimeAgainPage224;
var
x: integer;
function Prime(x: integer): boolean;
var
Test: integer;
Divisors: boolean;
begin{Prime}
if x = 1 then
Prime := false
else if x = 2 then
Prime := true
else
begin{else}
Test := 2;
Divisors := true;
while Divisors and (Test < 0) do
if(x mod Test = 0) then
... |
unit uProdutos;
interface
type
TProduto = class
private
FID: Integer;
FDescricao: String;
FQtdEstoque: Integer;
FPreco: Currency;
procedure SetID(const Value: Integer);
procedure SetDescricao(const Value: String);
procedure SetQtdEstoque(const Value: Intege... |
unit multiboot;
interface
const
KERNEL_STACKSIZE = $4000;
MULTIBOOT_BOOTLOADER_MAGIC = $2BADB002;
type
Pelf_section_header_table_t = ^elf_section_header_table_t;
elf_section_header_table_t = packed record
num: DWORD;
size: DWORD;
addr: DWORD;
... |
unit TokenBasedConditionTest;
interface
uses
DUnitX.TestFramework;
type
[TestFixture]
TTokenBasedConditionTest = class(TObject)
public
[Setup]
procedure Setup;
[TearDown]
procedure TearDown;
/// Test suit for the satisfy method
/// Partition the input as follows:
/// 1. token le... |
unit CadSimilares;
{*************************************************************************}
{* *}
{* Author : Alcindo Schleder. *}
{* Copyright: © 2003 by Sistema Processa Ltda. All rights reserved.... |
{ ******************************************************************
Gamma function and related functions.
Translated from C code in Cephes library (http://www.moshier.net)
****************************************************************** }
unit ugamma;
interface
uses
uConstants, upolev;
const
... |
unit frmSubAllFileProc;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, scControls, scGPControls,
Vcl.StdCtrls, Vcl.ExtCtrls, uConst, ShlObj, ShellAPI, StrUtils, uFunction;
type
TAllFileProc = class(TForm)
... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.1-2, FILE=CONF101, CLAS... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.