text
stringlengths
14
6.51M
// -------------------------------------------------------------------------- // Archivo del Proyecto Ventas // Página del proyecto: http://sourceforge.net/projects/ventas // -------------------------------------------------------------------------- // Este archivo puede ser distribuido y/o modificado bajo lo termino...
//Under construction... program quick_sort; type vector = array[1..100] of integer; var u:vector; first, last, tam:integer; procedure read_vector(var v:vector; var n:integer); var i:integer; begin write('Dimension : '); read(n); for i:=1 to n do readln(v[i]); end; procedure print_vector(var v:vecto...
unit BackgroundHandler; interface uses VoyagerInterfaces, Classes, Controls, MPlayer, BackgroundHandlerViewer; type TBackgroundHandler = class( TInterfacedObject, IMetaURLHandler, IURLHandler ) public constructor Create; destructor Destroy; override; private ...
unit ffsDataBuffer; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, db; type TffsDataBuffer = class(TComponent) private { Private declarations } fDataSource : TDataSource; fStorage : array of array of String; fBlankChar : string; ...
unit Sample.Texture; {$INCLUDE 'Sample.inc'} interface uses Neslib.Ooogles; function CreateSimpleTexture2D: TGLTexture; function CreateMipmappedTexture2D: TGLTexture; function CreateSimpleTextureCubeMap: TGLTexture; function LoadTexture(const APath: String): TGLTexture; implementation uses System.SysUtils,...
{$REGION 'Copyright (C) CMC Development Team'} { ************************************************************************** Copyright (C) 2015 CMC Development Team CMC 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 ...
inherited dmRcboAgregados: TdmRcboAgregados OldCreateOrder = True inherited qryManutencao: TIBCQuery SQLInsert.Strings = ( 'INSERT INTO STWCOLTREC' ' (FIL_ORIG, RECIBO, DT_EMISSAO, PERIODO_I, PERIODO_F, VEICULO, ' + 'MOTORISTA, VLR_DIARIAS, QTD_COLETAS, VLR_COLETAS, QTD_ENTREGAS, '...
program GameMain; {$IFNDEF UNIX} {$r GameLauncher.res} {$ENDIF} uses sgTypes, sgCore, sgAudio, sgText, sgGraphics, sgResources; procedure DrawRect(rx,ry: Integer); begin ry :=ry; rx :=rx; FillRectangle(ColorBlack, rx,ry,200,80); Delay(300); RefreshScreen(); end; procedure DrawCir(cx,cy: Integer); begin ...
unit DebugOptions; interface uses Windows, SysUtils, Classes, Graphics, Controls, Forms, StdCtrls; type TDebugConfigData = class(TObject) public Start: Boolean; OnMessage: Boolean; Bottom: Boolean; constructor Create; procedure SaveSettings; procedure LoadSettings; end...
unit uSolicitacaoOcorrenciaVO; interface uses System.SysUtils, uUsuarioVO; type TSolicitacaoOcorrenciaVO = class private FHora: string; FDescricao: string; FIdTipo: Integer; FId: Integer; FAnexo: string; FIdUsuarioOperacional: Integer; FIdSolicitacao: Integer; FClassificacao: In...
unit uMain; interface uses // Delphi units Windows, Messages, WinTypes, Menus, Classes, Controls, Forms, WinProcs, SysUtils, Variants, Graphics, Dialogs, ExtCtrls, // Own units uGUI, uSCR, uGraph; type TfMain = class(TForm) Timer1: TTimer; procedure FormPaint(Sender: TObject);...
unit Users; interface uses System.SysUtils, System.Types, System.UITypes, System.Rtti, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs,System.Generics.Collections, Math, FMX.StdCtrls,UDialog, FMX.Objects, FMX.Edit; type Tloginuser = class(TDialogFrame) Button1: TButton; ...
unit UFormMain; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ATImageBox, ExtCtrls, StdCtrls, ComCtrls, ExtDlgs, Jpeg; type TFormMain = class(TForm) Panel1: TPanel; Box: TATImageBox; GroupBox1: TGroupBox; chkFit: TCheckBox; chkCenter: TCheckBox; ...
unit uKata; interface function low(C : char) : Char; function cap(C : char) : Char; function lowAll(Str :String) : string; function capAll(Str :String) : string; function capFirst(Str :string) : string; function capEach(Str :String) : string; implementation function low(C : char) : Char; begin case C ...
unit Entity; interface uses Types, DGLE; type TEntity = class(TObject) private FPos: TPoint; FName: string; FID: Integer; procedure SetPos(const Value: TPoint); function GetPos: TPoint; procedure SetName(const Value: string); procedure SetID(const Value: Integer); pu...
unit BackUpManager; interface uses ComObj, BackUpMgr_TLB, Classes; type TBackUpManager = class(TAutoObject, IBackUpManager) protected function Get_ServersDir : widestring; safecall; procedure Set_ServersDir(const Value : widestring); safecall; function GetBac...
unit m0LNGLib; {* Модуль интерфейса к лингвистическим библиотекам. } (* // module: m0lnglib.pas // author: Mickael P. Golovin // // $Id: m0lnglib.pas,v 1.1 2014/08/20 16:31:25 lulin Exp $ *) // $Log: m0lnglib.pas,v $ // Revision 1.1 2014/08/20 16:31:25 lulin // - вычищаем мусор. // // Revision 1.15 2014/08/...
unit IndyDbClientThread; interface uses Classes, IdTcpClient, DB; type TLogEvent = procedure(Sender: TObject; LogMsg: String) of object; TSendThread = class(TThread) private fIdTcpClient: TIdTcpClient; fDataSet: TDataSet; fOnLog: TLogEvent; fLogMsg: String; fServerAddress: string; pr...
unit ServiceCtrl; interface uses Winapi.WinSvc, System.SysUtils, Winapi.Windows, Winapi.ShellApi; type TServiceCtrl = class private schm, schs: SC_Handle; ss: TServiceStatus; FActive: Boolean; FServiceName: String; FMachine: String; function ServiceStopped : boolean; ...
{.$DEFINE TestMode} unit UFrameRS485; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, UTreeItem, StdCtrls, ExtCtrls, IniFiles, UModem, CommInt, UPRT, UServices, Contnrs; const MaxPacketDataSize = 1000; type TItemMain = class; TFrameRS485 = class(TFrame) gbMo...
namespace RemObjects.Train.API; interface uses System.Collections.Generic, RemObjects.Script.EcmaScript, System.Linq, System.IO, System.IO.Compression, System.Text; type [PluginRegistration] ZipRegistration = public class(IPluginRegistration) private protected public meth...
{ Clever Internet Suite Copyright (C) 2014 Clever Components All Rights Reserved www.CleverComponents.com } unit clSFtpUtils; interface {$I ..\common\clVer.inc} uses {$IFNDEF DELPHIXE2} Classes, SysUtils, DateUtils, {$ELSE} System.Classes, System.SysUtils, System.DateUtils, {$ENDIF} clSocketUtils, clU...
unit evTableSearch; // Модуль: "w:\common\components\gui\Garant\EverestCommon\evTableSearch.pas" // Стереотип: "UtilityPack" // Элемент модели: "evTableSearch" MUID: (50751A0A0164) {$Include w:\common\components\gui\Garant\EverestCommon\evDefine.inc} interface uses l3IntfUses , evSearch , nevBase , l3Variant ,...
unit toolscode; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Controls, LCLType, // TurboCircuit constants, schematics, document, tclists, // fpvectorial fpvectorial, fpvelectricalelements; type { TToolsDelegate } TToolsDelegate = class(TSchematicsDelegate) public O...
{$INCLUDE ../../flcInclude.inc} {$INCLUDE ../flcCrypto.inc} unit flcTestCryptoUtils; interface {$IFDEF CRYPTO_TEST} procedure Test; {$ENDIF} implementation {$IFDEF CRYPTO_TEST} uses flcCryptoUtils; { } { Test ...
unit ClassStorageInt; interface uses SysUtils; type TClassFamilyId = string; TClassId = string; type IConfigHandler = interface function GetInteger( id : integer ) : integer; function GetFloat( id : integer ) : double; function GetString( id : integer ) : st...
unit AccountData; interface uses tokenData, WalletStructureData, cryptoCurrencyData, System.IOUtils, FMX.Graphics, System.types, FMX.types, FMX.Controls, FMX.StdCtrls, Sysutils, Classes, FMX.Dialogs, Json, Velthuis.BigIntegers, math, System.Generics.Collections, System.SyncObjs, THreadKindergartenData; procedu...
unit daBitwiseCondition; // Модуль: "w:\common\components\rtl\Garant\DA\daBitwiseCondition.pas" // Стереотип: "SimpleClass" // Элемент модели: "TdaBitwiseCondition" MUID: (57A9AF120166) {$Include w:\common\components\rtl\Garant\DA\daDefine.inc} interface uses l3IntfUses , daCondition , daInterfaces , daTypes ; ...
{ 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.Composites.MemPriority; interface uses Behavior3, Behavior3.Core.Composite, Behavior3.Core.BaseNode, Behavior3.Core.Tick...
unit uFrmPlusPdvNfe; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, ActnList, Menus, ExtCtrls, Wcrypt2, Buttons, ImgList, jpeg; type TFrmMainNFe = class(TForm) StatusBar1: TStatusBar; mmPrincipal: TMainMenu; mnuMovimento: ...
unit RemoveDestinationFromOptimizationUnit; interface uses SysUtils, BaseExampleUnit; type TRemoveDestinationFromOptimization = class(TBaseExample) public procedure Execute( OptimizationId: String; DestinationId: integer; AndReOptimize: boolean); end; implementation procedure TRemoveDestinationF...
unit GameTypes; interface uses Windows, Classes, Graphics, Warnings, SpriteImages, SpeedBmp; type index = 0..0; const // Focus kinds (0..9 ~ Reserved) fkSelection = 0; type TGameImage = TFrameImage; TCanvasImage = TSpeedBitmap; type PRectArray = ^TRectArra...
unit DW.OSDevice.iOS; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Library } ...
unit kwPopFormMDIChildren; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "ScriptEngine" // Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwPopFormMDIChildren.pas" // Родные Delphi интерфейсы (.pas) // Generated from UML...
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, dcefb_Browser, dcef3_ceflib; type TForm1 = class(TForm) DcefBrowser1: TDcefBrowser; Panel1: TPanel; Addre...
unit View.ImportacaoMovimentacao; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, System.Actions, Vcl.ActnList, Vcl.Buttons, Vcl.ComCtrls, System.DateUtils, Controller.ListagemMovime...
{!DOCTOPIC}{ Matrix » TFloatMatrix } {!DOCREF} { @method: Single percision floating point matrix @desc: [hr] } {!DOCREF} { @method: procedure TFloatMatrix.SetSize(Height,Width:Int32); @desc: Sets the size (width and height) of the matrix. Same as SetLength(Matrix, H,W); } procedure TFloatMatrix.S...
unit IRC; {$mode objfpc}{$H+} interface uses Classes, IdIRC, IdComponent, IdContext, IRCCommands, IdException, ChannelList, IRCViewIntf, quitcommand, partedcommand, joinedcommand; type { TIRC } TOnNickListReceived = procedure(const Channel: string; List: TStrings) of object; TOnUserEvent ...
unit FramesForm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ListFrame, StdCtrls; type TFormFrames = class(TForm) FrameList1: TFrameList; FrameList2: TFrameList; btnLeft: TButton; btnRight: TButton; procedure FrameList2btnClearClick(Sender: TObje...
{*********************************************************************************************************************** * * TERRA Game Engine * ========================================== * * Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com) * ***************************************************...
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Author: François PIETTE Object: Show how to use TPop3Cli (POP3 protocol, RFC-1225) Creation: 03 october 1997 Version: 6.00 EMail: francois.piette@overbyte.be http://www.overbyte.be Support: Use the mailing li...
/// <summary> /// </summary> unit uIViews; interface uses { TThread } System.Classes, { TImage } Vcl.ExtCtrls, { TPicture } Vcl.Graphics, { TWinControl } Vcl.Controls; type /// <summary> /// </summary> IViewControl = interface ['{BAC7364A-63E3-4B7D-9052-598859E174EA}'] /// <summary> ...
unit K604920400; {* [Requestlink:604920400] } // Модуль: "w:\common\components\rtl\Garant\Daily\K604920400.pas" // Стереотип: "TestCase" // Элемент модели: "K604920400" MUID: (55C36847033E) // Имя типа: "TK604920400" {$Include w:\common\components\rtl\Garant\Daily\TestDefine.inc.pas} interface {$If Defined(nsTest)...
unit cCadLancamento; interface uses System.Classes, Vcl.Controls, Vcl.ExtCtrls, Vcl.Dialogs, FireDAC.Comp.Client, System.SysUtils; // LISTA DE UNITS type TLancamento = class private // VARIAVEIS PRIVADA SOMENTE DENTRO DA CLASSE ConexaoDB: TFDConnection; F_cod_entrada: Integer; F_nro_documento: ...
unit IPCChannel; { Copyright (C) 2006 Luiz Américo Pereira Câmara pascalive@bol.com.br 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 version 2 of the License, or (at your o...
unit PPMdContext; {$mode objfpc}{$H+} {$packrecords c} {$inline on} interface uses Classes, SysUtils, CTypes, Math, CarrylessRangeCoder, PPMdSubAllocator; const MAX_O = 255; INT_BITS = 7; PERIOD_BITS = 7; TOT_BITS = (INT_BITS + PERIOD_BITS); MAX_FREQ = 124; INTERVAL = (1 shl INT_BITS); BIN_SCALE =...
{ * CryptoLib Library * } { * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * } { * Github Repository <https://github.com/Xor-el> * } { * Distributed under the MIT software license, see th...
unit furqBase; interface uses Windows, Classes, JclStringLists, furqTypes, furqContext ; type // Собственно интерпретатор. Обрабатывает контекст и устанавливает его в различные состояния. TFURQInterpreter = class private f_OnError: TfurqOnErrorHandler; function DoAction(anActionData: IFURQActionData):...
unit Acme.Robot.Core.Bot; interface uses System.Rtti, System.SysUtils, System.Types; type TBotMood = (Happy, Grumpy); TBotOrientation = (North, South, West, East); IBot = interface ['{0E047C05-FEB2-4817-9AF3-56CA008FE927}'] function ToString: string; procedure GoHome(); ...
{ TForge Library Copyright (c) Sergey Kasandrov 1997, 2018 ------------------------------------------------------- # engine tricks with ICipher interface must be implemented as inline static class methods of TCipherHelper # exports inlined functions } unit tfCipherHe...
{ 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.Actions.Runner; interface uses Behavior3, Behavior3.Core.Action, Behavior3.Core.BaseNode, Behavior3.Core.Tick; type (*...
Unit H2Edit; Interface Uses Messages,Windows, Classes,Controls, ExtCtrls, SysUtils,GR32_Image,GR32,gr32_layers,Graphics; Type TH2Edit = Class(TControl) Private fcaption:String; fx, fy, fwidth, fheight:Integer; fvisible:Boolean; ffont:tfont; fbitmap:tbitmaplaye...
unit TRotateImageData; interface uses System.SysUtils, System.Classes, FMX.Types, FMX.Controls, FMX.Layouts, FMX.Edit, FMX.StdCtrls, FMX.Clipboard, FMX.Platform, FMX.Objects, System.Types, StrUtils, FMX.Dialogs; type TRotateImage = class(TImage) private timer: TThread; isOn: boolean; protected ...
unit MapeoCtas; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, Grids, ValEdit, IniFiles, wwDialog, wwidlg, Data.DB; const ctCuentas = 'Cuentas.dat'; ctSeccion = 'CUENTAS'; type TMapeoCtasDlg = class(TForm) editor: TValueListEditor;...
unit f2TextPane; interface uses d2dTypes, d2dFont, d2dFormattedText, d2dGUITypes, d2dGUI, d2dGUITextPane, d2dGUIButtons ; type Tf2ButtonSlice = class(Td2dCustomSlice) private f_Align: Td2dTextAlignType; f_Frame : Id2dFramedButtonView; f_Caption: string; f_DispCaption: string; f_Height: Single; ...
unit PPriorityQ; interface uses sysutils, Generics.Collections, PPlaceRoad,Vcl.Dialogs; type TMinHeap = class protected MinHeap: TObjectList<TPlace>; // list of TPlace function GetCount: integer; public constructor Create(List: TObjectList<TPlace>); destructor Destroy; proc...
unit uRASMngrCommon; interface uses Winapi.Windows, Ras, RasHelperClasses, System.Classes, Winapi.Messages; const ConnectionTimeout: Cardinal = 60000; SettingsFileName = 'RasManager\settings.ini'; const WM_CHANGESTATE = WM_USER + 0; WM_CONNSTATE = WM_USER + 1; WM_CONNMESSAGE = WM_USER + 2; type TOperat...
unit UStartup; interface uses System.Sysutils, Vcl.Forms, Vcl.Controls, Vcl.Dialogs, Winapi.Windows, Winapi.Messages; const // Name of main window class cWindowClassName = 'Accusys.Tickler.3'; // Any 32 bit number here to perform check on copied data cCopyDataWaterMark = $DE1F1DAB...
unit cPatternTableSettings; interface uses contnrs; type TPatternTableSettings = class private _Offset : Integer; _Size : Integer; public property Offset : Integer read _Offset write _Offset; property Size : Integer read _Size write _Size; end; TPatternTableSettingsList = class(TObjectList...
{ ******************************************************************************** } { } { By Amarildo Lacerda } { This code started from embarcadero code for Javascript and generate code for Angular.Factory - first of all, create bases functions, declare service and create a factory. { } { } { HowTo (Servido...
unit UCreateNewProfile; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, System.Actions, FMX.ActnList, FMX.Objects, FMX.StdCtrls, FMX.Controls.Presentation, FMX.Edit, FMX.Layouts, FMX.DateTimeCtrls, FM...
{$include lem_directives.inc} unit LemDosMisc; interface uses GR32, LemDosStructures; procedure DosVgaPalette8ToLemmixPalette(DosPal: TDosVGAPalette8; var LemmixPal: TArrayOfColor32); implementation procedure DosVgaPalette8ToLemmixPalette(DosPal: TDosVGAPalette8; var LemmixPal: TArrayOfCol...
unit k2PropertyOperation; { Библиотека "K-2" } { Автор: Люлин А.В. © } { Модуль: k2PropertyOperation - } { Начат: 18.10.2005 14:04 } { $Id: k2PropertyOperation.pas,v 1.15 2014/04/21 15:41:54 lulin Exp $ } // $Log: k2PropertyOperation.pas,v $ // Revision 1.15 2014/04/21 15:41:54 lulin // - переходим от ин...
{$REGION 'Copyright (C) CMC Development Team'} { ************************************************************************** Copyright (C) 2015 CMC Development Team CMC 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 ...
{ Date Created: 5/25/00 5:01:02 PM } unit InfoLOSSCODETable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TInfoLOSSCODERecord = record PCode: String[3]; PDescription: String[30]; PActive: Boolean; End; TInfoLOSSCODEBuffer = class(TDataBuf) prot...
unit FacIds; interface type TFacId = integer; PFacIdArray = ^TFacIdArray; TFacIdArray = array[0..0] of TFacId; const FID_None = 0; // Headquarters FID_MainHeadquarter = 10; FID_OffcHeadquarter = 12; FID_IndHeadquarter = 11; FID_CommHeadquarter = 13; FID_PubH...
unit AuthorizationToken; interface type TAuthorizationToken = class private Faccess_token: String; Ftoken_type: String; Fscope: String; Fexpires_in: Integer; Fuser_name: String; Fjti: String; public property access_token : String read Faccess_token write Faccess...
{ *************************************************************************** Copyright (c) 2016-2019 Kike Pérez Unit : Quick.Logger.Intf Description : Quick Logger Interface Author : Kike Pérez Version : 1.8 Created : 30/08/2019 Modified : 11/09/2019 This file is part of Quick...
unit UNotifyEventToMany; interface uses Classes; // Skybuck: could be moved to Lists folder, seems more like a list to me ;) type TNotifyEventToMany = Class private FList : Array of TNotifyEvent; public function IndexOf(search : TNotifyEvent) : Integer; procedure Add(newNotifyEvent : TNotifyEvent...
unit ListOfStrings; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs; type TListOfStrings = class(TComponent) private FStrings: TStringList; procedure SetStrings(const Value: TStringList); { Private declarations } protected { Protected decl...
unit UserCR1_WarningBaloonKeywordsPack; {* Набор слов словаря для доступа к экземплярам контролов формы UserCR1_WarningBaloon } // Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Document\Forms\UserCR1_WarningBaloonKeywordsPack.pas" // Стереотип: "ScriptKeywordsPack" // Элемент модели: "UserCR1_WarningBalo...
unit LUX.Color; interface //#################################################################### ■ uses System.UITypes, LUX; type //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$【型】 //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$【レコード】 //%%%%%%%...
unit IedTableWordsPack; // Модуль: "w:\common\components\rtl\Garant\ScriptEngine\IedTableWordsPack.pas" // Стереотип: "ScriptKeywordsPack" // Элемент модели: "IedTableWordsPack" MUID: (55E5A6200262) {$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc} interface {$If NOT Defined(NoScripts)} uses l3I...
unit Monitor; interface uses System.SysUtils, System.Classes, Vcl.Dialogs, Graphics, Forms, System.UITypes; type TMonitor = class(TComponent) private { Private declarations } Nome: string; Estilo : TFontStyles; Tamanho: Integer; CorAnterior : TColor; FForm : TForm; pr...
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Author: Arno Garrels <arno.garrels@gmx.de> Description: TIcsCsc (Csc => Charset Context) provides string conversion and improved (Ansi) multi-byte character set routines. Creation: Apr 25, 2010 Version: 1.0...
unit uClasse.Veiculo; interface uses uClasse.Conexao.SqlServer, System.SysUtils; type TVeiculo = class private Ftipo: string; Fcodigo: integer; Fcor: string; Ftamanho: double; FqtdPortas: integer; Fcombustivel: string; FAceitaPassageiros: boolean; ...
inherited dmRcboParceiros: TdmRcboParceiros OldCreateOrder = True inherited qryManutencao: TIBCQuery SQLInsert.Strings = ( 'INSERT INTO STWACRTRECT' ' (FIL_RECIBO, NRO_RECIBO, EMISSAO, REFERENCIA_I, REFERENCIA_F, ' + 'UNIDADE, VLR_COMISSOES, VLR_CREDITOS, VLR_DESCONTOS, VLR_LIQUIDO...
unit WinControlsProcessingPack; // Модуль: "w:\common\components\rtl\Garant\ScriptEngine\WinControlsProcessingPack.pas" // Стереотип: "ScriptKeywordsPack" // Элемент модели: "WinControlsProcessingPack" MUID: (54F5C4B203BD) {$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc} interface {$If NOT Defin...
unit alcuDownloadDocRequest; // Модуль: "w:\archi\source\projects\PipeInAuto\Tasks\alcuDownloadDocRequest.pas" // Стереотип: "SimpleClass" // Элемент модели: "TalcuDownloadDocRequest" MUID: (57C3FAF20200) {$Include w:\archi\source\projects\PipeInAuto\alcuDefine.inc} interface {$If Defined(ServerTasks)} uses l3Intf...
{ 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 uGetCategories; interface uses Classes, SysUtils, Variants, XMLDoc, DB, CommonTypes, EbayConnect, IdThread, uThreadSync, IdComponent, Forms, ActiveX, uTypes; type TGetCategoriesThread = class(TidThread) private // Private declarations FForm ...
Program Aufgabe9; {$codepage utf8} Var Zahl1: Integer; Zahl2: Integer; I: Integer; Begin Write('Bitte gib die erste Zahl ein: '); Read(Zahl1); Write('Bitte gib die zweite Zahl ein: '); Read(Zahl2); If Zahl1 > Zahl2 Then // Zahlen tauschen Begin Zahl1 := Zahl1 xor Zahl2; ...
unit SmartServerMain; interface type TServer = class public procedure Run; end; implementation uses NodeJS.Core, NodeJS.http, Node_Static, socket.io; { TServer} procedure TServer.Run; begin var fileserver := TNodeStaticServer.Create('./public'); //start http server var server: JServer := ht...
{ This software is Copyright (c) 2016 by Doddy Hackman. This is free software, licensed under: The Artistic License 2.0 The Artistic License Preamble This license establishes the terms under which a given free software Package may be copied, modified, distributed, and/or redistributed. The intent is that th...
PROGRAM d1b; USES sysutils, integerlist; TYPE longintlist= TInt64List; FUNCTION answer(filename:string) : longint; VAR f: text; l: string; elf_total_calories: longint = 0; i: integer; highest: longintlist; BEGIN answer := 0; highest := longintlis...
unit deDiction; // Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\Diction\deDiction.pas" // Стереотип: "SimpleClass" // Элемент модели: "TdeDiction" MUID: (4925538201C4) {$Include w:\garant6x\implementation\Garant\nsDefine.inc} interface {$If NOT Defined(Admin) AND NOT Defined(Monitorings)} uses l3IntfUses ...
{ Clever Internet Suite Copyright (C) 2013 Clever Components All Rights Reserved www.CleverComponents.com } unit clDCUtils; interface {$I clVer.inc} {$IFDEF DELPHI6} {$WARN SYMBOL_PLATFORM OFF} {$ENDIF} uses {$IFNDEF DELPHIXE2} Classes, SysUtils, Windows, {$ELSE} System.Classes, System.SysUtils, Winap...
unit parser; interface const mark = ','; function csv (t: string) : string; (*Menambahkan tanda petik ganda ke ujung-ujung string dan mengubah tanda petik ganda di string menjadi dua petik ganda*) procedure csv_comma_solver(var f : Text; var a : string); (*Prosedur ini membaca data ...
unit ModCalcSyn; interface var success : boolean; procedure S; implementation uses ModCalcLex; procedure expr(var e : integer); forward; procedure term(var t : integer); forward; procedure fact(var f : integer); forward; procedure S; var e : integer; begin (* S = expr EOF. *) success := TRUE; expr(e...
unit elCustomButtonEdit; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "Everest" // Автор: Люлин А.В. // Модуль: "w:/common/components/gui/Garant/Everest/elCustomButtonEdit.pas" // Начат: 14.05.2008 15:41 // Родные Delphi интер...
unit USettings; interface uses System.Classes, System.SysUtils, Data.DBXJSONReflect, FMX.Dialogs, System.IOUtils, Data.DBXJSON, System.JSON; type TSettings = class(TObject) private { Private declarations } // to be marshalled to JSON fFilename: String; fBoxAddress: String; fUsername: Str...
{$I ATViewerDef.inc} unit ATViewerProc; interface uses Windows; function MsgBox(const Msg, Title: WideString; Flags: integer; h: THandle = INVALID_HANDLE_VALUE): integer; procedure MsgInfo(const Msg: WideString; h: THandle = INVALID_HANDLE_VALUE); procedure MsgError(const Msg: WideString; h: THandle = INV...
unit ray4laz_descript; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, LazIDEIntf, ProjectIntf, MenuIntf; type { TRay4LazSimpleProjectDescriptor } TRay4LazSimpleProjectDescriptor = class(TProjectDescriptor) public constructor Create; override; function GetLocalizedName: string; overrid...
// 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 StockMinuteData_Load; interface uses BaseApp, StockMinuteDataAccess; function LoadStockMinuteData(App: TBaseApp; ADataAccess: TStockMinuteDataAccess): Boolean; overload; function LoadStockMinuteData(App: TBaseApp; ADataAccess: TStockMinuteDataAccess; AFileUrl: string): Boole...
{ The theory here is that you can save a position in a DBISAM table, move around, do some work, and then go back to the same record later. This is not perfect, in that the database will change in a way that does not allow you to go back to that record. Its still useful though. } unit DBISAMCursor; in...
unit GX_MessageBox; {$I GX_CondDefine.inc} interface uses Classes, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, GX_BaseForm; type TGxMsgBoxAdaptor = class(TObject) protected // General optional data passed into ShowGxMessageBox that can be // used to customize the error message, etc. ...
unit BaseRule; interface type TRuleDataType = ( dtNone, dtInt64, dtDouble); TOnGetDataLength = function: integer of object; TOnGetDataI = function (AIndex: integer): int64 of object; TOnGetDataF = function (AIndex: integer): double of object; TBaseRuleData = record OnGetDataLength: TOnGetD...
unit PrimTextLoad_Form; //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // // Библиотека "Forms" // Автор: Люлин А.В. // Модуль: "w:/common/components/gui/Garant/Daily/Forms/PrimTextLoad_Form.pas" // Начат: 23.09.2010 13:40 // Родные Delphi интер...
unit fmGrid; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Grids, uEventAgg, uEvents; type TfrmGrid = class(TForm) pnlFooter: TPanel; btnClose: TButton; StringGrid1: TStringGrid; procedure FormResize(Sender: TObject); ...