text stringlengths 14 6.51M |
|---|
unit ssDBLookupCombo;
interface
uses
SysUtils, Classes, Controls, cxControls, cxContainer, cxEdit, cxTextEdit,
cxMaskEdit, cxDropDownEdit, DB, Dialogs, Windows, Messages;
type
TssDBLookupCombo = class;
TssDBlcbLink = class(TDataLink)
private
FControl: TssDBLookupCombo;
protected
p... |
{ *********************************************************** }
{ * TForge Library * }
{ * Copyright (c) Sergey Kasandrov 1997, 2016 * }
{ * ------------------------------------------------------- * }
{ * # Arithmetic in Montgomery form ... |
unit MFichas.Controller.Venda.Metodos;
interface
uses
MFichas.Controller.Venda.Interfaces,
MFichas.Controller.Venda.Metodos.VenderItem,
MFichas.Controller.Venda.Metodos.CancelarItem,
MFichas.Controller.Venda.Metodos.Pagamento,
MFichas.Controller.Venda.Metodos.DevolverItem,
MFichas.Model.Venda.Interfaces;... |
unit fBrokerCallHistory;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, dssrpc, ExtCtrls;
type
TfrmBrokerCallHistory = class(TForm)
memCallHistory: TMemo;
btnClose: TButton;
btnSaveToFile: TButton;
dlgSave: TSaveDialog;
btnClipboard: TButt... |
unit fpcorm_common_interfaces;
{< @author(Andreas Lorenzen)
@created(2014-06-25)
@abstract(Common interface declarations, used throughout the object paradigms
of the project.)
This unit contains common interface declarations, that are applied in
multiple other places in the project.
@br
This is... |
unit htField;
// Модуль: "w:\common\components\rtl\Garant\HT\htField.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "ThtField" MUID: (559E77B902D8)
{$Include w:\common\components\rtl\Garant\HT\htDefineDA.inc}
interface
uses
l3IntfUses
, l3ProtoObject
, daInterfaces
, HT_Const
, htInterfaces
, daTypes
, ... |
{
$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 r... |
unit PhotoCorrectDemoMain;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.ListBox,
FMX.Controls.Presentation, FMX.StdCtrls, FMX.Objects, FMX.Layouts,
FMX.Platform, GR32, GR32_Resamplers, GR32_Tra... |
unit NativeFunctions;
interface
uses
Classes,
Data,
Common,
System.Generics.Collections,
SysUtils,
System.IOUtils,
Modules,
RegularExpressions,
Collections,
UserData,
Interfaces,
Rtti;
var
NativeFunctionList : TList<TFunction>;
type
ProcNativeFunction = reference to function(runtime : T... |
unit uSceneChar;
interface
uses Graphics, uImage, uScene, uResFont, Classes;
type
TSceneChar = class(TSceneFrame)
private
FAtr: TImages;
Image: TImage;
FVLine: TBitmap;
FHLine: TBitmap;
FIsLoad: Boolean;
FSL: TStringList;
FResFont: TResFont;
procedure Load();
... |
unit InfoNEWSRCHTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TInfoNEWSRCHRecord = record
PLender: String[4];
PLoanNumber: String[18];
PCIndex: String[1];
PWaived: String[1];
PRank: Integer;
PPriority: Integer;
PShortName: String[... |
unit uVK_API;
interface
uses
SysUtils, Generics.Collections, IdHTTP, uGnGeneral, Data.DBXJSON,
uGnLog, DateUtils, RegularExpressions, IdException;
type
IHttp = interface
function Get(const AUrl: string): string;
end;
TPost = record
Id, ToId, FromId, Text, CopyOwnerId, CopyPostId, Cop... |
program V_AV;
const DEFAULT_CAP_SIZE = 16;
type
intArray = array[1..1] of integer;
Vector = ^VectorObj;
VectorObj = OBJECT
PRIVATE
arrPtr : ^intArray;
capacityCount : integer;
top : integer; //equals size
initCapacity : integer;
PUBLIC
... |
object fmQuoteConfig: TfmQuoteConfig
Left = 311
Top = 211
BorderStyle = bsDialog
Caption = 'Quote Expert'
ClientHeight = 119
ClientWidth = 287
Color = clBtnFace
ParentFont = True
OldCreateOrder = True
Position = poScreenCenter
Scaled = False
DesignSize = (
287
119)
Pixel... |
unit BaseActionUnit;
interface
uses
IConnectionUnit;
type
TBaseAction = class abstract
protected
FConnection: IConnection;
public
constructor Create(Connection: IConnection);
destructor Destroy; override;
end;
implementation
{ TBaseAction }
constructor TBaseAction.Create(Connection: IConnect... |
unit UTaskDialogDemo;
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.TMSBaseControl, FMX.TMSBaseGroup, FMX.TMSCheckGroup, FMX.TMSTaskDialog,
FMX.Layouts, FMX.ListBox;
type
TForm... |
unit sortalg;
interface
const size = 10; //numbers of elements in the array
type stuRec = record
num : integer;
name : string;
mark : real;
end;
type arr = array[1..size] of stuRec;
procedure bubbleSort(var list : arr; var s : string; n : integer... |
unit evCommentParaDecorator;
{* Фильтр, довешивающий комментариям юристов специфическое оформление. [$140285546] }
// Модуль: "w:\common\components\gui\Garant\Everest\evCommentParaDecorator.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TevCommentParaDecorator" MUID: (49E48A670254)
{$Include w:\common\componen... |
unit OverbyteIcsHttpCCodZLib;
interface
{$I OverbyteIcsZlib.inc}
uses
Classes,
OverbyteIcsHttpContCod,
OverbyteIcsZlibHigh,
{$IFDEF USE_ZLIB_OBJ}
OverbyteIcsZLibObj; {interface to access ZLIB C OBJ files}
{$ELSE}
OverbyteIcsZLibDll; {interface to access zLib1.dll}
... |
{
$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... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit l3DataObjectEnum;
{* Реализация итератора для данных Tl3DataObject. }
// Модуль: "w:\common\components\rtl\Garant\L3\l3DataObjectEnum.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "Tl3DataObjectEnum" MUID: (4680F5FF01EA)
{$Include w:\common\components\rtl\Garant\L3\l3Define.inc}
interface
uses
l3IntfUs... |
unit VisioUtils;
interface
uses Classes,Variants,ActiveX, ComObj,
Visio_TLB,
ResourceUtils, MainUtils;
type
TVisioConverter = Class(TDocumentConverter)
Private
FVSVersion : String;
VisioApp : OleVariant;
public
constructor Create();
function CreateOfficeApp() : boolean; override... |
unit uProspectVO;
interface
type
TProspectVO = class
private
FFantasia: string;
FAtivo: Boolean;
FIdUsuario: Integer;
FCodigo: Integer;
FId: Integer;
FIdRevenda: Integer;
FContato: string;
FEnquadramento: string;
FDocto: string;
FNome: string;
FEndereco: string;
FTe... |
unit UUndo;
interface
uses
Math;
type
RUndo = record
xcord: word;
ycord: word;
Layer: byte; // 0 - idx, 1- dcr, 2-obj, 3-item
idx: integer; // for undo
redx: Integer; // for redo
group: Integer;
end;
T2IntEvent = procedure(a, b: Integer) of object;
T4IntEvent = ... |
unit ElRadioButtonDemoMain;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ElImgFrm, StdCtrls, ElACtrls, ElBtnEdit, ElXPThemedControl, ElBtnCtl,
ElCheckCtl, ElVCLUtils, ElSpin, ElImgLst, ImgList, ElEdits, ElCombos;
type
TElRadioButtonDemoMainForm = class(TForm)
L... |
(**
This module contains a class which imlements the INTAAddInOptions interface to provide
an options page within the IDEs options dialogue.
@Version 1.0
@Author David Hoyle
@Date 28 Mar 2016
**)
Unit IDEOptionsInterface;
Interface
Uses
ToolsAPI,
Forms,
DGHIDEHelpHelperOptionsFrame;
{$INCLUDE ... |
unit uTitulosDAO;
interface
uses uDM, ZAbstractConnection, ZConnection, Data.DB, ZAbstractRODataset,
ZAbstractDataset, ZDataset, System.SysUtils, uTitulos;
type
TitulosDAO = class
private
zquery: TZQuery;
ds: TDataSource;
public
procedure setNovoTitulo(titulo: TTitulos);
proced... |
unit PasteColumnTest;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "TestFormsTest"
// Модуль: "w:/common/components/gui/Garant/Daily/PasteColumnTest.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML model, root ele... |
{
$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 r... |
unit NtUtils.Sections;
interface
uses
Winapi.WinNt, Ntapi.ntmmapi, NtUtils.Exceptions;
// Create a section
function NtxCreateSection(out hSection: THandle; MaximumSize: UInt64;
PageProtection: Cardinal; AllocationAttributes: Cardinal = SEC_COMMIT;
hFile: THandle = 0; ObjectName: String = ''; RootDirectory: THa... |
{ Mark Sattolo 428500 }
{ CSI-1100A DGD-1 Chris Lankester }
{ Test program for Assignment#3 Question#2 }
program Insert (input, output);
{ This program takes a non-decreasing sorted array X with N numbers, and a number NUM,
and finds the first position in X where NUM can be inserted in the proper orde... |
unit uVK_Stat;
interface
uses
uVK_API, VCLTee.Chart, VCLTee.Series, VCLTee.TeEngine, VCLTee.TeeProcs,
System.Classes, SysUtils, DateUtils;
type
TVKStats = class
private
FPostList: TPostList;
FLikes, FReposts, FComments,
FLikesPost, FRepostsPost, FCommentsPost,
FLikesDay, FRepos... |
unit entradaController;
interface
uses
IBQuery, IBDataBase, Classes, SysUtils, DateUtils, Entrada, EntradaDao,
tanqueDao, Tanque;
const
STATUS_ENTRADA: array [1..4] of string =
(
'Sucesso!',
'Não aceita valor negativo',
'Não aceita 0 ou nulo',
'Excede a c... |
unit ObjectInspectorInterfaces;
interface
uses
Classes, VoyagerInterfaces, VoyagerServerInterfaces, Controls;
const
tidSheetHandlerEntryPoint = 'GetPropertySheetHandler';
type
IPropertySheetHandler = interface;
IPropertySheetContainerHandler = interface;
TSheetHandlerCreatorFunct... |
unit uSolicitacaoViewModel;
interface
uses
System.SysUtils, System.Generics.Collections;
type
TSolicitacaoViewModel = class
private
FTitulo: string;
FTempoAberto: Boolean;
FNomeCliente: string;
FNomeStatus: string;
FId: Integer;
FNivel: string;
FIdUsuarioAtendeAtual: Integer;
FI... |
{ Interface invocable Idemos }
unit udemosIntf;
interface
uses Soap.InvokeRegistry, System.Types, Soap.XSBuiltIns;
type
TEnumTest = (etNone, etAFew, etSome, etAlot);
TDoubleArray = array of Double;
TMyEmployee = class(TRemotable)
private
FLastName: UnicodeString;
FFirstName: Unic... |
program trayrestore;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes, SysUtils, CustApp, Windows, Messages
{ you can add units after this };
type
{ TMyApplication }
TMyApplication = class(TCustomApplication)
protected
procedure DoRun; override;
pu... |
unit dirstack;
interface
uses SysUtils,Classes;
const
MAX_DIR_COUNT = 50000;
type
TDirectoryStack = class;
TOnDirectoryEvent = procedure (Stack: TDirectoryStack; Dir: string) of object;
TDirectoryStack = class
private
FDirList: TStringList;
function GetCount: integer;
function ... |
unit DW.PermissionsRequester.Android;
{*******************************************************}
{ }
{ Kastri Free }
{ }
{ DelphiWorlds Cross-Platform Libr... |
unit MFichas.View.Cadastros.GrupoProduto;
interface
uses
System.SysUtils,
System.Types,
System.UITypes,
System.Classes,
System.Variants,
FMX.Types,
FMX.Controls,
FMX.Forms,
FMX.Graphics,
FMX.Dialogs,
FMX.ListView.Types,
FMX.ListView.Appearances,
FMX.ListView.Adapters.Base,
FMX.StdCtrls,
... |
unit np.fs;
interface
uses sysUtils, np.common, np.libuv, np.core;
const
oct777 = 511;
oct666 = 438;
oct444 = 292;
type
fs = record
type
TRWCallback = TProc<PNPError, size_t, TBytes>;
TDirentWithTypes = record
name : UTF8String;
... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
{***********************************************************************************************************************
*
* TERRA Game Engine
* ==========================================
*
* Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com)
*
***************************************************... |
unit htUserManager;
// Модуль: "w:\common\components\rtl\Garant\HT\htUserManager.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "ThtUserManager" MUID: (5629E343023B)
{$Include w:\common\components\rtl\Garant\HT\htDefineDA.inc}
interface
uses
l3IntfUses
, l3ProtoObject
, daInterfaces
, daUserStatusChangedSu... |
unit ODListF;
interface
uses
Qt, SysUtils, Classes, QGraphics, QControls, QForms, QDialogs,
QStdCtrls, Types;
type
TODListForm = class(TForm)
ListBox1: TListBox;
ColorDialog1: TColorDialog;
procedure FormCreate(Sender: TObject);
procedure ListBox1DblClick(Sender: TObject);
procedure ListBox... |
Program Aufgabe5;
{$codepage utf8}
Var Eingabe: String;
Tage: Integer;
Fehler: Boolean = False;
Begin
Write('Bitte gib den Monat ein ("jan", "feb", "mrz", ...): ');
Read(Eingabe);
Case Eingabe Of
'jan', 'mrz', 'mai', 'jul', 'aug', 'okt', 'dez': Tage := 31;
'apr', 'jun', 'sep', 'n... |
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Author: François PIETTE
Description: TFingerCli is a FINGER protocol client using TWSocket
Conform to RFC-1288 (supercede RFCs 1196, 1194 and 742)
Creation: December 18, 1997
Version: 6.00
EMail: http://ww... |
Unit Dt_Log;
{ $Id: DT_LOG.PAS,v 1.81 2013/04/01 11:46:28 voba Exp $ }
// $Log: DT_LOG.PAS,v $
// Revision 1.81 2013/04/01 11:46:28 voba
// - трассировщик лог записей (для демидова)
//
// Revision 1.80 2013/03/07 07:32:13 voba
// - усиленное логирование для поиска проблем Демидова
//
// Revision 1.79 2012/10/18 ... |
unit SctData;
{ ----------------------------------------------------------------
Ace Reporter
Copyright 1995-2004 SCT Associates, Inc.
Written by Kevin Maher, Steve Tyrakowski
---------------------------------------------------------------- }
interface
{$I ace.inc}
uses
classes, sysutils, sctcalc... |
unit main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls,
System.Contnrs, System.types, System.IOUtils;
type
TLUAObject = class
Name : String; // Имя
Code : String; // Код об... |
unit uSceneGame;
interface
uses uScene, Types, uScript, uSceneInfo;
type
TScrollDir = (sdNone, sdCenter, sdLeft, sdRight, sdTop, sdDown);
TSceneGame = class(TScene)
private
M: TPoint;
FL, FT: Word;
Script: TScript;
ScrollDir: TScrollDir;
SceneInfo: TSceneInfo;
func... |
unit SctRtf;
{ ----------------------------------------------------------------
Ace Reporter
Copyright 1995-2004 SCT Associates, Inc.
Written by Kevin Maher, Steve Tyrakowski
---------------------------------------------------------------- }
interface
{$I ace.inc}
uses classes, sysutils, graphic... |
unit ChangePasswordDialog;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, TCWODT;
type
TChangePasswordDialog = class(TComponent)
private
FOldPassword: string;
FNewPassword: string;
FHelpContext: integer;
procedure SetHelpContext(const Value... |
{----------------------------------------------------------------------------
|
| Library: Envision
|
| Module: EnIcoGr
|
| Description: TDibGraphic descendant for ICO files.
|
| History: Dec 24, 1998. Michel Brazeau, first version
|
|---------------------------------------------------------------------------}
unit EnI... |
Unit MatrixTools;
{=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=]
Copyright (c) 2013, Jarl K. <Slacky> Holta || http://github.com/WarPie
All rights reserved.
For more info see: Copyright.txt
[=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=}
{$mode o... |
unit save_lit_dialog;
interface
uses Messages, Windows, SysUtils, Classes, Controls, StdCtrls, Graphics,
ExtCtrls, Buttons, Dialogs;
type
TOpenPictureDialog = class(TSaveDialog)
private
SkipImages:TCheckBox;
TOCDepthEdit:TEdit;
FChecksPanel: TPanel;
TocDepVar:Integer;
function GetSkipImages:... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2014-2017 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
unit TextLoad_Form;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "Forms"
// Автор: Люлин А.В.
// Модуль: "w:/common/components/gui/Garant/Daily/Forms/TextLoad_Form.pas"
// Начат: 22.12.2009 16:32
// Родные Delphi интерфейсы (.... |
unit BaseRuleData;
interface
const
cNodeDataSize = 64;
cArrayType_Double = 1;
cArrayType_Int64 = 2;
type
PArrayNodeHead = ^TArrayNodeHead;
TArrayNodeHead = packed record
Size : Byte;
Length : Byte;
NodeIndex : Byte;
Status : Byte;
... |
unit GX_FavNewFolder;
interface
uses
Windows, Classes, Controls, Forms, StdCtrls, GX_BaseForm;
type
TfmFavNewFolder = class(TfmBaseForm)
gbxNewFolder: TGroupBox;
lblFolderName: TLabel;
edtFolderName: TEdit;
lblFolderType: TLabel;
cbxFolderType: TComboBox;
btnCancel: TButton;... |
{$include lem_directives.inc}
unit LemInteractiveObject;
interface
uses
Classes,
LemPiece;
const
// Object Drawing Flags
odf_OnlyOnTerrain = 1; // bit 0
odf_UpsideDown = 2; // bit 1
odf_NoOverwrite = 4; // bit 2
type
TInteractiveObjectClass = class of TInteractiveObject;
TInter... |
{ ***************************************************************************
Copyright (c) 2016-2019 Kike Pérez
Unit : Quick.SysInfo
Description : System Info functions
Author : Kike Pérez
Version : 1.2
Created : 17/05/2018
Modified : 05/12/2019
This file is part of QuickLib: ... |
unit MazeSolve;
Interface
Uses
MazeMain;
Function SolveBFS(const MazeToSolve: TMaze; const StartP, EndP: TPos; var AllVisitedCells: TRoute): TRoute;
Function SolveDFS(const MazeToSolve: TMaze; Const StartP, EndP: TPos; var AllVisitedCells: TRoute): TRoute;
Function SolveRightHand(const MazeToSolve: TM... |
unit ufmMain;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.StdCtrls;
type
TForm15 = class(TForm)
lblDescription: TLabel;
btnSaveToPtotoBuf: TButton;
btnLoadFromProtoBuf: TBut... |
unit ConversationListComponent;
interface
uses FMX.Layouts, Fmx.graphics, FMX.Objects, FMX.Types, System.Classes,
System.UITypes, System.Math, System.Types, CommonHeader;
Type
TConversationList = class(TVertScrollBox)
private
fPeople1Name : string;
fPeople2Name : string;
procedure AddMessage... |
unit Tanque;
interface
type
TTanque = class
private
FId: Integer;
FDescricao: String;
function GetId: Integer;
procedure SetId(const Value: Integer);
function GetDescricao: String;
procedure SetDescricao(const Value: String);
public
property Id: Integer read GetId wri... |
unit nsOpenOrSaveInternetFileDialog;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, nsDownloaderInterfaces, eeButton, vtButton,
vtRadioButton, vtLabel, vtCtrls, ImgList;
type
TnsOpenOrSaveInternetFileDialog = class(TForm)
btnOpen: Tv... |
unit System.Query.Fluent;
interface
uses System.Classes, System.SysUtils, Data.DB;
type
IFluentQuery = Interface
['{738FDA90-A6E8-4FB0-A65E-6FCD4DF79F4E}']
Function Dataset(ADataset: TDataset):IFluentQuery;overload;
Function Dataset():TDataset;overload;
function Where(AWhere:String):IFluentQuery;
... |
unit RDOMarshalers;
interface
uses
{$IFDEF AutoServer}
RDOClient_TLB,
{$ENDIF}
RDOInterfaces;
function MarshalPropertyGet( ObjectId : integer; const PropName : string; RDOConnection : IRDOConnection; TimeOut, Priority : integer; out ErrorCode : integer ) : variant;
procedure MarshalPropertySet... |
(*
Challenge 119
TASK #2 - Sequence without 1-on-1
Submitted by: Cheok-Yin Fung
Write a script to generate sequence starting at 1. Consider the increasing
sequence of integers which contain only 1's, 2's and 3's, and do not have any
doublets of 1's like below. Please accept a positive integer $N and print the
$Nth ter... |
program Lab13_Var9;
uses
Crt, Cthreads, Sysutils, Math, Ptcgraph;
type GraphFunc = function(x :Real) :Real;
type GraphInfo = record
w0, w1, h0, h1 :SmallInt; { Graph rectangle }
ymin, ymax :Real;
fromx, tox :Real;
sx, sy :Real; { Scale }
end;
procedure procgraphinfo(
var info :GraphInfo... |
unit InputSearchHandlerViewer;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, PDTabControl, InfoBook, VisualControls, SHDocVw, CustomWebBrowser,
VoyagerInterfaces, VoyagerServerInterfaces, ObjectInspectorInterfaces,
StdCtrls, VisualClassesHandler, Internatio... |
unit fcOutlookBar;
{
//
// Components : TfcOutlookBar
//
// Copyright (c) 1999 by Woll2Woll Software
//
// 5/12/99 - RSW - Repaint current selection if its a non-rectangular button
}
interface
uses Messages, Windows, Graphics, Classes, Forms, Controls, SysUtils, fcCommon, fcButtonGroup,
ExtCtrls, fcCollection, Dial... |
unit fBackupManagement;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls, Menus, math, strutils;
type
TfrmBackupManagement = class(TForm)
lvwBackups: TListView;
cmdOK: TButton;
PopupMenu: TPopupMenu;
mnuDelete: TMenuItem;
... |
unit Support.Factory;
interface
uses
SysUtils,
Support,
//General//
Support.Crucial, Support.Liteon, Support.Plextor, Support.Sandisk,
Support.Seagate, Support.Toshiba, Support.Samsung, Support.Sandisk.USB,
Support.MachXtreme, Support.Phison, Support.ADATA, Support.Transcend,
//Sandforce//
Support.Sa... |
unit RestartManager;
{
Basic RestartManager API interface Unit for Delphi 2 and higher
by Martijn Laan
}
{$IFNDEF VER90}
{$IFNDEF VER93}
{$DEFINE Delphi3orHigher}
{$ENDIF}
{$ENDIF}
interface
uses
{$IFNDEF Delphi3orHigher} OLE2, {$ELSE} ActiveX, {$ENDIF}
Windows;
procedure FreeRestartManagerLibrary;
funct... |
{ Subroutine SST_R_PAS_VARIABLE (VAR_P)
*
* Process VARIABLE syntax. The result is compiled into a VAR descriptor, and
* VAR_P is returned pointing to it.
}
module sst_r_pas_VARIABLE;
define sst_r_pas_variable;
%include 'sst_r_pas.ins.pas';
procedure sst_r_pas_variable ( {process VARIABLE syntax}
out ... |
unit Unit_Example_Data;
interface
uses
{System.}UITypes, Tee.Grid.Data;
type
TVehicle=(None,Bicycle,MotorBike,Car,Caravan,Truck,Boat,Plane);
TPerson=record
public
ID : Integer;
Name : String;
Height : Single;
BirthDate : TDateTime;
Vehicle : TVehicle;
EyeColor : TColor;
Happiness... |
unit l3BaseRefInterfacedList;
{* Список Tl3Base с интерфейсным представлением }
// Модуль: "w:\common\components\rtl\Garant\L3\l3BaseRefInterfacedList.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "Tl3BaseRefInterfacedList" MUID: (4A6D66010286)
{$Include w:\common\components\rtl\Garant\L3\l3Define.inc}
interf... |
unit MdiChilds.UnloadResourcesFromBase;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, MDIChilds.CustomDialog, JvComponentBase,
JvDragDrop, Vcl.StdCtrls, Vcl.ExtCtrls, MdiChilds.ProgressForm, GsDocument,
JvB... |
unit taitosj_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
nz80,main_engine,controls_engine,ay_8910,gfx_engine,rom_engine,
pal_engine,sound_engine,timer_engine,dac,m6805;
function taitosj_iniciar:boolean;
implementation
const
//Elevator Action
elevator_rom:array[0..3] of tipo_roms=(
... |
unit ufind;
{$MODE Delphi}
interface
uses
SysUtils, Classes, Graphics, Controls, StdCtrls, ExtCtrls, Forms;
type
// search record
TFindRec = record
StrText, // textual format
StrData: string; // real data to find
BoolIgnoreCase, // ignore upper/lower case
BoolFindText:... |
unit uGeraSQL;
interface
uses System.Classes, System.Generics.Collections, System.SysUtils;
type
IColuna = interface
['{DA7AD0D2-64B8-49F9-A1B9-0DA4350C69A8}']
function AdicionarColuna(AcColuna: String): IColuna;
function RetornarColuna: String;
end;
ITabela = interface
['{D66BF235-2EB2-460B-B... |
unit ChangeChannelForma;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, StdCtrls, Mask, DBCtrlsEh, Buttons, DB, FIBDataSet, pFIBDataSet,
DBLookupEh, DBGridEh, FIBQuery, pFIBQuery;
type
TfrmChangeChannelForm = class(TForm)
Panel1: TPanel;
Label1: TL... |
unit nsDownloaderRes;
// Модуль: "w:\common\components\gui\Garant\Nemesis\nsDownloaderRes.pas"
// Стереотип: "UtilityPack"
// Элемент модели: "nsDownloaderRes" MUID: (57BD790600B0)
{$Include w:\common\components\gui\Garant\Nemesis\nscDefine.inc}
interface
{$If Defined(Nemesis)}
uses
l3IntfUses
, l3StringIDEx
;
c... |
{ Full Unit Code.
--------------------------------------------------
Must be stored in a unit called Unit1 with a form called Form1 that has an OnCreate event called
FormCreate.
}
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, Variants;
type
... |
unit GX_GenericClasses;
{$I GX_CondDefine.inc}
interface
uses
Classes, Contnrs;
type
// We use the NoRefCount type to assign interface instances without invoking
// reference-counting. Only use this if you have a very good reason.
NoRefCount = Pointer;
TSingletonInterfacedObject = class(TI... |
unit Dates;
interface
uses
SysUtils;
type
TDate = class
private
fDate: TDateTime;
procedure SetDay(const Value: Integer);
procedure SetMonth(const Value: Integer);
procedure SetYear(const Value: Integer);
function GetDay: Integer;
function GetMonth: Integer;
function GetYear: Intege... |
unit uDV_Users;
interface
uses
Data.Win.ADODB, System.Classes, uMainDataSet;
type
TDV_Users = class
private
class function GetId: string; static;
class function GetPersonalNumber: string; static;
class function GetSurname: string; static;
class function GetName: string; static;
class functi... |
unit dcMemo;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, datacontroller, db, ffsException, ffsutils;
type
TdcMemo = class(TMemo)
private
Fclearing: boolean;
FOptLineDivide: string;
procedure Setclearing(const Value: boolean);
... |
unit ufmSplash;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Imaging.jpeg, Vcl.ExtCtrls,
Vcl.StdCtrls;
type
TfmSplash = class(TForm)
SplashImage: TImage;
VersionLabel: TLabel;
... |
unit Unit3;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.TabControl,
FMX.StdCtrls, FMX.Controls.Presentation, FMX.Layouts, System.Rtti,
FMX.Edit, Plan.DBTools, Generics.Collections;
type
TPr... |
unit Unt_FuncaoLog;
interface
uses
System.SyncObjs;
type
/// <summary>
/// Classe responsável pela geração de LOG
/// </summary>
TGeraLog = class
private
/// <summary>
/// Indica o arquivo em que o LOG será gerado, no caso, no mesmo diretório do executável
/// </summary>
const
C_ARQUIVO = ... |
namespace RemObjects.Elements.RTL.Delphi;
uses
RemObjects.Elements.RTL;
type
TObject = public Object;
Object__Delphi = public extension class(Object)
public
method Destroy; empty; // no-op for compatibility
method Free; empty; // no-op for compatibility
class method InitInstan... |
unit gm_creature;
interface
uses
gm_engine, gm_patterns, gm_item, gm_obj, Spell, Entity, CustomCreature;
type
TSlotRec = record
Item: TItem;
Name: string;
Pos: TPoint;
end;
type
TSlot = (slHead, slAmulet, slBody, slCloak, slRing1, slRing2, slGloves, slRHand, slLHand, slBelt, sl... |
unit ufrmCadastroTitulos;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Mask, RxToolEdit, RxCurrEdit,
Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls, Vcl.ToolWin, RxLookup, uTitulos,
uTitulosControl, System.I... |
//Exercicio 67: Armazenar 250 elementos numéricos num arranjo de dados e verificar se existe(m) algum(ns) elemento(s)
//igual(is) ao número 14. Em caso afirmativo, exibir as posições em que estão armazenados.
{ Solução em Portugol
Algoritmo Exercicio 67;
Var
N: vetor[1..250] de inteiro;
i, quantidade_14: i... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit UInstructionDialog;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.UIConsts,
System.Variants, System.Generics.Collections, UGridUtility,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
UDialog, FMX.TabControl, FMX.Layouts, FMX.Objects, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.