text stringlengths 14 6.51M |
|---|
{*******************************************************}
{ }
{ Delphi Visual Component Library }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
unit storage;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, dialogs, DOM, XMLRead, XMLWrite, configuration, utils;
type
TStorage = class
FPath : String;
Name : String;
Author : String;
Version: String;
Bin : String;
Params : String;
Enabled: Boolean;
Freq: inte... |
unit unCalculoPagamento;
interface
uses Winapi.Windows, System.Classes, MidasLib,
Data.DB, Datasnap.DBClient, Vcl.Grids, Vcl.DBGrids, System.SysUtils,
generics.defaults, generics.Collections, Contnrs, unPagamento;
type
TCalculoPagamento = class
private
fCapital: Double;
fTaxaDeJuros: Double;
... |
{------------------------------------------------------------------------------
This file is part of the MotifMASTER project. This software is
distributed under GPL (see gpl.txt for details).
This software is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even th... |
unit UnFechamentoDeContaView;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, JvExExtCtrls, JvExtComponent, JvPanel, db, Grids,
DBGrids,
{ Fluente }
Util, DataUtil, UnModelo, UnFechamentoDeContaModelo,
SearchUtil, Componentes, UnAplic... |
unit ejb_c;
{This file was generated on 28 Feb 2001 10:06:55 GMT by version 03.03.03.C1.06}
{of the Inprise VisiBroker idl2pas CORBA IDL compiler. }
{Please do not edit the contents of this file. You should instead edit and }
{recompile the original IDL which was located in the file ejb.idl.... |
const
MaxTexto = 350;
MaxPalabra = 20;
type
{rangos para arreglos con tope texto y palabra}
RangoTexto = 1 .. MaxTexto;
RangoTopeTexto = 0 .. MaxTexto;
RangoPalabra = 1 .. MaxPalabra;
RangoTopePalabra = 0 .. MaxPalabra;
{ definición del texto}
TipoTexto = record
text... |
unit AppSettings;
{$mode objfpc}{$H+}
interface
uses
Typinfo, Classes, SysUtils, SynEdit, khexeditor;
const
{$IFDEF MSWINDOWS}
DefaultFontName = 'Consolas';
{$ELSE}
{$IFDEF LINUX}
DefaultFontName = 'DejaVu Sans Mono';
{$ELSE}
{$IFDEF DARWIN}
DefaultFontName = 'Menlo';
{$ELSE}
Default... |
unit float32_2;
interface
implementation
var
A, B, C: Float64;
procedure Test_Add(var A, B, C: Float64);
begin
A := 1.1;
B := 1.2;
C := A + B;
Assert(C >= 2.3);
end;
procedure Test_Sub(var A, B, C: Float64);
begin
A := 1.1;
B := 1.2;
C := B - A;
Assert(C >= 0.1);
end;
procedure Test_Mul(var... |
unit ncaFrmEditDesc;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters, Menus, cxControls,
cxContainer, cxEdit, cxTextEdit, cxMemo, StdCtrls, cxButtons, LMDControl,
LMDCustomControl, LMDCustomPanel, LMDCustomBev... |
unit TestCast;
{ AFS 9 Jan 2000
This unit compiles but is not semantically meaningfull
it is test cases for the code formatting utility
This unit test type casts
Borland style is that there is no space between the type & the bracket
}
interface
function CastNumeric: integer;
procedure MessWithObj... |
unit MobilePermissions.Permissions.Android;
interface
uses
{$IF CompilerVersion >= 33.0}
System.Permissions,
{$ENDIF}
{$IFDEF ANDROID}
Androidapi.Helpers,
Androidapi.JNI.Os,
Androidapi.JNI.JavaTypes,
{$ENDIF}
System.Character,
System.SysUtils,
System.StrUtils,
MobilePermissions.Permissions.Int... |
unit Teste.ChangeSet.Adapter;
interface
uses
DUnitX.TestFramework, System.JSON, System.JSON.Readers,
Vigilante.Infra.ChangeSet.DataAdapter;
type
[TestFixture]
TChangeSetAdapterJSONTest = class
private
FChangeSetItens: TJSONArray;
FAdapter: IChangeSetAdapter;
procedure CarregarChangeSetItens;
... |
program Sample;
procedure Proc(i: Integer);
begin
WriteLn(i);
end;
begin
Proc('abc');
end.
|
unit Billiards.GameDay;
interface
uses
Billiards.GameType,
Billiards.Period,
Billiards.Member;
type
TBilliardGameDay = class
private
fGameType: TBilliardGameType;
fPeriod: TBilliardPeriod;
public
constructor Create; overload;
constructor Create(ADate: TDate); overload;
function ToStr... |
unit uFormSizeSelect;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, zipper, FileUtil, Forms, Controls, Graphics, Dialogs,
StdCtrls, Spin, Grids, ButtonPanel;
type
{ TfrmFormSizeSelect }
TfrmFormSizeSelect = class(TForm)
ButtonPanel1: TButtonPanel;
DrawGrid1: TDrawGrid;
... |
unit PRFWK_Conexao;
interface
uses PRFWK_Classe, SqlExpr, PRFWK_Utilidades, Midas, DB, AdoDB, StrUtils, DBXDynalink, DBXMySQL,
DBXCommon;
type
TPRFWK_Conexao = class(TPRFWK_Classe)
private
aConexaoSql : TCustomConnection;
aDriver : String;
aNomeConexao : WideString;
aVendorli... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.Bind.Components,
Data.Bind.ObjectScope, Vcl.StdCtrls, Vcl.Buttons, System.Actions,
Vcl.ActnList, Vcl.StdActns, System.ImageList, Vcl.Im... |
{******************************************}
{ }
{ FastScript v1.9 }
{ UniDAC classes and functions }
{ }
{ Created by: Devart }
{ E-mail: unidac@devart.com }
{ ... |
{------ Snake Invasion ------------------------------------------
by Gabor Kotik
github: codexclusive
Demonstrates how to implement graphics in Free
Pascal. The program draws a given number of snakes
on the screen and moves them around automatically.
Snakes av... |
unit JK.Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, System.Generics.Collections,
Vcl.StdCtrls, Vcl.ComCtrls, Vcl.ExtCtrls, HGM.Controls.SpinEdit;
type
TLang = record
Code:string;
Desc:string;... |
unit ccBaseFrame;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, ExtCtrls, StdCtrls, IniFiles;
type
TCalcCompleteEvent = procedure (Sender: TObject; AMsg: String;
IsOK: Boolean) of object;
{ TBaseFrame }
TBaseFrame = class(TFrame)
Bevel1: TBevel;
ImageBevel: ... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2015-2018 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
unit uUnidadeDao;
interface
uses
FireDAC.Comp.Client, uConexao, uUnidadeModel, System.SysUtils;
type
TUnidadeDao = class
private
FConexao: TConexao;
public
constructor Create;
function Incluir(Unidade: TUnidadeModel): Boolean;
function Excluir(Unidade: TUnidadeModel): Boolean;
function... |
unit u_xpl_sender;
{===============================================================================
UnitName = u_xpl_sender
UnitDesc = xPL Sender object and function
UnitCopyright = GPL by Clinique / xPL Project
===============================================================================
0.8... |
//==============================================================//
// uBuku //
//--------------------------------------------------------------//
// Unit yang menangani hal-hal yang berhubungan dengan buku //
//==================================================... |
{
ID: a2peter1
PROG: concom
LANG: PASCAL
}
{
Me rendí, esta es la
solucion de Abel
}
{$B-,I-,Q-,R-,S-}
const
problem = 'concom';
MaxN = 100;
var
N,i,j,k,h : longint;
mark : array[0..MaxN,0..MaxN] of boolean;
owns : array[0..MaxN,0..MaxN] of longint;
procedur... |
unit FC.Trade.Trader.StopAndReverse;
{$I Compiler.inc}
interface
uses
Classes, Math,Contnrs, Forms, Controls, SysUtils, BaseUtils, ActnList, Properties.Obj, Properties.Definitions,
StockChart.Definitions, StockChart.Definitions.Units, Properties.Controls, StockChart.Indicators,
Serialization, FC.Definitions, FC... |
unit UnModel;
interface
uses
SysUtils, Classes, SqlExpr, FMTBcd, DB, DBClient, Provider,
{ Fluente }
Util, DataUtil, Settings;
type
TModel = class(TDataModule)
Sql: TSQLDataSet;
ds: TSQLDataSet;
dsp: TDataSetProvider;
cds: TClientDataSet;
dsr: TDataSource;
private
FDataUtil: TDataU... |
unit UMyUtils;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,fphttpclient,INIFiles,Dialogs;
type
TMyUtils=class
Public
//Public Declarations
Function FormatSize(Size: Int64): String;
Function getIniParms(UrlIni:String;var version,URL,executable:String;var updatables:TStringList):Boolean;
Private... |
unit caVmt;
{$INCLUDE ca.inc}
interface
uses
Classes,
SysUtils,
TypInfo,
Contnrs;
type
//---------------------------------------------------------------------------
// Published method record
//--------------------------------------------------------... |
unit controlUtils;
uses
ABCObjects, ABCButtons, GraphABC;
type
TBtnClickEvent = procedure;
TBtnPosition = (bpLeft, bpCenter, bpRight);
TControlUtils = class(ContainerABC)
private
counter: integer = 1;
public
constructor create;
///отцентрировать относительно окна, учитывая р... |
unit ncDirUtils;
interface
uses
{$IFNDEF NOLOG}
uLogs,
{$ENDIF}
classes, sysutils, windows, dateutils;
type
TCleanDirEvent = procedure (Dirname : string) of object;
TFileDirEvent = procedure (Sender:TObject; aDir, aFileName : string; aWin32FindData: TWin32FindData) of object;
TFileDirProc = procedur... |
unit IdNetworkCalculator;
interface
uses
SysUtils, Classes, IdBaseComponent;
type
TIpStruct = record
case integer of
0: (Byte4, Byte3, Byte2, Byte1: byte);
1: (FullAddr: Longword);
end;
TNetworkClass = (ID_NET_CLASS_A, ID_NET_CLASS_B, ID_NET_CLASS_C,
ID_NET_CLASS_D, ID_NET_CLASS_E);
con... |
unit SimpleQueryFiredac;
interface
uses
SimpleInterface, FireDAC.Comp.Client, System.Classes, Data.DB,
FireDAC.Stan.Param, FireDAC.DatS,
FireDAC.DApt.Intf, FireDAC.DApt, FireDAC.Comp.DataSet;
Type
TSimpleQueryFiredac = class(TInterfacedObject, iSimpleQuery)
private
FConnection : TFDConnection;
... |
{ ---------------------------------------------------------------------------- }
{ FormulaJIT for MB3D }
{ Copyright (C) 2016-2017 Andreas Maschke }
{ ---------------------------------------------------------------------------... |
unit uHumanres;
{$mode objfpc}{$H+}
interface
uses
SynCommons, mORMot, uForwardDeclaration;
type
// 1
TSQLPartyQual = class(TSQLRecord)
private
fParty: TSQLPartyID;
fPartyQualType: TSQLPartyQualTypeID;
fQualificationDesc: RawUTF8;
fTitle: RawUTF8;
fStatus: TSQLStatusItemID;
... |
{----------------------------------------------------------------------------}
{ Written by Nguyen Le Quang Duy }
{ Nguyen Quang Dieu High School, An Giang }
{----------------------------------------------------------------------------}
... |
unit uIntfaceFull;
interface
type
TIntfaceFull = class(TObject)
private
//class var FMaxId: Int64;
private
FName: string;
FMethod: string;
FHttpUrl: string;
FUrl: string;
procedure SetHttpUrl(const S: string);
public
class constructor Create;
constructor Create;
destructor ... |
unit AProfissoes;
{ Autor: Rafael Budag
Data Criação: 25/03/1999;
Função: Cadastrar uma nova transportadora
Data Alteração: 25/03/1999;
Alterado por:
Motivo alteração:
}
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios,
... |
unit TelpinAPI;
interface
uses
Vcl.ExtCtrls, System.Classes, IdHTTP, IdSSLOpenSSL, System.JSON,
System.SysUtils, System.DateUtils;
type
TTelphinToken = class;
TTelphinApiBaseElement = class
protected
fBaseUrl: string;
fHttp: TIdHTTP;
fSSL: TIdSSLIOHandlerSocketOpenSSL;
public
property Ba... |
unit fNoteDR;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
fAutoSz, StdCtrls, VA508AccessibilityManager;
type
TfrmNoteDelReason = class(TfrmAutoSz)
lblInstruction: TStaticText;
cmdOK: TButton;
cmdCancel: TButton;
radPrivacy: TRadioButton;
radAdmin... |
unit CommonFunct;
interface
uses Windows;
const
KEY_APP = 'Software\ZANS';
type
TMemoryStatusInformation = record
MemoryLoad: String;
TotalPhys: String;
AvailPhys: String;
TotalPage: String;
AvailPage: String;
TotalVirtual: String;
AvailVirtual: String;
end;
function MemoryStatus... |
unit IdSMTP;
interface
uses
Classes,
IdGlobal,
IdMessage,
IdEMailAddress,
IdHeaderList,
IdMessageClient;
type
TAuthenticationType = (atNone, atLogin);
const
ID_TIDSMTP_AUTH_TYPE = atNone;
type
TIdSMTP = class(TIdMessageClient)
protected
FDidAuthenticate: Boolean;
FAuthenticationType: TA... |
{
Version 12
Copyright (c) 2011-2012 by Bernd Gabriel
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, pu... |
unit RptDialg;
interface
uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, Buttons,
StdCtrls, ExtCtrls, Dialogs, Zipcopy, locatdir, WinUtils, ShellAPI;
type
TReportDialog = class(TForm)
DoneSaveButton: TBitBtn;
ReportNameEdit: TEdit;
Label1: TLabel;
CopyButton: TBitBtn;
DoneDontSav... |
unit Util;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
procedure WriteProgramLog(Log: string; Force: boolean = false);
procedure WriteProgramLog(i: longint; Force: boolean = false);
procedure WriteProgramLog(i: int64; Force: boolean = false);
procedure WriteProgramLog(d: double; Force: boolean =... |
unit IdFTP;
interface
uses
Classes,
IdException,
IdGlobal,
SysUtils,
IdSocketHandle, IdTCPConnection, IdTCPClient, IdThread,
IdURI;
type
TIdFTPTransferType = (ftBinary, ftASCII);
const
Id_TIdFTP_TransferType = ftBinary;
Id_TIdFTP_Passive = False;
type
TIdFTP = class(TIdTCPClient)
protected
... |
unit AVerificaLeituraLembrete;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios,
Componentes1, ExtCtrls, PainelGradiente, UnLembrete, UnDados, StdCtrls,
Buttons, Db, DBTables, Grids, DBGrids, Tabela, DBKeyViolation, DBClient;
type
TFVerificaLeitur... |
unit FF7Types;
interface
Type
TFF7BgSprite = packed record
ZZ1,X,Y: Smallint;
ZZ2: Array[0..1] of Smallint;
SrcX,SrcY: Smallint;
ZZ3: Array[0..3] of Smallint;
Pal: Smallint;
Flags: Word;
ZZ4: Array[0..2] of Smallint;
Page,Sfx: Small... |
unit fBandMapRig1VfoA;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls,
jakozememo,lclproc, Math, fCommonLocal;
type
TBandMapClick = procedure(Sender:TObject;Call,Mode : String; Freq : Currency) of object;
const
MAX_ITEMS = 200;
DELTA_FREQ = 0.... |
unit gExpressionOperators;
{ Author: Steve Kramer, goog@goog.com }
interface
Uses
Classes
, Contnrs
, gExpressionEvaluator
, Variants
;
Type
TOperator = class(TgExpressionToken)
Public
Function Precedence : Integer;Virtual;
Procedure PostFix(ATokenList : TList; AStack : TStack);Override;
E... |
unit CategoryParametersQuery;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseQuery, FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS,
FireDAC.Phys.Intf, Fire... |
unit Vigilante.Build.Model;
interface
uses
Vigilante.Aplicacao.ModelBase, Vigilante.Aplicacao.SituacaoBuild, Module.ValueObject.URL;
type
IBuildModel = interface(IVigilanteModelBase)
['{A6BB46A1-78C3-4069-940E-F48071895246}']
function GetBuildAtual: integer;
function GetUltimoBuildSucesso: integer;
... |
{ Copyright (C) 1998-2018, written by Shkolnik Mike, Scalabium
E-Mail: mshkolnik@scalabium.com
mshkolnik@yahoo.com
WEB: http://www.scalabium.com
The TSMTrayIcon component
}
unit SMTray;
{$P+,W-,R-}
interface
{$I SMVersion.inc}
uses Windows, Messages, Classes, Graphics, SysUtils, Fo... |
unit revwin;
interface
Procedure VerCheck;
Procedure Change_VMM_Title(Title:String); { Max String Length = 29+Nul }
Procedure Change_APP_Title(Title:String); { Max String Length = 79+Nul }
Function Win3X : Boolean;
Function WinVer :Word;
implementation
USES DOS,CRT,revconst;
Var
Regs : Registers; { to hold regist... |
{*******************************************************}
{ }
{ Delphi LiveBindings Framework }
{ }
{ Copyright(c) 2011 Embarcadero Technologies, Inc. }
{ ... |
unit ApacheUtils;
{
*******************************************************************************************************************
ApacheUtils: Contains TApacheRequest class for Apache Module
Author: Motaz Abdel Azeem
email: motaz@code.sd
Home page: http://code.sd
License: LGPL
... |
unit SEA_EAX;
(*************************************************************************
DESCRIPTION : SEED EAX mode functions
REQUIREMENTS : TP5-7, D1-D7/D9-D10/D12, FPC, VP
EXTERNAL DATA : ---
MEMORY USAGE : ---
DISPLAY MODE : ---
REFERENCES : [1] EAX: A Convention... |
unit intensive.View.Principal;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Data.DB,
Vcl.Grids,
Vcl.DBGrids,
Vcl.StdCtrls,
Vcl.Buttons,
Datasnap.DBClient,
Vcl.ExtCtrls,
intensive.... |
unit SpectrumUndo;
interface
uses
Classes, Contnrs,
OriUndo,
SpectrumTypes, Plots;
type
TSpectrumUndoCommand = class(TOriUndoCommand)
protected
FSource: TObject;
FOwnSource: Boolean;
public
destructor Destroy; override;
end;
TPlotTitleEditCommand = class(TSpectrumUndoCo... |
{-----------------------------------------------------------------------------
Unit Name: ValueNamesProvider
This software and source code are distributed on an as is basis, without
warranty of any kind, either express or implied.
This file can be redistributed, modified if you keep this header.
Copyrig... |
{---------------------------------
msgbox demo
------------------------------}
uses megacrt,gui;
{----------------------------------------------------------------
GUI.TPU ---
msgbox(color_titulo,'titulo', color_texto,color_bordes,color_fondo,
string_especial,botones_a_escojer).
String... |
unit DragDropPIDL;
// -----------------------------------------------------------------------------
// Project: Drag and Drop Component Suite
// Module: DragDropPIDL
// Description: Implements Dragging & Dropping of PIDLs (files and folders).
// Version: 4.0
// Date: 18-M... |
unit Generator;
interface
uses
Analyser, Token;
type
TGenerator = class helper for TAnalyser
protected
// procedure Generate(Symbol : char); override;
public
procedure MakeModule(Token : TToken);
end;
implementation
uses
Scanner, llvmAPI;
(*const
GeneratorAction : array[#... |
Procedure ReadOptions( const FN: string; var Align: Classes.TAlignment; var Width: integer); forward;
function CreateXMLDocument( Owner: TComponent): TXMLDocument;
begin
Owner := TComponent.Create( nil);
result := TXMLDocument.Create( Owner);
result.Options := [doNodeAutoCreate, doNodeAutoIndent, doAttrNull,
... |
{*******************************************************}
{ }
{ Delphi DataSnap Framework }
{ }
{ Copyright(c) 2011-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
{***************************************************************************}
{ Copyright 2021 Google LLC }
{ }
{ Licensed under the Apache License, Version 2.0 (the "License"); }
{ yo... |
unit NtUtils.WinUser;
interface
uses
Winapi.WinNt, Winapi.WinUser, NtUtils.Exceptions, NtUtils.Security.Sid,
NtUtils.Objects;
type
TNtxStatus = NtUtils.Exceptions.TNtxStatus;
TGuiThreadInfo = Winapi.WinUser.TGuiThreadInfo;
{ Open }
// Open desktop
function UsrxOpenDesktop(out hxDesktop: IHandle; Name: Stri... |
{ }
{ Rational numbers v3.07 }
{ }
{ This unit is copyright © 1999-2003 by David Butler (david@e.co.za) ... |
unit Unit1;
interface
uses
System.SysUtils, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms,
Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Imaging.Jpeg,
//GLScene
GLShadowPlane, GLScene, GLWin32Viewer, GLObjects,
GLCadencer, GLVectorGeometry, GLTexture, GLGeomObjects,
GLCrossPlatform, ... |
unit U.Utilities;
interface
function CapitalizeString(const AValue: String): String;
implementation
uses
System.SysUtils;
function CapitalizeString(const AValue: String): String;
const
ALLOWEDCHARS = ['a'..'z', '_'];
var
LIndex: Integer;
LCapitalizeNext: Boolean;
begin
LCapitalizeNext := True;
Result :... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{ : GLFilePGM<p>
<b>History : </b><font size=-1><ul>
<li>08/05/10 - Yar - Removed check for residency in AssignFromTexture
<li>04/02/10 - Yar - Creation
</ul><p>
}
unit GLFilePGM;
{$I GLScene.inc}
interface
uses
System.... |
PROGRAM MapTest;
USES MapClass;
VAR m: Map;
s, c: STRING;
BEGIN (* MapTest *)
New(m, Init);
WriteLn('(1) Enter new Value');
WriteLn('(2) Remove Value');
WriteLn('(3) Get Value from Key');
WriteLn('(4) Print Map');
WriteLn('(5) GetSize');
WriteLn('(0) End Program');
REPEAT
Write('Enter ... |
(* ***************************************************************************
SkRegExpW.pas (SkRegExp regular expression library)
**************************************************************************** *)
(*
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); ... |
{
Double Commander
-------------------------------------------------------------------------
Terminal emulator implementation.
Copyright (C) 2008 Dmitry Kolomiets (B4rr4cuda@rambler.ru)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Genera... |
unit Base.Test;
interface
uses
IBX.IBDatabase,
Spring.Persistence.Core.ConnectionFactory,
Spring.Persistence.Core.Interfaces,
Spring.Persistence.Core.Session,
Spring.Persistence.Adapters.IBX,
Spring.Collections,
Spring.Persistence.SQL.Params,
Spring.Persistence.Criteria.Interfaces,
Spring.Persistenc... |
{*******************************************}
{ TeeChart Pro Bitmap exporting }
{ Copyright (c) 1995-2004 by David Berneda }
{ All Rights Reserved }
{*******************************************}
unit TeeBmpOptions;
{$I TeeDefs.inc}
interface
uses
{$IFNDEF LINUX}
Windows, Message... |
unit UnitMain;
{$mode delphi}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls;
type
{ TFormMain }
TFormMain = class(TForm)
Disp: TPaintBox;
Timer: TTimer;
procedure DispClick(Sender: TObject);
procedure DispPaint(Sender: TObject);
procedure TimerTimer(Sende... |
program BinaryTree;
type
Nd = ^Node;
Node = record
val : integer;
L, R : Nd; { Left, right, parent}
end;
function NewNode(val : integer; L, R : Nd) : Nd;
var
A : Nd;
begin
new(A);
A^.val := val;
A^.L := L;
A^.R := R;
NewNode := A;
end;
procedure AddNode(val : integer; Root :... |
{ *************************************************************************** }
{ }
{ Delphi and Kylix Cross-Platform Visual Component Library }
{ }
... |
unit UnTeleMarketing;
{Verificado
-.edit;
}
interface
Uses Classes, UnDados, DBTables, SysUtils, Gauges,stdctrls, SQLExpr,
Tabela;
Type
TRBFuncoesTeleMarketing = class
private
Aux,
Clientes : TSQLQuery;
Cadastro : TSQL;
function RSeqTeleDisponivel(VpaCodFilial,VpaCodC... |
unit Tests_OriControls;
{$mode objfpc}{$H+}
interface
uses
FpcUnit, TestRegistry;
type
TTest_OriControls = class(TTestCase)
private
procedure TextRectPaint(Sender: TObject);
published
procedure OriTabSet;
procedure TextRect;
procedure OriFloatEdit;
end;
implementation
... |
unit uSTXLogic;
interface
uses
System.Classes, System.UITypes,System.SysUtils, System.Types,System.Generics.Collections,
FMX.Dialogs,FMX.Types, uPublic, uEngine2DModel,
uEngine2DSprite,uEngine2DExtend,Math;
const
ANIMATION_INTERVAL = 100;
ANIMATION_TOTAL_COUNT = 8;
FULL_STAR = 'x-1.png';
HALF_STAR = 'x-... |
unit clsTDBUtils;
interface
{$M+}
uses
System.SysUtils,
System.Classes,
Data.DB,
Data.DBCommonTypes,
Uni,
DBAccess,
Postgresqluniprovider;
type
TColDevQuery = class(TUniQuery);
TColDevConnection = class(TUniConnection);
TDBUtils = class
private
FConexao: TColDevConnection... |
unit UParamEditors;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Spin, ExtCtrls, StdCtrls, Controls, FPCanvas, typinfo,
UInspector, LCLType, Graphics, math, UBaseShape, Buttons;
type
{ TIntegerEditor }
TIntegerEditor = class(TParamEditor)
private
FSpinEdit: TSpinEdit;
procedure Change(S... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLApplicationFileIO<p>
Components and fonction that abstract file I/O access for an application.<br>
Allows re-routing file reads to reads from a single archive file f.i.<p>
<b>History : </b><font size=-1><ul>
<li>10/11/12 ... |
{*******************************************************}
{ }
{ Delphi DataSnap Framework }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
program fib(n);
function fib(n: Integer): Integer;
begin
if n = 0 then
fib := 0
else if n = 1 then
fib := 1
else
fib := fib(n-1) + fib(n-2);
end;
begin
fib(n);
end.
|
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLTexCombineShader<p>
A shader that allows texture combiner setup.<p>
<b>History : </b><font size=-1><ul>
<li>05/03/11 - Yar - Added combiner's commands cache
<li>23/08/10 - Yar - Added OpenGLTokens to uses, replaced O... |
{
Double commander
-------------------------------------------------------------------------
Definitions of basic types.
Copyright (C) 2012 Przemyslaw Nagay (cobines@gmail.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public L... |
unit ReportManager;
interface
uses
SysUtils, Classes, DB, ADODB, xmldom, XMLIntf, msxmldom, XMLDoc, Dialogs;
type
TReport = class(TObject)
protected
FName: AnsiString;
FCaption: AnsiString;
FSQLText: AnsiString;
FHeaderSQLText: AnsiString;
FColumns: TStringList;
FFooterSQLText: AnsiStri... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2014-2018 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
{ Invokable implementation File for TSetExamState which implements ISetExamState }
unit SetExamStateImpl;
interface
uses Soap.InvokeRegistry, System.Types, Soap.XSBuiltIns, SetExamStateIntf, Oracle;
type
{ TSetExamState }
TSetExamState = class(TInvokableClass, ISetExamState)
public
class var SendQueue: T... |
unit uUsersOfTravel;
interface
uses
Soap.InvokeRegistry, System.Types, Soap.XSBuiltIns, Soap.encddecd,
System.IOUtils, FMX.Dialogs, FMX.Forms, Classes, SysUtils, System.UITypes,
System.Variants, FMX.Graphics, Data.DB, Data.DbxSqlite, Data.SqlExpr;
type
TUsersOfTravel = class(TCollectionItem)
pub... |
{
Oracle Deploy System ver.1.0 (ORDESY)
by Volodymyr Sedler aka scribe
2016
Desc: wrap/deploy/save objects of oracle database.
No warranty of using this program.
Just Free.
With bugs, suggestions please write to justscribe@yahoo.com
On Github: github.com/justscribe/ORDESY
Headers for read/write base types of delphi ... |
unit Model.Connection;
interface
uses
System.SysUtils, System.Classes, Model.Base, FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf,
FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys,
FireDAC.Stan.ExprFuncs, FireDAC.Phys.SQLiteDef,
FireDAC.Ph... |
unit fOptionsCombinations;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, StdCtrls, ORCtrls, OrFn, ComCtrls, fBase508Form,
VA508AccessibilityManager;
type
TfrmOptionsCombinations = class(TfrmBase508Form)
radAddByType: TRadioGroup;
lblInfo: TMemo;
... |
//
// Copyright (c) 2009-2010 Mikko Mononen memon@inside.org
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
// Permission is granted to anyone to use this software for any purpose... |
unit InsertMember;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Mask, Vcl.DBCtrls,
Vcl.ExtCtrls, Data.DB;
type
TInsertForm = class(TForm)
InsertSource: TDataSource;
LoginBack: ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.