text
stringlengths
14
6.51M
unit frmXEROTestU; interface uses MidasLib, Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, XERO.API, XERO.API.Response.ClientDataset, XERO.API.Invoices, Data.DB, Vcl.Grids, Vcl.DBG...
(* #: 158462 S2/Turbo Pascal v.5 02-Feb-89 12:31:53 Sb: #158453-SetRGBPalette Fm: John Sieraski (Sysop) 76117,2022 To: Art Steinmetz 76044,3204 Art, Here's a few routines for reading and setting the DAC registers on MCGA and VGA cards. All of this information can be found in the book "Programmer's Guide to IBM...
///////////////////////////////////////////////////////// // // // FlexGraphics library // // Copyright (c) 2002-2009, FlexGraphics software. // // // // History (undo/redo) base...
unit MediaStream.PtzProtocol.Ms3s; interface uses SysUtils, MediaStream.PtzProtocol.Base,MediaServer.Net.Ms3s.Stream; type TPtzProtocol_Ms3s = class (TPtzProtocol) private FStream: TMediaServerStream; procedure CheckValid; public procedure Init(aStream: TMediaServerStream); procedure PtzApertu...
{**********************************************************************} {* Иллюстрация к книге "OpenGL в проектах Delphi" *} {* Краснов М.В. softgl@chat.ru *} {**********************************************************************} unit frmMain; interface us...
unit MonthlyExpenseDetail; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BasePopupDetail, RzButton, RzTabs, Vcl.StdCtrls, RzLabel, Vcl.Imaging.pngimage, Vcl.ExtCtrls, RzPanel, Vcl.Mask, RzEdit, RzDBEdit, Vc...
unit UChooseAPServer; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, jpeg, ExtCtrls, RzBmpBtn, inifiles; type TChooseAPServerFrm = class(TForm) Label3: TLabel; EdtPassWord: TEdit; EdtUserID: TEdit; ComServerIP: TComboBox; Label1:...
{***********************************<_INFO>************************************} { <Проект> Библиотека медиа-обработки } { } { <Область> 16:Медиа-контроль ...
unit ReportLangSelect; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, Buttons; type TReportLangSelectForm = class(TForm) GroupBox1: TGroupBox; rb_ReportLang_cn: TRadioButton; rb_ReportLang_en: TRadioButton; btn_cancel: TBit...
{ "RTC Image Playback (VCL)" - Copyright 2004-2017 (c) RealThinClient.com (http://www.realthinclient.com) @exclude } unit rtcVImgPlayback; interface {$include rtcDefs.inc} uses Classes, {$IFDEF IDE_XEup} System.Types, VCL.Graphics, {$ELSE} Types, Graphics, {$ENDIF} rtcTypes,...
object LineBitsEditor: TLineBitsEditor Left = 218 Top = 122 HelpContext = 1770 BorderStyle = bsDialog Caption = 'Line bits settings' ClientHeight = 139 ClientWidth = 293 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'MS Sans Serif' Fon...
unit Main; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, ActnList, StdCtrls, DateUtils; type { TMainForm } TMainForm = class(TForm) AddInfo: TButton; Generate: TButton; Label1: TLabel; Label2: TLabel; Label3: TLabel; Label4...
{ BP and partly Delphi compatible System unit for GPC This unit is released as part of the GNU Pascal project. It implements some rather exotic BP and Delphi compatibility features. Even many BP and Delphi programs don't need them, but they're here for maximum compatibility. Most of BP's and Delphi's System ...
unit ParamSubParamsQuery; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, ...
unit UFigures; {$mode objfpc}{$H+} interface uses Windows, Graphics, UTransformation, UGraph; type RSelectedType = (DrawFigure, SelectedDrawFigure, SelectedNodeDrawFigure, NotDrawFigure); type {$M+} TFigure = Class public PointsArray: TDoublePoin...
namespace RemObjects.SDK.CodeGen4; uses RemObjects.Elements.RTL; type ParamFlags = public enum (&In, &Out, &InOut, &Result); RodlEntity = public abstract class private fOriginalName: String; method getOriginalName: String; begin exit iif(String.IsNullOrEmpty(fOriginalName), Name, fOriginal...
unit Test.RequestListBuilder; interface uses TestFrameWork, GMGlobals, Threads.ReqSpecDevTemplate, RequestList; type TRequestListBuilderTest = class(TTestCase) private FRequestCollection: TRequestCollection; FBuilder: TRequestListBuilder; protected procedure SetUp(); override; procedure TearDow...
{ *************************************************************************** } { } { Kylix and Delphi Cross-Platform Visual Component Library } { } ...
unit Providers.Consts; interface const C_BPL_FOLDER = '.bpl'; C_BIN_FOLDER = '.bin'; C_MODULES_FOLDER = 'modules\'; C_BOSS_CACHE_FOLDER = '.boss'; C_DATA_FILE = 'boss.ide'; C_BOSS_TAG = '[Boss]'; implementation end.
{*******************************************************} { } { CodeGear Delphi Runtime Library } { } { Copyright(c) 1995-2018 Embarcadero Technologies, Inc. } { All rights rese...
{**********************************************************************} {* Иллюстрация к книге "OpenGL в проектах Delphi" *} {* Краснов М.В. softgl@chat.ru *} {**********************************************************************} unit frmMain; interface u...
unit Map; {$MODE Delphi} INTERFACE USES LCLIntf, LCLType, LMessages, sysutils, graphics, types; CONST TILE_SIZE = 24; VAR gfx : TBitmap; TYPE TTile = BYTE; TYPE TMap = CLASS PUBLIC CONSTRUCTOR create(_w, _h : INTEGER); OVERLOAD; CLASS PROCEDURE loadGfx(); FUNCTION getTile(x, y : INTEGER) : TTILE; FUNCTI...
{*******************************************************} { } { Delphi Visual Component Library } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
unit Slivbd; {$mode objfpc}{$H+} interface uses Classes, SysUtils,mysqlite3conn, controls, sqldb, dialogs; type { TslivBD } TslivBD=class(TSQLite3Connection) private Fcurrpath, Fattachpath:string; protected public constructor Create(pathdb, attachBD:string;frm:TCustomCon...
unit uFormulario; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.AppEvnts, Vcl.StdCtrls, JSDialog, JclDebug; type TFormCapturaExcecoes = class(TForm) ApplicationEvents: TApplicationEve...
{ ********************************************************************* * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Autor: Brovin Y.D. * E-mail: ...
{ this file is part of Ares Aresgalaxy ( http://aresgalaxy.sourceforge.net ) 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 2 of the License, or (at your option) any ...
namespace RemObjects.Marzipan; interface uses mono.utils, mono.jit, mono.metadata, Foundation; type MZString = public class(MZObject) private method get_length: Integer; method get_NSString: NSString; class var fLength: method(aInstance: ^MonoObject; aEx: ^^MonoException): Integer; class...
{ @exclude } unit rtcService; {$include rtcDefs.inc} interface uses Windows, WinSvc, SysUtils; function IsServiceStarting(const ServiceName:string):boolean; function IsDesktopMode(const ServiceName:string):boolean; function IsMiniMode:boolean; implementation function IsServiceStarting(const ServiceName:st...
unit SaberCommercialCompareUnit; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, Db, DBTables, ComCtrls, ExtCtrls; type TForm1 = class(TForm) StartButton: TBitBtn; CancelButton: TBitBtn; ParcelTable: TTable; CommercialBuildingTable: TT...
unit BasicUnit; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, BasicService; type TForm1 = class(TForm) txtName: TEdit; lblSayMyName: TLabel; btnInvoke: TButton; Memo1: TMemo; ...
{*********************************************} { TeeChart Delphi Component Library } { Auto Axis scaling Demo } { Copyright (c) 1995-2001 by David Berneda } { All rights reserved } {*********************************************} unit uscroll; interface uses ...
unit SymbolTable; interface uses Contnrs, Token, Scanner; const TABLE_SIZE = 98317; // 49157; 6151; 196613; 393241 type TSymbolTable = class private Table : array[0..TABLE_SIZE - 1] of TToken; Stack : TStack; Current : Integer; Scope : Word; function Hash(const S :...
// // This unit is part of the GLScene Project, http://glscene.org // { : Eng Language created to localize your application. In Delphi, the text is encoded using Ansi cp1251 and can not be encoded \ decoding. In Lazarus has the ability to upload text from any encoding. Ru TLanguage создан для локализа...
{********************************************} { TeeChart Pro Charting Library } { Copyright (c) 1995-2004 by David Berneda } { All Rights Reserved } {********************************************} unit TeeMACDFuncEdit; {$I TeeDefs.inc} interface uses {$IFNDEF LINUX} Windows, ...
unit UI.Design.GridColumns; interface uses UI.Grid, System.Math, System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Objects, Data.DB, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls, FMX.Controls.Presentation, FMX.Edit, FMX.Layouts, UI.Base, UI....
(* NaturalVectorClass: MM, 2020-06-05 *) (* ------ *) (* Simple Class to store Natural Vectors in an IntArray *) (* ========================================================================= *) ...
unit UProduto; interface uses Data.DB, Data.Win.ADODB; type TProduto = class private Fdescricao: string; Fcodigo: Integer; FprecoVenda: Double; procedure Setcodigo(const Value: Integer); procedure Setdescricao(const Value: string); procedure SetprecoVenda(const Value: Double); pub...
unit DataTypeHelper; interface uses SysUtils, Classes; type TDCString = type string; TDCStringHelper = record helper for TDCString function SquareBracket():TDCString; function Bracket():TDCString; function Surround(SurChar:Char):TDCString; function Quotes:TDCString; function AddString(co...
unit Preview; interface uses SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ExtCtrls, RPBase, RPCanvas, RPFPrint, RPreview, RPDefine, GlblVars, Winutils; type TPreviewForm = class(TForm) Panel2: TPanel; SBZoomIn: TSpeedButton; SBZoomOut: TS...
unit MainFrm; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, FGX.LinkedLabel, FMX.Edit, FMX.Controls.Presentation; type TForm1 = class(TForm) PanelSettings: TPanel; gbCommonSe...
{********************************************************************* * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Autor: Brovin Y.D. * E-mail: y.brovin...
unit gExpressionConstants; interface Uses gExpressionEvaluator ; Type TConstant = class(TgExpressionToken) End; TMaxInt = Class(TConstant) Public Procedure Evaluate(AStack : TgVariantStack);Override; End; TTrue = Class(TConstant) Public Procedure Evaluate(AStack : TgVariantStack);Overri...
unit ExceptionForm; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls, FMX.Layouts, FMX.Memo; type TForm1 = class(TForm) Memo1: TMemo; btnNoException: TButton; btnRaiseExceptio...
{*******************************************************} { } { Borland Delphi Visual Component Library } { Web server application components } { } { Copyright (c) 2001-200...
(* umenu.pas -- (c) 1989 by Tom Swan *) unit umenu; interface uses crt, ukeys, uitem, ucmds, ulist; type menuPtr = ^menu; menu = object( list ) menuRow, menuCol : word; { Menu command-line location } menuTitle : ^string; { Menu name string } menuDisplay : ^string; { Menu comman...
{*******************************************************} { } { Delphi Text DataSet Sample } { } { Copyright (c) 1997,98 Borland International } { ...
unit Tests.DialogListener; interface uses DUnitX.TestFramework; type TTestDialogListenerBase = class(TObject) public [TEST] procedure TestDialog; virtual; [TEST] procedure TestDialogCallback; virtual; end; [TestFixture] TTestDialogListenerFMX = class(TTestDialogListenerBase) public ...
unit BCEditor.Editor.RightMargin; interface uses Classes, Graphics, Controls, BCEditor.Editor.RightMargin.Colors, BCEditor.Types; type TBCEditorRightMargin = class(TPersistent) strict private FColors: TBCEditorRightMarginColors; FCursor: TCursor; FMouseOver: Boolean; FMoving: Boole...
unit fIdentificationOptions; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, fOptionsBase, StdCtrls; type TIdentificationOptionsFrame = class(TOptionsBaseFrame) Label1: TLabel; NickEdit: TEdit; Label2: TLabel; AltNickEdit: TEdit; Label3: TL...
program TestEnums; type Days = (Sun, Mon, Tue, Wed, Thu, Fri, Sat); var day : Days; begin WriteLn('Mon < Fri: ', Mon < Fri); day := Tue; WriteLn('Fri < day: ', Fri < day); end.
unit FC.Trade.Trainer.CloseOrderDialog; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ufmDialogOKCancel_B, ActnList, StdCtrls, ExtendControls, ExtCtrls, FC.Trade.TrainerDialog, Mask, StockChart.Definitions, FC.Definitions; type TfmTrainerCloseOrderDialo...
Unit UnAtualizacao3; interface Uses Classes, DbTables,SysUtils; Type TAtualiza3 = Class Private Aux : TQuery; DataBase : TDataBase; procedure AtualizaSenha( Senha : string ); public function AtualizaTabela(VpaNumAtualizacao : Integer) : Boolean; function Atualiza...
{ You are free to use this, but be weary its absolutely garbage and isn't guaranteed to work at all. Use with caution as it is extraordinarily primitive. } unit GhettoFileDetection; interface uses Classes; function IsWebM(FilePath: string): boolean; function IsWebP(FilePath: string): boolean; function IsMOV(File...
unit ansichar_1; interface implementation var C: AnsiChar; procedure Test; begin C := 'A'; end; initialization Test(); finalization Assert(C = AnsiChar('A')); end.
unit uInjectDecryptFile; interface uses System.Classes, Vcl.ExtCtrls, System.Generics.Collections, shellapi, Winapi.UrlMon, IdHTTP, Winapi.Windows, uTInject.Constant; type TInjectDecryptFile = class(TComponent) private function DownLoadInternetFile(Source, Dest: string): Boolean; procedure DownloadFile...
unit Referee; interface uses Entity, ADODB, DB; type TReferee = class(TEntity) private FName: string; public procedure Add; override; procedure Save; override; procedure Edit; override; procedure Cancel; override; property Name: string read FName write FName; constructor Create; ...
unit ubads; {$mode delphi} interface uses Classes, SysUtils, utypes, Laz_And_Controls, AndroidWidget; const MaxBad = 5000; type TBadState = (bsStay, bsLive, bsGone, bsSleep); TBad = record Center : TPointF; BadState : TBadState; Orange : boolean; ind : integer; Bad : boolean; Gems ...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2014-2019 Embarcadero Technologies, Inc. } { All rights reserved } { ...
unit fGMV_AddVCQ; { ================================================================================ * * Application: Vitals * Revision: $Revision: 1 $ $Modtime: 12/20/07 12:43p $ * Developer: ddomain.user@domain.ext/doma.user@domain.ext * Site: Hines OIFO * * Description:...
(****************************************************************************) (* *) (* REV97.PAS - The Relativity Emag (coded in Turbo Pascal 7.0) *) (* *) (* "...
{*******************************************************} { } { Delphi REST Client Framework } { } { Copyright(c) 2014-2018 Embarcadero Technologies, Inc. } { All rights rese...
{$mode objfpc}{$H+}{$J-} (* Problem 2: set up variables to convert pounds to kg; *) program Problem_2; const RATIO = 0.453592; var pounds : Real; // to store pounds value kilograms : Real; // to store kg value begin writeln('pounds to kg'); end.
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs; type //Class Fruit. TFrutas = class private FisRedonda: boolean; FTamanho: single; FDiametro: single; FLargura: single; procedure SetDiametro(const Value: single); procedur...
unit uNsGraphVCL; interface uses SysUtils, Classes, Types, VCL.Graphics, DB, System.UITypes, VCL.Dialogs, Vcl.ExtCtrls; const I_MIN_CELL_SIZE = 5; C_COLOR_REGULAR = clGray; C_COLOR_BOLD = clGray; I_THICKNESS_REGULAR = 1; I_THICKNESS_BOLD = 1; I_CANVAS_FONT_SIZE = 8; type TNsGraph = class(TImage) p...
{*******************************************************} { } { Delphi DBX Framework } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
unit EOLConv.Converters; interface uses System.Classes; procedure ConvertBytes(const InStream, OutStream: TStream; LineBreaks: TTextLineBreakStyle); procedure Convert16BE(const InStream, OutStream: TStream; LineBreaks: TTextLineBreakStyle); procedure Convert16LE(const InStream, OutStream: TStream; LineBre...
unit JD.Weather.Services.WUnderground; interface {$R 'WUndergroundRes.res' 'WUndergroundRes.rc'} uses System.SysUtils, System.Classes, StrUtils, JD.Weather.Intf, JD.Weather.SuperObject, System.Generics.Collections; const SVC_CAPTION = 'Weather Underground'; SVC_NAME = 'WUnderground'; SVC_UID = '{8...
const fileinp = 'bprimes.inp'; fileout = 'bprimes.out'; var n,h:longint; procedure Init; begin assign(input,fileinp); reset(input); readln(n,h); close(input); end; function BitCount(a:longint):longint; begin BitCount:=0; while a <> 0 do begin if a mod 2 = 1 then inc(BitCoun...
unit AssoFiles; interface uses System.Win.Registry, ShlObj, Vcl.Forms,System.Types,Winapi.Windows, System.Classes, System.SysUtils, System.IniFiles; procedure Associate; procedure DeleteAssociate; implementation var Reg: TRegistry; procedure Associate; var s:string; begin try Reg:=TRegistry.Create;...
(* Name: VisualKeyboardInfo Copyright: Copyright (C) 2003-2017 SIL International. Documentation: Description: Create Date: 3 May 2011 Modified Date: 3 May 2011 Authors: mcdurdin Related Files: Dependencies: Bugs: Todo: ...
{ 25/05/2007 10:50:23 (GMT+1:00) > [Akadamia] checked in } { 25/05/2007 10:30:11 (GMT+1:00) > [Akadamia] checked out /} { 14/02/2007 08:28:48 (GMT+0:00) > [Akadamia] checked in } { 14/02/2007 08:28:29 (GMT+0:00) > [Akadamia] checked out /} { 12/02/2007 10:12:26 (GMT+0:00) > [Akadamia] checked in } { 12/02/2007 10...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
unit uMeetingsClass; interface uses {The various uses which the unit may require are loaded.} SysUtils, Classes; {Class is created as TMeetings.} type TMeetings = class {The Private attributes are added.} private mMeetingID : integer; mDate : string; mTime : string; mLocati...
program Sample; var H : String; function hello(): String; var hstr : String; begin hstr := 'Hello'; hello := hstr; end; begin WriteLn(hello(), ' World'); end.
//////////////////////////////////////////////////////////////////////////////// // // // FileName : frmMSNPop.pas // Creator : Shen Min // Date : 2003-11-25 // Comment : // // Copyright (c) 2002-2003 Sunisoft // http://www.sunisoft.com // Email: support@sunisoft.com // //////////////////...
unit UnitMainForm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type TMainForm = class(TForm) Image: TImage; ButtonStart: TButton; procedure FormCreate(Sender: TObject); procedure FormDestroy(Sender: TObject); private { Priva...
unit frm_GricViewDemo; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Menus, ActnList, ImgList, ExtCtrls, ComCtrls, ToolWin, HCGridView, HCTableCell, HCItem, HCCommon, HCCustomData; type TfrmGridViewDemo = class(TForm) mmMain: TMainMenu; ...
//================================================// // uFileSaver // //------------------------------------------------// // Unit yang menangani penyimpanan kembali data // //================================================// unit uFileSaver; interface uses uFileLoader; proced...
{ #(@)$Id: UnitTestGUITesting.pas 7 2008-04-24 11:59:47Z judc $ } {: DUnit: An XTreme testing framework for Delphi programs. @author The DUnit Group. @version $Revision: 7 $ uberto 08/03/2001 } (* * The contents of this file are subject to the Mozilla Public * License Version 1.1 (the "License"); you may not u...
unit uActiveDirectory; interface uses {$IF CompilerVersion > 22} Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, {$ELSE} Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls,...
unit ZUtil; (************************************************************************ Configuration dependent utility and debugging function Copyright (C) 1998 by Jacques Nomssi Nzali For conditions of distribution and use, see copyright notice in readme.txt ------------------------------------------...
//************************************************************************************************** // // Unit Main // unit for the WMI Delphi Code Creator // https://github.com/RRUZ/wmi-delphi-code-creator // // The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); //...
(******************************************************************************************** ** PROGRAM : cgicook ** VERSION : 1.0.0 ** DESCRIPTION : Demonstrates how to use cookies in CGI programs. ** AUTHOR : Stuart King ** COPYRIGHT : Copyright (c) Irie Tools, 2002. All Rights Reserved. ** NOTES ...
{*******************************************************} { } { Delphi FireDAC Framework } { FireDAC MySQL API } { } { Copyright(c) 2004-2018 Embar...
{$mode objfpc}{$H+}{$J-} // Эту строку необходимо использовать во всех современных программах program MyProgram; // Сохраните этот файл под названием myprogram.lpr begin WriteLn('Hello world!'); end.
(************************************************************************* Cephes Math Library Release 2.8: June, 2000 Copyright by Stephen L. Moshier Contributors: * Sergey Bochkanov (ALGLIB project). Translation from C to pseudocode. See subroutines comments for additional copyrights. >>> SOUR...
unit record_methods_1; interface type TRec = record function Get5: Int32; function Get6: Int32; end; var G1, G2: Int32; implementation function TRec.Get5: Int32; begin Result := 5; end; function TRec.Get6: Int32; begin Result := 6; end; procedure Test; var R: TRec; begin #bpt; G1 :=...
unit InterfaceConversor; interface uses Data.DB, System.SysUtils, System.IOUtils, Datasnap.DBClient, System.JSON; type TConversor = class function Converter: string; virtual; abstract; constructor Create(const Arquivo: string; ClientDataSet: TClientDataSet); virtual; abstract; end; implementation end.
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2019 The Bitcoin Core developers // Copyright (c) 2020-2020 Skybuck Flying // Copyright (c) 2020-2020 The Delphicoin Developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-...
{ Copyright (C) 1998-2018, written by Shkolnik Mike, Scalabium E-Mail: mshkolnik@scalabium.com mshkolnik@yahoo.com WEB: http://www.scalabium.com Этот компонент заливает рамку выбранным цветом Color. Рамка делится на Count+1 полос, каждая из которых равномерно уменьшает или увеличивает (в з...
unit CSCBase; interface uses Dialogs, SysUtils, Windows, Messages, Controls, Classes, ScktComp; const Socket_Error = -1; type ECSError = class(Exception) public ErrorCode: Integer; SocketError: Integer; constructor Create(EC: Integer); constructor CreateSckError(EC: Integer); end; TNetM...
program factorial; const number = 5; var result: integer; {* demonstrate that a function name is how a function returns its value *} function fact(n: integer): integer; var i, answer: integer; begin fact := 1; answer := 1; if n > 1 then for i := 2 to n do answer := answer *...
namespace RemObjects.Elements.System; interface uses Foundation; {$G+} method __ElementsClassLockEnter(var x: intptr_t): Boolean; public; method __ElementsClassLockExit(var x: intptr_t); public; method __ElementsReadLine(): String; public; method __ElementsNullReferenceRaiseException(s: String); pu...
unit fWfxPluginCopyMoveOperationOptions; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, StdCtrls, ExtCtrls, uFileSourceOperationOptionsUI, uFileSourceCopyOperation, uWfxPluginCopyOperation, uWfxPluginMoveOperation, uWfxPluginCopyInOperation, uWfxPluginCopy...
unit Pagamentos; interface uses { Fluente } Util; type IPagamentoDinheiro = interface ['{81C9D4FB-BE52-48F5-9DCA-A6DA609E6B75}'] function Parametros: TMap; procedure RegistrarPagamentoEmDinheiro(const Parametros: TMap); end; IPagamentoCartaoDeDebito = interface ['{2EB6B1D5-B28A-4A4D-9A57-244AB...
unit Thread.Trim.Helper.List; interface uses SysUtils, Classes, TrimList, Thread.Trim.Helper.Partition, Thread.Trim.Helper.Partition.Direct, Thread.Trim.Helper.Partition.OS, ThreadToView.Trim, Component.ProgressSection, OS.Version.Helper, Getter.OS.Version, Getter.External; type TTrimStage = (Initial, InPr...
unit ParametersValueQuery; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseEventsQuery, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, Fir...
unit Chronogears.Form.Main; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls, FMX.Controls.Presentation, FMX.Layouts, FMX.ListBox, FMX.Objects, FMX.ScrollBox, FMX.Memo, FMX.Edit, IPPeerCli...
unit peminjaman_handler; interface uses tipe_data; { KONSTANTA } const nmax = 1000; // Asumsi bahwa size terbesar dari database adalah 1000 { DEKLARASI TIPE } type peminjaman = record Username, ID_Buku, Tanggal_Peminjaman, Tanggal_Batas_Pengembalian, Status_Pengembalian : string; end;...