text stringlengths 14 6.51M |
|---|
unit bioniccommando_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
nz80,mcs51,m68000,main_engine,controls_engine,gfx_engine,ym_2151,rom_engine,
pal_engine,sound_engine;
function iniciar_bionicc:boolean;
implementation
const
bionicc_rom:array[0..3] of tipo_roms=(
(n:'tse_02.1a';l:$10000... |
//Exercício 3: Escreva um algoritmo que receba uma temperatura em graus celsius e coverta-a para graus Farenheit.
// Exibir as duas temperaturas. Fórmula : Tf = (9/5) * Tc + 32.
{ Solução em Portugol
Algoritmo Exercicio3; //Tc = temperatura em celsius
Var //Tf... |
unit EmailOrdering.Models.Config;
interface
uses
REST.Json, DCPcrypt2, IdSMTP, DCPsha1, DCPrc4;
type
/// config file for storing information related to this application
/// password in encypted using the below key and the DCPcrypt2 library
TConfig = class
private
FsmtpPort: Word;
FsmtpPasswo... |
{==============================================================================}
{ }
{ Multicast event handling class }
{ ... |
unit fmuFont;
interface
uses
// VCL
ComCtrls, StdCtrls, Controls, Classes, SysUtils, Graphics,
// This
untPages, untUtil, untDriver, Spin;
type
{ TfmFont }
TfmFont = class(TPage)
Memo: TMemo;
btnGetFontMetrics: TButton;
lblFontType: TLabel;
btnGetFontsMetrics: TButton;
seFontType: TS... |
unit Unbound.GameState.Playing;
interface
uses
Pengine.Color,
Unbound.GameState,
Unbound.Game,
Unbound.Game.Renderer,
Unbound.Game.Serialization,
Unbound.Game.WorldFeatures;
type
TGameStatePlaying = class(TGameState)
private
FGame: TGame;
FRenderer: TGameRenderer;
protected
procedure... |
unit UnitSimpleBankServerTests;
interface
uses
DUnitX.TestFramework, UnitSimpleBank;
type
[TestFixture]
TSimpleBankServerTests = class
public
[Test]
procedure TestCreateAccount;
[Test]
[TestCase('Test Normal Deposit','500,600')]
[TestCase('Test Negative Deposit','500,-600')]
procedure... |
unit PatchMemory;
Interface
uses Windows, ImageHlp, SysUtils;
var BasePointer: pointer;
type TPatchMemory = Class
Debug: Boolean; //Отладочная печать
DllNameToPatch: String; //Имя DLL, в секции импорта которой будем производить изменения
DllNameToFind: String; //Имя DLL, функцию которой мы хотим перехватить (... |
unit uMain;
{$mode delphi}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls,
{$IFDEF FPC}
registry,
{$ENDIF}
Quick.Config.Json,
Generics.Collections;
type
TMyPriority = (msLow, msMed, msHigh);
TWinPos = class
private
fPosX : Integer;
fPosY : Integer;
... |
{!DOCTOPIC}{
Math module
}
{!DOCREF} {
@method: var Math = TObjMath;
@desc: This module provides you with a few math-related functions.
}
{======| Table of contents |====================================================]
function TObjMath.Modulo(X,Y:Extended): Extended; overload;
function TObjMat... |
{* CSI 1101-X, Winter, 1999 *}
{* Assignment 6, Question #2 *}
{* Identification: Mark Sattolo, student# 428500 *}
{* tutorial group DGD-4, t.a. = Jensen Boire *}
program a6q2 (input,output) ;
type
bits = 0..1 ;
nodeptr = ^node ;
node = record
bit: bits ;
next: nodeptr
end ;
number = nodeptr ;
{ ... |
unit uTesteuKeyGen;
interface
uses
DUnitX.TestFramework, System.SysUtils;
type
[TestFixture]
TTesteuKeyGen = class(TObject)
public
[Test]
[TestCase('Teste01', '25/09/1990, 912345678912343')]
[TestCase('Teste02', '25/09/2000, 125351351351351')]
procedure testGeracaoSerial(const data:Tdate; const cnp... |
unit dcEditbtn;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, DataController, dbctrls, db, ffsException, ToolEdit, dcEdit;
type
TdcEditBtn = class(TComboEdit)
private
Fclearing: boolean;
FEditChars: TdcEditChars;
FLetterFilter: s... |
unit DM_main;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
DBTables, Db, DBXpress, SqlExpr, ZConnect, ZMySqlCon, ZTransact, ZMySqlTr,
QuickRpt, unitTheWayUtils;
type
TDMMain = class(TDataModule)
Database: TZMySqlDatabase;
Transaction: TZMySqlTransact;
p... |
unit U_Sorting.Viewer;
interface
uses
U_SortClass, U_Sort.Bubble, U_Sort.Insertion, U_Sort.Selection, U_Sort.Comb,
FMX.Controls, FMX.Layouts, System.Classes, FMX.Types, FMX.Forms, System.SysUtils,
FMX.Objects, FMX.Effects, FMX.Controls.Presentation, FMX.StdCtrls, rtti,
FMX.Filter.Effects, System.Types, FMX.Ed... |
unit ChatHistoryKeywordsPack;
{* Набор слов словаря для доступа к экземплярам контролов формы ChatHistory }
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Chat\Forms\ChatHistoryKeywordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "ChatHistoryKeywordsPack" MUID: (4A6EA397035D_Pack)
{... |
unit xn.grid.data;
interface
uses Generics.Collections, xn.grid.common, xn.list;
type
// ********************************************************************************
// ********************************************************************************
TxnGridSortItem = record
type
TKind = (... |
unit FullScreenService;
interface
uses FMX.Forms;
type
/// FullScreenWindowService that is created.
TFullScreenServiceiOS = class(TInterfacedObject, IFMXFullScreenWindowService)
private
FOriginalBoarderStyle : TFmxFormBorderStyle;
public
function GetFullScreen(const AForm: TCommonCustomForm): Boolean... |
unit Unit30;
interface
uses
System.Classes;
//uses System.Classes;
type
// {$VARPROPSETTER ON}
TCores = (cAzul, cAmarelo);
TMinhaClasse = class
private
FNumero: integer;
FItems:TStringList;
FCores:TCores;
FCor: TCores;
function GetNumero: integer;
procedure SetNumero(const Value:... |
unit tmsXlsFormulaMessages;
{$INCLUDE ..\FLXCOMPILER.INC}
{$INCLUDE ..\FLXCONFIG.INC}
interface
uses tmsUFlxMessages;
//Resources on this unit are not localized, to avoid having different
//interfaces to formulas for different languages.
//Of course, you are free to translate them to your language,
//so a use... |
(*
libltc - en+decode linear timecode
Copyright (C) 2006-2012 Robin Gareus <robin@gareus.org>
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 Software Foundation, either version 3 of the
License... |
unit kwPopReminderMove;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "ScriptEngine"
// Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwPopReminderMove.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML model... |
unit Flics;
// Copyright (c) 1996 Jorge Romero Gomez, Merchise.
interface
uses
GDI;
const
// Magic signatures
idHeaderFLI = $AF11;
idHeaderFLC = $AF12;
idPrefix = $F100;
idFrame = $F1FA;
// types of chunk in a FLI frame
idColor = 11;
idLC = 12;
idBlack = 1... |
unit SingleDriverRoute10StopsTestDataProviderUnit;
interface
uses
SysUtils,
BaseOptimizationParametersProviderUnit, AddressUnit, RouteParametersUnit,
OptimizationParametersUnit;
type
TSingleDriverRoute10StopsTestDataProvider = class(TBaseOptimizationParametersProvider)
protected
function MakeAddresses(... |
unit z80daisy;
interface
type
tipo_z80_daisy=record
ack:function(n:byte):byte;
reti:procedure(n:byte);
state:function(n:byte):byte;
device_num:byte;
end;
const
Z80_DAISY_INT=$01; // interrupt request mask */
Z80_DAISY_IEO=$02; // interrupt disable mask (IEO) */
Z80_PIO_TYPE=0;
Z80_CTC0_T... |
Program playcmfp;
{***************************************************************************
* Programme de dmonstration pour l'Unit CMFTOOL, (W) en Turbo-Pascal 6.0*
***************************************************************************
* (C) 1992 MICRO APPLICATION ... |
unit RegisterAccountResponseUnit;
interface
uses
REST.Json.Types,
GenericParametersUnit, NullableBasicTypesUnit, JSONNullableAttributeUnit,
CommonTypesUnit;
type
TRegisterAccountResponse = class(TGenericParameters)
private
[JSONName('status')]
FStatus: boolean;
[JSONName('session_id')]
[Nu... |
{ Subroutine SST_R_SYO_JTARGETS_MAKE (TARG_IN, TARG_OUT, MOD_YES, MOD_NO, MOD_ERR)
*
* Create subordinate jump targets in TARG_OUT, using the existing jump targets
* TARG_IN as a template. The MOD_xxx arguments specify modifications from
* the template for the yes, no, and error cases. The modifier arguments
... |
unit ProcessDemoMainForm;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, Buttons,
StdCtrls, ExtCtrls, Process, LCLProc, ComCtrls;
type
{ TMultipleProcessDemoForm }
TMultipleProcessDemoForm = class(TForm)
Process2:TProcess;
Process2GroupBox:TGr... |
unit ReachMatrix;
interface
const
rchNone = 0;
rchRoad = 1;
rchReach = 2;
type
TReachMapArray = array[0..99] of byte;
PReachMapArray = ^TReachMapArray;
type
TReachMatrix =
class
public
constructor Create(rCnt, cCnt : integer);
private
fRows ... |
unit evButton;
{ Библиотека "Эверест" }
{ Автор: Люлин А.В. }
{ Модуль: evButton - }
{ Начат: 07.10.1998 15:39 }
{ $Id: evButton.pas,v 1.25 2013/12/09 14:09:17 fireton Exp $ }
// $Log: evButton.pas,v $
// Revision 1.25 2013/12/09 14:09:17 fireton
// - без этого модуля не собираются проекты Архивариуса
//
// Re... |
{===============================================================================
MD5 Hash Calculation
©František Milt 15.9.2013
Version 1.2.1
===============================================================================}
unit MD5;
interface
uses
Classes;
type
TMD5Hash = Record
PartA: LongWord;
Par... |
unit GX_eDate;
interface
{$I GX_CondDefine.inc}
uses
Classes, Controls, Forms, StdCtrls,
GX_EditorExpert, GX_ConfigurationInfo, GX_BaseForm;
type
TDateExpert = class(TEditorExpert)
private
FDateFormat: string;
protected
procedure InternalSaveSettings(Settings: TExpertSettings); over... |
program Project1;
Type
str25=string[25];
TBookRec=
record
Title,Author,ISBN:str25;
Price:real;
end;
Procedure EnterNewBook(var newBook:TBookRec);
begin
writeln('Please enter the book details: ');
write('Book Name: ');
readln(newBook.title);
write('Author: ');
readln(newBook.Author);
... |
unit GX_LibrarySource;
{$I GX_CondDefine.inc}
{$IFDEF BCB}
{$OBJEXPORTALL ON}
{$ENDIF BCB}
interface
uses
ToolsAPI; // Errors here indicate that you didn't link to the DesignIde package
// This function needs to be interface-visible, otherwise
// C++Builder 5 complains about a missing EXTDEF symb... |
unit xdg_decoration_unstable_v1_protocol;
{$mode objfpc} {$H+}
{$interfaces corba}
interface
uses
Classes, Sysutils, ctypes, wayland_util, wayland_client_core, wayland_protocol, xdg_shell_unstable_v6_protocol;
type
Pzxdg_decoration_manager_v1 = Pointer;
Pzxdg_toplevel_decoration_v1 = Pointer;
Pzxdg_decorat... |
program TESTCOLL ( OUTPUT ) ;
(********)
(*$A+ *)
(********)
type POS_INT = 0 .. 30 ;
var I : POS_INT ;
TIME : INTEGER ;
static TESTDUMP : INTEGER ;
TESTCHAR : array [ 1 .. 10 ] of CHAR ;
function FIBONACCI ( J : POS_INT ) : INTEGER ;
(******************************)
(* to evaluate fibonacci # ... |
{************************************************************************}
{ TRTFLabel component }
{ for Delphi & C++Builder }
{ }
{ written by ... |
unit uImportaNFeTXT;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
StdCtrls, Buttons, CheckLst, FileCtrl, JvExStdCtrls, JvListBox,uImportaNFe,
JvDriveCtrls, Dialogs, JvBaseDlg, JvSelectDirectory, DB, funcoes,
ZAbstractRODataset, ZAbstractDataset, ZDataset, JvExContr... |
unit MDIChilds.CustomDialog;
interface
uses Windows, Classes, Graphics, Forms, Controls,
StdCtrls, ExtCtrls, MDIChilds.ProgressForm, SysUtils, TlHelp32,
JvComponentBase, JvAppStorage, JvAppRegistryStorage;
type
// использовать при регистрации: dpkCustom
TDataProcessorKind = (dpkImport, dpkCustom, dpkTools);
... |
unit LoginDialog;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
TCWODT;
type
TLoginDialog = class(TComponent)
private
fRetries: Integer;
fUserName: String;
FBDName: string;
FBDPass: string;
FBackDoorUser: boolean;
FLoggedIn: b... |
unit UFaceDetection;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs,
FMX.TMSNativeUISwitch, FMX.TMSNativeUIView, FMX.TMSNativeUIImageView,
FMX.TMSNativeUILabel, FMX.TMSNativeUIBaseControl, FMX.TMSNativeUIToolBar,
... |
{ *************************************************************************** }
{ }
{ }
{ Copyright (C) Amarildo Lacerda }
{ }
{ https://github.com/amarildolacerda }
{ }
{ }
{ *************************************************************************** }
{ }
{ Licensed under the Apache License, Version 2.0 (the "License... |
unit tappyconfig;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Graphics, LCLProc, FileUtil;
type
{ TTappyTuxConfig }
TTappyTuxConfig = class
public
function GetResourcesDir: utf8string;
end;
const
STR_LINUX_RESOURCES_FOLDER = '/home/felipe/Programas/lazarus-ccr/applications/tappyt... |
{ Subroutine SST_W_C_REARRANGE
*
* This subroutine makes a complete pass over all the opcodes and symbols and
* rearranges any internal data structures as needed to conform to C language
* restrictions or conventions.
*
* The C language does not support nested routines. Therefore, any variables
* in any pa... |
unit mcCodeInsightManager;
interface
uses
SysUtils,
ToolsAPI;
type
TCustomCodeInsightManager = class(TInterfacedObject,
IOTACodeInsightManager)
public
function GetOptionSetName: string;
{ returns a description of the language which we handle }
function GetName... |
unit Unit1;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
System.Bluetooth, System.Beacon, FMX.Controls.Presentation, FMX.StdCtrls,
FMX.Layouts,
System.Beacon.Components, System.Blueto... |
unit ULog;
interface
uses Classes;
type
PTextFile = ^TextFile;
TLog = class(TObject)
constructor Create(Path: String);
destructor Destroy;override;
procedure Append(msg:String);
function Read(fromPos, Count:Integer):String;
private
Files:TStringList;
baseD... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit sygwHelperForm;
interface
uses
Windows, Messages, SysUtils, Classes, Controls, Forms, StdCtrls, ExtCtrls,
BaseForm, zsHelperMessage;
type
TfrmZSHelper = class(TfrmBase)
btnbuy: TButton;
mmo1: TMemo;
pb1: TPaintBox;
edtLeft: TEdit;
edtTop: TEdit;
btnMain: TButton;
btnlaunch: TBu... |
{
Double commander
-------------------------------------------------------------------------
Executes file operations with administrator privileges
Copyright (C) 2016 Alexander Koblov (alexx2000@mail.ru)
This library is free software; you can redistribute it and/or
modify it under the terms ... |
object frmConnection: TfrmConnection
Left = 480
Top = 345
BorderStyle = bsDialog
Caption = 'Connection Settings'
ClientHeight = 167
ClientWidth = 369
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = 'MS Sans Serif'
Font.Style = ... |
unit VTiffHigherLevel;
interface
uses
Windows, SysUtils, Classes, Graphics, LibTiffDelphi;
{uses LibTiffDelphi, download it here:
http://www.awaresystems.be/imaging/tiff/delphi.html }
procedure WriteBmpToTiff(h: HBitmap; fn: PAnsiChar);
function ReadTIFFIntoBitmap(
S: TStream; B: TBitmap;
Page: Integer; ... |
unit vos_win32_hw_power;
interface
implementation
(*
GetSystemPowerStatus
wmi
Select EstimatedChargeRemaining from Win32_Battery
var
SPS: TSystemPowerStatus;
begin
GetSystemPowerStatus(SPS);
OutputDebugString(PWideChar('电源状态:' + IntToStr(SPS.ACLineStatus)));
OutputDebugString(PWideChar('电池状态:' + IntToStr(S... |
unit tmsUXlsTokenArray;
{$INCLUDE ..\FLXCOMPILER.INC}
interface
uses tmsXlsMessages, SysUtils, Math;
type
ETokenException= class (EExcelException)
public
Token: integer;
constructor Create(const aToken: integer;const aDummy1: integer; const ADummy2: integer);
end;
//**********************************... |
program convert2;
{$mode objfpc}{$H+}
uses
Interfaces,
process,
Classes, SysUtils, CustApp, CsvDocument, Sqlite3DS, FileUtil;
type
{ TConvert2 }
TConvert2 = class(TCustomApplication)
private
CSV: TCSVDocument;
SQlite: TSqlite3Dataset;
protected
procedure DoRun; override;
procedure Gen... |
unit nsBaseNode;
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\Data\Tree\nsBaseNode.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TnsBaseNode" MUID: (4ADDF4470087)
{$Include w:\garant6x\implementation\Garant\nsDefine.inc}
interface
uses
l3IntfUses
, nsPrimCacheableNode
, l3Tree_TLB
, BaseTreeS... |
unit GraphEditors;
interface
uses
Classes, Forms, Dialogs, ExtDlgs, DsgnIntf, TypInfo, SysUtils,
CanvasBmp, SpeedBmp, PlayerAnim, PlayerFlic, PlayerRle, PlayerGif;
type
TSpeedBitmapProperty =
class( TClassProperty )
public
procedure SetValue( const Value: string ); ... |
unit uROWebsocketServer;
interface
uses
Classes,
//copied from: http://code.google.com/p/bauglir-websocket/downloads/detail?name=BauglirWebSocket2_pascal_library.2.0.4.zip
WebSocket2, CustomServer2,
uROServer, uROBaseHTTPServer, SysUtils;
type
TROWebsocketServer = class(TROServer)
protected
... |
unit View.CadastroEnregadores;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, dxSkinsCore,
dxSkinsDefaultPainters, cxClasses, dxLayoutContainer, d... |
{******************************************************************************}
{ }
{ Delphi FB4D Library }
{ Copyright (c) 2018-2022 Christoph Schneider ... |
unit VisualControls;
interface
uses
Classes, Controls, Windows, SysUtils, Messages, ExtCtrls;
//TVisualControl must be the ancestor of any form that pretending to use as a control,
//setting IsControl property to true (Viewing a Form as Text).
//See TControl.IsControl property in Delphi help.
/... |
unit FastBitmap;
{$mode objfpc}{$H+}
interface
uses
Classes;
type
TFastBitmapPixel = integer;
(*TFastBitmapPixel = record
Blue: Byte;
Green: Byte;
Red: Byte;
end;*)
PFastBitmapPixel = ^TFastBitmapPixel;
TFastBitmapPixelComponents = packed record
B, G, R, A: byte;
end;
const
FastPi... |
unit usvcServidorSite;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes, Vcl.SvcMgr, System.Win.Registry, Horse, Horse.CORS,
Horse.Jhonson, Horse.OctetStream, Horse.HandleException, Horse.Commons, Horse.Provider.Console, uLogArquivo,
Firedac.Stan.Option, Firedac.Stan.... |
unit UAccount;
interface
uses
UAccountInfo, URawBytes;
type
TAccount = Record
account: Cardinal; // FIXED value. Account number
accountInfo : TAccountInfo;
balance: UInt64; // Balance, always >= 0
updated_block: Cardinal; // Number of block where was updated
n_operation: Card... |
unit m3DBDocumentPart;
{* Реализация части документа. }
// Модуль: "w:\common\components\rtl\Garant\m3\m3DBDocumentPart.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "Tm3DBDocumentPart" MUID: (4742DCFF02DC)
{$Include w:\common\components\rtl\Garant\m3\m3Define.inc}
interface
uses
l3IntfUses
, m3BaseObject
... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit kinveyDataModule;
interface
uses
System.SysUtils, System.Classes, IPPeerClient, REST.OpenSSL,
REST.Backend.ServiceTypes, REST.Backend.MetaTypes, System.JSON,
REST.Backend.KinveyServices, REST.Backend.Providers,
REST.Backend.ServiceComponents, REST.Backend.KinveyProvider;
type
TDataModule1 = class(TDat... |
unit RSPageControl;
{ *********************************************************************** }
{ }
{ RSPak Copyright (c) Rozhenko Sergey }
{ http://sites.google.com/site/sergroj/ ... |
unit furqExprEval;
interface
uses
Variants,
furqTypes,
furqContext,
JclStringLists;
type
TfurqToken = (
// сущности языка
etIdentifier, etNumber, etString,
// действия (арифметические и логические)
etPlus, etMinus, etDivide, etMultiply,
etAnd, etOr, etNot,
// операции сравнения
etEqual, etNotEqu... |
{
$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... |
// --------------------------------------------------------------------------
// Archivo del Proyecto Ventas
// Página del proyecto: http://sourceforge.net/projects/ventas
// --------------------------------------------------------------------------
// Este archivo puede ser distribuido y/o modificado bajo lo termi... |
inherited dmOsAutomaticas: TdmOsAutomaticas
OldCreateOrder = True
inherited qryManutencao: TIBCQuery
SQLInsert.Strings = (
'INSERT INTO STWOPETAUTOS'
' (INDICADOR, TIPO_FRETE, REMETENTE, DESTINATARIO, REDESPACHANTE' +
', CONSIGNATARIO, RESPONSAVEL, OS_VEICULO, VEICULO, MOTORISTA, U... |
unit tstNSRCGenerator;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "DailyTest"
// Модуль: "w:/common/components/rtl/Garant/Daily/tstNSRCGenerator.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML model, root eleme... |
// --------------------------------------------------------------------------
// Archivo del Proyecto Ventas
// Página del proyecto: http://sourceforge.net/projects/ventas
// --------------------------------------------------------------------------
// Este archivo puede ser distribuido y/o modificado bajo lo terminos ... |
unit Model.VerbaCEP;
interface
type
TVerbaCEP = class
private
var
FID: System.Integer;
FCEPInicial: System.string;
FCEPFinal: System.string;
FVerba: System.Double;
FGrupo: System.Integer;
FFaixa: System.Integer;
FLog: System.string;
public
property ID: ... |
unit msmOperation;
// Модуль: "w:\common\components\gui\Garant\msm\msmOperation.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TmsmOperation" MUID: (57CEB1C1010D)
{$Include w:\common\components\msm.inc}
interface
uses
l3IntfUses
, l3ProtoObject
, msmOperations
, msmModels
{$If NOT Defined(NoVCL)}
, Actn... |
unit abstract_tree_comand;
interface
//чтобы историю изменений можно было хранить вместе со всем остальным
TAbstractTreeCommand=class(TAbstractCommand)
private
fNext,fPrev,fBranch: TAbstractTreeCommand;
fTurnLeft: Boolean;
protected
fActiveBranch: Boolean;
public
procedure Clear;... |
unit LocalOrdersUnit;
interface
uses Classes, Contnrs, SysUtils, DbUnit;
type
// Служебная записка
TLocOrderItem = class(TDbItem)
public
From: string;
Dest: string;
Text: string;
Reply: string;
Author: string;
Signed: boolean;
//constructor Create();
//destructor ... |
unit uMemoEditor;
interface
uses
uEditorBase, Classes, SysUtils, StdCtrls, Controls, Graphics, Dialogs;
type
TMemoEditor = Class(TEditorBase)
private
FMemo: TMemo;
protected
procedure DoLoadFromFile(FileName: string); override;
function DoSaveFile(FileName: string): Boolean; override;
// 判断是否需... |
unit uRevendaVO;
interface
type
TRevendaVO = class
private
FAtivo: Boolean;
FCodigo: Integer;
FId: Integer;
FIdStr: string;
FNome: string;
public
property Ativo: Boolean read FAtivo write FAtivo;
property Codigo: Integer read FCodigo write FCodigo;
property Id: Integer read FId w... |
{ ***************************************************************************
Copyright (c) 2016-2021 Kike Pérez
Unit : Quick.HttpClient
Description : Json Http Client
Author : Kike Pérez
Version : 1.1
Created : 22/05/2018
Modified : 02/08/2021
This file is part of QuickLib: ht... |
{***********************************************************************************************************************
*
* TERRA Game Engine
* ==========================================
*
* Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com)
*
***************************************************... |
unit MainU;
interface
uses
Winapi.Windows, System.Actions, Winapi.Messages, System.SysUtils, System.UITypes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Grids, Vcl.ActnList, System.Classes,
Vcl.AppEvnts,
TileU, GameBoardU, Vcl.ExtCtrls, TransparentPanelU;
type
TFormMain = ... |
program Candy;
{$F+}
type
shape = (round, rectangular, triangular) ;
filling = (liquor, nuts, nougat) ;
candy_fxn = function(dim1, dim2:real):real ;
const
ShapeString : array [shape] of string = ('round', 'rectangular', 'triangular');
FillString : array [filling] of string = ('liquor... |
object Form3: TForm3
Left = 295
Top = 255
BorderStyle = bsDialog
Caption = 'Informa'#231#245'es de Jogo'
ClientHeight = 147
ClientWidth = 439
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder ... |
unit TickServiceMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.SvcMgr, Vcl.Dialogs,
Vcl.ExtCtrls,
OverbyteApSrvCli,
TicklerTypes,
TTSDirectDaapi,
ProgramSettings,
TickServCore;
type
TsvcTicklerServer = class(TService)
procedu... |
unit TestWSController;
{$ifndef VER3}{$fatal WS tests requires FPC 3}{$endif}
{$mode objfpc}{$H+}
interface
uses
Classes,
typinfo,
HTTPDefs,
fpcunit,
JCoreWSIntf,
JCoreWSInvokers,
JCoreWSRequest,
JCoreWSController;
type
{ TTestWSMethodRegistry }
TTestWSMethodRegistry = class(TTestCase)
priva... |
unit main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, Menus;
type
TForm1 = class(TForm)
Button1: TButton;
procedure FormCreate(Sender: TObject);
procedure FormDestroy(Sender: TObject);
procedure Button1Click(Sender: TOb... |
unit UPrimsMazeGenerator; //Fully annotated
interface
uses
Classes, SysUtils, UMazeHandler, UListHandler, UInterface, UAStarSearch;
type
BoolArray = Array of Boolean;
procedure Generate(Maze: TMazeHandler);
procedure MoveItem(Position: integer; FromThis, ToThis: TListHandler);
procedure SetIn(firstC... |
unit BaseFormsDesign;
interface
{$i BaseForms.inc}
procedure Register;
implementation
{$R 'BaseFormsDesign.dcr'}
uses
BaseForms,
Classes, SysUtils, Windows, Graphics,
DesignIntf, DesignEditors, ToolsApi, TypInfo, DMForm, WCtlForm;
{ misc }
procedure AddUnitToUses(Module: IOTAModule; UnitName: string);
con... |
unit HighScoreU;
interface
uses
System.Win.Registry, WinApi.Windows;
type
THighScoreRecord = record
Player: String;
Score: Integer;
end;
THighScore = class
private
const
KEY_PLAYER: String = 'Player';
KEY_SCORE: String = 'Score';
Section = 'High Score';
var
... |
unit DW.Template.CustomPlatform;
{*******************************************************}
{ }
{ Kastri Free }
{ }
{ DelphiWorlds Cross-Platform Library ... |
unit m3StgMgr;
{* Классы-менеджеры для работы с IStorage. }
// $Id: m3stgmgr.pas,v 1.60 2016/04/20 14:57:20 lulin Exp $
// $Log: m3stgmgr.pas,v $
// Revision 1.60 2016/04/20 14:57:20 lulin
// - делаем так, чтобы тест индексации мог работать по нескольку раз и без предварительных пасов руками.
//
// Revision 1.59 2... |
// -----------------------------------------------------------------------------
// Project: bitmap resampler
// Module: resample
// Description: Interpolated Bitmap Resampling using filters.
// Version: 01.03
// Release: 1
// Date: 19-DEC-2009
// Target: Free Pascal 2.2.4, Lazarus 0.9.29
// Author(s): anme: Anders Mel... |
$TITLE M68IO - M68000 I/O Routines
module m68io options check, special (word);
$PAGE includes
$SYSTEM pascal
$SYSTEM pasist
$SYSTEM ptmcon
$SYSTEM paspt.typ
$SYSTEM pasif.typ
$SYSTEM m68cg.typ
$SYSTEM m68gen
$SYSTEM m68cgu
$SYSTEM m68set
$SYSTEM m68str
$SYSTEM m68utl
$SYSTEM m68exp
$PAGE locals
var
g... |
unit testfile_GenericClass;
interface
type
TGenericArray<T> = array of T;
type
TMyData<T> = class(TObject)
public
function Add(const aExistingSet: TGenericArray<T>;
const aNewValue: T): TGenericArray<T>;
end;
implementation
{ TMyData<T> }
function TMyData<T>.Add(const aExisting... |
unit Model.Generator.Params;
interface
uses
System.SysUtils,
Model.Interfaces;
type
TModelGeneratorParams = class(TInterfacedObject, iModelGeneratorParams)
private
[weak]
FParent : iModelGenerator;
FDisplay : TProc<string>;
FDiretorio : String;
FPrefixo : String;
... |
unit uCategoriaController;
interface
uses
System.SysUtils, uDMCategoria, uRegras, uEnumerador, uDM, Data.DB, Vcl.Forms, uFuncoesSIDomper;
type
TCategoriaController = class
private
FModel: TDMCategoria;
FOperacao: TOperacao;
procedure Post;
public
procedure Filtrar(ACampo, ATexto, AAtivo: stri... |
unit Rule_STD;
interface
uses
BaseRule,
BaseRuleData;
(*//
STD
含义:求标准差。
用法:STD(X,N)为X的N日估算标准差。
//*)
type
TRule_STD = class(TBaseRule)
protected
FParamN: Word;
fFloatRet: PArray;
function GetStdValueF(AIndex: integer): double;
procedure SetParamN(const Value: Word);
procedure ComputeInt64;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.