text stringlengths 14 6.51M |
|---|
{
Author: Niels A.D
Project: Lape (http://code.google.com/p/la-pe/)
License: GNU Lesser GPL (http://www.gnu.org/licenses/lgpl.html)
Lape exceptions.
}
unit lpmessages;
{$I lape.inc}
interface
uses
SysUtils,
lptypes;
type
lpException = class(Exception)
protected
FDocPos: TDocPos;
FError: lpS... |
unit DefDB;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Buttons;
type
DATABASETYPE = (SQLServer, Oracle, DB2, MSAccess);
RETURN_SQL_TYPE = (SQL_QUERY, SQL_MDL, SQL_DDL);
COLDATATYPE = (CT_NONE,CT_NUM, CT_CHAR, CT_STRING,CT_DATE,CT_T... |
unit aksiSimulasi;
interface
procedure startSimulasi();
//Memulai simulasi
//I.S: simulasiRunning bernilai false
//F.S: simulasiRunning bernilai true
procedure stopSimulasi();
//Menghentikan simulasi dan memasukkan currentSimulasi ke data
//I.S: simulasiRunning bernilai true
... |
unit cS_memstream;
interface
uses
Classes;
type
TAbstractFixedMemoryStream = class
private
fp: pointer;
fpos: Longint;
fsize: Longint;
public
property p: pointer read fp;
property size: Longint read fsize;
procedure WriteBuffer(const Buffer; Count: Longint);
proce... |
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Author: François PIETTE
Description: A TWSocket that has server functions: it listen to connections
an create other TWSocket to handle connection for each client.
Creation: Aug 29, 1999
Version: 8.37
EMail: ... |
unit ThreadsCommMain;
interface
uses
Winapi.Windows, Winapi.Messages,
System.Rtti, System.Types, System.SysUtils, System.Variants, System.Classes,
System.Generics.Collections,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Samples.Spin,
DHPThreads;
type
TfrmThreadComm = class(TForm... |
unit frameBuscaDestinatario;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, Pessoa;
type
TBuscaDestinatario = class(TFrame)
gpbDestinatario: TGroupBox;
lblCodigo: TStaticText;
lblNomeRazaoSocial: TStaticText;
edtNomeRazaoSoc... |
unit xpgParseDrawingCommon;
// Copyright (c) 2010,2012 Axolot Data
// Web : http://www.axolot.com/xpg
// Mail: xpg@axolot.com
//
// X X PPP GGG
// X X P P G
// X PPP G GG
// X X P G G
// X X P GGG
//
// File generated with Axolot XPG, Xml Parser Generator.
// Version 0.... |
PROGRAM fibonacci (output);
VAR
number : integer;
FUNCTION fib (n : integer) : integer;
BEGIN
IF n <= 1 THEN fib := n
ELSE fib := fib(n - 2) + fib(n - 1)
END;
BEGIN
FOR number:= 0 TO 16 DO BEGIN
writeln('number = ', number:2,
' fibonacci = ', fib(number):4);
END;
END.
|
unit Xmpp.extensions.amp;
interface
uses
Xmpp.DirectionalElement,XmppUri,Element,Xmpp.extensions.Rule,Generics.Collections,SysUtils,System.Classes;
type
TAmp=class(TDirectionalElement)
const
TagName='amp';
private
function FGetStatus:string;
procedure FSetStatus(val:string);
function FGetPerHop:B... |
unit CompanyInfoImpl;
////////////////////////////////////////////////////////////////////////////////
//
// Description£º CompanyInfo Implementation
// Author£º lksoulman
// Date£º 2017-7-20
// Comments£º
//
////////////////////////////////////////////////////////////////////////////////
interface
uses
... |
unit H_Terminator_SelectObserverLocation_Unit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, LabeledNumericEdit;
type
TSetObserverLocation_Form = class(TForm)
ObserverElevation_LabeledNumericEdit: TLabeledNumericEdit;
O... |
unit WritelnInterfacedObjectUnit;
interface
type
// Adpoted copy of TInterfacedObject for debugging
TWritelnInterfacedObject = class(TObject, IInterface)
protected
FRefCount: Integer;
function QueryInterface(const IID: TGUID; out Obj): HResult; stdcall;
function _AddRef: Integer; stdcall;
... |
program testeFeldZweitMax (input, output);
{ testet die Funktion FeldZweitMax }
const
FELDGROESSE = 40;
type
tIndex = 1..FELDGROESSE;
tFeld = array [tIndex] of integer;
var
Feld : tFeld;
i : integer;
function FeldZweitMax (var inFeld : tFeld) : integer;
var
j: tIndex;
groesster,
zweitgroesster : ... |
unit FormFactory.Intf;
interface
uses
System.SysUtils;
type
IForm = interface ['{EB4D0921-F0FD-4044-80E8-80156C71D0E0}']
procedure Show;
end;
IEdit = interface ['{39D02BD4-582A-4EBD-8119-2D6013E31287}']
function GetText: string;
end;
IListbox = interface ['{6D2B7A99-FBA6-4E53-AAB9-64D071A52F23}... |
(* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distr... |
unit Adapter.Example.Inheritance;
interface
uses
RTTI,
Adapter.Example;
type
TDeepThought = class
public
function FindTheAnswer: string;
end;
TProblemAdapter = class(TProblemSolver)
public
function SolveProblem(const problem: string): string; override;
end;
implementation
uses
System.Sys... |
program DemoIOTwentyThree;
{demIO23 - DAMN that TAB key!}
{This example illustrates how you could use a character hook to
provide cursor jumping between fields - rather then pressing the
TAB key.}
Uses DOS, CRT,
totFAST, totREAL, totINPUT, totIO1, totIO2, totIO3,
totSTR, totDATE, totMSG;
VAR
Controlk... |
unit Dialog.Main;
interface
uses
Telegapi.Bot,
Telegapi.Classes,
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.Controls.Presentation, FMX.ScrollBox, FMX.Memo;
type
TForm1 = class(TForm)
mmo1: TMemo;
... |
unit RepositorioEntradaSaida;
interface
uses DB, Auditoria, Repositorio;
type
TRepositorioEntradaSaida = class(TRepositorio)
protected
function Get (Dataset :TDataSet) :TObject; overload; override;
function GetNomeDaTabela :String; override;
function GetIde... |
unit GeneradorIndice;
interface
uses classes;
type
TGeneradorIndice = class(TObject)
private
FDocumentos: TStringList;
FPalabras: TStringList;
FidDocumentos: TList;
FidPalabras: TList;
public
constructor Create;
destructor Destroy; override;
function AgregarDocumento(const ... |
{$WARN XML_CREF_NO_RESOLVE OFF}
{$WARN XML_NO_MATCHING_PARM OFF}
unit fOptionsTIUTemplates;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, fBase508Form, VA508AccessibilityManager,
Vcl.StdCtrls, Vcl.ExtCtrls, S... |
{***********UNITE*************************************************
Auteur ...... : B. LOCATELLI
Créé le ...... : 5/08/2011
Modifié le ... : / /
Description .. : Transfert des lignes de conso inter-chantiers.
Mots clefs ... : TOF;BTTrsConso
*****************************************************************}
Unit BTTr... |
unit PtCadEMail;
interface
uses
db, Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ComCtrls, Buttons, ToolWin, Grids, Wwdbigrd, Wwdbgrid, wwPsc, ExtCtrls,
wwSpeedButton, wwDBNavigator, wwclearpanel, StdCtrls, wwDialog, Wwlocate,
wwrcdvw, Wwquery, DBTables;
type
TCadEmails = class... |
unit U_Version;
interface
const
C_Major=4;
C_Minor=0;
C_Release=0;
C_Revision=30151;
C_Date=42718.6750819444;
C_DB_Revision=5929;
implementation
end. |
module util_mem_context_del;
define util_mem_context_del;
%include 'util2.ins.pas';
{
********************************************************************************
*
* Local subroutine CONTEXT_DEALLOC (C)
*
* Deallocate all the dynamic memory in the tree of the memory context C. This
* routine calls itself re... |
unit aiddbLkpEnquiry;
(*******************************************************************************
created by :ajc
created on :2010Mar17
Purpose : lookup enquiries
Comments :
*******************************************************************************)
{ -------------------------------------... |
{***********UNITE*************************************************
Auteur ...... :
Créé le ...... : 17/07/2002
Modifié le ... : / /
Description .. : Source TOF de la FICHE : SAISIEFRAISSAL ()
Mots clefs ... : TOF;SAISIEFRAISSAL
*****************************************************************
---- JL 17/10/2006 Mo... |
unit udtm;
interface
uses
System.SysUtils,
System.Classes,
FireDAC.Phys.MySQLDef,
FireDAC.UI.Intf,
FireDAC.ConsoleUI.Wait,
FireDAC.Comp.UI,
FireDAC.Stan.Intf,
FireDAC.Phys,
FireDAC.Phys.MySQL,
uWKConnection,
Data.Bind.Components,
Data.Bind.ObjectScope,
System.Bindings.Methods,
System.Bindi... |
{$S-,R-,V-,I-,B-,F+}
{$M 16384,16384,600000}
{*********************************************************}
{* EDITOR.PAS 1.30 *}
{* An example program for Object Professional 1.0 *}
{* Copyright (c) TurboPower Software 1989, 1992. *}
{* All rights rese... |
unit cbAppClass;
interface
uses
SysUtils, Classes;
type
TSo = class
private
FCompCode: String;
FPassword: String;
FCompName: String;
FAliase: String;
FUserId: String;
FCanSwitch: Boolean;
FActive: Boolean;
procedure SetActive(const Value: Boolean);
public
constructor Crea... |
{
Copyright (C) 2013-2023 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 a... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
ExtCtrls, Menus, ComCtrls, Buttons;
type
TMyStrList = class( TStringList )
public
Modified : Boolean;
FileName : string;
FileLoaded : Boolean;
function LoadFile( aFi... |
unit FormPivotTableField;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics,
Controls, Forms, Dialogs, ComCtrls, StdCtrls, ExtCtrls,
XLSPivotTables5;
type
TfrmPivotTableField = class(TForm)
btnOk: TButton;
btnCancel: TButton;
lblSourceName: TLabel;
Label1: ... |
unit BIFF_ControlObj5;
{-
********************************************************************************
******* XLSReadWriteII V6.00 *******
******* *******
******* Copyright(C) 1999,2017 Lars Arvidsso... |
unit PXL.Sysfs.Types;
{
This file is part of Asphyre Framework, also known as Pascal eXtended Library (PXL).
Copyright (c) 2000 - 2015 Yuriy Kotsarenko
This program 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 Soft... |
unit GMailSMTP;
interface
uses mimemess, mimepart, smtpsend, ssl_openssl,classes, sysutils,controls;
const
{$REGION 'Константы'}
GmailHost = 'smtp.gmail.com';
GmailPort = 587;
{$ENDREGION}
type
TGMailSMTP = class(TComponent)
private
FPort : integer; //порт
FLogin ... |
unit UnitContrassenha.Model;
{*******************************************************************************
Created By : Alessandro Dutra
Description : Cria um templete de classe para usar microservicos REST
*******************************************************************************}
interface
us... |
{ License:
Copyright (c) 2004 Dan Scott
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the follo... |
unit TicTacToe_GenericAbstractUIControllerUnit;
interface
uses
TicTacToe_GameUnit,
TicTacToe_BasePlayerUnit,
TicTacToe_UIControlerExceptionUnit,
TicTacToe_SquareUnit,
TicTacToe_BoardUnit,
TicTacToe_PlayerUnit,
TicTacToe_WinnerUnit,
Classes;
type
/// <summary>
/// TBoardButton type... |
unit EDCrypt;
////////////////////////////////////////////////////////////////////////////////
//
// Description£º Encrypt and Decrypt Interface
// Author£º lksoulman
// Date£º 2017-8-5
// Comments£º
//
////////////////////////////////////////////////////////////////////////////////
interface
uses
... |
{
Copyright (C) 2013-2023 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... |
program dz_2_3;
uses SysUtils;
var
deg_size: string;
rad_size: real;
begin
writeln('Enter an angle size in degrees.');
readln(deg_size);
rad_size := 3.14/180 * StrToFloat(deg_size);
writeln('The anlge size in radians is: ', rad_size:4:2 );
end.
|
unit ThreadPoolMain;
interface
uses
Winapi.Windows, Winapi.Messages,
System.SysUtils, System.Variants, System.Classes, System.Threading,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Samples.Spin;
type
TfrmThreadPool = class(TForm)
btnThreads: TButton;
Label1: TLabel;
inpW... |
unit DW.FilesSelector;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-Platform Library }
... |
program LibraryExample; {EXLIB.PAS}
uses OpRoot;
const
otNameData = 1000; {Name object type}
veNameData = 0; {Name object version}
type
{An object for manipulating Name and Age}
NameDataPtr = ^NameData;
NameData =
object(Root)
Name : String[20];
Age : Byte;
constructo... |
(*
Reading of Delphi project options
*.dproj: Delphi 2007..
*.bdsproj: Delphi 8, 2005, 2006
*.dof: Delphi 1..7
*)
unit uProjectOptions;
interface
uses
uTypes,
SysUtils,
uSxStringList,
uProjectInfo, uNProjectVersion,
uDelphi,
Classes, XMLIntf;
type
TExecutableType = ... |
unit CheckPIEVersionFunction;
interface
{This unit provides a PIE function that can be used to check whether the
correct version of the PIE is installed.}
uses Windows, Forms, Dialogs, AnePIE, FunctionPIE;
const gpnFourDigit : array [0..4] of PChar = ('First_Digit', 'Second_Digit',
'Third_Digit', 'Fourth_Digi... |
program FolgenInverter (input, output);
uses Crt;
const
MAXVAL = 4;
type
tIndex = 1..MAXVAL;
tPersonen = RECORD
name : string;
alter : integer;
matrNummer : integer;
END;
var
i : integer;
aStudent : array [tIndex] of tPersonen;
begin
for i := 1 to MAXVAL ... |
unit Deltics.Shell.Folders;
interface
uses
Deltics.Strings;
type
TShellFolders = class
class function AppData(const aForceCreate: Boolean = TRUE): UnicodeString;
end;
implementation
uses
SysUtils,
Windows,
Deltics.Shell.API;
function GetFolderPath(aFlags: Integer; const ... |
unit SpringProxyMain;
interface
uses
Winapi.Windows, Winapi.Messages,
System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls,
Spring;
type
TButton = class(Vcl.StdCtrls.TButton)
public
procedure Click; override;
end;
TListBox = class(Vcl... |
{*********************************************************}
{* VPDBDS.PAS 1.03 *}
{*********************************************************}
{* ***** BEGIN LICENSE BLOCK ***** *}
{* Version: MPL 1.1 ... |
unit FormPrinc;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, unLabelBlink, Vcl.ComCtrls,
Vcl.ExtCtrls, Vcl.Buttons;
type
TPrinForm = class(TForm)
LabelBlink1: TLabelBlink;
... |
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, FMX.Layouts, FMX.ListBox,
DW.SoundPlayer;
type
TForm1 = class(TForm)
SoundsListBox:... |
unit DBData;
interface
uses
Classes, DB;
type
TDBObject = class;
TCustomDBList = class;
TDBClass = class of TDBObject;
TDBNotifyEvent = procedure(Sender: TDBObject) of object;
TDBAllowEvent = procedure(Sender: TObject; DBObject: TDBObject; var Allow: boolean) of object;
TDBChangeEvent = procedure(Se... |
unit MasterNCSuperTabBarUI;
////////////////////////////////////////////////////////////////////////////////
//
// Description£º MasterNCSuperTabBarUI
// Author£º lksoulman
// Date£º 2017-10-27
// Comments£º
//
////////////////////////////////////////////////////////////////////////////////
interface
use... |
//~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
//
// Unidad: MotorIndexacionASCII.pas
//
// Propósito:
// La clase TMotorIndexacionASCII es un descendiente directo de TMotorIndexacion
// por lo que permite obtener la lista de palabras a partir de un texto plano.
// Esta clase ... |
unit DelphiCryptlib;
//{$Message Error 'Not Supported'}
{------------------------------------------------------------------------------}
{ DelphiCryptlib.pas Copyright © Wolfgang Gothier 2003-2005 }
{------------------------------------------------------------------------------}
{ ... |
//****************************************************************************
// Unit Name: Vcl.Dialogs
//****************************************************************************
// This file is auto generated with paxCompiler engine.
// Import mode: global import.
// ------------------... |
program baicomparser;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes, SysUtils, CustApp, fgl
{ you can add units after this };
type
{ TBaicomParser }
{ TOHLC }
TOHLC = class
private
FClose: double;
FHigh: double;
FLow: double;
FOpen:... |
{
Copyright (C) 2013-2023 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 a... |
unit unfraCIIU;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, IntEdit, StdCtrls, Mask, ToolEdit,
ArtComboBox, Db, SDEngine, PatternEdit;
type
TfraCIIU = class(TFrame)
sdqDatos: TSDQuery;
dsDatos: TDataSource;
cmbDescripcion: TArtComboBox;
edCodigo: TP... |
{===============================================================================
RzEdit Unit
Raize Components - Component Source Unit
Copyright © 1995-2015 by Raize Software, Inc. All Rights Reserved.
Components
------------------------------------------------------------------------------
TRzCustomEdi... |
unit Questions;
interface
type Question = class
Caption, Category: string;
Answers: array[1..4] of String;
CorrectNumber: integer;
constructor Create (
Caption, Category, Answer1, Answer2, Answer3,
Answer4: string; number: integer
);
... |
unit aidCommsObj;
{ aidCommsObj
Communications queue object which queues communications, and dispatches these
via helper threads (aidCommsThread).
ajc2008dec Switched the database api used to IBO.
}
interface
uses
{ Delphi Units }
Classes, Contnrs, crTypes, SysUtils,
{ Application Units }
... |
unit VpNetOPCGroupControlThread;
interface
uses Classes, Windows, ActiveX, Forms, SysUtils, OPCDA, OPCtypes,
VpNetOPCGroup_Impl, VpNetOPCItem_Impl, VpNetDefs, VpNetDADefs, VpNetUtils,
VpNetDAClasses;
type
TVpNetOPCGroupControlThread = class(TThread)
private
FOPCGroup : TVpNetOPCGroup;
prote... |
{
Copyright (C) 2013-2023 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 a... |
unit aiddbLkpWarehouse;
{ -------------------------------------------------------------------------------------------------
Name : aiddbLkpWarehouse
Author : Chris G. Royle (CGR20061216)
Description : Hi-Level Component which is intended to be used by Atlas Applications to provide a
BOMs Warehous... |
unit ORMDetailBaseFormUnit;
interface
uses
Forms, DbDisplayLabelUnit, DBCtrls, DB;
type
TORMDetailBaseForm = class(TForm)
strict protected
procedure AssignDataField(const DataSource: TDataSource; const DbCheckBox: TDBCheckBox; const Field: TField); overload;
virtual;
procedure Assig... |
{***********UNITE*************************************************
Auteur ...... :
Créé le ...... : 31/03/2003
Modifié le ... : / /
Description .. : Source TOF de la FICHE : AFREVFORMULE ()
Mots clfs ... : TOF;AFREVFORMULE
*****************************************************************}
Unit uTofAfRevFormule ;
I... |
unit ASTClass;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,
TokenClass, Tokens, LoggingClass;
type
TAST = class
protected
FNodeLine: integer;
FNodeChar: integer;
FToken: TToken;
public
property PToken: TToken read FToken write FToken;
function ToString: str... |
unit SLGroupLayers;
interface
uses ANE_LayerUnit, SLCustomLayers;
type
TSutraModelGroupLayer = class(TSutraGroupLayer)
class function ANE_LayerName: string; override;
end;
TSutraHydrogeologyGroupLayer = class(TSutraGroupLayer)
class function ANE_LayerName: string; override;
class function WriteNew... |
unit XLHelp;
interface
uses ComObj,Variants,SysUtils,Math;
Function XLCreateApp (Visible : boolean) : OleVariant;
Function XLOpenWBook (App : OleVariant; filename : string ) : OleVariant;
Function XLGetSheet (Book : OleVariant; index : integer) : OleVariant;
Function X... |
unit UserPersonBaseUnit;
interface
uses
MSConnectionLayerUnit,
SysUtils,
ORMEntityUnit,
DataSetEnumeratorUnit,
NullablesUnit,
DB,
ADODB,
NaturalPersonUnit,
JoinedColumnPairUnit,
MSDMLQueryRecordUnit;
type
TUserPersonBase = class;
TUserPersonListBase = class;
TUserPerso... |
{$MODE OBJFPC}
program MOVIES;
uses
SysUtils;
const
maxS = 47;
type
TSeat = record
row, id : Integer;
end;
var
s : array[0..maxS] of TSeat;
n, m, nS : Integer;
st : String;
res : Int64;
procedure Enter;
begin
ReadLn(n);
ReadLn(m);
s[0].row := 0;
s[0].id := m;
... |
unit DataBase.AnnotationTests;
interface
uses
TestFramework, Db, System.Common, Classes, DataBase.Interfaces, SysUtils,
DataBase.Core, DataBase.Annotation, System.Interfaces, System.Base;
type
[JDbTableSchema('cliente', 'codigo;aa')]
TPessoa = class
private
FNome: String;
public
[J... |
unit FibonacciHeap;
interface
uses
Base;
type
PFibonacciNode = ^TFibonacciNode;
TFibonacciNode = record
Index: TIndex;
Key: TKey;
Degree: TIndex;
Marked: Boolean;
Parent: PFibonacciNode;
Child: PFibonacciNode;
Prev: PFibonacciNode;
Next: PFibonacciNode;
end;
PFibonacciHeap = ^TFib... |
{*******************************************************************************
* *
* Author: Reonid *
* Categoty: vector graphic ... |
{******************************************************************************}
{* DCPcrypt v2.0 written by David Barton (crypto@cityinthesky.co.uk) **********}
{******************************************************************************}
{* A binary compatible implementation of SHA512 **************************... |
{******************************************************************************}
{ }
{ SE Network Development Framework }
{ ... |
unit LANS;
interface
uses
windows, winsock;
Var
cA :Integer;
cB :Integer;
cD :Integer;
cC :Integer;
Procedure StartLocalScan(NumberOfThreads :Dword);
implementation
type
TLocalScan = Class(TObject)
Private
Procedure InfectHost(Host: String);
F... |
unit MFSeepage;
interface
uses ANE_LayerUnit, SysUtils;
type
TLineSeepageElevationParam = class(T_ANE_LayerParam)
class Function ANE_ParamName : string ; override;
function Units : string; override;
end;
TAreaSeepageElevationParam = class(T_ANE_LayerParam)
class Function ANE_ParamName : string ; o... |
unit unGrabarDocumentoCarpeta;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, unCustomForm, ImgList, XPMenu, Placemnt, unArtFrame,
unFraSDA_DETALLEARCHIVO, StdCtrls, unConstantArchivo;
type
TfrmGrabarDocumentoCarpeta = class(TfrmCustomForm)
btnAceptar: ... |
unit DW.Androidapi.JNI.Os;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-Platform Library ... |
unit GDrive4D.Classes.Drive;
interface
uses
StrUtils,
System.JSON,
RESTRequest4D,
GDrive4D.Classes.Auth,
GDrive4D.Interfaces;
type
TDrive = Class(TInterfacedObject, iDrive)
private
Froot: String;
FAuth : iAuth;
procedure VerifyToken;
procedure GetRoot;
functi... |
{*******************************************************}
{ }
{ Fractals }
{ }
{ Copyright (C) 2018 webhenric consulting }
{ ... |
unit unEstadoCuenta;
interface
uses
unArt;
function Get_MaxFechaConcQuiebra(Cuit: String): TDateTime;
function Get_MaxPeriodoConcQuiebra(Cuit: String): String;
function Get_SqlInteresDeuda(InteresesSaldroAcreedor: Boolean; SqlInteresPositivo, CampoDeuda: String): String;
function Is_ExisteArchivoEstCuenta(IdSelecc... |
unit Lemonade.Helpers.TDBGridHelper;
interface
uses
DBGrids, Vcl.Grids, Winapi.Windows, System.StrUtils, Vcl.Graphics, Data.DB, Datasnap.DBClient, System.Generics.Collections, uFieldHelper,
System.UITypes;
type
TDBGridHelper = class helper for TDBGrid
/// <summary>* Show Checkbox patterns.</summary>
/// <p... |
unit mbvg20401Module;
{Измеритель напряжений}
interface
uses
System.Classes,
System.Generics.Collections,
DeviceModule,
mbvg20401Interface,
ModBusDeviceInterface,
AbstractTag,
AnalogBLock,
dmChannelsInterface,
dmChallengeControllerInterface;
type
TVoltageValue = record
Va... |
{-------------------------------------------------------------------------
QBCGet
Unit to get compile and link options for editing
Written for Borland Turbo Pascal V 6.0
Copyright 1991, by John H. Eckert
... |
unit SymbolsClass;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, ASTClass;
type
TSymbol = class
protected
FName:string;
FType: TSymbol;
public
property PName:string read FName write FName;
property PType: TSymbol read FType write FType;
constructor ... |
{
Copyright (C) 2013-2023 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 a... |
unit SqlPPConsoleUnit;
interface
uses
Winapi.Windows, System.SysUtils, System.Classes,
System.StrUtils, System.Variants, ConstUnit;
type
TSqlPPConsole = class
private
FConsoleFile: TPathName;
function TempPath: string;
public
function Run(Command: TCommand; Path: TPathName): boole... |
unit MudarCor;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TChangeColor = class(TForm)
btnAmarelo: TButton;
btnAzul: TButton;
btnVerde: TButton;
btnPreto: TButton;
bt... |
{***********UNITE*************************************************
Auteur ...... :
Créé le ...... : 25/07/2002
Modifié le ... : 06/06/2003
Description .. : Source TOF de la FICHE : TRANSFORM ()
Mots clefs ... : TOF;TRANSFORM
*****************************************************************}
Unit UTOFTransform;
//////... |
{$include opts.inc}
unit rox_ep_entry;
interface
uses
USystem, UMath, Utils, Random, UClasses,
rox_decoration, rox_actor, rox_ui, rox_gfx, rox_paths, rox_state_adventure, rox_location, rox_timer, rox_world, rox_gl,
rox_ep_bar, rox_mv_flight;
type
pEp_Entry = ^Ep_Entry;
Ep_Entry = object(Adventure)
... |
unit SMS_RangeCompare;
interface
uses
SysUtils, Classes, Windows, Types;
type
TRangeItem = array[0..1] of Double;
//
{
TRangeItem = record
RangeCriteria : Double;
Value : Integer;
end;
}
TSMSRangeCompare = class
private
FCompareRange : array of TRangeItem;
public
procedure AddRan... |
unit Model.Camera;
interface
uses
MVCFramework.ActiveRecord,
MVCFramework.Serializer.Commons;
type
[MVCNameCase(TMVCNameCase.ncLowerCase)]
[MVCTable('cameras')]
TCamera = class(TMVCActiveRecord)
private
[MVCTableField('id', [foPrimaryKey, foAutoGenerated])]
FId: Integer;
[MVCTableField('name'... |
unit KeyFairyImpl;
////////////////////////////////////////////////////////////////////////////////
//
// Description£º KeyFairy Implementation
// Author£º lksoulman
// Date£º 2017-11-27
// Comments£º
//
////////////////////////////////////////////////////////////////////////////////
interface
uses
Win... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls,
System.ImageList, Vcl.ImgList, Vcl.ComCtrls, Vcl.ToolWin, Vcl.Menus, StrUtils;
type
TForm1 = class(TForm)
btnSomar:... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.