text stringlengths 14 6.51M |
|---|
unit MedicFirmListKeywordsPack;
{* Набор слов словаря для доступа к экземплярам контролов формы MedicFirmList }
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Inpharm\Forms\MedicFirmListKeywordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "MedicFirmListKeywordsPack" MUID: (4AB9E69C02... |
program Ordenar;
const maximo : Integer = 100;
const maxVal : Integer= 3000;
var datos: array[1..maximo] of integer;
var i: integer;
procedure swap(var a : integer; var b: integer);
var
tmp: integer;
begin
tmp := a;
a := b;
b := tmp;
end;
procedure generaNumeros(); { Genera ... |
unit MSObjectCacher;
interface
uses
SysUtils, CacheAgent, CacheCommon;
// RegisterCacher must be call to register a functions which knows how to
// cache an instance of ClassName. By registering a Cacher for a particular
// class it ensures that any instance of that class or of any class
// descending ... |
{**********************************************************************
This small program tests the use of type definitions of arrays, booleans, and
integers. It also tests the use of forward declarations of functions, etc.
**********************************************************************}
program foo;
type
... |
unit xBevel;
interface
uses
SysUtils, Classes, Controls, ExtCtrls, Graphics, xGradient;
type
TxBevelStyle = (bsLowered, bsRaised, bsSingle);
TxBevelEdge = (beLeft, beRight, beTop, beBottom);
TxBevelEdges = set of TxBevelEdge;
TxBevel = class(TGraphicControl)
private
FShape: TBevelSha... |
unit ConsolProjectOptionsUnit;
interface
uses
{$IFDEF LINUX}
Libc, QDialogs,
{$ENDIF}
{$IFDEF MSWINDOWS}
Windows, ShellAPI,
{$ENDIF}
SysUtils, Classes, JclSysUtils;
type
TLineBreakQuality = (lbqStrict, lbqSloppy);
TOutputType = (otWebPage, otHtmlHelp, otLatex, otLatex2Rtf);
TLatexGraphicsPackage = (ltmNo... |
unit TTSPLDGTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TTTSPLDGRecord = record
PLenderNum: String[4];
PLoanNum: String[20];
PCollNum: Integer;
PXLoanNum: String[20];
PXCollNum: Integer;
End;
TTTSPLDGBuffer = class(TDataBuf)
pr... |
{
Double Commander
-------------------------------------------------------------------------
Take a single file and split it in part based on few parameters.
Copyright (C) 2018 Alexander Koblov (alexx2000@mail.ru)
This program is free software; you can redistribute it and/or modify
it under the ter... |
unit ExcelSaver;
interface
uses
DataFileSaver, Classes, DB, System.StrUtils;
const
MAX_ROW_PER_FILE = 50;//65530;
type
TExcelSaver = class(TAbsFileSaver)
private
// CXlsBof: array[0..5] of Word;
// CXlsEof: array[0..1] of Word;
// CXlsLabel: array[0..5] of Word;
// CXlsNumber: array[0.... |
unit nsDataExchangeProxy;
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\Search\nsDataExchangeProxy.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TnsDataExchangeProxy" MUID: (54FEC834013B)
{$Include w:\garant6x\implementation\Garant\nsDefine.inc}
interface
{$If NOT Defined(Admin)}
uses
l3IntfUses
... |
unit vg_canvas_cairo;
{$ALIGN ON}
{$MINENUMSIZE 4}
{$I vg_define.inc}
{.$DEFINE FLATTEN}
{$DEFINE TEXTFLATTEN}
interface
uses
{$IFDEF LINUX}
cairo, cairoXlib, xlib, x,xutil, gtk2def, gtk2proc, gtk2, gdk2, gdk2x, gdk2pixbuf, glib2,
pango,
{$ENDIF}
{$IFDEF WIN32}
Cairo,
{$ENDIF}
{$IFDEF FPC}
LCLProc,... |
unit AvoidanceZoneParametersUnit;
interface
uses
REST.Json.Types, HttpQueryMemberAttributeUnit, JSONNullableAttributeUnit,
NullableBasicTypesUnit, GenericParametersUnit, TerritoryUnit;
type
TAvoidanceZoneParameters = class(TGenericParameters)
private
[JSONMarshalled(False)]
[HttpQueryMember('device_i... |
unit evTableCellHotSpot;
{* Реализация интерфейсов IevHotSpotTester и IevHotSpot для ячейки таблицы. }
{ Библиотека "Эверест" }
{ Автор: Люлин А.В. © }
{ Модуль: evTableCellHotSpot - }
{ Начат: 02.11.2000 10:18 }
{ $Id: evTableCellHotSpot.pas,v 1.82 2015/01/19 18:36:36 lulin Exp $ }
// $Log: evT... |
namespace Sugar.Test;
interface
uses
Sugar;
type
XmlTestData = public static class
public
method RssXml: String;
method PIXml: String;
method CharXml: String;
method DTDXml: String;
end;
implementation
method XmlTestData.RssXml: String;
begin
exit "<?xml version=""1.0... |
unit DEX.Transform;
interface
uses
System.SysUtils,
System.DateUtils,
System.Math,
Charts.Math,
Candles.Types,
Measures.Types,
DEX.Types;
const
CANDLE_DURATION = 1000;
type
TCandlesTransform = class
private const
UNIX_MINUTE = 60;
UNIX_5_MINUTE = 5*UNIX_MINUTE;
U... |
unit uWinSocket;
interface
uses
SysUtils, Classes,WinSock,Messages,SyncObjs,ExtCtrls,
Forms,u_c_byte_buffer;
const wm_asynch_select= wm_User;
const k_buffer_max= 4096;
k_tcp_ip_chunk= 1500;
MAXSOCKCOUNT = 100;
type
TSocketDataEvent = procedure(Sender: TObject;SockNo:integer; Buf:String;DataLen: I... |
{ Subroutine SST_CHAR_FROM_INS (CHAR_H)
*
* Determine whether a character came from the special include file specified
* with the -INS command line option. CHAR_H is the handle to the source
* stream character. This routine always returns FALSE when not doing a
* special include file translation.
}
module s... |
unit EvalLib;
interface
uses
System.Math,
System.SysUtils,
System.Rtti,
System.TypInfo,
System.Generics.Collections,
System.Generics.Defaults;
{$TYPEINFO ON}
type
{$REGION 'TRttiContextHelper'}
TRttiContextHelper = record helper for TRttiContext
public
function FindPublishedType(const Name: Stri... |
object fmDateFormat: TfmDateFormat
Left = 285
Top = 201
BorderStyle = bsDialog
Caption = 'Date/Time Format'
ClientHeight = 74
ClientWidth = 337
Color = clBtnFace
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'Tahoma'
Font.Style = []
OldCreateO... |
unit fFlashOffscreen;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, OleCtrls, ShockwaveFlashObjects_TLB, ExtCtrls;
type
TfrmFlashOffscreen = class(TForm)
ShockwaveFlash1: TShockwaveFlash;
procedure FormCreate(Sender: TObject);
private
... |
unit PyAPI;
{
Minimum set of Python function declarations for module libraries.
Author: Phil (MacPgmr at fastermac.net).
To add other Python function declarations, see the Python header
files (.h) included with every Python distribution.
}
{$IFDEF FPC}
{$MODE Delphi}
{$ENDIF}
interface
{$DEF... |
unit TTSCIFTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TTTSCIFRecord = record
PLenderNum: String[4];
PCifNumber: String[20];
PModCount: Integer;
PBranch: String[8];
PDivision: String[8];
PTapeLoan: Boolean;
PName1: String[40];
... |
unit unitSettings;
interface
type
TSettings = class
private
FFontSize: Integer;
procedure SetFontSize(const Value: Integer);
public
property FontSize : Integer read FFontSize write SetFontSize;
end;
TSettingsIniHelper = class helper for TSettings
function IniFileName : string;
procedur... |
unit RDOMarshalers;
interface
uses
ActiveX,
{$IFDEF AutoServer}
RDOClient_TLB,
{$ENDIF}
RDOInterfaces,
RDOQueries;
{$IFDEF AutoServer}
function MarshalPropertyGet( ObjectId : integer; const PropName : string; RDOConnection : IRDOConnection; TimeOut, Priority : integer; out ErrorCode : in... |
unit uConsts;
interface
uses
Windows, Classes, SysUtils, Graphics, SyncObjs;
const
CST_SYSINFOFILE = 'sysinfo.CSV';
CST_CHANNELFILE = 'channels.csv';
CST_DEFJOBINFOFILE = 'defjobinfo.CSV';
CST_JOBINFOFILE = 'jobinfo.CSV';
LARGE_BOX_COUNT = 5;
// X_AXIS = 0;
Z_AXIS = 0;
EMPTY_BOX_Z_AXIS = 1;
//2D... |
unit UnitApp;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls;
type
TForm10 = class(TForm)
Timer1: TTimer;
Memo1: TMemo;
procedure Timer1Timer(Sender: TObject);
pro... |
unit UFormReloc;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
StdCtrls, ExtCtrls, XPMan;
type
TFormReloc = class(TForm)
btnOK: TButton;
btnCancel: TButton;
GroupBox1: TGroupBox;
chkAppData: TRadioButton;
chkDefault: TRadioButton;
chkCustom: TRadioButto... |
// Upgraded to Delphi 2009: Sebastian Zierer
(* ***** 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 a... |
unit LibCalnd;
{
//
// Calendar dialog pop-up demonstration - Use with TwwDBComboDlg
//
// Copyright (c) 1995 by Woll2Woll Software
//
// Credit: Thanks to Walter Fordham and International Software Systems
// for providing the inspiration and work for this example.
//
//
// I M P O R T A N T E ! ! !
// No ... |
unit RVStyle;
{$mode Delphi}
interface
{.$R RVStyle}
uses
{$IFDEF FPC}
LCLType,
{$ELSE}
Windows, Messages,
{$ENDIF}
SysUtils, Classes, Graphics, Controls, Forms, {LibConst,}
IniFiles;
const
crJump = 101;
rvsNormal = 0;
rvsHeading = 1;
rvsSubheading = 2;
rvsKeyword = 3;
rvsJump1 = 4;
rvsJu... |
unit Environment;
interface
const
tidEnvironment_Beauty = 'Beauty';
tidEnvironment_Pollution = 'Pollution';
tidEnvironment_Crime = 'Crime';
tidEnvironment_Entertaiment = 'Entertaiment';
tidEnvironment_Restaurants = 'Restaurants';
tidEnvironment_Bars = 'Bars';
tid... |
unit SoundConversion;
{$Message '********************************Compiling SoundConversion'}
interface
{$IFDEF MSWINDOWS}
{$IFNDEF MSWINDOWS}
{$ERROR 'only supported on windows'}
{$ENDIF}
uses
numbers, systemx, classes,
{$IFDEF MSWINDOWS}
msacm, mmsystem,
{$ENDIF}
soundinterfaces, multibuffermemoryfilestream,... |
unit ToolbarHandler;
interface
uses
VoyagerInterfaces, VoyagerServerInterfaces, Controls, ToolbarHandlerViewer{, GMChat};
type
TToolbarHandler =
class( TInterfacedObject, IMetaURLHandler, IURLHandler )
public
constructor Create( aNestedMetaHandler, aAdsHandler : IMetaURLHandler );... |
unit TPicSizeEditDlgWordsPack;
// Модуль: "w:\archi\source\projects\Common\Dialogs\TPicSizeEditDlgWordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "TPicSizeEditDlgWordsPack" MUID: (55C8CDD703B3)
{$Include w:\archi\source\projects\Common\arCommon.inc}
interface
{$If NOT Defined(NoScripts)}
uses
... |
unit afwApplication;
{* "Стандартная" реализация приложения AFW. }
// Модуль: "w:\common\components\gui\Garant\AFW\implementation\afwApplication.pas"
// Стереотип: "UtilityPack"
// Элемент модели: "afwApplication" MUID: (47764DEC01A7)
{$Include w:\common\components\gui\Garant\AFW\afwDefine.inc}
interface
uses
l3I... |
unit Control.Sistemas;
interface
uses System.SysUtils, FireDAC.Comp.Client, Forms, Windows, Common.ENum, Model.Sistemas, Control.Sistema;
type
TSistemasControl = class
private
FSistemas : TSistemas;
public
constructor Create();
destructor Destroy(); override;
property Sistemas: TSistemas read F... |
unit Utiles;
interface
uses
Windows, Messages, SysUtils, Classes, Controls, Dialogs, Forms, IniFiles,
DateUtils, DbClient, Db, Adodb;
// devuelve fechas de consulta de sistema
// corresponde a ultima consulta hecha por usuario
function GetFechaIni( ds:TAdoDataSet): TDatetime;
function GetFechaFin( ds:TAdoDat... |
unit GraphASM;
{$G+}
(****************************************************************************)
INTERFACE
(****************************************************************************)
type
Pbyte= ^byte; { TSprite = pointeur sur le type octet }
TPalette= array [0..767] of byte; { ... |
unit nsDictListChild;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "Diction"
// Автор: Тучнин Д.А.
// Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/Diction/nsDictListChild.pas"
// Начат: 2004/02/20 08:36:17
// Родные D... |
program ch7(input, output, out6, data6);
{
Chapter 7 Assignment
Alberto Villalobos
March 12, 2014
Description: Reads value pairs (balance, interest)
from a file, then produces interest charts across
10 years and 4 more in increments of 100.
Input: A file with value pairs, balance and
interest rate.
Output... |
{ Version 1.0 - Author jasc2v8 at yahoo dot com
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by an... |
unit Finder;
{=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=]
Copyright (c) 2014, Jarl K. <Slacky> Holta || http://github.com/WarPie
All rights reserved.
For more info see: Copyright.txt
[=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=}
{$mode objfpc}{$H+}... |
unit fEnemyStatistics;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, DanHexEdit,cMegaROM, cConfiguration;
type
TfrmEnemyStatistics = class(TForm)
lblGlobalEnemyHealth: TLabel;
lblEnemy: TLabel;
cbEnemy: TComboBox;
txtGlobalHealth: T... |
unit uFrmEditorText;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.ScrollBox, FMX.Memo, FMX.Controls.Presentation,
FMX.StdCtrls, FMX.ListBox, FMX.Edit, FMX.EditBox, FMX.NumberBox, FMX.Colors, FMX.... |
{$DEFINE USELogs}
unit ModelServer;
interface
uses
Windows, Events, Classes, Collection, Protocol, Kernel, World, Population, RDOServer, ExtCtrls,
BackupObjects, SyncObjs, RDOInterfaces, MailServerInterfaces, NewsServerInterfaces, Accounts,
ActorTypes, ActorPool, Seasons, ClassStorageInt, CacheAgent;
... |
unit ChatWindowKeywordsPack;
{* Набор слов словаря для доступа к экземплярам контролов формы ChatWindow }
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Chat\Forms\ChatWindowKeywordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "ChatWindowKeywordsPack" MUID: (4A6971E802F5_Pack)
{$Inc... |
{*******************************************************}
{ }
{ This unit describe all custom types and event declaration }
{ }
{ Copyright (C) 2014 }
{ ... |
unit DW.ThreadedTimer;
{ ******************************************************* }
{ }
{ Kastri Free }
{ }
{ DelphiWorlds Cross-Platform Library }
{ }
{ ******************************************************* }
// {$I DW.GlobalDefines.inc}
interface
uses
// RTL
System.Classes,
// FMX
FMX.Types;
type
TThr... |
{$DEFINE UseDiff}
{.$DEFINE UseCorrelation}
unit UWaveFormComputer;
interface
uses
Windows,
Misc;
type
TWaveFormComputer=object
protected
tf1,Int1:Double;
tf2,Int2:Double;
D1,A2,D2:PSingle;
Data1,Appr2,Data2:TArrayOfSingle;
Size:Integer;
function CalcP2(const t,P1:Double):Double;
pu... |
unit Frame3u;
interface
uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls;
type
TFrame3 = class(TFrame)
ListBox1: TListBox;
btnAdd: TButton;
btnDelete: TButton;
LabelFile: TLabel;
Label1: TLabel;
btnSave: TButton;
procedure btnAddClick(Sender: TOb... |
unit MainUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Grids;
type
TMainForm = class(TForm)
LeftListElement: TButton;
RightListElement: TButton;
TopStackElement: TButton;
BotStackElement: TButton;
EditAddingElement: TEd... |
unit ContactForma;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, FIBDataSet, pFIBDataSet, DBGridEh, StdCtrls,
DBCtrls, Mask, DBCtrlsEh, DBLookupEh, CnErrorProvider, FIBQuery,
PrjConst, System.UITypes, Vcl.Buttons;
type
TContact = Record
cID: Int... |
// This unit published all UI elements so makes them accessible from scripts
//
// Copyright (C) 2020 Ivan Polyacov, Apus Software (ivan@apus-software.com)
// This file is licensed under the terms of BSD-3 license (see license.txt)
// This file is a part of the Apus Game Engine (http://apus-software.com/engine/)
u... |
unit WaitMessage;
interface
uses
Windows,
Classes,
Graphics,
Controls,
Forms,
Dialogs,
StdCtrls,
ExtCtrls,
vtGradientWaitbar;
type
TWaitMessageForm = class(TForm)
f_GradientWaitBar: TvtGradientWaitbar;
f_GradientWaitBarPanel: TPanel;
f_WaitMessageMemo: TMemo;
//
procedure FormCreate(a_Sender: TO... |
{***************************************************************************}
{ }
{ ICollections - Copyright (C) 2013 - Víctor de Souza Faria }
{ }
{ victo... |
unit MdiChilds.PriceSRC;
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, Parsers.SRC, ActionHandler;
typ... |
unit UBSExplorer.RegistrySettings;
interface
uses
System.Win.Registry,
Winapi.Windows,
Vcl.Themes,
Vcl.Styles;
type
TSettings = class
public const
RegistryPath = 'Software\UBS-Explorer';
private
FChanged: Boolean;
FTheme: string;
procedure Load;
procedure Save;
procedure ... |
unit Iniciar;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Web.Win.Sockets, Vcl.ExtCtrls, Hashes, Math, StrUtils,
Vcl.StdCtrls, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, Soap.EncdDecd,
uT... |
unit ATxUtilExec;
interface
function FExecShell(const cmd, params, dir: WideString; ShowCmd: integer; fWait: boolean): boolean;
implementation
uses
Windows, SysUtils, ShellApi;
//------------------------
function FExecShellA(const cmd, params, dir: AnsiString; ShowCmd: integer; fWait: boolean): boolean;
var
si... |
unit kwPopEditorGetShowDocumentParts;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "ScriptEngine"
// Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwPopEditorGetShowDocumentParts.pas"
// Родные Delphi интерфейсы (.pas)... |
unit tmsUXlsHyperLink;
{$INCLUDE ..\FLXCOMPILER.INC}
{$INCLUDE ..\FLXCONFIG.INC}
interface
uses Classes, SysUtils, tmsUXlsBaseRecords, tmsXlsMessages, tmsUFlxMessages, tmsUXlsBaseList, tmsUOle2Impl;
type
TScreenTipRecord=class;
THLinkRecord = class(TBaseRecord)
private
Hint: TScreenTipRecord;
function... |
unit uExterns;
interface
type
{定义一个类}
TAnimal = class
private
{定义字段}
FHeight: Integer;
function GetHeight: Integer;
procedure SetHeight(const Value: Integer);
public
{定义构造方法}
constructor Create(FHeight: Integer);
{定义属性}
property _FHeight: Integer read GetHeight write SetHeight;... |
{***************************************************************
* Unit Name: MemoryManager
* Purpose :
* Author : Roberto Alonso Gomez
* History : Viernes, Febrero 18 2000
****************************************************************}
unit MemoryManager;
interface
uses
Windows, Messages, SysUtils, Cla... |
unit m_spinedit;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, Spin;
type
{ TMariaeSpinEdit }
TMariaeSpinEdit = class(TSpinEdit)
private
FChanged: Boolean;
procedure SetChanged(AValue: Boolean);
protected
public
constructor Crea... |
/// <summary>
/// </summary>
unit uTask.Images;
interface
uses
{ Rect tpNormal }
System.Classes,
{ IViewControl }
uIViews;
type
/// <summary>
/// </summary>
TaskImages = class
/// <summary>
/// </summary>
class var
FNextLeft,
FNextTop: Integer;
/// <summary>
/// </summa... |
unit BanksForma;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, GridForma, ActnList, DB, ComCtrls, ToolWin, Grids, DBGridEh,
FIBDataSet, pFIBDataSet, GridsEh, Menus, ToolCtrlsEh,
DBGridEhToolCtrls, DBAxisGridsEh, System.Actions, Vcl.StdCtrls,
Vcl.Buttons,... |
{ 2020/07/07 0.01 Basic tests for TStrObjMap and TIntObjMap. }
{$INCLUDE ../../flcInclude.inc}
{$INCLUDE flcTestInclude.inc}
unit flcTestDataStructMaps;
interface
procedure Test;
implementation
uses
SysUtils,
flcStdTypes,
flcDataStructMaps
{$IFDEF Profile},
flcTimers
{$ENDIF};
procedure Test_... |
program ejercicio6;
type
str40 = String[40];
microprocesador = record
marca : str40;
linea : str40;
cantCore : Integer;
vReloj : Real;
tamTransistores: Integer;
end;
procedure leerProcesador(var m:microprocesador);
begin
with m do
begin
write('Ingrese la MARACA: ');
readln(marca);
write('Ingre... |
unit Main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, ExtCtrls,
Generics.Collections,
Generics.Defaults,
Math,
StopWatch,
TimeSpan,
SizeRecord,
PositionRecord,
TileMap,
AnimationArchive,
Animation,
Frame,
ZombieController,
... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
{====================================================}
{ }
{ EldoS Visual Components }
{ }
{ Copyright (c) 1998-2003, EldoS Corporation }
{ ... |
unit U_PadraoCrud;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.ExtCtrls, Data.DB,
Vcl.Grids, Vcl.DBGrids, Vcl.StdCtrls, Vcl.Buttons, FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.Stan.... |
{Part 4a of regression test for SPECFUND unit (c) 2010-2013 W.Ehrhardt}
unit t_sfd4a;
{$i STD.INC}
{$ifdef BIT16}
{$N+}
{$ifndef Windows}
{$O+}
{$endif}
{$endif}
interface
procedure test_e1;
procedure test_ei;
procedure test_ei_inv;
procedure test_gei;
procedure test_ein;
procedure test_li;
procedure ... |
unit uRekBank;
interface
uses
uAccount, System.SysUtils, uModel;
type
TRekBank = class(TAppObject)
private
FAccount: TAccount;
FAlamat: string;
FBank: string;
FNamaPemegang: string;
FNoRek: string;
public
destructor Destroy; override;
published
property Account: TAccount read FA... |
unit vg_actions;
{$I vg_define.inc}
interface
uses
{$IFNDEF NOVCL}
ImgList, Graphics, ActnList, Forms,
{$ENDIF}
Classes, SysUtils, vg_scene,
vgAnyObjectList,
vgBitmap
;
{$Define _UnknownIsComponent}
type
_l3Unknown_Parent_ = TCustomImageList;
{$Include w:\common\components\rtl\Garant\L3\l3Unknown... |
{**************************************************************************************************************************
* Classe/Objeto : TFinanceiroPrazosExtratos
* Finalidade : pesquisa, alteração, exclusão e inclusão de dados na tabela sistema_financeiro_prazos_extratos
* Nível : Model
* Autor ... |
// ***************************************************************************
//
// FMXComponents: Firemonkey Opensource Components Set
//
// TFMXCallout is a Callout component using INativeCanvas
//
// 该控件由Aone开发,本人整理收入FMXComponents
// http://www.cnblogs.com/onechen/p/7130227.html
//
// https://github.com/zhaoyipen... |
unit BaiduMapAPI.ViewService.iOS;
//author:Xubzhlin
//Email:371889755@qq.com
//百度地图API 地图服务 单元
//官方链接:http://lbsyun.baidu.com/
//TiOSBaiduMapViewService 百度地图 iOS地图服务
interface
uses
System.Classes, System.Generics.Collections, FMX.Maps, Macapi.ObjectiveC,
Macapi.ObjCRuntime, iOSapi.CoreLocation, iOSapi.Foundatio... |
unit uUnit;
interface
uses
glr_render2d,
uObjects;
(*
type
{ TUnit }
TUnit = class (TglrSprite)
protected
fBulletOwner: TBulletOwner;
fWeaponDir: TglrVec2f;
fT, fSmokeT: Single; // for shooting
fBonusTriple, fBonusRicochet: Boolean;
fBonusT: array[TBonusType] of Sin... |
unit IdSSLDotNET;
interface
{$i IdCompilerDefines.inc}
{*******************************************************}
{ }
{ Indy SSL Support for Microsoft.NET 2.0 }
{ }
{ Copyright (C) 20... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
Unit Dt_Lock;
{ $Id: DT_LOCK.PAS,v 1.41 2013/06/11 08:04:01 fireton Exp $ }
// $Log: DT_LOCK.PAS,v $
// Revision 1.41 2013/06/11 08:04:01 fireton
// - function GetLockJournalName
//
// Revision 1.40 2011/07/20 08:02:37 voba
// - k : 236721575
//
// Revision 1.39 2009/12/23 08:33:43 voba
// - bug fix : проблемы ... |
(*-------------------------------------------------------------*)
(* Neuhold Michael *)
(* Some initial tests with standard Function *)
(*-------------------------------------------------------------*)
PROGRAM TestStdFunction;
FUNCTION Power(x, y: REAL):... |
unit TestFramework.DataValidators.TestTCurrencyDataValidator;
interface
uses
TestFramework, System.SysUtils, System.Variants,
Interfaces.IDataValidator,
DataValidators.TCurrencyDataValidator;
type
TestTCurrencyDataValidator = class(TTestCase)
strict private
FCurrencyDataValidator: IDataValida... |
unit TextEditorVisitorPrim;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "TestFormsTest"
// Автор: Люлин А.В.
// Модуль: "w:/common/components/gui/Garant/Daily/TextEditorVisitorPrim.pas"
// Начат: 07.05.2010 17:42
// Родные De... |
unit uMinPrioQueue;
{$MODE OBJFPC}
{$ModeSwitch advancedrecords}
interface
uses SysUtils;
type
TIntegerArray = Array of Integer;
TNode = record
name, idx, key: Integer;
edges: TIntegerArray;
procedure Init(const aName: Integer; const aEdges: TIntegerArray);
end;
TNodeArray = Array of TNode;
... |
{ RxTimeEdit unit
Copyright (C) 2005-2010 Lagunov Aleksey alexs@yandex.ru and Lazarus team
original conception from rx library for Delphi (c)
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Fo... |
unit DocNumberQueryKeywordsPack;
{* Набор слов словаря для доступа к экземплярам контролов формы DocNumberQuery }
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Document\DocNumberQueryKeywordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "DocNumberQueryKeywordsPack" MUID: (A40358DFC61... |
unit ParsingTools;
interface
type
IParsTools = interface
['{ACC6F3C9-2C01-42C7-A08D-36B93C69F6E5}']
// private
function GetItems(const AIndex: integer): IParsTools;
procedure SetItems(const AIndex: integer; const Value: IParsTools);
// public
// текущее значение
function Data: string;
... |
unit fb2txt_engine;
interface
uses MSXML2_TLB, Windows,fb2_hyph_TLB,Classes;
Type
TData= Array of byte;
TTXTConverter = class
Private
XSLVar,DOM:IXMLDOMDocument2;
ProcessorVar:IXSLProcessor;
HyphControlerVar:IFB2Hyphenator;
Function GetXSL:IXMLDOMDocument2;
Procedure SetXSL(AXSL:IXMLDOMDocum... |
unit MPWS.WebServerModule;
interface
uses
System.SysUtils, System.Classes,
Web.HTTPApp;
type
TWebServerModule = class(TWebModule)
procedure WebModuleDefaultHandlerAction(Sender: TObject; Request: TWebRequest; Response: TWebResponse; var Handled: Boolean);
end;
var
WebModuleClass: TCompon... |
unit supportptr;
interface
const
PtrSIZE=sizeof(pointer); // 32bit = 4, 64bit = 8
PtrShiftCNT=PtrSIZE shr 1; // 32bit = 2, 64bit = 4
type
ppointer=^pointer;
pint=^integer;
pbyte=^byte;
procedure MoveMemory(Destination: Pointer; Source: Pointer; Length: integer);
procedure CopyMemory(Destina... |
unit exedexes_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
nz80,main_engine,controls_engine,gfx_engine,sn_76496,ay_8910,
rom_engine,pal_engine,sound_engine,timer_engine;
function iniciar_exedexes_hw:boolean;
implementation
const
exedexes_rom:array[0..2] of tipo_roms=(
(n:'11m_ee04.bin';... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, ExtCtrls, StrUtils, StdCtrls, Unit2, Menus;
type
TTrades = packed record
Ticket : integer;
Lot : double;
Symbol : string[30];
Swap : double;
Commissi... |
unit CacheLinks;
interface
procedure SetLogPath(aPath : string);
procedure ClearCacheLog;
procedure RecordLinks(links : string; remove : boolean);
procedure SetLogVer(ver : integer);
function GetLogVer : integer;
procedure WarpLog(ver : integer);
function CreateLink(aPath, info : string; MaxTries : in... |
unit evExcept;
{ Библиотека "Эверест" }
{ Автор: Люлин А.В. }
{ Модуль: evExcept - описание исключительных ситуаций}
{ Начат: 03.06.97 17:37 }
{ $Id: evExcept.pas,v 1.17 2015/06/23 10:23:56 dinishev Exp $ }
// $Log: evExcept.pas,v $
// Revision 1.17 2015/06/23 10:23:56 dinishev
// Расширенное сообщение с номер... |
unit uSceneSellect;
interface
uses uScene, Graphics, uGraph, uButton, uResFont, uSceneDelChar;
type
TSceneSellect = class(TSceneCustom)
private
FPath: string;
FSavePos: Integer;
FTopPCFile: Integer;
FLogo: TBitmap;
FGraph: TGraph;
FTemp: TBitmap;
FFont: TResFont;
F... |
//Exercicio 99: Fazer uma função que transforme horas, minutos e segundos em segundos.
{ Solução em Portugol
Algoritmo Exercicio 99;
Var
H,M,S,RESULTADO: inteiro;
Procedimento ConversorSegundos(aux: inteiro;Var resultado: inteiro);
Var
h,m,s: inteiro;
Inicio
exiba("Digite um número de horas:");
leia(h)... |
unit MvvmControls;
{$mode objfpc}{$H+}
interface
uses
Messages, Controls, StdCtrls, Forms, MvvmInterfaces, MvvmClasses;
type
TMvvmLabel = class(TLabel, IBoundControl)
private
FBindingName : string;
procedure BindingSourceChanged(Source: IBindingSource);
function GetBindingName() : string;
proc... |
unit ZMWUtils19;
(*
ZMWUtils19.pas - Windows file functions supporting Unicode names
Copyright (C) 2009, 2010 by Russell J. Peters, Roger Aelbrecht,
Eric W. Engler and Chris Vleghert.
This file is part of TZipMaster Version 1.9.
TZipMaster is free software: you can redistribute it and/or m... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.