text stringlengths 14 6.51M |
|---|
{ CFUUID.h
Copyright (c) 1999-2005, Apple, Inc. All rights reserved.
}
{ Pascal Translation Updated: Peter N Lewis, <peter@stairways.com.au>, November 2005 }
{
Modified for use with Free Pascal
Version 210
Please report any bugs to <gpc@microbizz.nl>
}
{$mode macpas}
{$packenum 1}
{$macro on}
{$inline ... |
PROGRAM Pseudo(INPUT, OUTPUT);
{ Programm writes letters in pseudographics }
CONST
Rows = 5;
Columns = 5;
TYPE
SignsPlace = SET OF 1 .. 25;
PROCEDURE WritePseudo(VAR PseudoLetter: SignsPlace);
VAR
PositionInRow: INTEGER;
BEGIN {WritePseudo}
FOR PositionInRow := 1 TO (Rows * Columns)
DO
BEGIN
... |
unit TTSDOCSTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TTTSDOCSRecord = record
PImageIndex: Integer;
End;
TTTSDOCSBuffer = class(TDataBuf)
protected
function PtrIndex(Index:integer):Pointer;override;
public
Data: TTTSDOCSRecord;
... |
unit AlgorithmUnit;
interface
type
Point = record
x: integer;
y: integer;
constructor Create(xx, yy : integer);
begin
x := xx;
y := yy;
end;
end;
intArray = array of integer;
Grid = array of array of integer;
Action = procedure;
ActionInt = procedure(data: integer)... |
Unit TERRA_AudioMixer;
{$I terra.inc}
Interface
Uses TERRA_Utils, TERRA_String, TERRA_Threads, TERRA_Mutex;
Const
DefaultAudioBufferSize:Integer = 8192;
Type
PAudioSample = ^AudioSample;
AudioSample = Word;
TERRAAudioMixer = Class;
TERRAAudioDriver = Class(TERRAObject)
Protected
... |
{-----------------------------------------------------------------------------
EventDetailForm (historypp project)
Version: 1.4
Created: 31.03.2003
Author: Oxygen
[ Description ]
Form for details about event
[ History ]
1.4
- Added horz scroll bar to memo
1.0 (31.03.2003) - Initia... |
unit csClientCommandsManager;
interface
uses
csClient, csCommandsManager, CsDataPipe, csCommandsTypes,
Menus;
type
TcsClientCommandsManager = class(TcsCommandsManager)
private
f_CSClient: TcsClient;
function pm_GetCommandEnabled(Command: TcsCommands): Boolean;
function pm_GetCustomCommands(Index: Integer):... |
unit ncsOneFileDeliverer;
// Модуль: "w:\common\components\rtl\Garant\cs\ncsOneFileDeliverer.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TncsOneFileDeliverer" MUID: (546F3804032D)
{$Include w:\common\components\rtl\Garant\cs\CsDefine.inc}
interface
{$If NOT Defined(Nemesis)}
uses
l3IntfUses
, l3ProtoObje... |
program calcperm;
//////
// Intro
// Bit permutation code generator
// (c) 2011..2017 by Jasper L. Neumann
// www.sirrida.de / programming.sirrida.de
// E-Mail: info@sirrida.de
// Granted to the public domain
// First version: 2012-08-31
// Last change: 2013-03-26
// Compile with
// Delphi: ... |
{$include lem_directives.inc}
unit GamePreviewScreen;
interface
uses
Windows, Classes, Controls, Graphics, SysUtils,
GR32, GR32_Image, GR32_Layers,
UMisc, Dialogs, PngImage,
LemCore, LemStrings, LemDosStructures, LemRendering, LemLevelSystem,
GameControl, GameBaseScreen, GameWindow;
type
T... |
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
// http://code.google.com/p/protobuf/
//
// author this port to delphi - Marat Shaymardanov, Tomsk (2007, 2013)
//
// You can freely use this code in any project
// if sending any postcards with postage stamp to m... |
{
Copyright (c) 2017 - 2018 Sphere 10 Software
Common GUI unit usable across all tiers.
Distributed under the MIT software license, see the accompanying file LICENSE
or visit http://www.opensource.org/licenses/mit-license.php.
Acknowledgements:
Herman Schoenfeld
}
unit UCommon.UI;
{$mode delphi}
int... |
unit np.promise;
interface
uses sysUtils, np.common, np.value, generics.collections;
type
EPromise = class(exception);
TPromiseFunction = reference to procedure(ok,ko:TProc<IValue>);
TPromiseResult = reference to function(value: IValue) : IValue;
IPromise = interface(IValue)
['{A6F2C65C-709B-43BC-8C... |
PROGRAM TreeSort(INPUT, OUTPUT);
{ Программа сортирует данные с помощью BinTree }
TYPE
Tree = ^Node;
Node = RECORD
Key: CHAR;
Left, Right: Tree;
END;
VAR
Root: Tree;
Ch: CHAR;
PROCEDURE Insert(VAR Ptr: Tree; Data: CHAR);
{ Процедура вставляет новые элементы в дерево }
BEGIN ... |
unit UEditItems;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons,
// selfmade units
uConfig, uItems, uUtils;
type
TfrmEditItem = class(TForm)
BtnOK: TBitBtn;
BtnCancel: TBitBtn;
procedure BtnOKClick(Sender: TObje... |
{ Subroutine SST_W_C_EXP_IMPLICIT (EXP,SYM_P)
*
* Create an implicit variable for the value of expression EXP, if EXP is
* not a "simple" expression. If an implicit variable is created, then SYM_P
* will point to its symbol descriptor. If not, then SYM_P will be returned
* NIL.
}
module sst_w_c_EXP_IMPLICIT... |
{
Copyright (C) 2013-2021 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... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
procedure TEqualizerForm.TrackBar_Ch00Change(Sender: TObject);
begin
UpdateFromTrackbar_4_12(Link_EQGainCh00, TrackBar_Ch00, Label_GainCh00);
end;
procedure TEqualizerForm.TrackBar_Ch01Change(Sender: TObject);
begin
UpdateFromTrackbar_4_12(Link_EQGainCh01, TrackBar_Ch01, Label_GainCh01);
end;
procedure TEqual... |
unit impl;
interface
uses
System.TypInfo, Macapi.ObjectiveC, Macapi.CocoaTypes, Macapi.Foundation, Macapi.AppKit;
type
TOCLocalEx<T, I: NSObject> = class abstract(TOCLocal)
protected
function Super: I; inline;
function GetObjectiveCClass: PTypeInfo; override;
public
constructor Creat... |
unit UStudent;
interface
uses
System.SysUtils,Vcl.Dialogs;
type
TStudent = class
private
FFirstName: string;
FSecondName: string;
FAge: Integer;
FLike: TArray<string>;
procedure SetAge(const Value: Integer);
procedure SetFirstName(const Value: string);
procedure SetSecondName(const ... |
unit QRNewXLSXFiltProcs;
interface
uses windows, classes, sysutils;
type
TAppParams = record
creator : string;
sheetname : string;
company : string;
LastCell : string;
numstrings : string;
end;
var
appParams : TAppParams;
fontlist : TStringlist;
fillsli... |
PROGRAM Pseudo(INPUT, OUTPUT);
CONST
Rows = 5;
Columns = 5;
TYPE
SignsPlace = SET OF 1 .. 25;
PROCEDURE WritePseudo(VAR PseudoLetter: SignsPlace);
VAR
Row, PositionInRow: INTEGER;
PROCEDURE WriteLine(VAR PseudoLetter: SignsPlace; VAR Row, Column: INTEGER);
BEGIN {WriteLine}
FOR Column := Column ... |
unit fmuPrintBarcodePrinter;
interface
uses
// VCL
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, ComCtrls,
// This
untPages, untUtil, untDriver, Spin;
type
{ TfmPrintBarcode }
TfmPrintBarcodePrinter = class(TPage)
lblData: TLabel;
edtBarcode: TE... |
{
A Companhia de Taxi LocalCerto armazena os dados de seus motoristas (codigo,nome, número do taxi e Kper).
Elabore um programa capaz de ler os dados de n (máximo de 20) motoristas (utilizar um vetor de registros para
armazenar esses dados). Em seguida, o programa deve imprimir um relatório conforme o modelo abai... |
unit CompanyServicesSheetForm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, VisualControls, ObjectInspectorInterfaces, PercentEdit,
GradientBox, FramedButton, SheetHandlers, ExtCtrls, FingerTabs,
InternationalizerComponent;
const
tidSecurityId = 'Secu... |
unit m3DBProxyWriteStream;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "m3"
// Автор: Люлин А.В.
// Модуль: "w:/common/components/rtl/Garant/m3/m3DBProxyWriteStream.pas"
// Начат: 17.03.2009 18:44
// Родные Delphi интерфейсы ... |
//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
// Yawara static site generator
// settings unit
// read and write settings
// @author : Zendrael <zendrael@gmail.com>
// @date : 2013/10/20
//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
unit untSet... |
{ *************************************************************************** }
{ }
{ }
{ Copyright (C) Amarildo Lacerda }
{ }
{ https://github.com/amarildolacerda }
{ }
{ }
{ *************************************************************************** }
{ }
{ Licensed under the Apache License, Version 2.0 (the "License... |
unit StreetHousesViewForma;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, DBGridEhGrouping,
ToolCtrlsEh, DBGridEhToolCtrls, DynVarsEh, CnErrorProvider, Vcl.Menus,
System.Actions, Vcl.ActnList, Data.DB, Vcl.... |
{=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=]
Copyright (c) 2013, Jarl K. <Slacky> Holta || http://github.com/WarPie
All rights reserved.
For more info see: Copyright.txt
[=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=}
{*
Find the maximum value in a... |
unit UpdateInfo;
interface
uses
Classes, Types, StrUtils, SysUtils;
type
TUpdateInfo = class
private
FComponents: TStringlist;
FVersions: TStringList;
FSources: TStringlist;
function GetPatcherVersion: string;
public
constructor Create();
destructor Destroy(); overri... |
program pl0(input,output,fin) ; { version 1.0 oct.1989 }
{ PL/0 compiler with code generation }
const norw = 13; { no. of reserved words }
txmax = 100; { length of identifier table }
nmax = 14; { max. no. of digits in numbers }
al = 10; { length of identifiers }
... |
unit DW.NotificationReceiver;
{*******************************************************}
{ }
{ Kastri Free }
{ }
{ DelphiWorlds Cross-Platform Library ... |
unit HeaderFooterTemplate;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
FMX.MobilePreview, Androidapi.JNI.GraphicsContentViewText, FMX.Helpers.Android,
Androidapi.JNI.JavaTypes, FMX.P... |
{******************************************************************************}
{ }
{ Library: Fundamentals 5.00 }
{ File name: flcTCPUtils.pas ... |
unit SaveInJpeg;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ComCtrls,
StdCtrls, ExtCtrls,Figure,Transformation,FrameTimer,math;
type
{ TForm3 }
TForm3 = class(TForm)
Button1: TButton;
ComboBox1: TComboBox;
EditWidth: TEdit;
EditHeigt... |
{**************************************************************************}
{ THTMLPopup component }
{ for Delphi & C++Builder }
{ }
{ Copyright ... |
unit Entidade.TipoLancamento;
interface
uses SimpleAttributes;
type
TTIPO_LANCAMENTO=class
private
FID_PAI: Integer;
FDESCRICAO: string;
FCODIGO: string;
FID: integer;
FID_TIPO_CENTRO_CUSTO: Integer;
procedure SetCODIGO(const Value: string);
procedure SetDESCRICAO(const Value: string);
... |
unit uProtoBufParserClasses;
interface
uses
System.Classes,
System.Generics.Defaults,
System.Generics.Collections,
uProtoBufParserAbstractClasses;
type
TPropKind = ( //
ptDefaultOptional, //
ptRequired, //
ptOptional, //
ptRepeated, //
ptReserved,
ptOneOf);
TSc... |
PROGRAM ComplexBuiltIn;
TYPE
mystring = ARRAY[1..3] OF char;
VAR
x, y, z : complex;
PROCEDURE print(expr : mystring; VAR z : complex);
BEGIN
write(expr, ' = (', z.re:0:5, ', ', z.im:0:5, ') ');
END;
BEGIN {ComplexTest}
x.re := 3; x.im := 2; print(' x', x);
y.re := 8; y.im := -5... |
(*
PROBLEM 16: Power digit sum
2^15 = 32768 and the sum of its digits is 3 + 2 + 7 + 6 + 8 = 26.
What is the sum of the digits of the number 2^1000?
*)
program ProjectEuler16;
const
base = 2;
exponent = 1000;
number_base = 10;
digits = 1000;
var
bignum: packed array[1..digits] of int... |
unit InternetAgentKeywordsPack;
{* Набор слов словаря для доступа к экземплярам контролов формы InternetAgent }
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\InternetAgent\Forms\InternetAgentKeywordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "InternetAgentKeywordsPack" MUID: (49EC... |
{
Clever Internet Suite
Copyright (C) 2013 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clSmtpRelay;
interface
{$I clVer.inc}
uses
{$IFNDEF DELPHIXE2}
Classes, SysUtils,{$IFDEF DEMO} Windows, Forms, clCertificate, clEncoder, clMailMessage,{$ENDIF}
{$ELSE}
System.Classes, System.... |
{ *************************************************************************** }
{ }
{ }
{ Copyright (C) Amarildo Lacerda }
{ }
{ https://github.com/amarildolacerda }
{ }
{ }
{ *************************************************************************** }
{ }
{ Licensed under the Apache License, Version 2.0 (the "License... |
unit ReoptimizeRouteUnit;
interface
uses SysUtils, BaseExampleUnit;
type
TReoptimizeRoute = class(TBaseExample)
public
procedure Execute(RouteId: String);
end;
implementation
uses DataObjectUnit, EnumsUnit, RouteParametersQueryUnit;
procedure TReoptimizeRoute.Execute(RouteId: String);
var
Parame... |
unit PlayerControl;
interface
uses
Math, TypeControl;
type
TPlayer = class
private
FId: Int64;
FMe: Boolean;
FStrategyCrashed: Boolean;
FScore: LongInt;
FRemainingActionCooldownTicks: LongInt;
FRemainingNuclearStrikeCooldownTicks: LongInt;
FNextNuclearStrikeVehicleId... |
unit TestuPareto;
{
Delphi DUnit Test Case
----------------------
This unit contains a skeleton test case class generated by the Test Case Wizard.
Modify the generated code to correctly setup and call the methods from the unit
being tested.
}
interface
uses
TestFramework, uPareto, System.Generics.Collec... |
{***********************************************************************************************************************
*
* TERRA Game Engine
* ==========================================
*
* Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com)
*
***************************************************... |
unit UFiles;
interface
(*
2007-07-06
o ReadDir and CreateFileList adjusted: The List parameter may be nil now.
o Added easy-access properties to TSearchRecObject
2005-11-11
o DirectorySynchronizer weggegooid
//2003-06-12: ReadDir aangepast: FindClose toegevoegd
*)
uses
Windows, Classes, S... |
unit l3StringList;
{ Библиотека "L3 (Low Level Library)" }
{ Автор: Люлин А.В. © }
{ Модуль: l3StringList - }
{ Начат: 06.02.2008 12:58 }
{ $Id: l3StringList.pas,v 1.17 2012/03/14 11:34:46 lulin Exp $ }
// $Log: l3StringList.pas,v $
// Revision 1.17 2012/03/14 11:34:46 lulin... |
unit InfoLSOANOTSTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TInfoLSOANOTSRecord = record
PLenderID: String[4];
PModCount: Integer;
End;
TInfoLSOANOTSClass2 = class
public
PLenderID: String[4];
PModCount: Integer;
End;
// f... |
unit StanEditLS;
//*****************************************************************************
// Процедуры сохранения и загрузки описания объектов зависимостей станции
//*****************************************************************************
interface
uses
SysUtils,
Classes,
StanEditTypes,
interprita... |
unit FormMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TFrmMain = class(TForm)
Button1: TButton;
Button2: TButton;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
procedure FormCreate(Sender: T... |
unit UMemBlockAccount;
interface
uses
UMemOperationBlock, UConst, UMemAccount, U32Bytes, UBlockAccount;
{$include MemoryReductionSettings.inc}
{$IFDEF uselowmem}
type
TMemBlockAccount = Record // TBlockAccount with less memory usage
blockchainInfo : TMemOperationBlock;
accounts : Array[0..CT_AccountsPer... |
unit l3EventedRecListView;
// Модуль: "w:\common\components\rtl\Garant\L3\l3EventedRecListView.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "Tl3EventedRecListView" MUID: (4DEFC812022F)
{$Include w:\common\components\rtl\Garant\L3\l3Define.inc}
interface
uses
l3IntfUses
, l3CustomRecListView
, l3ProtoPtrRe... |
unit filter_rbj;
{$mode delphi} {$H+}
//http://en.wikipedia.org/wiki/Digital_biquad_filter
//http://www.musicdsp.org/archive.php?classid=3#225
//http://www.musicdsp.org/showone.php?id=197
//http://www.musicdsp.org/files/Audio-EQ-Cookbook.txt
// http://www.musicdsp.org/archive.php?classid=3#225
//http://www.musi... |
unit udmRotasTabCarreteiros;
interface
uses
System.SysUtils, System.Classes, udmPadrao, DBAccess, IBC, Data.DB, MemDS;
type
TdmRotasTabCarreteiros = class(TdmPadrao)
qryManutencaoCID_ORIG: TStringField;
qryManutencaoEST_ORIG: TStringField;
qryManutencaoCID_DEST: TStringField;
qryManutencaoEST_DES... |
unit PathUtils;
(*************************************************************
Copyright © 2012 Toby Allen (https://github.com/tobya)
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 restri... |
unit AddOrder;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.ExtCtrls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls,
Data.DB, Vcl.Grids, Vcl.DBGrids, Vcl.Buttons, Data.Win.ADODB, Vcl.WinXPickers, DateUtils,
IBX.IBCustomD... |
{ Mark Sattolo 428500
CSI-1100A DGD-1 TA: Chris Lankester
Assignment 8, Question 1 }
program PowerStars (input,output);
{ ****************************************************************************** }
procedure PowerFast(X:real; N:integer; var Answer:Real);
{ Compute X^N recursively }
{ Data Dicti... |
{-----------------------------------------------------------------------------
Project: New Data Pull
Unit Name: formMain
Author: J. L. Vasser, FMCSA
Date: 2017-10-02
Purpose: This utility reads data from the Production SAFER database schema
to create a Carrier Data database for Aspen 3.x (... |
unit DaemonScheduler;
interface
uses
Windows, Classes, ExtCtrls, SyncObjs, RDOInterfaces, WinSockRDOConnection, RDOObjectProxy,
DirServerSession, Daemons;
type
TDaemonScheduler =
class
public
constructor Create(MaxDaemonThreads : integer);
destructor Destroy; overri... |
unit HmrcRestSupport;
(*****************************************************************************
* HMRC API REST Support Unit *
******************************************************************************
* Support types and values for the HMRC REST Client compone... |
////////////////////////////////////////////////////////////////////////////////
// FFormConfig.pas
// MTB communication library
// Main config form
// (c) Petr Travnik (petr.travnik@kmz-brno.cz),
// Jan Horacek (jan.horacek@kmz-brno.cz),
// Michal Petrilak (engineercz@gmail.com)
//////////////////////////... |
program TicketTranslation;
uses
Classes,
RegExpr,
SysUtils;
type
TicketRule = record
r_name: string;
r_rule: string;
end;
Ticket = record
t_values: array of integer;
end;
var
NewTicketRule: TicketRule;
TicketRules: array of TicketRule;
NewTicket: Ticke... |
unit RecorderControl;
// Recorder's gui. separates gui from logic, the logic is in the Recorder class (Recorder.pas)
interface
uses Chart, Controls, Classes, Series, Graphics, Menus, SetNewValForm, SysUtils, TeeProcs;
type
IRecorderControlCallback = interface
procedure SetRelativeMeasure;
procedure S... |
unit MMO.PacketWriter;
interface
uses MMO.Packet;
type
TPacketWriter = class(TPacket)
private
public
function WriteUInt8(const src: UInt8): Boolean;
function WriteUInt16(const src: UInt16): Boolean;
function WriteUInt32(const src: UInt32): Boolean;
function WriteInt32(const src: Int... |
program Ch1;
{$mode objfpc}
uses
SysUtils, Math, GVector;
type
TVec = specialize TVector<Integer>;
var
I:Integer;
Vec:TVec;
function IsPrime(N:Integer):Boolean;
var
I:Integer;
begin
if(N <= 1) then Exit(False);
for I := 2 to Trunc(Sqrt(N)) do
if(N mod I = 0) then Exit(False);
Result ... |
unit UDMTabImposto;
interface
uses
SysUtils, Classes, DB, DBTables, DBIProcs;
type
TDMTabImposto = class(TDataModule)
tTabPis: TTable;
tTabPisCodigo: TStringField;
tTabPisNome: TStringField;
dsTabPis: TDataSource;
tTabCofins: TTable;
dsTabCofins: TDataSource;
tTabCofinsCodigo: TString... |
unit FileScanner;
{
für Delphi-Praxis by shmia
}
interface
uses Windows, SysUtils;
type
// Info über einzelne Datei oder Verzeichnis
TFileInformation = record
Name : string;
Path : string;
IsDir : boolean;
ArchiveFlag, ReadOnlyFlag, HiddenFlag, SystemFlag : boolean;
// Owner : TOwn... |
unit m_stringgrid;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, Grids;
type
{ TMariaeStringGrid }
TMariaeStringGrid = class(TStringGrid)
private
FChanged: Boolean;
procedure SetChanged(AValue: Boolean);
protected
public
constru... |
{******************************************************************************}
{ }
{ Library: Fundamentals TLS }
{ File name: flcTLSErrors.pas ... |
{ Subroutine SST_OPCODE_NEW
*
* Create a new opcode descriptor at the current end of chain.
}
module sst_OPCODE_NEW;
define sst_opcode_new;
%include 'sst2.ins.pas';
procedure sst_opcode_new; {create new empty opcode, make current}
begin
util_mem_grab ( {allocate memory for new ... |
unit ExtIDEM_frm_sub_COMMENTs;
{$mode objfpc}{$H+}
interface
uses extIDEM_frm_sub,
Classes, SysUtils, FileUtil, Forms, Controls, StdCtrls, ExtCtrls;
type
{ TextIDEM_sub_COMMENTs_frm }
TextIDEM_sub_COMMENTs_frm = class(tExtIDEM_sub_frm)
chb_Enabled: TCheckBox;
edt_CmntSMB: TEdit;
... |
{***************************************************************
* Unit Name: GX_SampleExpert
* Purpose : Template for creation of new GExperts experts
* : Customize this when creating new experts
* : Add this unit to the GExperts .dpr and compile
* Authors : Stefan Hoffmeister, Scott Matt... |
program oddNumbers(input, output);
var
i, number : integer;
begin
write('n: ');
read(number);
for i := 0 to number do
if (i mod 2 <> 0) then
write(i, ' ');
writeln();
end.
|
unit FFSMemo2;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;
type
TFFSMemo2 = class(TMemo)
private
FMaxLines: integer;
procedure SetMaxLines(const Value: integer);
{ Private declarations }
protected
{ Protected declarations... |
unit MainForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls, DB, ADODB, uADStanIntf, uADStanOption,
uADStanError, uADGUIxIntf, uADPhysIntf, uADStanDef, uADStanPool, uADStanAsync,
uADPhysManager, uADGUIxFormsWait, uADStanParam, uADDatSMan... |
unit DataContainers.TRecord;
interface
uses
System.SysUtils, System.Variants,
Utils.TArrayUtil,
Framework.Interfaces,
Exceptions.EFieldNameMustBeUniqueException;
type
TRecord = class(TInterfacedObject, IRecord)
strict private
FFields: TArray<IField>;
function FieldNameAlreadyExists(... |
{
DBAExplorer - Oracle Admin Management Tool
Copyright (C) 2008 Alpaslan KILICKAYA
This program 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 3 of the License, or
(at... |
unit JunoApi4DelphiManager;
interface
uses
JunoApi4Delphi.Interfaces;
type
TJunoApi4DelphiManager = class(TInterfacedObject, iJunoApi4DelphiManager)
private
FConfig : iJunoApi4DelphiConig;
public
constructor Create;
destructor Destroy; override;
class function New : ... |
{ ***************************************************************************
Copyright (c) 2016-2021 Kike Pérez
Unit : Quick.Url.Utils
Description : Common Url utils
Author : Kike Pérez
Version : 2.0
Created : 17/03/2021
Modified : 17/03/2021
This file is part of QuickLib: htt... |
unit csImportTaskPrim;
// Модуль: "w:\common\components\rtl\Garant\cs\csImportTaskPrim.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TcsImportTaskPrim" MUID: (53ABFE3202CF)
{$Include w:\common\components\rtl\Garant\cs\CsDefine.inc}
interface
{$If NOT Defined(Nemesis)}
uses
l3IntfUses
, csProcessTask
, csT... |
unit UnitCadExperienciaProfissional;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls;
type
TFormCadExperienciaProfissional = class(TForm)
Panel1: TPanel;
Label1: TLabel;
... |
unit SearchAndReplacePrimTest;
{* Тест поиска/замены }
// Модуль: "w:\common\components\gui\Garant\Daily\SearchAndReplacePrimTest.pas"
// Стереотип: "TestCase"
// Элемент модели: "TSearchAndReplacePrimTest" MUID: (4C288B4D012F)
{$Include w:\common\components\gui\sdotDefine.inc}
interface
{$If Defined(nsTest) AND N... |
{$include lem_directives.inc}
unit LemTypes;
interface
uses
Classes, SysUtils, Contnrs,
GR32, GR32_LowLevel,
UZip,
//Dialogs,
UTools;
type
TLemDataType = (
ldtNone,
ldtLemmings, // resource 'lemdata'
ldtSound, // resource 'lemsounds'
ldtMusic,
ldtParticles
);... |
{*******************************************************}
{ Проект: Repository }
{ Модуль: uMultiCastEventImpl.pas }
{ Описание: Реализация IMultiCastEvent }
{ Copyright (C) 2015 Боборыкин В.В. (bpost@yandex.ru) }
{ ... |
{*********************************************************************
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* Autor: Brovin Y.D.
* E-mail: y... |
unit DW.UIHelper.Android;
{*******************************************************}
{ }
{ Kastri Free }
{ }
{ DelphiWorlds Cross-Platform Library ... |
{-------------------------------------------------- Progressive Path Tracing ---------------------------------------------------
This unit is responsible for reading a scene file, loading all the primitives and materials in memory, and providing methods to
access the scene - in particular a method which takes as a ... |
program factorial;
var
number : integer;
fact : integer;
i : integer;
begin
writeln('Welcome to factorial');
write('Introduce a positive integer: ');
read(number);
fact := 1;
for i := number downto 1 do
begin
fact := fact * i;
end;
writeln('The factorial of ', number, ' is ', fact)
{}
end.
|
unit DictionInterfaces;
{* Интерфейсы для работы с толковым словарём }
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\Diction\DictionInterfaces.pas"
// Стереотип: "ControllerInterfaces"
// Элемент модели: "DictionInterfaces" MUID: (491D57C802CD)
{$Include w:\garant6x\implementation\Garant\nsDefine.inc}
in... |
(*$d-,c-,v:000001000005b*)
Program Relprt(input,output);
{ program to print relocatable files for debugging
-- Greg Satz }
type
string = packed array [1..10] of char;
var
input: file of integer;
i,count,tmp: integer;
rad50_chars: packed array [1..40] of char;
filename, device: alfa;
word_count: integer;
... |
{
$Project$
$Workfile$
$Revision$
$DateUTC$
$Id$
This file is part of the Indy (Internet Direct) project, and is offered
under the dual-licensing agreement described on the Indy website.
(http://www.indyproject.org/)
Copyright:
(c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All rights reserv... |
unit evDocumentPartHotSpotTester;
{* Реализует интерфейсы IevHotSpotTester и IevHotSpot для части документа. }
// Модуль: "w:\common\components\gui\Garant\Everest\evDocumentPartHotSpotTester.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TevDocumentPartHotSpotTester" MUID: (4A27B5510171)
{$Include w:\common\co... |
unit Video2Matrix_TLB;
// ************************************************************************ //
// WARNING
// -------
// The types declared in this file were generated from data read from a
// Type Library. If this type library is explicitly or indirectly (via
// another type library referring to this type libra... |
unit cSampleDataset;
interface
uses Generics.Collections, Data.Db;
type
TSampleDataset = class
const
NUM_REC = 20;
private
fDS: TDataset;
fKeys: TList<integer>;
function RandomNum: integer;
function RandomKey: integer;
function RandomHex: string;
procedure Rand... |
unit nscCustomReminderModelPart;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "Nemesis"
// Автор: Люлин А.В.
// Модуль: "w:/common/components/gui/Garant/Nemesis/nscCustomReminderModelPart.pas"
// Начат: 18.04.2011 20:11
// Род... |
unit vcmBaseEntitiesCollection;
{* Коллекция сущностей. }
{ Библиотека "vcm" }
{ Автор: Люлин А.В. © }
{ Модуль: vcmBaseEntitiesCollection - }
{ Начат: 19.11.2003 10:36 }
{ $Id: vcmBaseEntitiesCollection.pas,v 1.43 2013/07/01 12:28:52 morozov Exp $ }
// $Log: vcmBaseEntitiesCollection.pas,v $
// Revision 1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.