text
stringlengths
14
6.51M
unit UUtilsFeedback; interface uses Windows, Forms, ComCtrls, StdCtrls, Classes; type ISyncFeedback = interface ['{BE462EDD-CCB8-45F9-859A-80C3C8D3485E}'] procedure FeedbackStart(strPart: string; iMax: integer); procedure FeedbackProgress(iPosition: integer); procedure FeedbackReady; end; TF...
{ Routines that convert between different representation of values. } module picprg_convert; define picprg_sec_ticks; define picprg_volt_vdd; %include 'picprg2.ins.pas'; { ******************************************************************************* * * Function PICPRG_SEC_TICKS (PR, SEC) * * Return the number ...
unit Project_u; // Craig Stroberg // 70854 // The project object is a representation of what is needed for a project interface uses SysUtils; type TProject = class private id: integer; fullname: string; { Private declarations } public // ID function getId(): integer; procedure setId(p...
{========================================================================= TTBaseプラグインテンプレート(Plugin.pas) このファイルはできるだけ変更しない。 Main.pasに処理を書くことをお勧めします。 =========================================================================} unit Plugin; interface uses ...
unit db_management; interface uses dbConn_u , Variants, SYsUtils, Messages, Dialogs; type TPOSQuery = class(TObject) private F : TextFile; function getLastUser : string; const BACKUP = 'dataSources/backup.txt'; procedure writeToFile(location, Contents : String ; ResetVar : Boolean); // FILE @ POS...
// ---------------------------------------------------------------------------- // Unit : PxCommandLine.pas - a part of PxLib // Author : Matthias Hryniszak // Date : 2005-04-11 // Version : 1.0 // Description : Command-line utilities // Changes log : 2005-04-11 - initial version (based on ...
unit AddNewCustomer; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DB, ADODB, Grids, DBGrids, StdCtrls, ExtCtrls, Menus, jpeg, ComCtrls, ToolWin, Mask, Vcl.Buttons; type TFRMAddNewCustomer = class(TForm) DBGCustomerList: TDBGrid; ADOTCustomer: TADO...
{******************************************************************************* Title: T2Ti ERP Description: VO relacionado à tabela [SIMPLES_NACIONAL_DETALHE] The MIT Li...
unit unitMain; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, ListFilterEdit, SynHighlighterHTML, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls, EditBtn, Grids, ActnList, Menus, ComCtrls, unitSettings; type { TformMain } TformMain = class(TForm) actUssage: TAction; actNew...
unit COMPortInfoObj; {$mode objfpc}{$H+} interface uses Classes, SysUtils, IniFiles, LoggerItf; type { TCOMMPortInfo } TCOMMPortInfo = class(TObjectLogged) private FData : Pointer; FIsAvailable : Boolean; FIsExist : Boolean; FNum : Byte; FPrefix ...
{$IFDEF DELPHI_2005_UP}{$REGION 'Класс TThreadWindow является потомком TThread, и содержит окно с иконкой, текстом и индикатором хода работы. Можно использова...'}{$ENDIF} /// <summary>Класс TThreadWindow является потомком TThread, и содержит окно с иконкой, текстом и индикатором хода работы. Можно /// использовать при...
unit BCEditor.Editor.TokenInfo; interface uses System.Classes, Vcl.Controls, Vcl.Graphics, BCEditor.Types, BCEditor.Editor.TokenInfo.Colors, BCEditor.Editor.TokenInfo.Title; const BCEDITOR_TOKEN_INFO_DEFAULT_OPTIONS = [tioAutoSize]; type TBCEditorTokenInfo = class(TPersistent) strict private ...
{ Subroutine STRING_T_INT16O (S,I,STAT) * * Convert the string in S to the 16 bit integer number I. * The string is assumed to be in OCTAL notation. } module string_t_int16o; define string_t_int16o; %include 'string2.ins.pas'; procedure string_t_int16o ( {convert OCTAL string to 16 bit integer} in ...
unit Form.Main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.AppEvnts, System.Actions, Vcl.ActnList, Vcl.StdCtrls, Vcl.ExtCtrls; type TForm1 = class(TForm) ActionList1: TActionList; Action1:...
unit EditRegisteredServerDialogFMX; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Layouts, FMX.Objects, FMX.ListBox, FMX.Edit, FMX.StdCtrls, FMX.TabControl, FMX.Controls.Presentation, StringSu...
{ Routines that write data to the target chip. } module picprg_write; define picprg_write; define picprg_write8b; define picprg_write_targw; %include 'picprg2.ins.pas'; { ******************************************************************************** * * Subroutine PICPRG_WRITE (PR, ADR, N, DAT, MASK, STAT) * * ...
unit Game; {$mode objfpc}{$H+} interface uses Classes, SysUtils, StdCtrls, Buttons, Board, Forms, Controls, History, BoardRepresentation, Dialogs; type TState = (Playing, Undoing, NotPlaying); //rozróżnienie miedzy grą a poruszaniem sie po historii TPlayer = (Human, Computer); TGame = class public ...
{ Set HavokDontSettle flag on references of meshes from the list } unit UserScript; var slModels: TStringList; function Initialize: integer; var i: integer; begin slModels := TStringList.Create; slModels.LoadFromFile(ScriptsPath + 'Skyrim - Set HavokDontSettle models list.txt'); slModels.Text := StringRep...
{****** 单 元:DataExp.pas 作 者:刘景威 日 期:2008-11-16 说 明:DBGrid、DBGridEh数据导出为Excel文件,直接写数据流 更 新:此直写流为Excel 2.1格式,office 2010及以上版不能打开,需改为Excel对象生成方法 ******} unit DataExp; interface uses Windows, Classes, SysUtils, Variants, ComObj, IdGlobal, DB, ADODB, DBGrids, DBGridEh; var CXlsBof: array[0....
unit main; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls, ComCtrls, PairSplitter, Grids, Buttons, FpHttpClient, LCLIntf, LCLType, OpenSslSockets, OpenSsl, strutils; type { TFrmMain } TFrmMain = class(TForm) BtnDelHeader: TButto...
program agendaArvore; {Objetivo:Guardar numa estrutura não linear uma agenda em ordem alfabética Responsável:Felipe Schreiber Fernandes DRE: 116 206 990 Data:14/12/2016} uses minhaBiblioteca; Type noAgenda=^regAgenda; regAgenda=record nome:string; tel:string; esq,dir:noAgenda; end; Const...
unit CreatorForm; interface uses Messages, Classes, Graphics, Controls, Forms, Dialogs, Spin, ComCtrls, StdCtrls, ExtCtrls, GraphicEx, Types, XMLDoc, XMLIntf, InputFilterFunctions; type TfrmCreator = class(TForm) pgcMain: TPageControl; pgcMain3: TTabSheet; pgcMain4: TTabSheet; pgcMain1: TTabS...
{-----------------------------------------------------------------------------} { A component to read version info resources. It is intended for Delphi 3, } { but should work with any file that contains a properly formatted resource. } { Copyright 1996, Brad Stowers. All Rights Reserved. } ...
unit filecontentprovider; {$mode objfpc}{$H+} interface uses Classes, Controls, SysUtils, BaseContentProvider; type { TFileContentProvider } TFileContentProvider = class(TBaseContentProvider) private public function CanGoBack: Boolean; override; function CanGoForward: Boolea...
unit ufrmActivatePOS; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ufrmMasterBrowse, StdCtrls, ExtCtrls, ActnList, Mask, System.Actions, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, dxBarBuiltInMenu, cxStyles, cxCustomData, cxFilter, cx...
unit cNotificacao; interface uses FireDAC.Comp.Client, Data.DB, FMX.Graphics; type TNotificacao = class private FConn : TFDConnection; FDT_GERACAO: TDateTime; FEXTRA2: string; FEXTRA1: string; FTEXTO: string; FIND_LIDO: string; FID_USUARI...
unit ViewBase; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DBXFirebird, Data.DB, Data.SqlExpr, Data.FMTBcd, Datasnap.Provider, Datasnap.DBClient, Data.DBXMSSQL, Vcl.StdCtrls, Vcl.Grids, Vcl.DBGrids, System.Binding...
unit uCefScriptBase; interface uses Classes, SysUtils, System.SyncObjs, System.IOUtils, // uCEFInterfaces, uCEFChromium, uCEFTypes, // uReLog3, uLoggerInterface, // uCefWebActionBase, uCefWebAction, uCefUtilType; const PAUSE_DEF = '1111-3333'; PAUSE_STEP_DEF = 3000; CHARS_SPACE ...
PROGRAM Fibonacci(INPUT, OUTPUT); {$COPERATORS ON} {Выводит N-ое число последовательности Фибоначчи, N = 0..92 Время работы - O(log(N)) с использованием бинарного возведения матрицы в степень} TYPE MATRIX = RECORD M, N: INTEGER; V: ARRAY OF ARRAY OF INT64 END; FUNCTION NewMatrix(M, N : INTEGER): MATRIX; BEGIN ...
unit SQLConverterRegistry; interface uses Classes, SysUtils, Contnrs, SQLConverter; type TSQLConverterRegistryItem = class (TObject) private FNull: Boolean; FTableName: String; FConverter: ISQLConverter; public property Null: Boolean read FNull write FNull; property Tabl...
(* @file UConstants.pas * @author Willi Schinmeyer * @date 2011-10-30 * * All the constants used in the program. *) unit UConstants; interface uses crt, //colors UTetrominoShape; //TTetrominoShape const // Main Menu Keys //key for starting the game - must be printable! NEWGAME_KEY = '1'; //ke...
unit StringMetaTestForm; 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, FMX.Edit, FMX.Controls.Presentation, FMX.ScrollBox, FMX.Memo.Types; type TFo...
unit angFrmIntelligence; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls, ComCtrls, Menus, angSnippet, angPkz; type { TfrmIntelligence } TfrmIntelligence = class(TForm) ListView1: TListView; Panel1: TPanel; procedure Button...
unit Unit_Cypher; interface type TBinaryDigits = 0 .. 1; TValue = array of TBinaryDigits; TBitsToCalc = array of integer; TLFSR = class(TOBject) private BitsToCalc: TBitsToCalc; public Value: TValue; Size: integer; LastDigit: TBinaryDigits; constructor Create(const InitValue: TValue; ...
unit Component.GraphicNumber; interface uses System.Classes, Vcl.Controls; type TGraphicNumber = class(TGraphicControl) private FNumber: Integer; procedure SetNumber(const aNumber: Integer); protected procedure Paint; override; public constructor Create(Owner: TComponent); override; p...
(****************************************************************) (* Programmname : WINDOWS.PAS V2.7 *) (* Programmautor : Michael Rippl *) (* Compiler : Quick Pascal V1.0 *) (* Inhalt : Routinen fr Fensterverwaltung ...
unit AsyncHttpServer.RequestParser; interface uses System.SysUtils, AsyncIO, AsyncHttpServer.Request; type HttpRequestState = ( HttpRequestStateNeedMoreData, HttpRequestStateValid, HttpRequestStateInvalid ); HttpRequestParser = interface ['{02575C91-D940-4399-B2AD-BE943B6A3DAB}'] functi...
unit MainWindow; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, sebastian.vogt.exampleEvent; type { TForm1 } TForm1 = class(TForm) counter: TCounter; strList: TStringList; outputMemo: TMemo; runBtn: TButton; procedure runBtnClick(Sen...
unit UxlStrUtils; interface uses windows, UxlClasses, UxlMath; type TCompareResult = (crSmaller = -1, crEqual, crLarger); function StrAlloc(Size: Cardinal): PWideChar; function StrBufSize(const Str: PWideChar): Cardinal; procedure StrDispose(Str: PWideChar); function IsSameStr (const S1, s2: widestring...
unit fImportAppointments; interface uses Generics.Collections, Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, System.Actions, Vcl.ActnList, Vcl.StdCtrls, fAppointmentList, Vcl.ExtCtrls, DBGrids, Entities.Scheduling, DB, uA...
unit Marvin.Console.GUI.Lista.Clientes; interface uses { comunicação } Marvin.Desktop.Repositorio.AulaMulticamada, { exceções } Marvin.AulaMulticamada.Excecoes.Cliente, { classes } Marvin.AulaMulticamada.Classes.Cliente, Marvin.AulaMulticamada.Listas.Cliente; type TPaginaListaClientes = class(TObject...
unit FHIRPluginSettings; { Copyright (c) 2011+, HL7 and Health Intersections Pty Ltd (http://www.healthintersections.com.au) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of sourc...
unit Aurelius.Drivers.UIB; {$I Aurelius.inc} interface uses Classes, DB, Variants, Generics.Collections, uiblib, uib, uibdataset, Aurelius.Drivers.Base, Aurelius.Drivers.Interfaces; type TUIBResultSetAdapter = class(TInterfacedObject, IDBResultSet) private FDataset: TUIBQuery; FF...
unit FreeUtils; // ========================================================== // // Delphi wrapper for FreeImage 3 // // Design and implementation by // - Anatoliy Pulyaevskiy (xvel84@rambler.ru) // // Contributors: // - Enzo Costantini (enzocostantini@libero.it) // - Armindo (tech1.yxendis@wanadoo.fr) // - Lorenzo Mo...
unit Loader; interface uses Generics.Collections, SimpleXML, MapTypes; type TProject = class(TObject) private type TSourcesTable = TObjectDictionary<Integer,TModel>; private FFileName: string; FProjectPath: string; FDataSources: TSourcesTable; FLayoutSources: TSourcesTable; FMod...
unit clEndereco; interface type TEndereco = class(TObject) private function getBairro: String; function getCep: String; function getComplemento: String; function getLogradouro: String; function getNumero: String; function getReferencia: String; function getCidade: String; function ...
unit COMMONS; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Generics.Defaults,StrUtils; type CompairFunc<K> = reference to function(value1,value2:K):boolean; ConvertFunc<F,T> = reference to function(value:F):T; type MArray<T> = class private...
unit AsyncIO.Net.IP.Detail.TCPImpl; interface uses IdWinsock2, AsyncIO, AsyncIO.Net.IP, AsyncIO.Net.IP.Detail; type TTCPSocketImpl = class(TInterfacedObject, IPStreamSocket, IPSocketAccess) strict private FSocketHandle: TSocket; FService: IOService; FProtocol: IPProtocol; procedure CreateSocke...
unit ufAppProtect; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Registry; type TfAppProtect = class(TForm) public LabText: TLabel; LabSN: TLabel; LabCR: TLabel; EdtSN: TEdit; EdtCR: TEdit; BevUp: TBevel; BevDown: TBev...
unit SnakeUnit; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Coords, Crt, VidUtils; const HEAD_COLOR = Black; BODY_COLOR = Black; BODY_ALT_COLOR = Red; GROW_AMOUNT_ON_START = 3; GROW_AMOUNT_ON_EAT = 6; SNAKE_EYES = '"'; SNAKE_BODY = ' '; type { TSnake } TSnake = class private P...
unit main; {$mode objfpc}{$H+} interface uses Classes, SysUtils, sqlite3conn, sqldb, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, EditBtn; type { TmainForm } TmainForm = class(TForm) Button1: TButton; Button2: TButton; Button3: TButton; Button4: TButton; Button5: TButton; ...
unit Human; interface type THuman = class private name: string; age: integer; public Constructor Init(n: string; a: integer); Function get_name(): string; Function get_age(): integer; procedure print(); virtual; end; implementation Constructor THuman.Init(n: string; a: integer); begin name ...
unit uCommonLib; {$mode objfpc}{$H+} interface uses Classes , SysUtils, variants; resourcestring fileERROR_LOG = './Logs/ErrorLog.txt'; fileDEBUG_LOG = './Logs/DebugLog.txt'; type TCompareResult = (crBetter, crWorse, crEqual, crNone); TCompareFunc = function (A, B : TObject) : TCompareResult; TCoordi...
{ 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 later v...
unit MinimalButton; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LResources, Forms, Controls, Graphics, DrawUtils, GraphUtil, Dialogs, Math; type TMButtonStyle = (bsNormal, bsGradient, bsNone, bsFlat, bsFlatBorder, bsBorderless, bsBorderOnly); TMinimalButton = class(TGraphicControl) private ...
unit uWaitASec; (* Permission is hereby granted, on 23-Apr-2005, free of charge, to any person obtaining a copy of this file (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of t...
{ 文件名:uContract.pas 说 明:合同管理单元 编写人:刘景威 日 期:2009-03-15 更 新: } unit uContract; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Menus, ActnList, DB, ADODB, ComCtrls, ExtCtrls, Grids, DBGrids, DBGridEh, StdCtrls, RzPanel, RzButton, uInq...
unit Ranges; //////////////////////////////////////////////////////////////////////////////// // // Author: Jaap Baak // https://github.com/transportmodelling/Utils // //////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////...
object RegInfoForm: TRegInfoForm Left = 255 Top = 107 Hint = 'Use Right button to move map window' BorderStyle = bsNone Caption = 'Region Info' ClientHeight = 200 ClientWidth = 335 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clBtnText Font.Height = -11 Font.Name = '...
unit ipexport; interface {$WEAKPACKAGEUNIT} uses Windows; type // // IP type definitions. // IPAddr = LongWord; // An IP address. IPMask = LongWord; // An IP subnet mask. IP_STATUS = LongWord; // Status code returned from IP APIs. // // The ip_option_information structure desc...
{ Resource library for TES5Edit scripting. } Unit CobbTES5EditUtil; {$REGION 'Delphi syntax helpers'} { Copies the contents of aslB into aslA. } Procedure MergeTLists(aslA: TList; aslB: TList); Var iIterator: Integer; Begin For iIterator := 0 To aslB.Count - 1 Do Begin If aslA.IndexOf(a...
{ ******************************************************************************* Title: T2Ti ERP Description: Janela de conciliação de lançamentos contábeis The MIT License Copyright: Copyright (C) 2016 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associ...
unit state; {$mode objfpc}{$H+} interface uses Classes, SysUtils; type { TState } TState = class(TObject) private fName: string; fX: cardinal; fY: cardinal; procedure SetName(AValue: string); public constructor Create; constructor CreateAt(X, Y: cardinal); ...
unit ufrmCategorias; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ufrmDialogo, FlatHeader, DBGridEhGrouping, ToolCtrlsEh, DBGridEhToolCtrls, DynVarsEh, Data.DB, IBCustomDataSet, IBTable, Vcl.ExtCtrls, Vcl.DBCt...
unit StreamsEditor; //TODO: progressbar interface uses Windows, Messages, CommCtrl, ShellAPI, AvL, avlUtils, avlListViewEx, NotesFile, DataNode, Editor; type TStreamsEditor = class(TEditorPage) ToolBar: TToolBar; StreamsList: TListViewEx; ListMenu, CompressionMenu: TMenu; private ...
{ Copyright 2023 Ideas Awakened Inc. Part of the "iaLib" shared code library for Delphi For more detail, see: https://github.com/ideasawakened/iaLib 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 ...
{$i deltics.IO.text.inc} unit Deltics.IO.Text.TextReader; interface uses Classes, Deltics.InterfacedObjects, Deltics.StringEncodings, Deltics.StringTypes, Deltics.IO.Text.Interfaces, Deltics.IO.Text.Types; type TDecoderMethod = procedure(const aInputBuffer: Pointer; const aInput...
unit FreeOTFEfmeOptions_Hotkeys; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls, FreeOTFESettings, SDUStdCtrls, CommonfmeOptions_Base, FreeOTFEfmeOptions_Base; type TfmeOptions_Hotkeys = class(TfmeFreeOTFEOptions_Base) g...
unit Unit2; interface uses Math; const e = 0.001; type Fun = function(x: extended): extended; TTask = class Counter: integer; constructor Create; function f(x: extended): extended; function MS(a1,a2: extended): extended; end; implementation constructor TTask.Create; begin inherited Create; end; function T...
unit aOPCChart; interface uses Classes, Windows, SysUtils, Types, VCL.Controls, aOPCSource, aOPCLineSeries, uChoiceIntervalExt, uOPCInterval, VCLTee.Chart, VCLTee.TeEngine, VCLTee.TeCanvas; type TZoomKind = (zsTime, zsValue); TZoomSet = set of TZoomKind; TaOPCChart = class(TChart) private FRealT...
unit fmDeploymentItem; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Buttons, StdCtrls, ExtCtrls, hcDeployment, hcErrorIndicator, hcComponent, hcUIObjectBinding, ComCtrls, uPatcher; type TfrmDeploymentItem = class(TForm) ledFileName: TLabele...
unit UDialogs; interface uses Windows, Messages, UxlDialog, UxlStdCtrls, UxlTabControl, UxlPanel, UxlMiscCtrls, UxlComboBox, UCommPanels, UGlobalObj; type TAboutBox = class (TxlDialog) private Fstprogram: TxlStaticText; protected procedure OnInitialize (); override; procedure O...
unit EdgeStack; {$mode objfpc}{$H+} interface uses Classes, SysUtils, VertexStack; type EdgeNode = ^TEdgeNode; // ссылка на элемент списка ребер графа Edge = ^TEdge; TEdge = record // ребро графа Bride: Vertex; Groom: Vertex; end; TEdgeNode = record // элемент списка ребер графа Data: Edg...
// MIT License // Copyright (c) Wuping Xin 2020. // // 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, mo...
Program secant_method; type vector = array[0..256] of real; var //coefficients of polynomial coefficients: vector; //degree of polynomial degree: integer; //precision of a solution epsilon: real; //solution boundries x1, x2, x3: real; //counter i: integer; {procedure write_pl; begin write(coefficients[...
// // https://github.com/showcode // unit TreeTypes; interface uses SysUtils; type // определение типа точки TKDPoint = array of Integer; // определение набора точек TKDPoints = array of TKDPoint; // предварительная декларация TKDNode = class; // определение типа процедуры, для...
Unit AdvPersistents; { Copyright (c) 2001-2013, Kestral Computing Pty Ltd (http://www.kestral.com.au) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the ...
unit ZhFileTreeImpl; interface uses Windows, Classes, SysUtils, ComCtrls, ComStrs, ZhTreeImpl; const { 定义消息 } FILE_LIST = $00000001; FILE_INFO = $00000002; FILE_DOWNLOAD = $00000003; { 网络超时 } G_TIMEOUT = 10000; type { 资源文件类型 } TResType = (rtFile, rtDirectory, rtExe...
unit ProgramInfoForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, MathsCodesForm, UserClass, System.UITypes; type TProgramInfo = class(TForm) lblProgramName: TLabel; lblPro...
unit HashTable; interface uses SysUtils, Variants, Classes, Controls, Contnrs; type THashItem = class(TObject) private FId: string; FData: TObject; public constructor Create(Id: string; Data: TObject); destructor Destroy(); override; property Id: string read FI...
unit uJxdLyricShow; interface uses Windows, Messages, Classes, uJxdLyricParse, Graphics, sysUtils, uJxdDrawSub, uJxdWndHook; type {$M+} TLyricShowStyle = (lskHorizontal, lskVertical); TxdLyricShow = class public constructor Create; destructor Destroy; override; function BeginLyricShow(const ...
unit U_CadastroReceitas; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, U_CADASTROPADRAO, System.Actions, FMX.ActnList, FMX.Controls.Presentation, FMX.Layouts, FMX.ListBox, F...
unit TextEditor.Search.Base; interface uses System.Classes, TextEditor.Lines; type TTextEditorSearchBase = class strict private FCaseSensitive: Boolean; FStatus: string; FWholeWordsOnly: Boolean; procedure SetCaseSensitive(const AValue: Boolean); protected FPattern: string; FResults:...
{****************************************************************************} { @@Copyright:SUNTOGETHER } { @@Summary:框架基本类。 } { @@Description: } { @@Au...
begin write('*NOTHING*')end.
unit cvEasyUI; (* Libray for building html pages Copyright (C) 2014 Costas Velissariou velissariouc@gmail.com See the file LICENSE.txt, included in this distribution, for details about the copyright. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; wi...
{$i deltics.inc} unit Test.Memory.AllocCopy; interface uses Deltics.Smoketest; type MemoryAllocCopy = class(TTest) procedure AllocatesNewMemoryWithBytesCopiedFromSource; end; implementation uses Deltics.Pointers; { CopyBytes } procedure MemoryAllocCopy.AllocatesNewMemoryWit...
unit uProxy; interface uses DBClient, uSubject, Data.DBXJSONReflect; type { Proxy } TCalculadorProxy = class(TInterfacedObject, ICalculador) private // Armazena uma referência para o Real Subject (objeto real) CalculadorReal: ICalculador; // DataSet para armazenar os dados de cache CacheDado...
unit Import3ds; interface uses Windows, SysUtils, Classes, Controls, Dialogs, PMBuild; function Read3ds(Data, PMesh: TStream): Boolean; implementation const ROOT_CHUNK=$4D4D; EDIT_CHUNK=$3D3D; EDIT_OBJECT_CHUNK=$4000; OBJ_TRIMESH_CHUNK=$4100; TRI_VERTEX_CHUNK=$4110; TRI_MAPPINGCOORDS...
unit app.Funcoes; interface uses IdHashMessageDigest, System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants; function MD5(const aTexto : String) : String; function IsEmailValido(const aEmail : String) : Boolean; implementation function MD5(const aTexto : String) : Stri...
unit TestuOrderProcessor; interface uses TestFramework, uOrderInterfaces; type TestTOrderProcessor = class(TTestCase) strict private FOrderProcessor: IOrderProcessor; public procedure SetUp(); override; published procedure TestProcessOrder; end; implementation uses uOrder, uOrderValid...
{ Este exemplo foi baixado no site www.AndreCelestino.com Passe por lá a qualquer momento para conferir os novos artigos! :) contato@andrecelestino.com } unit uPrincipal; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, V...
unit UCaesar; interface uses Classes, Vcl.Dialogs, System.SysUtils, UEncryption; type TCaesar = class(TEncryption) private ALPHABET: Array[1..26] of Char; procedure CreateAlphabet(); public constructor Create(C: TComponent); procedure Decrypt; override; procedu...
unit UFigures; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Graphics, Math; type TFigure = Class SizePen:Integer; Points:array of TPoint; procedure Draw(Canvas:TCanvas); virtual; end; TPen = Class(TFigure) procedure Draw(Canvas:TCanvas); override; end; TLine = Class(TFigure) p...
{ Automatic Armor Progression By Isvvc Uses mteFunctions } unit UserScript; uses 'lib\mteFunctions'; function HexStrToInt(const str: string): Integer; begin Result := StrToInt('$' + str); end; function IndexOfHighestRating(armor: string): Integer; var i, rating, indexOfHighestRating, highestRating: Integer...
unit ServerOperationForm; { Copyright (c) 2011+, HL7 and Health Intersections Pty Ltd (http://www.healthintersections.com.au) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of sourc...
{ ORM Brasil é um ORM simples e descomplicado para quem utiliza Delphi Copyright (c) 2016, Isaque Pinheiro All rights reserved. GNU Lesser General Public License Versão 3, 29 de junho de 2007 Copyright (C) 2007 Free S...
unit CaseState; interface uses Classes, Types, Generics.Collections, CodeElement, WriterIntf; type TCaseStatement = class(TCodeElement) private FCases: TObjectList<TCodeElement>; FRelation: TObjectList<TCodeElement>; FElseCase: TObjectList<TCodeElement>; FId: string; procedure...
//unit unicodestringslcl; // //{$mode objfpc}{$H+} // //interface // //uses // Classes, SysUtils; {$ifdef SECTION_INTERFACE} type TUnicodeStrings = class; { TUnicodeStringsEnumerator class } TUnicodeStringsEnumerator = class private FStrings: TUnicodeStrings; FPosition: integer; ...
unit InfraInjected; interface {$I InfraCommon.Inc} uses {$IFDEF USE_GXDEBUG}DBugIntf, {$ENDIF} Classes, InfraCommonIntf, InfraCommon; type TInjectedItem = class(TBaseElement, IInjectedItem) private FID: TGUID; FInjectedInterface: IInterface; FIsAnnotation: boolean; ...