text stringlengths 14 6.51M |
|---|
unit HandleNotifier;
{ SimThyr Project }
{ A numerical simulator of thyrotropic feedback control }
{ Version 5.0.0 (Mirage) }
{ (c) J. W. Dietrich, 1994 - 2023 }
{ (c) Ludwig Maximilian University of Munich 1995 - 2002 }
{ (c) Ruhr University of Bochum 2005 - 2023 }
{ This unit draws a small notifier window that in... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, Menus, Logic ;
type
{ TForm1 }
TForm1 = class(TForm) // класс формы
found_Button: TButton; //поля класса
MainMenu: TMainMenu;
Open_File: TMenuItem;
Save_Data: TMenuItem;
Sa... |
{*******************************************************}
{ }
{ Delphi DBX Framework }
{ }
{ Copyright(c) 1995-2013 Embarcadero Technologies, Inc. }
{ ... |
unit UnitJsonFmx;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls,
FMX.Controls.Presentation, FMX.ScrollBox, FMX.Memo, FMX.Edit, FMX.EditBox,
FMX.SpinBox, System.DateUtils, System.JSON, S... |
unit RecordTests;
interface
uses
DUnitX.TestFramework;
type
[TestFixture]
TRecordTests = class(TObject)
public
[Test]
procedure SerializationTest;
[Test]
procedure DeserializeTest;
end;
implementation
uses
DelphiJSON, System.JSON, JSONComparer, System.DateUtils, System.SysUtils;
ty... |
// see ISC_license.txt
{$I genLL.inc}
unit ELexer;
interface
uses
Sysutils, Runtime;
const
{ token type }
LEX_ID = 1; // start from 128 ?
LEX_INT = 2;
LEX_WS = 3;
LEX_4 = 4; // '('
LEX_5 = 5; // ')'
LEX_6 = 6; // '*'
LEX_7 = 7; // '+'
LEX_8 = 8; // '-'
LEX_9 = 9; // ';'
LEX_10 = 10; // '='
t... |
unit UUADGridLocRating;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. }
interface
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, D... |
unit Unit91;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf,
FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Asy... |
unit uNewUser;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls, Vcl.ExtCtrls;
type
TfrmNewUser = class(TForm)
edLogin: TLabeledEdit;
edPassword1: TLabeledEdit;
... |
unit uStdScripts;
// Стандартные скрипты
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, CheckLst, zStringCompressor, Buttons, ExtCtrls,
zSharedFunctions, zLogSystem, zAVKernel, zTranslate;
type
TStdScriptsDLG = class(TForm)
cbRepairS... |
unit UPaths;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. }
// ////////////////////////////////////////////////////////////////////////////
// NOTICE: READ THIS!... |
unit MD_CAT_AbtraAntaqConectorOut;
interface
uses
IdHttp, SysUtils, Classes, IdSSLOpenSSL;
type
tyAmbiente = (amProducao, amHomologacao);
CAT_AbtraAntaqConectorOut = class
private
ARL_idHTTP: TIdHTTP;
ARL_URL: string;
ARL_inHTTPCode: Integer;
ARL_stResposta: string;
public
function MS... |
//
// Created by the DataSnap proxy generator.
// 02/09/2016 15:21:16
//
unit ClientClassesUnit1;
interface
uses System.JSON, Datasnap.DSProxyRest, Datasnap.DSClientRest, Data.DBXCommon, Data.DBXClient, Data.DBXDataSnap, Data.DBXJSON, Datasnap.DSProxy, System.Classes, System.SysUtils, Data.DB, Data.SqlExpr,... |
unit Model.Company;
interface
uses
Model.Interfaces,
Model.IMyConnection,
System.Generics.Collections,
Spring.Data.ObjectDataset,
Spring.Collections;
function CreateCompanyModelClass: ICompanyModelInterface;
implementation
uses
System.SysUtils, Model.Declarations, Model.FormDeclarations, MainDM,
Model.L... |
unit HighResolutionTimer;
{стягнув з http://expert.delphi.int.ru/question/5313/}
interface
uses Windows;
type
// --------------------- Класс - высокоточный таймер -------------------------
THRTimer = class(TObject)
constructor Create;
function StartTimer: Boolean; // Обнуление таймера
function Read... |
//Copyright 2016 Andrey S. Ionisyan (anserion@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 applicabl... |
unit RProxy;
interface
uses
Classes, rHttpUtils;
type
TProxyItem = record
aData: TProxyData;
iTryCnt: Integer;
iErrCnt: Integer;
end;
TProxyProtocol = (ppHttp, ppHttps, ppSocks4, ppSocks5);
TProxyProtocols = set of TProxyProtocol;
TProxyLevel = (plTransparent, plAnonymous, plDistorting, plEl... |
{******************************************************************************}
{ }
{ WiRL: RESTful Library for Delphi }
{ ... |
unit DIOTA.Dto.Response.SendTransferResponse;
interface
uses
System.Classes,
Generics.Collections,
DIOTA.Model.Transaction,
DIOTA.IotaAPIClasses;
type
TSendTransferResponse = class(TIotaAPIResponse)
private
FTransactions: TArray<ITransaction>;
FSuccessfully: TArray<Boolean>;
function GetTrans... |
unit uCadastroPadrao;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, db, sqldb, FileUtil, Forms, Controls, Graphics, Dialogs,
ExtCtrls, DbCtrls, Buttons, LCLType, uFormBase, BufDataset;
type
{ TfrmCadastroPadrao }
TfrmCadastroPadrao = class(TfrmBase)
dsPadrao: TDataSource;
dbNavAlunos: TDBN... |
{
TTimeZoneInfo Component Version 2.0b - Suite GLibWMI
Copyright (©) 2009-2013, by Germán Estévez (Neftalí)
La clase WMI Win32_TimeZone representa la información de zona horaria para un ordenador con Windows, que incluye los cambios necesarios para realizar la transición entre cambios horarios.
Utilizaci... |
unit Option;
interface
uses
Classes, SysUtils, JdcOption, Global, System.IniFiles;
type
TOption = class
private
FIniFile: TCustomIniFile;
constructor Create;
function GetYear: Integer;
procedure SetYear(const Value: Integer);
function GetDay: Integer;
function GetMonth:... |
unit UCC_OrderConfirmation;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls,
UForms{, UCC_Appraisal};
type
TCC_OrderConfirm = class(TAdvancedForm)
btnOk: TButton;
btnCancel: TButton;
Label1: TLabel;
Label2: TLabel;
Labe... |
program planets(Input, Output);
uses wincrt;
const SUN = 27.94;
MOON = 0.17;
SATURN = 1.15;
MERCURY = 0.37;
MARS = 0.38;
URANUS = 1.17;
VENUS = 0.88;
JUPITER = 2.64;
NEPTUNE = 1.18;
var FirstLetter, SecondLetter : char;
Weight : rea... |
unit AbstractReferenceFormRecordViewModelMapper;
interface
uses
CardFormViewModel,
ReferenceFormRecordViewModelMapper,
ReferenceFormRecordViewModel,
SysUtils,
Classes;
type
TAbstractReferenceFormRecordViewModelMapper =
class abstract (TInterfacedObject, IReferenceFormRecordViewModelMapper)
p... |
unit TestCaseWithAttributes;
interface
uses
DSharp.Testing.DUnit;
type
UserPasswordTestCaseAttribute = class(TestCaseAttribute)
public
constructor Create(const AUserName, APassword: string; AResponse: Boolean);
end;
UserAgeTestCaseAttribute = class(TestCaseAttribute)
public
constructor Create(co... |
unit uStatus;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,
fgl;
type
IStatusItem = interface
['{149F06C3-1283-4AB4-9374-4A5E7AFB5143}']
function GetDescription: string;
function GetName: string;
function GetShortDescription: string;
procedure SetDescription(const aDescription: stri... |
unit ShellUtils;
// %ShellUtils : 包装Win32的Shell接口
(***** Code Written By Huang YanLai *****)
interface
uses Messages,Windows,sysutils,classes,ShellAPI,ShlObj,
Forms,WinUtils,LibMessages,Graphics,Controls,ExtCtrls,
Menus,ActiveX, ComObj,ComCtrls;
type
{ Taskbar Icon Utilities
}
TTrayNotify= class;... |
unit NonNilableTests;
interface
uses
DUnitX.TestFramework, DelphiJSON, System.Generics.Collections;
type
[DJSerializable]
TTest = class
public
[DJValue('list')]
[DJNonNilable]
list: TList<String>;
end;
[TestFixture]
TNonNilableTests = class(TObject)
public
[Test]
procedure Tes... |
unit uGeraCodigoZPL;
interface
type TGeraCodigoZPL = class
private
// atributos e metodos privados
{Ponto inicial de impressão = informa quial o ponto da etiqueta vai começar a
impressao}
fPontoInicialImpressao_MargemEsquerda : string;
fPontoInicialImpressao_Topo : string;
{Fields de Client... |
unit UPrefFUserFHADigSignatures;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 2019 by Bradford Technologies, Inc. }
{ This preference unit is used to create the public & private keys for a user as}
{ we... |
unit uBase91;
{$ZEROBASEDSTRINGS ON}
interface
uses
System.SysUtils,
System.Classes,
System.Generics.Collections,
uBase,
uUtils;
type
IBase91 = interface
['{5BB3F4C5-0806-4E89-ACA0-84EDB0C8F959}']
function Encode(data: TArray<Byte>): String;
function Decode(const data: String): TArray<Byt... |
// ******************************************************************
//
// Program Name : $ProgramName$
// Platform(s) : $Platforms$
// Framework : None
//
// Filename : AT.$ShortName$.Config.Consts.pas
// File Version : 1.00
// Date Created : $CreateDate$
// Author : Matthew Vesperman
//
/... |
unit GlobalHotKey;
interface
uses
WinApi.Windows, System.Generics.Collections, System.SysUtils;
type
TTypeHookMessage = (hmUNKNOWN,
hmKEYDOWN,
hmKEYUP,
hmSYSKEYDOWN,
hmSYSKEYUP);
THookMessage = record
Vk... |
unit psUniConnectionHelper;
interface
uses vcl.Forms
, OXmlDOMVendor, OEncoding, OWideSupp, OTextReadWrite, OXmlReadWrite, OXmlUtils, OXmlCDOM, OXmlPDOM, OXmlSAX, OXmlPSeq, OXmlCSeq, OXmlSerialize
, Xml.xmldom, Xml.XMLIntf, Xml.XMLDoc
, Uni;
type
tUniConnectionHelper = class Helper for TUniConnection
... |
(******************************************************************************
PROYECTO FACTURACION ELECTRONICA
Copyright (C) 2010-2014 - Bambu Code SA de CV - Ing. Luis Carrasco
Este archivo pertenece al proyecto de codigo abierto de BambuCode:
http://bambucode.com/codigoabierto
La licencia de este codigo fue... |
{ *************************************************************************** }
{ }
{ MVCBr é o resultado de esforços de um grupo }
{ }
{ Copyright (C) 2017 MVCBr }
{ }
{ amarildo lacerda }
{ http://www.tireideletra.com.br }
{ }
{ }
{ *************************************************************************** }
{ }
{ L... |
unit uHoldingsSerialize;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, uHoldings, dom, XmlWrite, uSaxBase, uLibrary;
type
{ THoldingsDomFactory }
THoldingsDomFactory = class
public
class procedure Serialize(const aHolding: IHolding;
const aXDoc: TXmlDocument; const aParent: TDomNode);
... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit uCookies;
// ******************* Поиск Cookie по заданном содержимому ******************
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls, Buttons, ExtCtrls, zBase64, zUUE, Registry,
uTextReportView;
type
TCookiesSearch = clas... |
{******************************************************************************}
{ Класс для источника данных, выполняющего генерацию данных с заданной частотой}
{ и возвращающий результаты вызовом метода SetSourceResult объекта TMainSource }
{***************************************************************************... |
program test_time;
uses
containers, sysutils;
const
n = 50000000;
k = 1000;
var
i: longInt;
m: container;
it: iterator;
procedure log(mes: string);
var
hr, min, sec, ms: word;
begin
DecodeTime(Time(), hr, min, sec, ms);
write(mes);
writeln(' Current time: ', hr, ':', min, ':', sec, '.', ms);
end;
begin
log... |
program WrongParams;
function equalInt (a, b :integer): boolean;
begin
return a = b
end;
begin
write(equalInt(2,-2), EoL)
end.
|
//(C) 2003-2005 yusupov@gmail.com
unit bravo4a;
interface
uses
Classes,
city10;
type
TBravoPoint = class
private
l: TList;
procedure SetLink(index: Integer; value: TBravoPoint);
function GetLink(index: Integer): TBravoPoint;
public
x,y: Float;
r: Float;
property L... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, ExtCtrls, StdCtrls;
type
TForm1 = class(TForm)
Timer1: TTimer;
procedure FormMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
procedure Timer1... |
unit u_LocalSingleLine;
interface
uses
t_GeoTypes,
i_EnumDoublePoint,
i_LocalCoordConverter,
i_VectorItemLocal;
type
TLocalLineBase = class(TInterfacedObject)
private
FCount: Integer;
FPoints: array of TDoublePoint;
FLocalConverter: ILocalCoordConverter;
private
functio... |
unit ufMain;
{$DEFINE STACKCHECK}
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls, uMachineStack, uModule;
type
TfrmMain = class(TForm)
Panel1: TPanel;
plkBottom: TPanel;
... |
unit My_ac;
{$MODE Delphi}
{-----------------------------------------------------------------------------}
interface
{-----------------------------------------------------------------------------}
procedure InicializaceAutomatu;
procedure PridejSlovo (S: string);
procedure SpoctiF (S: string);
proce... |
unit core_beh_tree_types;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
nodeStates = (
nsFailed,
nsReady,//reqdy for query
//
nsRunning, //didn't finished evaluation in last tick
nsSuccess
);
//types of branch nodes
nodeTypes = (
ntPriority, {On each traversal p... |
unit YxdSync;
{$IFDEF MSWINDOWS}
{$IFNDEF UNICODE}
{$DEFINE RWSync}
{$ELSE}
{$IFNDEF WIN64}
{$DEFINE RWSync}
{$ENDIF}
{$ENDIF}
{$ENDIF}
interface
uses
{$IFNDEF RWSync}SyncObjs{$ELSE}Windows{$ENDIF};
{$IFDEF RWSync}
type
// 超轻量级读写同步
// Copyright Adam Wu, 2008-2009
// Slim Multi-read Exclusive-write spin loc... |
(*
Copyright (c) 2011, Stefan Glienke
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice,
this list of conditions and t... |
(*
Copyright (c) 2011, Stefan Glienke
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice,
this list of conditions and t... |
unit ufrmCateg;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, IBX.IBQuery, uLib, uConst, upCateg, udmFinanc,
Data.DB;
type
TfrmCateg = class(TFrame)
edCodigo: TEdit;
edDescricao: TEdit;
Label1: TLabel;
Label2: TLabel;
procedu... |
unit FGStockRptReader;
interface
uses
Classes, CommUtils, SysUtils, Variants, ComObj, MakeFGReportCommon;
type
TFGStockRptRecord = packed record
snumber: string; //物料长代码
sname: string; //物料名称
sBatchNo: string; // 批次
dqty: Double; //库存总数
drework: Double; //返工
duncheck: Double; //待检验
... |
unit Conv2DLayerUnit;
{Neural Network library, by Eric C. Joyce
Model a Convolutional Layer as an array of one or more 2D filters:
input mat(X) w, h filter1 activation function vector f
[ x11 x12 x13 x14 ] [ w11 w12 ] [ func1 func2 ]
[ x21 x22 x23 x24 ] [ w21 w22 ]
[ x31 x32 x33 x34 ] [ b... |
PROGRAM SeventeenTwo(INPUT, OUTPUT);
VAR
Number: INTEGER;
PROCEDURE ReadDigit(VAR SourceFile: TEXT; VAR Digit: INTEGER);
VAR
Ch: CHAR;
BEGIN { ReadDigit }
IF NOT EOLN(SourceFile)
THEN
READ(SourceFile, Ch);
Digit := -1;
IF (Ch = '0') THEN Digit := 0;
IF (Ch = '1') THEN Digit := 1;
IF (Ch = '... |
unit ViewModel.TitleEdit;
interface
uses
Model.Interfaces;
function CreateTitleEditViewModelClass: ITitleEditViewModelInterface;
implementation
uses
Model.Title,
Model.FormDeclarations,
Model.ProSu.Interfaces,
Model.ProSu.InterfaceActions,
Model.ProSu.Provider,
Model.ProSu.Subscriber;
type
TTitleEd... |
unit ArticleModel;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, AuthorModel;
type
TTags = array of string;
TArticle = packed record
Id: string;
Author: TAuthor;
Title: string;
Description: string;
Body: string;
Tags: TTags;
end;
TArticles = array of TArticle;
implementa... |
unit DW.Location.Android;
{*******************************************************}
{ }
{ Kastri Free }
{ }
{ DelphiWorlds Cross-Platform Library ... |
unit UnitPixel;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls;
type
TFormPixel = class(TForm)
lblFile: TLabel;
edtFile: TEdit;
btnOpen: TButton;
lblInfo: TLabel;
btnExtract: TButton;
dlgOpen: TOpenDia... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit uSettingCls;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, INIFiles, Registry, uSetting;
type
{ TSetting }
TSetting = class(TInterfacedObject, ISetting)
private
fFileName: string;
fIniFile: TIniFile;
fCurrentPath: string;
fDeveloperLibrary: string;
fDeveloperImage : string... |
unit XFrogAlgo;
interface
uses FrogAlgo, Func1D, XRetrieval, AllCals, RunTypeU;
type
TXFrogAlgo = class(TFrogAlgo)
private
mERef: TEField;
mRefCals: TAllCals;
mXRet: TXRetrieval;
procedure InitReferencePulse;
procedure SynchronizeReferencePulseScale;
protected
procedure ... |
program PizzaCutCounting;
//Program untuk menentukan maksimal jumlah potongan dari sebuah input
(* DICTIONARY *)
var
N : integer;
result : integer;
(* MAIN PROGRAM *)
Begin
//INPUT
write('Masukkan jumlah pemotongan : ');
readln(N);
result := 0;
//PROSES
// f(n) = n + f(n - 1), n > 0
while N > 0 do
begin
... |
unit RPDatasets;
interface
uses Classes, Contnrs, Db;
type
TRPDataEnvironment = class;
TRPField = class
private
FEnvironment : TRPDataEnvironment;
FFieldName: string;
public
function GetPrintableText : string; virtual; abstract;
property FieldName : string read FFieldName write FFieldName;
... |
object ScanProgressForm: TScanProgressForm
Left = 0
Top = 0
BorderStyle = bsDialog
Caption = 'Scan progress'
ClientHeight = 361
ClientWidth = 645
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCr... |
//(C) 2003-2005 yusupov@gmail.com
unit city10;
interface
uses
Classes, XMLIntf;
type
Float = Double;
TCoord = record
x,y: Float;
end;
TRef = class
private
fstr, fstr0, fstr1, fstr2: string;
procedure SetStr(value: string);
public
property str: string read fstr wri... |
{$I XLib.inc }
Unit XExps;
Interface
{procedure Register;}
Function GetXTypeCount: Integer; export;stdcall;
Function GetXType(I: Integer):String; export;stdcall;
Function GetXIndexOf(Const S: String):Integer; stdcall;
Function GetXSource(Const S: String):String; stdcall;
Function GetFirstXControl(Const S: S... |
unit ViewModel.RelationshipType;
interface
uses
Model.Interfaces;
function CreateRelationshipTypeListViewModelClass: IRelationshipTypeListViewModelInterface;
implementation
uses
Model.RelationshipType,
Model.FormDeclarations,
Model.ProSu.Interfaces,
Model.ProSu.InterfaceActions,
Model.ProSu.Provider,
... |
{********************************************************************************}
{ }
{ XML Data Binding }
{ ... |
{
TSoundDeviceInfo Component Version 1.1 - Suite GLib
Copyright (©) 2009, by Germán Estévez (Neftalí)
Clase que representa las propiedades del dispositivo de sonido instalado en el ordenador.
Utilización/Usage:
Basta con "soltar" el componente y activarlo.
Place the component in the form and ... |
unit UCRMLicAuthorize;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 2018 by Bradford Technologies, Inc. }
{ This unit evaluates the user license to determine what the user is}
{ authorized to use. }
... |
unit frameBuscaPessoa;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Pessoa,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons, Vcl.Mask, RxToolEdit, RxCurrEdit;
type
TBuscaPessoa = class(TFrame)
StaticText1: TStaticText;
e... |
unit TimeNowForm;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls,
FMX.Controls.Presentation, FMX.ScrollBox, FMX.Memo;
type
TForm1 = class(TForm)
Button1: TButton;
Panel1: TPanel... |
{******************************************************************************}
{ }
{ WiRL: RESTful Library for Delphi }
{ ... |
program Multiplication;
// Подключение консольного приложения
{$APPTYPE CONSOLE}
{characters-все возможные символы числа;
firstNumber,secondNumber-переменные для хранения
чисел;
arrayNum-используется для запуска массива заполнения
с правильной позицией;
currentNum-используется для хранения текущей суммы
двух ч... |
unit Service2.Laboratory;
interface
uses
System.SysUtils,
System.Classes,
System.Threading,
System.UITypes,
FireDAC.Stan.Intf,
FireDAC.Stan.Option,
FireDAC.Stan.Param,
FireDAC.Stan.Error,
FireDAC.DatS,
FireDAC.Phys.Intf,
FireDAC.DApt.Intf,
Data.DB,
FireDAC.Comp.DataSet,
FireDAC.Comp.Clien... |
unit Iterator.Iterators.AlphabeticalOrderIterator;
interface
uses
Iterator.AbstractClass.Iterator, Iterator.Iterators.WordsCollection;
type
TAlphabeticalOrderIterator = class(TIterator)
private
FCollection: TWordsCollection;
// Stores the current traversal position. An iterator may have a lot of
/... |
unit ParticleWorldStructure;
interface
Uses MapStructure,
PhysicsContacts,
Math,
PhysicsArifm,
ParticleForceGen,
PhysicsParticles,
Windows,
SysUtils;
Type
TGenerators = record
Force: record
Gravity: array of TGravityForceGen;
Drag: array of TDra... |
unit Modification_Unit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, kbmMemTable, DB, Front_DataBase_Unit, Contnrs,
ActnList, AdvPanel, FrontData_Unit, AdvSmoothButton, AdvStyleIF,
AdvSmoothToggleButton, BaseFrontForm_Unit, RKCa... |
unit NewtRaph;
interface
uses uTExtendedX87,
System.SysUtils,
System.Classes,
Windows,
System.Math;
type Extended = TExtendedX87;
type fx = function (x : Extended) : Extended;
function NewtonRaphson (var x : Extended;
f,df,d2f : fx;
mit : Integer;... |
unit Unit1;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants, IniFiles,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.ScrollBox,
FMX.Memo, FMX.Controls.Presentation, FMX.StdCtrls, FMX.ListBox;
type
TForm1 = class(TForm)
btnS... |
unit Module.Tasks;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Vcl.ImgList,
Dialogs, ExtCtrls, ComCtrls, System.Win.Registry, ShellAPI, Vcl.StdCtrls, Vcl.ValEdit,
//Свои модули
CMW.Utils, CMW.OSInfo, CMW.ModuleStruct, taskSchd, taskSchdXP, Vcl.Grids;
//
type
... |
PROGRAM Regex;
USES Formatting;
(* --------------------------------------------------------------------------------------- *)
FUNCTION BruteForceA ( s, p : STRING) : INTEGER;
VAR
sLen, pLen, i, j, pos : INTEGER;
BEGIN
sLen := Length(s);
pLen := Length(p);
pos := 0;
i := 1; // erste Stelle im String
... |
unit UImageEditor;
{$WARN SYMBOL_PLATFORM OFF}
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, ilmitb, TMultiP, Buttons, ComCtrls, ToolWin, StdCtrls,
Grids,Contnrs,
UContainer, UEditor, UCell, UGraphics, Grids_ts, TSGrid, RzButton,
RzRadChk, MMOpe... |
unit uFrmCadastrarCliente;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, DB, Grids, DBGrids, ComCtrls, ZAbstractRODataset,
ZAbstractDataset, ZDataset, uDmCliente, uClienteController,uClienteModel;
type
TOperacao = (opNovo, opAlterar, op... |
unit SupportSubject;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, System.ImageList, Vcl.ImgList,System.StrUtils,
Vcl.ComCtrls, Vcl.ToolWin, Vcl.StdCtrls, Vcl.ExtCtrls,UMainDataModule;
type
TForm_Subject =... |
unit UAMC_AckSend;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. }
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Di... |
unit SimThyrLog;
{ SimThyr Project }
{ (c) J. W. Dietrich, 1994 - 2011 }
{ (c) Ludwig Maximilian University of Munich 1995 - 2002 }
{ (c) Ruhr University of Bochum 2005 - 2011 }
{ This unit draws a spreadsheet-like grid with simulation results }
{ Source code released under the BSD License }
{$mode objfpc}... |
{$R+} {Directiva de compilador R}
program CargaMatrices;
const
max = 5;
type
rangofila= 1..max;
rangoCol= 1..max;
Matriz = array [rangofila, rangoCol] of integer;
var
Mat: Matriz;
Procedure Cargar (var M:Matriz);
var
fil: rangofila;
col: rangoCol;
Begin
randomize;... |
unit utim;
interface
uses
ucommon;
const
cTIMMagic = $10;
cCLTMagic = $11;
cPXLMagic = $12;
cMagics = [cTIMMagic, cCLTMagic, cPXLMagic];
cTIM4C = $08;
cTIM4NC = $00;
cTIM4 = [cTIM4C, cTIM4NC];
cTIM8C = $09;
cTIM8NC = $01;
cTIM8 = [cTIM8C, cTIM8NC];
cTIM16C = $0A;
cTIM16NC... |
unit Dialog.Message;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, ImgList, PngImageList;
type
TMessageDlgType = (mtNone, mtInfo, mtQuestion, mtWarning, mtError);
TMessageDlgButtons = (mbOK, mbYesNo, mbYesNoCancel, mbRetryCancel);
TM... |
unit EdgeMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, WebView2, Winapi.ActiveX,
Vcl.StdCtrls, Vcl.Edge, Vcl.ExtCtrls, Vcl.ComCtrls;
type
TEdgeViewForm = class(TForm)
EdgeBrowser1: TEdgeBrowser;
... |
unit Configuracao;
interface
type
TConfiguracao = class
private
FValorImposto: Currency;
FValorLitroOleoDiesel: Currency;
FValorLitroGasolina: Currency;
FId: Integer;
procedure SetId(const Value: Integer);
procedure SetValorImposto(const Value: Currency);
procedure SetValorLitroGasolin... |
unit httputil;
interface
uses Windows, SysUtils, Classes, StrUtils, Wininet;
function ExtractHeader(AHeaders: TStringList; AHeader: String): String;
function ParseURL(AURL: String; var ASchema, AHostname, AUsername,
APassword, APath, AExtra: String): Boolean;
function ParseURLPath(AURL: String): String;
f... |
unit XFaceBitMap;
(*
* Compface - 48x48x1 image compression and decompression
*
* Copyright (c) James Ashton - Sydney University - June 1990.
*
* Written 11th November 1989.
*
* Delphi conversion Copyright (c) Nicholas Ring February 2012
*
* Permission is given to distribute these sources, as long as the... |
{******************************************************************************}
{ Projeto: Componentes ACBr }
{ Biblioteca multiplataforma de componentes Delphi para interação com equipa- }
{ mentos de Automação Comercial utilizados no Brasil ... |
{*********************************************************}
{ }
{ TExcel Component 2.4 for Borland Delphi }
{ }
{ Copyright (c) 1996, 1997 by }
{ ... |
unit CenterList;
{
TITLE: PROGRAMMING II LABS
SUBTITLE: Practical 2
AUTHOR 1: Carlos Torres Paz LOGIN 1: carlos.torres@udc.es
AUTHOR 2: Daniel Sergio Vega Rodriguez LOGIN 2: d.s.vega@udc.es
GROUP: 5.4
DATE: 03/05/2019
}
interface
Uses SharedTypes, PartyList;
const
MAXC = 25 ; (*tamaño máximo del array*)
N... |
{*******************************************************}
{ }
{ XML-RPC Library for Delphi, Kylix and DWPL (DXmlRpc) }
{ XmlRpcServer.pas }
{ }
{ for Delphi 6, 7 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.