text
stringlengths
14
6.51M
unit DLLList; interface uses System.Generics.Collections; type TDLLList = class(TList<string>) procedure AddUniq(const AName: string); end; implementation uses System.SysUtils; procedure TDLLList.AddUniq(const AName: string); var s: string; i: Integer; begin s := AnsiUpperCase(AName); i := In...
unit clContatosCadastro; interface uses clcontatos, clConexao, Vcl.Dialogs, System.SysUtils; type TContatosCadastro = class(TContatos) protected FCadastro: Integer; FPadrao: String; FSequencia: Integer; conexao: TConexao; FDivulgar: String; private procedure SetCadastro(val: Integer); ...
unit stax; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Generics.Collections, stax.helpertypes; type TExecutor = class; ETaskTerminatedException = class(Exception); ETaskNotActiveException = class(Exception); TTaskStatus = (tsNone=0, tsScheduled, tsRescheduled, tsRunning, tsFinished, tsError); ...
{ behavior3delphi - a Behavior3 client library (Behavior Trees) for Delphi by Dennis D. Spreen <dennis@spreendigital.de> see Behavior3.pas header for full license information } unit Behavior3.Core.BaseNode; interface uses System.Rtti, System.JSON, System.Generics.Collections, System.Generics.Defaults, Behavio...
unit uFrmMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.ComCtrls, Vcl.StdCtrls , uData, qmsgpack, QWorker, HPSocketSDKUnit; type TFrmMain = class(TForm) memLog: TMemo; Status...
{ *************************************************************************** } { } { Audio Tools Library } { Class TFLACfile - for manipulating with FLAC file information } ...
{ Convert Leap Websocket data (JSON) to Leap Data Structures Copyright (C) 2013 Michael Van Canneyt (michael@freepascal.org); 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 Foundation; either v...
// defines a stack and a stackstack for the code formatter based on a pseudo template // Original Author: Egbert van Nes (http://www.dow.wau.nl/aew/People/Egbert_van_Nes.html) // Contributors: Thomas Mueller (http://www.dummzeuch.de) unit GX_CodeFormatterStack; interface uses GX_CodeFormatterType...
PROGRAM Practice(INPUT, OUTPUT); { Процедуры с лекции про INTEGER } PROCEDURE Sum(VAR I,N,S: INTEGER); BEGIN {Sum} READ(N); S := 0; I := 1; WHILE I <= N DO BEGIN S := S + 1; I := I + 1 END; WRITELN('Сумма первых', N:2, ':', S:3) END; {Sum} PROCEDURE StringToInteger(VAR F: TEXT; VAR Base...
unit seModalSupport; // Модуль: "w:\common\components\rtl\Garant\ScriptEngine\seModalSupport.pas" // Стереотип: "UtilityPack" // Элемент модели: "seModalSupport" MUID: (4FC7541C02BA) {$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc} interface {$If NOT Defined(NoScripts)} uses l3IntfUses , tfwSc...
{ rxConfigValues unit Copyright (C) 2005-2010 Lagunov Aleksey alexs@hotbox.ru 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 Foundation; eit...
unit ExtIDEM_DEBUG; {$mode objfpc}{$H+} interface uses MenuIntf, Controls, IDEWindowIntf, Dialogs, SysUtils, Forms, StdCtrls, ActnList, Classes; type pMethod=^tMethod; tExtIDEM_wnd_DEBUG = class(TForm) a_StayOnTop: TAction; a_Clear: TAction; a_Save: TAction; ActionList1: ...
{**********************************************************************} { } { "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 comp...
unit NewsFileUtils_TLB; { This file contains pascal declarations imported from a type library. This file will be written during each import or refresh of the type library editor. Changes to this file will be discarded during the refresh process. } { NewsFileUtils Library } { Version 1.0 } interface uses Wind...
unit UJSON; interface uses System.Generics.Collections, System.JSON.Serializers, UStudent, Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TForm1 = class(TForm) MyMemo: TMemo; btnMyDeSerier: TBut...
unit NtUtils.Security.Sid; interface uses Winapi.WinNt, Winapi.securitybaseapi, NtUtils.Exceptions; type TTranslatedName = record DomainName, UserName: String; SidType: TSidNameUse; function FullName: String; end; ISid = interface function Sid: PSid; function SidLength: Cardinal; fun...
unit WormsWorld; interface Uses Types, wwClasses, wwWorms, wwMinds; type TWormsField = class (TwwWorld) private FInstantRessurecctTargets: Boolean; FInstantRessurecctWorms: Boolean; FMaxTargetCount: Integer; FMaxWormsCount: Integer; FMindCenter: TwwMindCenter; function GetTargetCount: In...
unit A4onTypeUnit; interface uses SysUtils, Classes; type TCustomerInfo = record CUSTOMER_ID: Integer; FIO: String; STREET_ID: Integer; STREET: String; HOUSE_ID: Integer; HOUSE_no: String; FLAT_NO: String; cust_code: String; Account_No: String; CUST_STATE_DESCR: String; ...
unit vgAnimation; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "VGScene" // Модуль: "w:/common/components/rtl/external/VGScene/NOT_FINISHED_vgAnimation.pas" // Родные Delphi интерфейсы (.pas) // Generated from UML model, root ...
{ Subroutine SST_R_PAS_DOIT (FNAM, GNAM, STAT) * * Read the PASCAL input file FNAM into the in-memory data structures. GNAM is * returned as the generic leaf name of the input file. } module sst_r_pas_doit; define sst_r_pas_doit; %include 'sst_r_pas.ins.pas'; procedure sst_r_pas_doit ( {read input s...
unit UMazeGame; // Fully annotated interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Grids, Vcl.StdCtrls, Vcl.Menus, UMazeHandler, UPrimsMazeGenerator, UAStarSearch, UInterface, Vcl.ExtCtrls, Dat...
procedure putstr(source:string;count:integer;dest:string;offset:integer); extern; {PUTSTR copies a piece of a string into another string. source - copies this string from its beginning count - for this many characters dest - to this string offset - starting this many characters from its beginning } function fi...
unit UFormMain; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ATFileNotificationSimple, TntStdCtrls, TntDialogs; type TFormMain = class(TForm) edFileName: TTntEdit; btnBrowseFile: TButton; Label2: TLabel; OpenDialog1: TTntOpenDialog; btnW...
unit Configuracoes; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP, IOUtils, DBXJSON, IdGlobal, pngimage, ExtCtrls, ShellApi, xmldom, XMLIntf, msxmldom, XMLDoc; type ...
unit uXPTaskbar; interface uses Classes, QExtCtrls, uCommon, QControls, uXPStartButton, uXPSysTray, uXPTaskband, uWMConsts, QDialogs, SysUtils, QForms; type TXPSizeGrip=class; TXPTaskbar=class(TPanel) public leftGrip:TXPSizeGrip; startButton: TXPStartButton; systr...
program Aufgabe9142 {input,output}; {Eingabe eines Feldes, dann Pruefung ob Feld unsortiert, sortiert oder sortiert duplikatsfrei ist, Ausgabe des Ergebnisses} const FELDMAX = 5; type tBereich = 1 .. FELDMAX; tFeld = Array [tBereich] of integer; tRueckgabe = (unsortiert, sortiert, sortiertDuplikatfrei);...
unit SetOpciones; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, JvExStdCtrls, JvCheckBox, Buttons, Inifiles; type TFSetOpciones = class(TForm) cbRecibo: TJvCheckBox; cbNCred: TJvCheckBox; cbDeposito: TJvCheckBox; btnOK: TBitBtn; ...
unit udmContatosSac; interface uses Windows, System.UITypes,Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, udmPadrao, DBAccess, IBC, DB, MemDS; type TdmContatosSac = class(TdmPadrao) qryManutencaoCODIGO: TStringField; qryManutencaoNOME: TStringField; qryManutencaoENDEREC...
unit FFSPROCDEFTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TFFSPROCDEFRecord = record PReportID: Integer; PListKey: String[10]; PType: Integer; PDescription: String[100]; End; TFFSPROCDEFBuffer = class(TDataBuf) protected funct...
unit evCustomEdit; {* Строка ввода. } // Модуль: "w:\common\components\gui\Garant\Everest\evCustomEdit.pas" // Стереотип: "GuiControl" // Элемент модели: "TevCustomEdit" MUID: (4829D7E80085) {$Include w:\common\components\gui\Garant\Everest\evDefine.inc} interface uses l3IntfUses , evCustomMemo , Classes , l3I...
unit NullableArrayInterceptorUnit; interface uses Windows, REST.JsonReflect, Rtti, SysUtils, System.JSON, System.TypInfo, System.Generics.Collections; type TNullableArrayIntermediateObjectA = class private FIsRequired: boolean; FValue: TArray<TObject>; public property IsRequired: b...
unit Model.ControleAWB; interface uses Common.ENum, FireDAC.Comp.Client, FireDAC.Comp.DataSet, Data.DB, DAO.Conexao; type TControleAWB = class private FAWB2: String; FAWB1: String; FID: integer; FCEP: String; FRemessa: String; FAcao: Tacao; FConexao: TConexao; FOperacao: String; ...
unit uReturSupplier; interface uses uModel, uPenerimaanBarang, uSupplier, System.Classes, System.SysUtils, System.Generics.Collections; type {$TYPEINFO ON} TReturSupplierItem = class; TReturSupplier = class(TAppObject) private FCabang: TCabang; FDiskon: Double; FGudang: TGudang; FIsJurnaliz...
{$include lem_directives.inc} unit LemStyle; interface uses Classes, {$ifdef flexi}LemDosStructures,{$endif} LemLevel, LemGraphicSet, LemAnimationSet, LemLevelSystem, LemMusicSystem; type TBaseLemmingStyle = class(TPersistent) published private protected fStyleName : strin...
unit ufrPlugins; 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.ListView.Types, FMX.Menus, FMX.StdActns, FMX.MediaLibrary.Actions, System.Actions, FMX.ActnList, FMX.ListView, uPl...
{ TForge Library Copyright (c) Sergey Kasandrov 1997, 2018 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 U...
unit FindForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Mask, ToolEdit; type TFindMainForm = class(TForm) StartButton: TButton; FindDriSelector: TDirectoryEdit; Progress: TLabel; procedure StartButtonClick(Sender: TObject); p...
unit RasterImageCommands; interface uses classes,command_class_lib,Image_on_demand,pngImageAdvanced,graphics,types; type TRasterImageDocumentCommand = class (TAbstractTreeCommand) public function GetDoc: TRasterImageDocument; end; TPatchImageCommand = class (TRasterImageDocumentCommand) //базовая команда пр...
unit uMoon; {$mode delphi} interface uses glr_render, glr_render2d, glr_utils, glr_math, uPhysics2d; type { TLandingZone } TLandingZone = packed record Pos, Size: TglrVec2f; Multiply: Byte; Sprite: TglrSprite; MultText: TglrText; procedure Update(); end; ...
{ *********************************************************************************** } { * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.co...
unit winipc; interface uses Windows, Messages, Classes, SysUtils; const //Message types mtUnknown = 0; mtString = 1; type TMessageType = LongInt; { TWinIPCClient } TWinIPCClient = class (TComponent) private FActive: Boolean; FServerID: String; FServerInstance: ...
unit RedactionsKeywordsPack; {* Набор слов словаря для доступа к экземплярам контролов формы Redactions } // Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Document\Forms\RedactionsKeywordsPack.pas" // Стереотип: "ScriptKeywordsPack" // Элемент модели: "RedactionsKeywordsPack" MUID: (4A8EE2890012_Pack) {...
{******************************************************************} { MD5 Hashsum Evaluation Unit For Borland Delphi } { } { Copyright © 2002 by Dimka Maslov } { E-mail: mail@endimus.com, ...
unit Fli2Rle; interface uses Classes, Windows, Dibs, Flics, FliPlayback, FliPlay; type TFliToRleDecoder = class( TFliPlayer ) protected fRleHeader : PDib; fRleEncodedImage : pointer; fUseRleDecoder : boolean; fPartialUpdate : boolean; ...
object TClaveDlg: TTClaveDlg Left = 301 Top = 206 ActiveControl = Nombre BorderStyle = bsDialog Caption = 'Ingrese su Nombre y Clave' ClientHeight = 110 ClientWidth = 384 Color = clBtnFace ParentFont = True OldCreateOrder = True Position = poScreenCenter OnActivate = FormActivate OnCreate = Fo...
unit Styles; 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.StdCtrls, FMX.Layouts, FMX.Edit; type TForm1 = class(TForm) Layout1: TLayout; Label1: TLabel; cbStyles: TComb...
unit Unit1; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Controls.Presentation, FMX.StdCtrls, FMX.ScrollBox, FMX.Memo, DW.Notifications; type TForm1 = class(TForm) ImmediateButt...
unit Benjamim.Payload.Interfaces; interface uses {$IF DEFINED(FPC)} fpjson, Variants; {$ELSE} System.Variants, System.JSON; {$ENDIF} Type iPayload = interface ['{A14B0231-CAB9-40BF-A0D1-91552D33FEA6}'] function Clear: iPayload; function Add(const aKey: string; const aValue: string; aFormat:...
{ $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 uPublic; interface uses Windows, Messages; type TCommType = ( ctNone, //--无类型 ctResult, //--返回结果 ctGroupName, //--设备端告诉中间服自己的组标识 ctSendMsg, //--发送短信 ctRecvMsg //--接收短信,设备端收到短信后返回给服务端 ); //--处理结果 TResultState = ( rsSuccess, ...
{******************************************************************************* 作者: dmzn@163.com 2011-11-30 描述: 商品订单收货 *******************************************************************************} unit UFormProductGet; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Control...
{ *************************************************************************** } { } { } { Copyright (C) Amarildo Lacerda } { } { https://github.com/amarildolacerda } { } { } { *************************************************************************** } { } { Licensed under the Apache License, Version 2.0 (the "License...
{ Faça um algoritmo utilizando sub-rotinas que leia um vetor de registros com os campos: nome , P1, P2, P3 e P4 de N(N<=50) alunos de um colégio. Após a leitura faça: ? Imprima o Nome e a média dos alunos aprovados (Média aritmética >= 5.0). ? Imprima o Nome e a média dos alunos em Recuperação (3.0 >= Média < 5.0). ? ...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, IdMessage, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdMessageClient, IdSMTP, StdCtrls, Buttons, ComCtrls, ImgList, IniFiles; type TForm1 = class(TForm) EdAssunto: TEdit; ...
unit m3BaseHeaderStream; // Модуль: "w:\common\components\rtl\Garant\m3\m3BaseHeaderStream.pas" // Стереотип: "SimpleClass" // Элемент модели: "Tm3BaseHeaderStream" MUID: (53FF134A03BA) {$Include w:\common\components\rtl\Garant\m3\m3Define.inc} interface uses l3IntfUses , m3LinkedStream , Classes , m3Const ; c...
unit ExceptionMaganer; interface uses System.SysUtils, Forms; type TExceptionManager = class private FLogfile : String; public constructor create; procedure TrataException(Sender: TObject; E: Exception); procedure GravarLog(Value: String); end; implementation...
unit nevVScrollerSpy; // Модуль: "w:\common\components\gui\Garant\Everest\new\nevVScrollerSpy.pas" // Стереотип: "SimpleClass" // Элемент модели: "TnevVScrollerSpy" MUID: (4DAEB03E0034) {$Include w:\common\components\gui\Garant\Everest\evDefine.inc} interface uses l3IntfUses , l3ProtoObject , l3Filer ; type Tn...
{ *************************************************************************** Copyright (c) 2016-2021 Kike Pérez Unit : Quick.Process Description : Process functions Author : Kike Pérez Version : 1.5 Created : 14/07/2017 Modified : 08/07/2021 This file is part of QuickLib: http...
unit GX_EnhancedEditor; interface {$I GX_CondDefine.inc} // This is implemented as a TWinControl to ease design-time usage uses Windows, Classes, Graphics, Controls, SynEdit, SynMemo, SynEditTypes, SynEditTextBuffer, GX_SynMemoUtils, GX_GenericUtils; type TGxEnhancedEditor = class(TWinControl...
unit FiltersUnit; {$Z4} //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "GblAdapterLib" // Модуль: "w:/garant6x/implementation/Garant/GblAdapterLib/FiltersUnit.pas" // Delphi интерфейсы для адаптера (.pas) // Generated from UML m...
unit UDemo; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.TMSBaseControl, FMX.Layouts, FMX.TreeView, FMX.Grid, FMX.Printer, Data.Bind.EngExt, Fmx.Bind.DBEngExt, System.Rtti, System.Bindings.Outputs, Data.Bind...
{ Version 11.7 Copyright (c) 2008-2016 by HtmlViewer Team Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify...
unit Tablefm; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, System.UIConsts, System.Math, System.Generics.Collections, FMX.Objects, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Graphics, ClientModuleUnit1, FMX.StdCtrls, FMX.TabControl, UModel, UMyS...
unit PrimAdminMain_utEmptyMainWindow_UserType; {* Главное окно } // Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\PrimAdminMain_utEmptyMainWindow_UserType.pas" // Стереотип: "UserType" // Элемент модели: "utEmptyMainWindow" MUID: (4BD84DBE0387) {$Include w:\garant6x\implementation\Garant\nsDefine.inc} inter...
unit MFichas.Model.GrupoProduto.Metodos.Buscar; interface uses System.SysUtils, MFichas.Model.GrupoProduto.Interfaces, MFichas.Controller.Types, FireDAC.Comp.Client, FireDAC.Comp.DataSet; type TModelGrupoProdutoMetodosBuscar = class(TInterfacedObject, iModelGrupoProdutoMetodosBuscar) private [we...
{ 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 rxDialogs; interface {$Include l3XE.inc} uses Classes ; function BrowseDirectory(var AFolderName: AnsiString; const DlgText: AnsiString; AHelpContext: THelpContext): Boolean; implementation uses Windows, Messages, ShellAPI, Consts, SysUtils, Controls, Forms, FileCtrl, ComObj, A...
unit libpostproc; {$IFDEF FPC} {$MODE Delphi} {$ENDIF} interface Uses ffmpeg_types; {$I ffmpeg.inc} (* * * Return the LIBPOSTPROC_VERSION_INT constant. *) // unsigned postproc_version(void); function postproc_version(): unsigned; cdecl; external postproc_dll; (* * * Return the libpostproc build-time configu...
unit DamFileGenerator; interface uses DamUnit; procedure GenerateFile(Dam: TDam; const Template: string); implementation uses {$IFDEF FPC} Classes, SysUtils, LazIDEIntf {$ELSE} System.Classes, System.SysUtils, ToolsAPI {$ENDIF}; procedure GenerateFile(Dam: TDam; const Template: string); var {$IFNDEF FPC} Mo...
unit uChamadoOcorrenciaVO; interface uses System.SysUtils, System.Generics.Collections; type TChamadoOcorrenciaVO = class private FIdUsuarioColab2: Integer; FIdChamado: Integer; FIdUsuarioColab3: Integer; FVersao: string; FIdUsuarioColab1: Integer; FIdUsuario: Integer; FTotalHoras: ...
unit abstract_graph_command; interface uses abstract_command_lib, Hash_wrapper,classes; type TCommandState = (csForward,csBackward,csDummy); TAbstractGraphCommand = class (TAbstractCommand) private fPrevState,fNextState: THash; //ссылки на состояния, только они нам и нужны для восст. //структуры графа ...
unit CompanyForma; interface {$I defines.inc} uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ActnList, DB, ComCtrls, DBGridEh, Grids, ToolWin, GridsEh, ToolCtrlsEh, DBGridEhToolCtrls, DBAxisGridsEh, System.Actions, DBGridEhGrouping, DynVarsEh, EhLibVCL, Vcl.Mask, ...
unit QuickList_DayData; interface uses QuickSortList, define_stock_quotes; type PDayDataListItem = ^TDayDataListItem; TDayDataListItem = record DealDate: Word; DayData : PRT_Quote_Day; end; { 行情分钟线数据访问 } TDayDataList = class(TALBaseQuickSortList) public ...
unit TestServerMain; interface uses ShareMem, Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, RDOInterfaces, WinSockRDOConnectionsServer, RDOServer; type TTestServerForm = class(TForm) StartServer: TButton; StopServer: TButton; Edit1: TEdit; L...
(* Michael Neuhold 31.10.2018 Test with one dim. array with element datatype CHAR. *) PROGRAM ArrayTest; CONST max = 100; TYPE CharArray = Array[1..max] OF CHAR; PROCEDURE FillArray(VAR a: CharArray; n: INTEGER); VAR i : INTEGER; BEGIN Randomize; (* Prozedur Aufruf ohne Übergabeparametern *) FOR i := 1 TO...
unit uDisciplina; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uBase, Data.DB, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt....
// 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...
// the actual code formatter expert, called either from GX_Formatter or GX_eCodeFormatter // Original Author: Thomas Mueller (http://www.dummzeuch.de) // Contributors: // * Ulrich Gerhardt - 2007-08-11: added determining the settings via an external .ini file // * Ulrich Gerhardt - 2009-09-06: support for stand...
unit Model.PlanilhaListagemJornal; interface uses System.Generics.Collections, System.Classes, System.SysUtils, Forms, Windows, Common.Utils; type /// <version>1.0</version> /// <since>09/2019</since> /// <author>Celso Mutti</author> TPlanilhaListagemJornal = class private FAgente: String; FNomeAge...
(* * The contents of this file are subject to the Mozilla Public License * Version 1.1 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" ...
unit VisualClasses; interface function GetVisualRootPath : string; procedure SetCacheRootPath(const aPath : string); implementation var VisualRoot : string = ''; function GetVisualRootPath : string; begin if VisualRoot <> '' then SetVisualRootPath(CacheRegistryData.ReadCacheValue(''...
unit UDMCobEletronica; interface uses SysUtils, Classes, FMTBcd, DB, DBClient, Provider, SqlExpr, DBTables, ACBrBoleto, ACBrBoletoFCFortesFr, ACBrBase, ACBrUtil, strUtils, Dialogs, dateUtils, Variants; type TDMCobEletronica = class(TDataModule) sdsCobEletronica: TSQLDataSet; dspCobEletronica: TDataSetP...
unit SoapEmployeeImpl; interface uses InvokeRegistry, Types, XSBuiltIns, SoapEmployeeIntf; type TSoapEmployee = class(TInvokableClass, ISoapEmployee) public function GetEmployeeNames: string; stdcall; function GetEmployeeData (EmpID: string): string; stdcall; end; implementation uses ServerDataModu...
{ $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 untSendingData; interface type TSendingData=class private bPilotSymbol:byte; bCommandLength:byte; wSubstationAddress:Word; bCommandType:byte; bYear, bMonth, bDay, bHour, bMinute, bSecond:byte; bolClearCommEquipment:boolean; bolClearIntterupt:boolean; bolOutgo...
(* _______________________________________________________________________ | | | CONFIDENTIAL MATERIALS | | | | Thes...
{ DBAExplorer - Oracle Admin Management Tool Copyright (C) 2008 Alpaslan KILICKAYA This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at...
unit NLDTManager; { :: The NLDTranslate Manager provides the management of language files :: and distribution among the translators. :$ :$ :$ NLDTranslate is released under the zlib/libpng OSI-approved license. :$ For more information: http://www.opensource.org/ :$ /n/n :$ /n/n :$ Copyri...
{ ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: QuickReport 6.0 for Delphi and C++Builder :: :: :: :: QRMetricLab TQRMetricLabel :: :: ...
unit furqTypes; interface uses SysUtils; const //chEOL = #0; chTAB = #9; type TCharSet = set of Char; // виды состояний контекста TFURQContextState = ( csRun, // выполнение кода csEnd, // ждем нажатия кнопки-действия (если их список непустой) или квест завершен csInput, // ждем ввода числа/...
unit TTSTITMTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TTTSTITMRecord = record PLenderNum: String[4]; PCifFlag: String[1]; PLoanCif: String[20]; PCollNum: Integer; PTrackCode: String[8]; PSubNum: Integer; PModCount: Integer; ...
unit Unit_Produtos; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.Menus, Vcl.StdCtrls, Vcl.Mask, Vcl.Buttons, Vcl.Grids, Vcl.ComCtrls, Unit_Persistencia; type Tfrm_Produtos = class(TForm)...
unit evCustomParaListUtils; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "Everest" // Модуль: "w:/common/components/gui/Garant/Everest/evCustomParaListUtils.pas" // Родные Delphi интерфейсы (.pas) // Generated from UML model, ...
unit UpdateRouteUnit; interface uses SysUtils, BaseExampleUnit; type TUpdateRoute = class(TBaseExample) public procedure Execute(RouteId: String); end; implementation uses RouteParametersUnit, RouteParametersQueryUnit, DataObjectUnit, EnumsUnit; procedure TUpdateRoute.Execute(RouteId: String); var...
unit AST.Delphi.Errors; interface uses SysUtils, AST.Lexer, AST.Lexer.Delphi, AST.Delphi.Operators, AST.Delphi.Classes, AST.Delphi.Parser; resourcestring // internal errors sUnitAlreadyExistFmt = 'Unit ''%s'' already exist'; sIntfSectionMissing = 'INTERFACE section are missing'; sK...
unit Abort; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons; type tEstado = ( esFuncion, esAborto ); TAbortar = class; TAbortDlg = class(TForm) GroupBox1: TGroupBox; Label1: TLabel; bbStop: TBitBtn; procedure bbStopClick(Sender: T...
unit GX_EditorChangeServices; { The basic goal of this unit is to flatten the nice hierarchical structure of what the OTA has to offer. Flattening the hierarchy has the advantage of centralising all "attach" and "detach" code into one closed part of the code. It also makes it easier for client...
unit fDataDisp; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, cMegaROM; type TfrmDataDisp = class(TForm) mmoData: TMemo; cmdOk: TButton; cmdExport: TButton; procedure FormShow(Sender: TObject); private _ROMData : TMegamanROM; ...
// 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 PrivLoader; {$PointerMath ON} interface uses Graphics, Math, libavcodec, libavformat, libswscale, libavutil, libavutil_frame, libavutil_pixfmt, libavutil_mem, SysUtils; type TVideoMetaData = record width, height: Integer; duration: Double; avgFrameRate: Double; end; TPriv...