text stringlengths 14 6.51M |
|---|
Program Sistema_Bancario;
Type
TCliente = record
num_conta : string[6];
nome : string[25];
cpf : string[11];
data_nascimento : string[8];
contato : string[14];
senha : string[4];
saldo : real;
end;
TListaCliente = array[1..100] of TCliente;
procedur... |
unit VisibleDSA.GameData;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
DeepStar.Utils.UString,
VisibleDSA.Board;
type
TGameData = class(TObject)
private
_m: integer;
_n: integer;
_maxTurn: integer;
_starterBoard: TBoard;
public
constructor Create;
destructor Destroy;... |
unit CRCollectionEditFrame;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, CommonIDObjectEditFrame, StdCtrls, ExtCtrls, ComCtrls,
CoreCollection, BaseObjects;
type
TfrmCollectionEditFrame = class(TfrmIDObjectEditFrame)
cmbxCollectionType: TComboBox;
... |
unit uLib;
interface
uses SynTokenMatch, SynHighlighterWebMisc, SynHighlighterSQL, Winapi.Windows
, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics
, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Grids, Vcl.ComCtrls, cxRichEdit
, cxDropDownEdit, cxTextEdit, SynEdit
, Inifiles, Clip... |
{ Autor: Jürgen Schlottke, Schönaich-C.-Str. 46, D-W 2200 Elmshorn
Tel. 04121/63109
Zweck : Demonstration der Schachprogrammierung unter Turbo-Pascal
Datum : irgendwann 1991, als PD freigegeben am 18.01.93
Version: ohne Versionsnummer
}
unit ChessPlayerCore;
interface
uses
ChessPlayerTypes;
... |
{$INCLUDE switches}
unit BaseWin;
interface
uses
ScreenTools,Messg,
Windows,Messages,SysUtils,Classes,Graphics,Controls,Forms;
type
TBufferedDrawDlg = class(TDrawDlg)
public
UserLeft, UserTop: integer;
constructor Create(AOwner: TComponent); override;
procedure FormClose(Sender:... |
(*
* First step in for the masters project algorithm
*
* Steps:
* > read in two images (using bmp.pas loadbmpfile);
* > multiply the images to get a product image;
* > apply a correlation function (SSD) to the product image;
* > apply a convolution;
* > output the image.
*)
program master... |
unit Stack;
interface
uses Windows, SysUtils, Classes, StdCtrls, Graphics;
{
04.21.2003
+ add the HintOfStackEntryType property
}
type
TStackEntryType = (etUnknown, etInteger, etDouble, etString, etPointer, etComponent, etVariant);
TStackValue = Class
private
FValueDouble: double;
FValueInt: integer;
... |
unit uObjects;
interface
uses Windows, Classes, SysUtils, XMLDoc, XMLIntf;
type
PVSTFiles = ^TVSTFiles;
TVSTFiles = record
index: integer;
ffilepath: String;
ffilename: String;
fsize: Int64;
fprogress: Int64;
foffset: Int64;
end;
type
PVSTPeers = ^TVSTPeers;
TVSTPeers = record
... |
unit uUtility;
interface
uses
System.SysUtils, IdBaseComponent, IdContext, IdComponent, IdTCPConnection, IdTCPClient, System.Generics.Collections,
IdGlobal, Classes;
type
TTipoComando = (tpTeclado, tpMouse, tpDesktop, tpArquivo, tpTexto);
TComando = record
TipoComando: TTipoComando;
Texto: string[255]... |
unit Minerva.Treinamento.Proxy.Base;
interface
uses
System.Rtti,
Minerva.Treinamento.Proxy.ExecutorMetodoServidor;
type
TRotaAttribute = class(TCustomAttribute)
private
FRota: string;
public
constructor create(pRota: string);
property Rota: string read FRota write FRota;
end;
TProxyBase = ... |
unit uSortOfSingleResponsibility;
interface
type
TBook = class
private
FCurrentPage: integer;
FTitle: string;
FAuthor: string;
procedure SetTitle(const Value: string);
procedure SetAuthor(const Value: string);
public
function TurnPage: integer; // Book stuff
procedure PrintCurrentP... |
unit u_wzsComponentsCommon;
interface
{$R 'wzsComponents.dcr'}
uses
SysUtils, Classes, Controls, StdCtrls, Mask, Messages,
Dialogs, Graphics, Windows, Menus, u_wzsToolsCommon, u_wzsStyler;
type
TwzsAdditional = class(TPersistent)
private
FOwner: TWinControl;
FStyler: TwzsStyler;
... |
(*
* Copyright (c) 2008-2009, Ciobanu Alexandru
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this l... |
unit BoundingBoxComparatorTest;
{$mode objfpc}{$H+}
{$CODEALIGN LOCALMIN=16}
interface
uses
Classes, SysUtils, fpcunit, testregistry, BaseTestCase,
native, BZVectorMath;
type
{ TBoundingBoxComparatorTest }
TBoundingBoxComparatorTest = class(TBBoxBaseTestCase)
published
procedure TestCompare;
... |
// =============================================================================
//
// glQuaternions.pas
//
// =============================================================================
// Copyright © 2003-2004 by Sascha Willems - http://www.delphigl.de
// ==================================================... |
(*
@abstract(Contient les classes pour l'application de filtres sur les couleurs.)
-------------------------------------------------------------------------------------------------------------
@created(2017-08-22)
@author(J.Delauney (BeanzMaster))
Historique : @br
@unorderedList(
@item(22/08/2017 : Cr... |
{$MODE OBJFPC} { -*- delphi -*- }
{$INCLUDE settings.inc}
unit hashtable;
// warning: if you edit the implementation section of this unit but
// not its interface, dependent units won't be recompiled, so force it
// with -B
interface
uses
hashfunctions;
(* How to use THashTable **********************************... |
unit CqlModel;
{
Copyright (c) 2017+, Health Intersections Pty Ltd (http://www.healthintersections.com.au)
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain ... |
(*!------------------------------------------------------------
* Fano MVC Sample Application (https://fanoframework.github.io)
*
* @link https://github.com/fanoframework/fano-app-db.git
* @copyright Copyright (c) 2018 Zamrony P. Juhara
* @license https://github.com/fanoframework/fano-app-db/blob/master/LIC... |
unit fFormPesquisa;
interface
uses
Generics.Collections,
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, AdvEdit, DB, ADODB, Grids, BaseGrid, AdvGrid, DBAdvGrid,
ExtCtrls, AdvObj,
Aurelius.Bind.Dataset, Aurelius.Criteria.Base,
Aurelius.Engine.ObjectManager;
t... |
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)
Button1: TButton;
Edit1: TEdit;
procedure Button1Click(Sender: TObject);
procedure Change... |
unit uCefUIBrowserProcessMessageReceiver;
interface
uses
System.SysUtils, System.Generics.Collections,
//
uCEFApplication, uCefTypes, uCefInterfaces, uCefChromium;
type
TCefUIBrowserProcessMessageReceiver = class
private
protected
FName: string;
//---
procedure Receive(Sender: ... |
unit LuaClassArray;
{$mode delphi}
interface
uses
Classes, SysUtils, lua, lualib, lauxlib;
function luaclassarray_createMetaTable(L: Plua_State; userdata: integer; getArrayFunction: lua_CFunction; setArrayFunction:lua_CFunction=nil ): integer;
implementation
function luaclassarray_newindex(L: PLua_... |
unit U_MensagemPadrao;
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, FMX.Layouts;
type
TTipMensagem = (tpExcluir, tpSalvo, tpBaixar);
type
... |
unit SQLEditorTabSheet;
interface
uses
Winapi.Windows, Winapi.Messages, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls,
SynEdit, BCControls.OraSynEdit, SynCompletionProposal;
type
TSQLEditorTabSheetFrame = class(TFrame)
Panel: TPanel;
OraSynEdit: TBCOraSynEd... |
unit cwerror;
interface
uses
cwtypes;
const
cw_err_fatal = 99;
cw_err_unknown_opcode = 100;
cw_err_unknown_amode = 101;
cw_err_unknown_mmode = 102;
procedure panic(code:word; msg:string);
implementation
procedure panic;
begin
writeln( 'cw panic:');
writeln;
writeln( code,' : ',msg );
halt... |
{
ID: ndchiph1
PROG: contact
LANG: PASCAL
}
uses math;
const
maxL = 12;
maxV = 10000;
LM1 = 200010;
LM2 = maxV * maxL;
var
fi,fo: text;
a,b,n,lenc,cnt: longint;
c: array[0..LM1] of longint;
f: array[0..maxV,1..maxL] of longint;
num,value,leng: array[0..LM2] of longint;
procedure input;
var... |
unit Version;
interface
uses Classes, BaseObjects, Registrator, SysUtils, ClientType, Contnrs;
type
TVersion = class(TRegisteredIDObject)
private
FVersionReason: string;
FVersionDate: TDateTime;
FVersionName: string;
FClientType: TClientType;
function GetVersionFinishDate: TDateTime;
fun... |
unit utils;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, libcurl, strutils, fpjson, jsonparser, RegExpr, ShellApi,
windows;
function ReadFile(fnam: string): string;
function Rand(min,max: integer): Integer;
function VeryBadToLower(str: String): String;
function EncodeUrl(url: string): string;
function ... |
unit HS4D.Send;
interface
uses
RESTRequest4D,
HS4D.Interfaces,
System.Classes,
Vcl.ExtCtrls;
type
THS4DSend = class(TInterfacedObject, iHS4DSend)
private
FParent : iHS4D;
FFileName : String;
FContentType : String;
FFileStream : TBytesStream;
FEndPoint : st... |
//------------------------------------------------------------------------------
// The Delphi Container Library
// Jean-Philippe BEMPEL aka RDM
// rdm_30@yahoo.com
//------------------------------------------------------------------------------
unit DCLUtil;
interface
uses DCL_Intf, SysUtils;
resourcestr... |
unit UlicaIterator;
interface
uses
Classes, SysUtils, jvuib, jvuiblib;
type
TUlicaIteratorCallback = procedure (Sender: TObject; Ulica: TSQLResult) of object;
TUlicaIterator = class (TObject)
private
FDatabase: TJvUIBDataBase;
FTransaction: TJvUIBTransaction;
FOnProcess: TUlicaIter... |
unit TrajectoryCalculating;
uses SatelliteObject, EarthObject;
type
Trajectory = class
public
_timestep: real;
Const G = -6.67300e-11;
function recalc(flag: boolean; sat: Satellite; e: Earth): boolean;
procedure setTimestep(ts: Real);
end;
function atan2 (yval, xval : real) : real;
beg... |
unit UStringLogicalComparer;
interface
function CompareNatural(s1, s2: string): integer; overload;
function CompareNatural(s1, s2: string; blnZeroesFirst: boolean): integer; overload;
function CompareNum(s1: string; var i1: integer; s2: string; var i2: integer; blnZeroesFirst: boolean): integer;
function IsLetter(ch... |
{
ORM Brasil é um ORM simples e descomplicado para quem utiliza Delphi
Copyright (c) 2016, Isaque Pinheiro
All rights reserved.
GNU Lesser General Public License
Versão 3, 29 de junho de 2007
Copyright (C) 2007 Free S... |
unit uMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.FileCtrl, Vcl.Buttons,
Vcl.ExtCtrls, System.Zip, Vcl.ComCtrls;
type
TMain = class(TForm)
OpenDialog: TOpenDialog;
lbxFile... |
unit UCarpetaDevolucionEsta;
interface
uses
Classes;
type
TCarpetaDevolucionEsta = class
private
FIdCarpeta : Int32; {ID DE LA CARPETA}
FCodigoCarpeta : string; {CODIGO DE LA CARPETA}
FCodiCompCarpeta : string; {CODIGO DE LA CARPETA COMPLETO INDICANDO SI... |
unit HrdIndyAgent;
interface
uses
Classes,
IdHTTP,IdIOHandlerSocket, IdCompressorZLib,IdCookieManager,
HrdUtils;
type
THrdIndyAgent = class
private
FAgent : TIdHTTP;
idCompressor : TIdCompressorZLib;
FCookieManager : TIdCookieManager;
FResultStr : String;
FRedirect... |
unit acntUtils;
{$I sDefs.inc}
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, sConst, IniFiles
{$IFDEF TNTUNICODE},TntSysUtils, {$IFNDEF D2006}TntWideStrings{$ELSE}WideStrings{$ENDIF}, TntClasses{$ENDIF};
{$IFNDEF NOTFORHELP}
type
{$IFDEF TNTUNICODE}
TacSearchRec = TSearchRecW... |
unit Uci;
interface
uses
Classes;
type
TUciCommand =
(
cmdUci,
cmdQuit,
cmdNewGame,
cmdPositionFen,
cmdPositionStartPos,
cmdGo,
cmdIsReady,
cmdStop,
cmdUnknown
);
TUciCommandParser = class
private
FMoves: TStringList;
FPosition: string;
public
... |
unit Test.Motif;
interface
uses
DUnitX.TestFramework, Motif;
type
[TestFixture]
TTestMotif = class(TObject)
private
fMotif: TMotif;
procedure OnNewAdd(const aPattern: string; var aValue: string;
var aContinue:Boolean);
public
[Setup]
procedure s... |
unit FigArrUnit;
interface
uses
MyListUnit, TrapezeUnit;
type
FArr = array of TTrapeze;
TFigArr = class
public
constructor Create;
destructor Destroy;
procedure Fill(coords: TMyList; size: integer);
function GetSquare: real;
function GetCenterX: real;
function GetCen... |
unit YaccLib;
(* Yacc Library Unit for TP Yacc Version 3.0, 6-17-91 AG *)
interface
const yymaxdepth = 1024;
(* default stack size of parser *)
type YYSType = Integer;
(* default value type, may be redefined in Yacc output file *)
var
yychar : Integer; (* current lookahead character *)
yynerrs : Integer; ... |
// ----------------------------------------------------------------------------
// Unit : PxStrUtils.pas - a part of PxLib
// Author : Matthias Hryniszak
// Date : 2004-10-27
// Version : 1.0
// Description ; String utilities
// Changes log ; 2004-10-27 - Initial version
// ToDo : T... |
(*
@abstract(La classe décrite ici, "TBZCustomImageFileIO" est l'ancêtre des classes
servant à lire ou écrire les différents formats d'image supportés (BMP, TGA, PCX,...).@br
Elle est un pont direct avec notre gestionnaire de bitmap "TBZCustomBitmap".)
Cette classe est avant une classe d'aide à la lecture et l... |
unit AppDlg;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, BMPBtn, Sqlctrls, Lbllist,tadjform,inifiles,
DBTables,tsqlcls,findapps,statdlg;
const
APP_SECTION='LanDocs Applications';
DLG_SECTION='APPDLG';
procedure OpenAppDlg;
type
TAliases =... |
unit CommonSingleObjectFilter;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, BaseObjectType, BaseObjects, ActnList, Registrator,
ExtCtrls;
type
{$DEFINE DEBUG}
TfrmSingleObjectFilter = class(TFrame)
gbxSingleObjectFilter: TGroupBox;
c... |
{
GeoJSON/Geometry/Position Object
Copyright (c) 2018 Gustavo Carreno <guscarreno@gmail.com>
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 limit... |
// Factorization demo
program Factor;
var
LowBound, HighBound, Number, Dividend, Divisor, MaxDivisor: Integer;
DivisorFound: Boolean;
begin
WriteLn;
WriteLn('Integer factorization demo');
WriteLn;
Write('From number: '); ReadLn(LowBound);
Write('To number : '); ReadLn(HighBound);
WriteLn;
if LowBound < 2 t... |
unit URepositorioCliente;
interface
uses
UCidade
, UCliente
, UEntidade
, URepositorioDB
, URepositorioCidade
, SqlExpr
;
type
TRepositorioCliente = class(TRepositorioDB<TCLIENTE>)
private
FRepositorioCidade: TRepositorioCidade;
public
constructor Create;
destructor Destroy; overri... |
unit UBackupUtil;
interface
type
TFindNodeIcon = class
private
PathType : string;
BackupStatus : string;
public
constructor Create( _PathType, _BackupStatus : string );
function get : Integer;
private
function getFileIcon : Integer;
function getFolderIcon : Integer;
end;
BackupUt... |
(**
* $Id: dco.rpc.RPCHandler.pas 840 2014-05-24 06:04:58Z QXu $
*
* Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
* express or implied. See the License for the specific language governing rights and limitations under the License.
*)
unit dco.rpc.R... |
unit uNetwork;
interface
uses Windows, SysUtils, UrlMon, WinInet, IdHttp, uStringHandle, ComObj, ShellAPI, WinSock2, Classes;
function DownFile(ASrcUrl, AFileName: string; TryCount: Integer = 2): Boolean; overload;
{得到某一个访问过的网站的Cookie}
function GetCookieValue(const ASrcUrl: string): string;
{AAutoRedirects:... |
unit ServerWinshoeLPD;
// Short description:
// The intention of this components to create LPD Application in Delphi
// which receive print data sent from LPR (Line Printer Requester) clients.
// The implementation does not support queue management beyond
// saving incomuing data file to "Queue directories".
//... |
unit DevMax.View;
interface
uses
FMX.Controls, FMX.Types,
System.Generics.Collections,
DevMax.Types.ViewInfo, DevMax.View.Types, DevMax.View.Control,
DevMax.Utils.Binder;
type
TViewPage = class;
/// View는 여러 페이지(TViewPage)를 갖는다
TView = class
private
FViewId: string;
FViewInfo: TViewInfo;
... |
unit uCallMethods;
interface
procedure CallMethodsWithRTTI;
implementation
uses
RTTI
, uRTTIDemoClass
, System.SysUtils
, TypInfo
;
procedure CallMethodsWithRTTI;
var
RDC: TRTTIDemoClass;
Context: TRttiContext;
TempType: TRttiType;
TempMethod: TRttiMethod;
TempParameters: TArray<TRt... |
{This unit contains whole abstractions and globals
that exist in the model}
unit ModelDataModel;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, fgl, Graphics;
type
{Type defines types of communities}
TCommunityType = (
{Group}
ctGroup,
{Page}
ctPage,
{Event}
ctEvent);
{ ICha... |
program chopper;
{$mode Delphi}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes, SysUtils,jwawinsvc, windows,base64,CustApp
{ you can add units after this };
type
{ Tchopper }
Tchopper = class(TCustomApplication)
protected
procedure DoRun; override;
public
constr... |
unit SynonymBrowser;
interface
uses
System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Ora, Vcl.Dialogs, BCControls.DBGrid,
Vcl.ComCtrls, JvExComCtrls, JvComCtrls, DBAccess, MemDS, Vcl.ExtCtrls, Vcl.DBCtrls, Vcl.Buttons, ActnList,
BCControls.PageControl, Vcl.ImgList, Vcl.AppEvnts, Vc... |
{********************************************************}
{ }
{ Zeos Database Objects }
{ Interbase Query and Table components }
{ }
{ Copyright (c... |
(******************************************************************************
* PasVulkan *
******************************************************************************
* Version see PasVulkan.Framework.pas ... |
program Cheat_File_ver2_0;
uses
crt;
type
lore = record
name : string[17];
sex : (male,female);
class : byte;
strength : byte;
mental : byte;
concentration : byte;
endurance : byte;
resistance : byte;
... |
unit DAO.Entregas;
interface
uses DAO.Base, Model.Entregas, Generics.Collections, System.Classes;
type
TEntregasDAO = class(TDAO)
public
function Insert(aEntregas: Model.Entregas.Tentregas): Boolean;
function Update(aEntregas: Model.Entregas.TEntregas): Boolean;
function Delete(sNN: String... |
unit ucCONFCAMPO;
interface
uses
Classes, SysUtils, StrUtils;
type
TpCONFCAMPO = (tpcKey, tpcReq, tpcNul);
TcCONFCAMPO = class;
TcCONFCAMPOClass = class of TcCONFCAMPO;
TcCONFCAMPO = class
private
FCodigo: String;
FDescricao: String;
FTipo: TpCONFCAMPO;
FDecimal: Integer;
FTamanho: ... |
unit FormConfiguracoes;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, Mask;
type
TfrmConfiguracoes = class(TForm)
GroupBox1: TGroupBox;
Label1: TLabel;
edtPastaOrigem: TEdit;
Label2: TLabel;
edtPastaDestino: TEdit;
... |
{
Copyright (C) 2013-2018 Tim Sinaeve tim.sinaeve@gmail.com
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... |
unit Aurelius.Global.Exceptions;
{$I Aurelius.inc}
interface
uses
SysUtils;
type
EOPFBaseException = class(Exception)
end;
EOPFInternalError = class(Exception)
public
constructor Create(Msg: string); reintroduce;
constructor CreateFmt(Msg: string; Args: array of const); reintroduc... |
unit DmFibApi;
interface
uses
System.SysUtils, System.Classes, MemTableDataEh, Data.DB, MemTableEh, fbdatabase, IB;
type
TFibApiDm = class(TDataModule)
MemTableEh1: TMemTableEh;
procedure DataModuleCreate(Sender: TObject);
private
{ Private declarations }
FDbParams: TFBDatabaseParams;
FData... |
unit Messaging.EventBus;
interface
uses
System.Classes;
type
TEventMessage = record
public
TagInt: Integer;
TagString: String;
TagBoolean: boolean;
end;
TSubscriberEvent = procedure(MessageID: Integer;
const AMessagee: TEventMessage) of object;
TRegistrationInfo = record
MessageID: ... |
unit UThreadBackup;
interface
uses
SysUtils,
IOUtils,
Windows,
Classes,
StdCtrls, UBackupFirebird;
type
TThreadBackup = class(TThread)
private
fArquivoDB: String;
fSenha: String;
fUsuario: String;
fArquivoBackup: String;
property ArquivoBackup: String read fArquivoBackup write fArqu... |
unit BCEditor.Editor.TokenInfo.Title;
interface
uses
System.Classes, Vcl.Graphics, BCEditor.Editor.TokenInfo.Title.Colors;
type
TBCEditorTokenInfoTitle = class(TPersistent)
strict private
FColors: TBCEditorTokenInfoTitleColors;
FFont: TFont;
FVisible: Boolean;
procedure SetFont(con... |
(*
@created(2019-12-27)
@author(J.Delauney (BeanzMaster))
Historique : @br
@unorderedList(
@item(27/12/2019 : Creation )
)
--------------------------------------------------------------------------------@br
------------------------------------------------------------------------------
Description : Simulation d... |
unit UserUpdate;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, DB,
sBitBtn, sLabel, sEdit, sCheckBox,
DBAccess, Uni, sSkinProvider, sSkinManager;
type
TFormUserUpdate = class(TForm)
BitBtnCancel: TsBitBtn;
Label1: TsLabel;
... |
unit Saver;
{***************************************************************************}
{*} interface {*}
{***************************************************************************}
Uses SaveText, SaveImg, Fr3Api;
const
smReserved = 0;
smTex... |
{*****************************************************************************************************************************************************}
{ }
{ ... |
{ Este exemplo foi baixado no site www.andrecelestino.com
Passe por lá a qualquer momento para conferir os novos artigos! :)
contato@andrecelestino.com }
unit UnitVenda;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Buttons, StdCtrls, ExtCtrls, Grids, DB... |
unit uRelationshipMgr;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters,
cxStyles, dxSkinsCore, dxSkinCaramel, dxSkinscxPC3Painter, cxCustomData,
cxFilter, cxData, cxDataStorage, cxEdit, DB, cxDBDat... |
unit uUtils;
interface
uses
System.SysUtils, Vcl.Dialogs, cxPC, Vcl.Forms, Vcl.Controls,
Datasnap.DBClient, IdHashSHA, System.RegularExpressions,
System.Types, Winapi.Windows, uTypes, System.Classes, Data.DB,
System.Generics.Collections, cxCheckComboBox, System.Variants, System.Math,
Vcl.StdCtrls, Vcl.ExtCt... |
{$MODE OBJFPC} { -*- delphi -*- }
{$INCLUDE settings.inc}
unit corenetwork;
interface
//{$DEFINE VERBOSE}
uses
baseunix, unixtype, sockets, exceptions;
const
timeoutForever = -1;
kMaxBuffer = 1024 * 16; // max buffer 16KB per connection
type
TBaseSocket = class;
TListenerSocket = class;
TNetworkS... |
unit uResize;
{
Copyright 2014 Michael Thomas Greer
Distributed under the Boost Software License, Version 1.0
(See accompanying file LICENSE.txt or copy
at http://www.boost.org/LICENSE_1_0.txt )
}
//////////////////////////////////////////////////////////////////////////////
interface
//////////////... |
unit uRTTI;
interface
type
TRTTI = class
/// <summary>
/// Combine the most qualified name for TInterface and TClass for use in
/// the GlobalContainer of the Spring4D dependency injection framework.
/// </summary>
class function GetMostQualifiedName<TClass: class; TInterface: IInterface>()... |
{
Script goes over new records in selection and tries to find
a matching record by Editor ID in the master files.
If found - turn record into an override.
}
unit ChangeFormIDbyMatchingEditorID;
const
bCaseSensitive = False; // case sensitivity of Editor ID comparison
var
slCache: TStringList;
function Fin... |
unit Demo2_2;
interface
// suppose all objects are in different, independent files
type
// I know nothing about who need my mail addresses, I am independent source of mail addresses. I know only TMailSenderMessage
// You can change and test me independently
TMailAdresSourceA = class
private
... |
unit UDataSetInfo;
interface
uses Syncobjs;
type
TMyDataInfo = class
public
DataLock : TCriticalSection;
public
constructor Create;
destructor Destroy; override;
public
procedure EnterData;
procedure LeaveData;
end;
implementation
{ TMyDataInfo }
constructor TMyDataInfo.Create;
begi... |
unit qconverter_adoxml;
interface
{$I qdac.inc}
uses classes, sysutils, db, qdb, qvalue, qstring, qxml;
{
2015.9.9
========
* 修正了导出时日期时间类型错误的写成 dateTime 的问题(AK47报告)
}
type
TQADOXMLConverter = class(TQConverter)
protected
FXML, FRootNode, FDataRoot: TQXMLNode;
FRowIndex: Integer;
FFieldIndexes:... |
unit HJYSysInit;
interface
uses SysUtils, HJYDataProviders, Registry, Windows, Forms, Messages;
implementation
uses UDmMain, UDmImage, HJYUtils;
procedure RegisterLibs;
var
lCmdLine: string;
lLibName: string;
begin
lLibName := ExtractFilePath(Application.ExeName) + 'midas.dll';
if FileExists(lLibName) then... |
{ Convertor - A free & open sorce unit converter
Copyright (C) 2012-2016 H. Raz hadaraz@gmail.com
This source is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your ... |
unit usymbols;
{$mode objfpc}{$H+}
interface
uses
SysUtils, ulexer;
procedure insert(token: PToken);
function locate(token: PToken): integer;
function getTokenByIndex(index: integer): PToken;
function storeToken(token: PToken): integer;
function readToken(idx: integer): PToken;
implementation
const SYM_INIT_LEN... |
{*******************************************************}
{ Wondershare DVD 信息 API单元 }
{ 创建人: 凌曙光 }
{ 创建日期: 2008/06/30 }
{ 修订人: 凌曙光 }
{ 修订日期: }
{**********... |
unit uCamera;
interface
uses
uVect;
type
Camera = record
campos, camdir, camright, camdown: Vect;
class function Create: Camera; overload; static;
class function Create(pos, dir, right, down: Vect): Camera; overload; static;
end;
implementation
{ Camera }
class function Camera.... |
(****************************************************************)
(* Programmname : SYSINFO.PAS V1.1 *)
(* Programmautor : Michael Rippl *)
(* Compiler : Quick Pascal V1.0 *)
(* Inhalt : Routinen zum Holen von Systeminformationen *)
(* Bemerkung ... |
unit UBackupFileOnlineCheck;
interface
uses classes, SysUtils, UModelUtil, UFileBaseInfo, UMyUtil, SyncObjs, uDebug;
type
// 递归 目录的 过期文件
TFindBackupFileOnlineCheck = class
private
OnlinePcIDHash : TStringHash;
private
FullPath : string;
TempBackupFolderInfo : TTempBackupFolderInfo;
public
... |
{
ID: ndchiph1
PROG: camelot
LANG: PASCAL
}
uses math;
const
maxR = 41;
maxC = 27;
LM = maxR * maxC;
type
knights = record
x,y: longint;
end;
var
fi,fo: text;
rows,cols,res,cnt,nt: longint;
kx,ky: longint;
kn: array[1..LM] of knights;
king,total: array[0..m... |
unit DecoderParam;
{$MINENUMSIZE 4}
interface
uses
Windows, CodecDefine;
// DECODE_EX_PARAM_MESSAGE
// SetExDecodeParam函数使用的uMsg
const DEM_DEINTERLACE = 1000; // 隔行扫描插值算法: wParam - DEINTERLACE_STYLE
{$IFNDEF STREAM_TYPE_DEF}
{$DEFINE STREAM_TYPE_DEF}
type
DecParam = record
uMediaType: UINT; ... |
unit IMP_Dialogs;
interface
uses
Windows,
Messages,
SysUtils,
CommDlg,
Printers,
Classes,
Graphics,
Controls,
Forms,
StdCtrls,
Dialogs,
Variants,
BASE_SYS,
BASE_EXTERN,
PaxScripter;
procedure RegisterIMP_Dialogs;
implementation
procedure TCommonDialog_Execute1(MethodBody: TPAXMethodBody);
... |
unit StdIORedirect;
{$WARN SYMBOL_DEPRECATED OFF}
interface
uses
Windows,Messages,SysUtils,Classes,Graphics,Controls,Forms,Dialogs,SyncObjs;
type
TOnText = procedure (sender : TObject; st : string) of object;
TStdIORedirect = class(TComponent)
private
fErrorRead:THandle;
fOutputRead:THan... |
unit unitcalc; { unit name must be identical to file name}
interface
function RectangleArea( length, width: real): real;
function CircleArea( radius: real): real;
function TriangleArea( side1, side2, side3: real): real;
implementation
function RectangleArea( length, width: real): real;
begin
RectangleArea := leng... |
//membuat array dengan indeks 1..5 dengan string indeks batas 6
TYPE X = array [1..5] of string[6];
//membuat const nama pro dengan isi sebagai berikut
CONST namapro : X = ('BASIC', 'C', 'COBOL', 'PASCAL','python');
VAR
I : word;
Begin
For I := 1 to 5 DO
//melakukan looping 1 sampai 5 dengan mencetak dari a... |
{************************************************}
{ }
{ Turbo Vision Demo }
{ Copyright (c) 1990 by Borland International }
{ }
{************************************************}
unit P... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.