text
stringlengths
14
6.51M
// Ported CrystalDiskInfo (The MIT License, http://crystalmark.info) unit SMARTSupport.Micron.New; interface uses BufferInterpreter, Device.SMART.List, SMARTSupport, Support; type TNewMicronSMARTSupport = class(TSMARTSupport) private function CheckMU014Characteristics( const SMARTList: TSMARTValueLis...
unit ncTempo; interface uses SysUtils, DB, MD5, Classes, Windows, ClasseCS, ncClassesBase; type TncTempo = class private function GetString: String; procedure SetString(const Value: String); public teID : Integer; teDataHora : TDateTime; teFunc : String; teTi...
unit uIShorten; interface type IShorten = interface function Shorten(LongURL: String): String; end; IFactoryMethod = interface function ShortURL(Token: String): IShorten; end; implementation end.
unit uMain; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons; type TMainForm = class(TForm) ListBtn: TBitBtn; ClearBtn: TBitBtn; DelBtn: TBitBtn; SortBtn: TBitBtn; procedure FormCreate(Sender: TObject); procedure FormCl...
unit UFrmGoodsInfo; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uFrmGrid, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxStyles, dxSkinsCore, dxSkinsDefaultPainters, dxSkinscxPCPainter, cxCustomData, cxFilter, cxData, cxDataStora...
{**********************************************} { TDonutSeries } { Copyright (c) 1999-2004 by David Berneda } {**********************************************} unit TeeDonut; {$I TeeDefs.inc} interface Uses {$IFDEF CLR} Classes, {$ELSE} {$IFNDEF LINUX} Windows, ...
unit uGeometryClasses; interface uses System.Types; { 增加初始长宽和现在的长宽到这个记录里面来,这样便于数据的统一记录.... 这样在计算缩放的时候,所有的参数都齐全了.... } Type T2DPosition = record InitX,InitY : Single; X,Y : Single; InitWidth, InitHeight : Single; Width, Height : Single; Rotate : Single; ScaleX,ScaleY : Single; ...
unit Test.Devices.Mercury.Parser; interface uses TestFrameWork, GMGlobals, Classes, SysUtils, Devices.Mercury, Windows, Test.Devices.Base.ReqParser, GmSqlQuery, UsefulQueries, Threads.ResponceParser, GMConst, Math; type TLocalSQLWriteThreadForTest = class(TResponceParserThreadForTest); TMercuryParserForTest...
unit UFrmWorkerRight; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uFrmBar, dxSkinsCore, dxSkinsdxBarPainter, dxSkinsDefaultPainters, cxClasses, dxBar, cxControls, cxLookAndFeels, cxLookAndFeelPainters, ComCtrls, cxSplitter, cxListView, cxContainer...
unit cPagamento; interface uses SysUtils; type Pagamento = class (TObject) protected codPag : integer; valPag : real; statusPag : string; dataPag : TDateTime; tipoPag : string; public Constructor Create(codPag:integer; valPag : real; statusP...
unit mopmaterial; {$mode objfpc}{$H+} interface uses Classes, SysUtils, fgl, complexes, moptype, math; type { TNKPoint } TNKPoint = class public eps: complex; // квадрат показателя преломления wln: real; // волны constructor Create; end; TNKPoints = specialize TFP...
unit CSCTimerList; {$B-} {Complete Boolean Evaluation} {$I+} {Input/Output-Checking} {$P+} {Open Parameters} {$T-} {Typed @ Operator} {$W-} {Windows Stack Frame} {$X+} {Extended Syntax} interface uses Windows, Classes, Forms, Messages, SysUtils, CSCTimer; type TTriggerEvent = procedure(Sende...
unit AverageLogger.Write; interface uses AverageLogger; type TAverageWriteLogger = class(TAverageLogger) protected function GetUnit: Double; override; end; implementation function TAverageWriteLogger.GetUnit: Double; begin result := 0.064; end; end.
{$A-,B-,E-,F-,G+,I-,N-,O-,P-,Q-,R-,S-,T-,V-,X-} {$D-,L-,Y-} const screen : word = $a000; var what : pointer; x,y,i : integer; j,k : integer; {----------------------------- Procedures --------------------------------} {-------------------------- Wait for a key ------------------------} pr...
unit UnCaixaMenuView; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, { Fluente } DataUtil, UnModelo, UnCaixaModelo, Componentes, UnAplicacao, CaixaAplicacao, JvExControls, JvButton, JvTransparentButton; type TCaixaMenuView = class(TForm, ITela...
unit fPtSel; { Allows patient selection using various pt lists. Allows display & processing of alerts. } {$OPTIMIZATION OFF} // REMOVE AFTER UNIT IS DEBUGGED {$define VAA} interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrl...
unit IdBlockCipherIntercept; {----------------------------------------------------------------------------- UnitName: IdBlockCipherIntercept Author: Andrew P.Rybin [magicode@mail.ru] Creation: 27.02.2002 Version: 0.9.0b Purpose: Secure communications History: -------------------------------------------------...
// // This unit is part of the GLScene Project, http://glscene.org // { : GLAsyncTimer - asynchronous timer component (actual 1 ms resolution).<p> This component is based on ThreadedTimer by Carlos Barbosa.<p> <b>History : </b><font size=-1><ul> <li>17/11/14 - PW - Refactored TAsyncTimer to TGLAsyncTime...
unit user_handler; interface uses tipe_data; { KONSTANTA } const nmax = 1000; // Asumsi bahwa size terbesar dari database adalah 1000 { DEKLARASI TIPE } type user = record Nama, Alamat, Username, Password, Role : string; end; tabel_user = record t: array [0..nmax] o...
unit utexture; {$mode objfpc}{$H+} interface uses Classes, SysUtils, SDL2; type TTexture = record RawTexture : PSDL_Texture; Width, Height : Int32; Transparent, Solid : boolean; RenderTarget : PSDL_Renderer; end; type PTexture = ^TTexture; function LoadTexture(_RenderTarget : PSDL_Renderer; FileName: str...
unit fGMV_SelectColor; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, ImgList, StdCtrls, ExtCtrls, System.ImageList; type TfrmGMV_SelectColor = class(TForm) ilColors: TImageList; Panel1: TPanel; lvColors: TListView; procedu...
unit uConexaoBanco; interface uses SqlExpr, inifiles, SysUtils, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, FireDAC.Comp.Client, FireDAC.Comp.UI, FireDAC.Stan.Param, ...
// ################################## // # TPLVisor - Michel Kunkler 2013 # // ################################## (* Parser *) unit TPLParser; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Menus, StrUtils, TPLErrors, TPLBefehle; type ...
unit XMLBuilderReg; interface uses Windows, Messages, SysUtils, Classes, WebComp, XMLBuilderComp; procedure Register; implementation uses inetreg, SiteComp, DesignIntf, SItemEdt, WCompReg, WCmpEdit, XMLAdapterBuilder; type TWebSiteItemsPropertyEditor = class(TWebPageItemsPropertyEditor) protected functi...
unit xQuestionInfo; interface uses System.SysUtils, System.Classes; type TQuestionInfo = class private FQid : Integer ; FQtype : Integer ; FQname : String ; FQCode : string ; FQdescribe : String ; FQanswer : String ; FQexplain : Stri...
unit UNewPedidoAWBDetail; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, DBGridEh, Data.DB, MemDS, DBAccess, Uni, Vcl.StdCtrls, Vcl.Mask, DBCtrlsEh, DBLookupEh, UFrameSave; typ...
unit uMenu; interface uses SysUtils; type TMenu = class private programmeNumber : integer; starters, mains, dessert, details, fullText : string; public constructor Create(progNo: integer); function getStarters : string; function getMains : string; function getDessert : st...
{*******************************************************} { } { Borland Delphi Visual Component Library } { NSAPI to ISAPI server application components } { } { Copyright (c) 1997-2001, Bo...
Unit PathInfo; Interface uses DirectoryStat, SysUtils, InternalTypes; type tPIState = (tpisNone, tpisConfigured, tpisFound, tpisFilled, tpisExcluded); TPathInfo = class private fPathName : WideString; fState : tPIState; fGroupName : String; fSpecificName : String; fDirStats : tDirectorySt...
program Punto5Tp2; { 5. Una empresa dedicada a la fabricación de licores necesita programa que le permita gestionar la producción de sus productos. Sus necesidades están basadas en los siguientes requerimientos: a. Cargar los diferentes tipos de licores que fabrica. Los mismos están caracterizados por código de licor, ...
unit uTypes; interface type TOraConfig = record HOST: string; PORT: string; SID: string; USERNAME: string; PASSWORD: string; TableName: string; InsertSQL: string; SelectSQL: string; OrderField: string; MaxOrderFieldValue: string; TargetFilePath: string; IntervalSecon...
{ $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 rights reserv...
unit ufrmMain; 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.ScrollBox, FMX.Memo, System.SyncObjs, ncSocketList, ncSources; type TfrmMain =...
unit DominioDataUn; interface uses SysUtils, Classes, FMTBcd, DB, Provider, osSQLDataSetProvider, SqlExpr, osUtils, osCustomDataSetProvider, osSQLDataSet; type TDominioData = class(TDataModule) MasterDataSet: TosSQLDataset; MasterProvider: TosSQLDataSetProvider; MasterDataSetIDDOMINIO: ...
unit uMythos; interface type TMythosCard = record fId: integer; fClueSpawn: integer; fCloseLok:integer; fProcess: integer; fHeadline: integer; fSkillChk: integer; fSkillChkTrue: integer; fSkillChkFalse: integer; fSpeedMod: integer; fSneakMod: integer; fFig...
{ $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 rights reserv...
unit UVersionLabel; // UVersionLabel.pas - Fills in the version label from the FileVersionInfo // Copyright (c) 2000. All Rights Reserved. // Written by Paul Kimmel. Okemos, MI USA // Software Conceptions, Inc 800-471-5890 interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, St...
unit FastStopThreadUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, SyncObjs, StdCtrls, TimeIntervals, ProgressViewer, ExtCtrls; type TMyThread = class(TThread) private Event: TEvent; FUseProgressViewer: Boolean; FUseFullCalls:...
unit ConfiguracoesSistema; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, TemplateCadastroArquivoIni, StdCtrls, Buttons, ExtCtrls; type TfrmConfiguracoesSistema = class(TTemplateCadastroIni) lbl3: TLabel; edtPathBaseDadosXML: TEdit; procedure Form...
{*************************************************************** * * Project : TFTPServer * Unit Name: transfer * Purpose : Sub form * Version : 1.0 * Date : Wed 25 Apr 2001 - 01:40:05 * Author : <unknown> * History : * Tested : Wed 25 Apr 2001 // Allen O'Neill <allen_oneill@hotmail.com> * ********...
unit EstimatedTaxLetterUnit; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, Db, DBTables; type TEstimatedTaxLetterForm = class(TForm) Label1: TLabel; EditNewAssessmentAmount: TEdit; PrintButton: TBitBtn; RAVEEstimatedTaxLetterHeaderTa...
unit CSCServer; interface uses Classes, Windows, WinSock, Dialogs, Math, SysUtils, Messages, CSCBase, CSCCustomBase, CSCQueue, CSCTimer, ScktComp; type TMyServerWinSocket = class (TServerWinSocket); TCSCServerClientWinsocket = class (TServerClientWinSocket) private FSndRcv: TCSCS...
{***************************************************************} {* } {* Purpose : The Editor dialog for Funnel or Pipeline Series } {* Author : Marjan Slatinek, marjan@steema.com } {* ...
program Sample; function Add(A,B : Integer) : Integer; begin Add := A + B end; begin WriteLn('A + B = ', Add(1,2)) end.
unit ExpenseController; interface uses Classes, Expense, AccountTitle, Generics.Collections; type TExpenseController = class private FExpense: TExpense; FData: TDataModule; FTitles: TObjectList<TAccountTitle>; public property Expense: TExpense read FExpense write FExpense; property Data:...
unit fCoverSheetDetailDisplay; { ================================================================================ * * Application: CPRS - Coversheet * Developer: doma.user@domain.ext * Site: Salt Lake City ISC * Date: ####-##-## * * Description: Main fo...
program nasledujuca_permutacia; function nasledujucaVacsia(permutacia : string; index: word) : word; var najIndex, i: word; begin najIndex := index+1; for i:=index + 2 to length(permutacia) do begin if (permutacia[i] > permutacia[index]) and (permutacia[i] <= permutacia[najIndex]) then ...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2016-2018 Embarcadero Technologies, Inc. } { All rights reserved } { ...
namespace Anonymous_Methods; interface uses System.Threading, System.Windows.Forms; type Program = assembly static class public class method Main; end; implementation /// <summary> /// The main entry point for the application. /// </summary> //[STAThread] class method Program.Mai...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
{*************************************************************} { } { Embarcadero Delphi Visual Component Library } { InterBase Express core components } { } ...
program queues; type LongItemPtr = ^LongItem; LongItem = record data: longint; next: LongItemPtr; end; type QueueLongInts = record first, last: LongItemPtr; end; procedure QueueInit(var queue: QueueLongInts); begin queue.first := nil; queue.last := nil end; procedure QueuePut(var queue: QueueLongInts; ...
unit Model.Telefone; interface type TTelefone=class private FDDD: string; FNumero: String; procedure SetDDD(const Value: string); procedure SetNumero(const Value: String); published property DDD:string read FDDD write SetDDD; property Numero:String read FNumero write SetNumero; end; i...
unit SimulatorMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, GMGlobals, GMConst, Vcl.Buttons, Threads.Base, Connection.TCP, Connection.Base; type TEmulationThread = class(TGMThread) pr...
program RecursiveFibonacci; {1 1 2 3 5 :-) Done.} var i : integer; procedure printInt(i:integer); begin putint(i); putch(' ') end; function fib(n:integer):integer; begin if n <= 2 then fib := 1 else begin fib := fib(n-1) + fib(n-2) end end; begin for i := 1 to 5 do ...
{*******************************************************} { } { Delphi Visual Component Library } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
unit MapRangeSelectDialogUnit; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Buttons, StdCtrls, ExtCtrls, PASTypes, Mask; type TMapRangeSelectDialog = class(TForm) OKButton: TBitBtn; CancelButton: TBitBtn; ColorDialog: TColorDialog; Panel1: TPanel; ...
unit MD.View.Client.DataSet; 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.Objects, FMX.ListView.Types, FMX.ListView.Appearances, FMX.ListView.Adapters.B...
unit uTypes; /// всех типов для сокращения основных модулей и возможности передачи типов /// между ними, при необходимости interface type //////////////////////////////////////////////////////////////////////////////// /// TGameManager //////////////////////////////////////////////////////////////////////...
unit Unit2; interface uses {$IFDEF TESTING} TestFramework, {$ENDIF} Classes, SysUtils; type TSuperObject = class(TObject) public function DoSomethingSuper: boolean; end; {$IFDEF TESTING} TTestSuperObject = class(TTestCase) private FSuperObject: TSuperObject; public procedure Setup;...
unit fARTFreeTextMsg; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, fAutoSz, StdCtrls, ComCtrls, ORFn, ExtCtrls, ORCtrls, VA508AccessibilityManager; type TfrmARTFreeTextMsg = class(TfrmAutoSz) pnlText: TORAutoPanel; pnlButton: TORAutoPanel; cmd...
Program SqRoot(input, output); {find the square root by averages} {15/9/21 Nev Goodyer: created from pseudo at https://bwattle.github.io/SquareRoot/JS/Q23.html} {NOTE: int16, int8, single & double are types discussed in the NSW Software Design & Development course} {v1.02 with decPlaces=8 is a great demo of int16 2's c...
program BaseBoardInformation; {$mode objfpc}{$H+} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Classes, SysUtils, uSMBIOS { you can add units after this }; function ByteToBinStr(AValue:Byte):string; const Bits: array[1..8] of byte = (128,64,32,16,8,4,2,1); var i: inte...
{$Q-,R-,S-,G-} Unit tfastwrite; { WARNING: Do not use snow checking if calling these routines from an interrupt. (You should not be writing strings from an interrupt anyway!) TFASTWRITE: Yet another "fastwrite" routine (write text directly to screen ram). Now that 25 years have gone by and I know 8088 assembler to a...
unit VersionQuery; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseQuery, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.In...
PROGRAM Hello(INPUT, OUTPUT); BEGIN REPEAT WRITELN('BEGIN Hello world!'); UNTIL FALSE;END.
unit MD5.Console; INTERFACE uses System.SysUtils, MD5.Utils, Windows; type TConsole = class private CharsCounter: Integer; DefaultAttr: Integer; OutputHandle: Integer; FWidth, FHeight: Integer; procedure Write0(const Attr: Integer; P: PChar; Len: Integer); overload; // MAIN! public ...
{*******************************************************} { } { Delphi DataSnap Framework } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
unit adot.Collections; {$OVERFLOWCHECKS OFF} { Definition of classes/record types: TAutoFreeCollection = record Collection of objects to be destroyed automaticaly when collection goes out of scope. TComparerUtils = class Default comparer/equality comparer etc. TCompound<TypeA,TypeB,TypeC> = record ...
unit UnMovimentoDeCaixaListaRegistrosView; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, JvExControls, JvButton, JvTransparentButton, ExtCtrls, Grids, DBGrids, StdCtrls, Mask, JvExMask, JvToolEdit, JvMaskEdit, JvCheckedMaskEdit, JvDatePickerEdit, { helson...
{*********************************************} { TeeBI Software Library } { Base Model algorithm classes } { Copyright (c) 2015-2016 by Steema Software } { All Rights Reserved } {*********************************************} unit BI.Algorithm.Model; interf...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2014-2019 Embarcadero Technologies, Inc. } { All rights reserved } { ...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2015-2018 Embarcadero Technologies, Inc. } { All rights reserved } { ...
unit U_VECTOR_LIEN_INFO; interface uses Classes, SysUtils, Graphics, Windows, GDIPAPI, GDIPOBJ, Math, Dialogs, System.Types; const /// <summary> /// 选择线的颜色 /// </summary> C_COLOR_SELECT = $00FF0080; C_COLOR_A = $0000E3E3; C_COLOR_B = $00009B00; C_COLOR_C = $000000B7; type /// <su...
unit uCmnFunc; interface uses uStruct; function GetPollingIntervalInMinutes(PollingInterval: TPollingInterval): Integer; implementation function GetPollingIntervalInMinutes(PollingInterval: TPollingInterval): Integer; begin case PollingInterval of pi10m: Result:=10; pi1h: R...
unit EditForm; interface uses Winapi.Windows , Winapi.Messages , System.SysUtils , System.Variants , System.Classes , Vcl.Graphics , Vcl.Controls , Vcl.Forms , Vcl.Dialogs , Vcl.Mask , Vcl.DBCtrls , Vcl.StdCtrls , Vcl.ExtCtrls , Vcl.ComCtrls , Vcl.Menus , System.Ima...
unit NtUtils.Shellcode; interface uses Winapi.WinNt, Ntapi.ntpsapi, NtUtils.Exceptions; const PROCESS_INJECT_CODE = PROCESS_CREATE_THREAD or PROCESS_VM_OPERATION or PROCESS_VM_WRITE; // Copy data & code into the process function RtlxAllocWriteDataCodeProcess(hProcess: THandle; ParamBuffer: Pointer; ParamB...
unit u_xpl_custom_message; {============================================================================== UnitDesc = xPL Message management object and function This unit implement strictly conform to specification message structure UnitCopyright = GPL by Clinique / xPL...
{*******************************************************} { } { Delphi Runtime Library } { } { Copyright(c) 1995-2014 Embarcadero Technologies, Inc. } { ...
unit DigitSetEditor; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls, SudokuType; type { TDigitSetEditorForm } TDigitSetEditorForm = class(TForm) btnOK: TButton; DigitCG: TCheckGroup; procedure DigitCGItemClick(Sender: TObject; {%H-}...
unit u_xPL_Custom_Header; {============================================================================== UnitName = uxPLCustomHeader UnitDesc = Abstract class common to filter header and message header UnitCopyright = GPL by Clinique / xPL Project =================================================...
unit StoHtmlHelp; //////////////////////////////////////////////////////////////// // Implementation of context sensitive HTML help (.chm) for Delphi. // // Version: 1.2 // Author: Martin Stoeckli // Homepage: www.martinstoeckli.ch/delphi // Copyright(c): Martin Stoeckli 2002 // // Restricti...
{ *************************************************************************** } { } { Delphi and Kylix Cross-Platform Visual Component Library } { } ...
unit Serv_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. } { SetParam Demo Server Library } { Version 1.0 } interface uses Window...
unit fGridCases; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, fGridBaseRep, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxStyles, cxCustomData, cxFilter, cxData, cxDataStorage, cxEdit,...
{----------------------------------------------------------------------------- The contents of this file are subject to the GNU General Public 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.gnu.org/copyleft/gpl...
unit uCreateAnim; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, pngimage, ExtCtrls, ComCtrls, Buttons, FaceUnit; type TForm1 = class(TForm) Panel1: TPanel; Button1: TButton; Button2: TButton; Bevel1: TBevel; Panel2...
// // This unit is part of the GLScene Project, http://glscene.org // { : GLSLog<p> Activate GLS_LOGGING in "GLSCene.inc" to turn on inner GLScene logger.<p> You may have only one instance of TGLSLogger<p> To obtain it, call UserLog() function from any unit.<p> <b>Historique : </b><font size=-1><ul> ...
{_______________________________________________________________ FRAKVOSS.PAS Accompanies "Mimicking Mountains," by Tom Jeffery, FRAKFFC.PAS BYTE, December 1987, page 337 revised: 12/11/87 by Art Steinmetz Version for IBM Turbo Pascal v.4.0 Combined FFC and Voss algorithms in one module _______________________...
{*******************************************************} { } { Borland Delphi Visual Component Library } { Web services description language (WSDL) } { generation from RTTI } { ...
{ "HTTP Client provider (WinHTTP)" - Copyright (c) Danijel Tkalcec @html(<br>) Using WinHTTP API to implement a HTTP Client connection provider through HTTP Proxy servers @exclude } unit rtcWinHttpCliProv; {$INCLUDE rtcDefs.inc} interface uses rtcTrashcan, SysUtils, Windows, Classes, rtcSyncO...
program matrizMultiplica2Diagonal; uses Crt; {Algoritimo que checa as entradas do usuário e } {armazena na matriz os número e multiplica os } {elementos da diagonal principal por 2 e imprima } {a matrizresultante} } var aMatriz :array [1..3,1..3] of integer; aLinha,aColuna : integer; begin {Começa a estrutura de rep...
unit Emacsbufferlist; interface procedure Register; implementation uses Windows, Classes, SysUtils, ToolsAPI, Menus, Forms, Dialogs, Controls, Emacsbasebindings; type TEmacsBinding = class(TEmacsBindings, IOTAKeyboardBinding) protected procedure AdjustBlockCase(const Context: IOTAKeyContext; KeyCode: TSh...
unit frm_SqlExportar; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, frm_connection, StdCtrls, DBCtrls, ComCtrls, ExtCtrls, DB, Mask, Grids, DBGrids, global, Buttons, RXCtrls, StrUtils,DBTables, ZAbstractRODataset, ZDataset, UnitExcepciones; type TfrmSqlE...
//Text file utilities //(C)1999-2003 George Birbilis <birbilis@kagi.com> //5Apr2002 - added "skipLines" procedure //5Jun2002 - fixed "loadText" function to not skip empty lines inside the file neither at the end of the file //1Jan2003 - added "writeText" procedure unit ac_TextFileUtil; interface function loadText(v...
{ unit RegisterComp ES: unidad para registrar los componentes FireMonkey EN: unit to register the components FireMonkey ========================================================================= History: ver 0.1.9 ES: nuevo: documentación nuevo: se hace compatible con FireMonkey EN: new: documenta...
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2012-2018 Embarcadero Technologies, Inc. } { All rights reserved } { ...
unit adot.Grammar.Demo; interface uses adot.Collections, adot.Strings, adot.Tools, adot.Tools.IO, adot.Grammar, adot.Grammar.Types, adot.Grammar.Peg, System.SysUtils; type THTMLParser = class(TCustomLanguage) protected { grammar rules } Dok, Element, EndTag, StartTag, Definition,...
unit uTranslateVclConsts; interface uses Windows, Vcl.Consts, uTranslate; Type TTranslateVclConsts = Class(TTranslate) private public class procedure ChangeValues; override; End; Implementation class procedure TTranslateVclConsts.ChangeValues; begin SetResourceString(@SOpenFileTitle, 'Ab...
PROGRAM PointerExample; TYPE IntPointer = ^integer; PROCEDURE Swap(var x, y: integer); var aux: integer; BEGIN (* Swap *) aux := x; x := y; y := aux; END; (* Swap *) PROCEDURE SwapPtr(x, y: IntPointer); var aux: integer; BEGIN (* SwapPtr *) Writeln('x: ', longint(x)); WriteLn('aux: ', longint(@aux)); ...