text
stringlengths
14
6.51M
unit Classes.Funcoes; interface uses Winapi.Windows, 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.Phys.FB, FireDAC.Phys.FBDef, Data.DB, FireDAC.Comp.Client, FireDAC.Phys.IBBase, ...
unit fCliente; interface uses Generics.Collections, Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, AdvEdit, AdvEdBtn, AdvCombo, Lucombo, frEditPessoa, ComCtrls, ActnList, uEditController, Entidades.Cadastro, DB, Aurelius.Bind.Dataset, Grids, AdvObj,...
unit DTT_Console; interface uses DTT_Sound; const NB_LINES = 32; procedure ConsoleReset; procedure ConsoleInput; procedure ConsoleDraw; var Beep: TSample; ExitFlag: Boolean; implementation uses OpenGL12, SysUtils, DTT_GUI, TNT_Font, TNT_3D, DTT_Input, SDL, DTT_Game; var Size:...
unit xe_WORA2; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, System.Math, System.StrUtils, Dialogs, IniFiles, MSXML2_TLB, ShellAPI, cxPCdxBarPopupMenu, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxStyles, cxCustomData, cxFilter, cxData, cxDataSto...
unit TestIntervalPoster; interface uses PersistentObjects, DBGate, BaseObjects, DB, Straton, TestInterval, Fluid; type TTestingAttitudeDataPoster = class(TImplementedDataPoster) public function GetFromDB(AFilter: string; AObjects: TIdObjects): integer; override; function PostToDB(AObject: TIDObject; ACo...
UNIT General_Res; INTERFACE USES SysUtils, Windows, Graphics, JPeg, Classes; CONST SMPAKError:ARRAY[0..3] OF STRING=( 'Erreur générique', 'Fichier introuvable dans le fichier source', 'Erreur durant la décompression d''un flux', ...
unit CHMSiteMapEditor; {$mode objfpc}{$H+} interface uses Classes, SysUtils, chmsitemap, Forms, Controls, Graphics, Dialogs, ComCtrls, ExtCtrls, StdCtrls; type { TSitemapEditForm } TSitemapEditForm = class(TForm) BeforeBtn: TButton; AfterBtn: TButton; DeleteBtn: TButton; ...
unit DAO.BancaVA; interface uses System.Generics.Collections, DAO.Base, Model.BancaVA, Generics.Collections, System.Classes; type TBancaVADAO = class(TDAO) public function Insert(aBanca: Model.BancaVA.TBancaVA): Boolean; function Update(aBanca: Model.BancaVA.TBancaVA): Boolean; function Delete(iID:...
unit fEditor; {written by Charles Richard Peterson, 2007; You can reach me at www.houseofdexter.com or houseofdexter@gmail.com; The code is released under Mozilla Public License 1.1 (MPL 1.1); } interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ActnList, Menus...
unit DateUnit; interface const outputDirName='Output/'; testDirName ='Testdata/'; baseName = testDirName+'TestData'; lengthBase = 1; type Date = record year: 1..3000; month: 1..12; day: 1..31; end; DateToSort = array[1..4000] of Date; function DateIsBigger(var a, b: date; var compar: inte...
unit CRBoxPictureForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, CRBoxPictureFrame, StdCtrls, ExtCtrls, SlottingPlacement, SlottingWell; type TfrmBoxPictureForm = class(TForm) pnlButtons: TPanel; btnOK: TButton; btnCancel: TButton; lblBox...
{$include kode.inc} unit kode_widget_image_panel; //---------------------------------------------------------------------- interface //---------------------------------------------------------------------- uses kode_bitmap, kode_canvas, kode_color, //kode_const, kode_flags, kode_rect, kode_surface, ko...
{ ******************************************************************************* Title: T2Ti ERP Description: Unit criada pelo DataSnap - Contem os componentes do SA The MIT License Copyright: Copyright (C) 2014 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this software a...
Unit uJoystick; { ************************************************************ * * Datum: 27.10.2002 * Autor: Ing. Wolfgang Draxler * Kommentar: Zugriff auf den Joystick. * Nur getestet auf den Joystick "Predator SV 85" * von der Firma Trust. Die Unit speichert * sich den Minim...
{*******************************************************} { } { Turbo Pascal Runtime Library } { System Unit } { } { Copyright (C) 1988,92...
unit untGingyApi; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Windows, untStruct, untGingyApiDefine, untOnMatchedEventArgs, sqldb, untDeviceListenThread, untOnNotMatchedEventArgs, Dialogs, untAdminTools; const CURRENT_DEVICE: byte = 1; type TEventHandler = procedure of object; ...
unit FirmaDigitale4; interface uses Classes,IInterface,FirmaDigitale,uSSLUtils; type TFirmaLettura = class(TFirmaDigitale) private tsu: TSSLUtils; public constructor Create( tf: Integer); override; destructor Destroy; override; function Firma(PassPhrase: string; Nominativo:...
unit IPEditFormUnit; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, EditBtn, Grids, Buttons; type TKeyValuePair = record key, value: string; end; TStringArray = array of string; TKeyValueArray = array of TKeyValuePair; { TEditForm } ...
unit VersionPoster; interface uses PersistentObjects, BaseObjects, DBGate, DB; type TVersionDataPoster = class(TImplementedDataPoster) public function GetFromDB(AFilter: string; AObjects: TIdObjects): integer; override; function PostToDB(AObject: TIDObject; ACollection: TIDObjects): integer; override; ...
unit List_InterceptMethod; {$I InfraAspect.Inc} interface uses {$IFDEF USE_GXDEBUG}DBugIntf, {$ENDIF} InfraBasicList, InfraAspectIntf, InfraCommonIntf, InfraCommon; type _STACK_BASE_ = TBaseElement; _STACK_BASE_INTF_ = IInterceptedStack; _ITEM_INTF_ = IInterceptedStackItem; _ITERA...
{******************************************************************************* Title: T2Ti ERP Description: Controller do lado Cliente relacionado à tabela [PONTO_ESCALA] ...
{ ID: a_zaky01 PROG: picture LANG: PASCAL } type rectangle = record llx,lly,urx,ury:longint; end; var n,i,ans:longint; rec:array[1..5001] of rectangle; procedure calh(ax,ay,bx,by,p:longint); begin while (p=i) or (rec[p].urx<=ax) or (rec[p].llx>=bx) or (rec[p].ury<ay) or (rec[p].lly>ay) do inc(p);...
unit frmQueueDemo; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Spring.Collections; type IQueueCommand = interface ['{380B35B6-3157-4835-BDC7-6BD7746F1147}'] procedure Exec...
unit DW.iOSapi.AVFoundation; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Library ...
unit BZLibWebp; // Copyright 2010 Google Inc. // // This code is licensed under the same terms as WebM: // Software License Agreement: http://www.webmproject.org/license/software/ // Additional IP Rights Grant: http://www.webmproject.org/license/additional/ // // Delphi API by Henri Gourvest <hgourvest@gmail.com>...
{$include kode.inc} unit kode_memory; { todo: (optional) internal memory manager.. big buffer.. } //---------------------------------------------------------------------- interface //---------------------------------------------------------------------- function KMalloc(size:LongWord) : Pointer; inline; function ...
Program Stars; Uses Crt,Xlib2,Palette; Type Star = Record X,Y,Plano,Color : Integer; End; Const Colores : Array [1..5] of Byte = (32,63,95,127,145); cantPlanos : Byte = 4; cantEstrellas = 50; StarsSpeedX : Integer = 1; StarsSpeedY : Integer = 1; TmpSiz : Integer =...
(* Г) Напечатайте с тремя знаками после точки 20 случайных чисел в диапазоне от 0 до 10 так, чтобы числа следовали по возрастанию. Подсказка: сравнивайте очередное число с предыдущим. *) var i: integer; lastNum, num: real; begin Randomize; lastNum := 0.0; for i:=1 to 20 do begin repeat num := Random(500*i)/...
program review_record; uses crt; const max=10; type toefl=record no_peserta, nama: string; listening, reading, structure: word; total:real; end; // syntaxdeklarasi record larik_toefl=array[1..max] of toefl; // syntaxdeklarasi larik record var peserta:larik_toefl; //deklarasi variabel i,n,pil:byte; procedure t...
{ Arquivo criado automaticamente Gerador Multicamadas (Multitiers Generator VERSÃO 0.01) Data e Hora: 11/10/2016 - 23:02:06 } unit Marvin.AulaMulticamada.Listas.TipoCliente; interface uses Classes, { Marvin } uMRVClasses, Marvin.AulaMulticamada.Classes.TipoCliente; type TMRVListaTipoCliente = class...
unit StringData; interface uses System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, SynEdit, Vcl.ExtCtrls, BCDialogs.Dlg; type TStringDataDialog = class(TDialog) CancelButton: TButton; OKButton: TButton; Panel1: TPanel; Panel2: TPanel;...
unit SubDividerWellConfirm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Variants; type TfrmWellConfirm = class(TForm) pnlButtons: TPanel; btnOk: TButton; btnIgnore: TButton; gbxWell: TGroupBox; Label1: TLabel; cmbxArea: TC...
unit DataDirSupport; { Tento unit definuje podporu datoveho adresare pro sluzbu v retezci HTTP. Umoznuje tim mit k dispozici vice sluzeb stejneho typu s ruznou konfiguraci na jednom serveru. } interface {$writeableconst on} uses SysUtils, IniFiles, Console, AppProfile, ShareTools, TeraWMSToolsDefs, Classes; type ...
unit uClientDM; interface uses IdTCPConnection, uRequestDM, IdGlobal; type TClient = class private FIP : string; FUserName : string; FConnection : TIdTCPConnection; public procedure SendMessage(MessageStr: string); overload; procedure SendMessage(Reque...
namespace Sugar.TestFramework; interface type TestResult = public class public property Name: String read private write; property Failed: Boolean read private write; property Message: String read private write; method {$IF NOUGAT}description{$ELSEIF COOPER}ToString{$ELSEIF ECHOES}ToSt...
unit Frm_YesNoMAIN; interface uses SysUtils, Windows, Messages, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, YesNo; type TMainForm = class(TForm) TestButton: TButton; ExitButton: TButton; procedure TestButtonClick(Sender: TObject); procedure ExitButtonClick(Sender: TObjec...
unit uSimpleProcessor; interface uses SysUtils, Contnrs, uOperation, uOperationTypes, uCallbackProcessor, uRequestStages, uContentLink, uCommonTypes, uConfigManager, uJSONParser; type TSimpleProcessor = class(TInterfacedObject, ICallbackProcessor) private fParser : IJSonParser; fStage: TRequestSta...
unit classes.gamedata; interface type TGameState = ( gsGreenRoom, //- Waiting for players to join gsRunning, //- Game has started gsNextTurn, //- (Not to database, just triggers state change) gsGameOver //- We're done here. ); TGameData = record CurrentQuestion: string; Sessio...
unit FrmProduto; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Buttons, Produto; type TFormProduto = class(TForm) GroupBox1: TGroupBox; txtCodigo: TLabeledEdit; tx...
unit uFrmImpCupom; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, RDprint, Vcl.StdCtrls, Data.FMTBcd, Data.DB, Data.SqlExpr, uDM, Vcl.Buttons, Vcl.ExtCtrls, Vcl.Mask, Vcl.DBCtrls, uFrmBuscaVenda, PngBitBtn...
{ Convert between strings and a date/time. } module string_date; %include 'string2.ins.pas'; define string_t_date1; { ******************************************************************************** * * Subroutine STRING_T_DATE1 (S, LOCAL, DATE, STAT) * * Convert the string S to the date/time DATE. The complete ...
{ ***************************************************************************** See the file COPYING.modifiedLGPL.txt, included in this distribution, for details about the license. ***************************************************************************** Copyright (C) <2005> <Andrew Haines> chmdatapr...
unit vp500; { ================================================================= Biologic VP500 Interface Library V1.0 (c) John Dempster, University of Strathclyde, All Rights Reserved ================================================================= } interface uses WinTypes,Dialogs, SysUtils, WinProcs,mmsy...
unit WNineSlicesPanel; interface uses SysUtils, Classes, Controls, ExtCtrls, PNGImage, Imaging, Graphics, StdCtrls, Types, WComponent, Windows, Forms, Messages, WContainer, Logger; type TWNineSlicesPanel = class(TWContainer) private { Private declarations } pImagePathPrefix: String; ...
{** Main Binky Boink Unit. } unit BinkyBoinkUnit; {$mode objfpc}{$H+} {$I blinkyboink.inc} interface uses Classes, SysUtils, BinkyBoinkClassesUnit, BinkyBoinkRPCUnit; type {** Object.TBinkyBoink Main object of the Binky Boink lib. } TBinkyBoink = class private FRPC: TBinkyBoinkRPC; FComputers: ...
unit UPageFactory; interface uses UxlImageList, UPageSuper, UPageProperty, UTypeDef, UxlList; type TPageFactory = class // single instance private FClasses: array of TPageClass; public procedure RegisterClass (o_class: TPageClass); function NewPage (pt: TPageType; i_id, i_ownerid...
unit Settings; interface uses INIFiles; type TOpcje = class(TObject) private OpcjePlik : TIniFile; public constructor Create(Plik : String); destructor Destroy(); override; procedure Save(grupa, nazwa, wartosc : String); overload; procedure Save(grupa, nazwa : String; w...
unit arcimage; interface {$MODE DELPHI} uses Windows, dglOpenGL, SysUtils, arcconst, arctypes, arcsystem; function LoadTextureTGA(Filename: string; var Texture: GLuint): Boolean; function LoadBmp(path : string) : uint32; function ilLoadFile(filetype: integer; Filename: string; var Texture : GLuint): GLuint; overlo...
unit classes.ScriptDDL; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants; type TScriptDDL = class(TObject) strict private class var aInstance : TScriptDDL; const NUMBER_VERSION_DB = 1; TABLE_VERSAO = 'app_versao'; ...
Program Bataille; Uses crt, SysUtils; Const Nbbateau=2; //Nombre de bateau Maxcase=5; //Taille max des bateaux MinL=1; //Ligne minimun MaxL=50; //Ligne maximum MinC=1; //Colone minimun MaxC=50 ; //Colone maximun Type Casse = Record //Type pour enrengistrer les cases Ligne :Integer; Col...
unit uCefUtilFunc; interface uses System.SysUtils, System.Classes, System.Types, // uCEFInterfaces, uCEFTypes; type ECefError = class(Exception); ECefRenderError = class(ECefError); TElementParams = record Tag: string; Id: string; Name: string; Class_: string; AttrN...
//******************************************************* // // Delphi DataSnap Framework // // Copyright(c) 1995-2012 Embarcadero Technologies, Inc. // //******************************************************* unit DBXFPCJSON; {$IFDEF FPC} {$mode DELPHI} {$ENDIF} interface uses Classes, Contnrs, FPC...
program Pr1Ej5; str20=string[20]; articulo= record nombre:str20; descripcion:string[]; precio:real; stock:integer; end; articulos= file of articulo; // ************************************************************// procedure CrearArchivoDeArticulos(var arc:articulos); var a:articulo; zapatos...
{$include kode.inc} unit syn_perc_phaseshape; //---------------------------------------------------------------------- interface //---------------------------------------------------------------------- const pshape_type_none = 0; pshape_type_add = 1; pshape_type_mul = 2; pshape_type_max = 3; pshape_...
unit Noble_gas; {Актиноиды (радиоактивные элементы): Период полураспада Основной тип распада} interface uses Basic, StdCtrls, SysUtils; type TInertGases=class(TChemicalElements) //Инертные газы private LightColor:string; //Цвет свечения BoilingPoint:real; /...
unit PictureObject; interface uses Graphics; type IPictureObject = interface function GetPicture: TPicture; function GetPictureFileName: string; procedure SetPictureFileName(const Value: string); property Picture: TPicture read GetPicture; property PictureFileName: string read GetPictureFileN...
unit PascalParser; {$H+} interface uses Classes, SysUtils, BuildParseTree, BuildTokenList, Nesting, ParseError, ParseTreeNode, ParseTreeNodeType, SourceToken, SourceTokenList, Tokens, TokenUtils; type TPascalParser = class (TObject) private FParseTree: TBuildParseTree; function GetR...
Program Maximum (input, output); { Dieses Program nimmt eine Eingabefolge von integer-Zahlen auf und gibt das Maximum dieser aus. Die Eingabefolge muss mit einer '0' terminiert werden. Eine leere Eingabefolge wird mit 'Leere Eingabefolge!' beantwortet. } var inputNumber, theMaximum : integer; emptyInput : ...
{$MODE OBJFPC} { -*- delphi -*- } {$INCLUDE settings.inc} unit canonicalstrings; interface {$IFDEF CPU64} // if we are on CPU64, there's a DWord of padding in the TAnsiRec header // we could in theory use this to store the hash // unfortunately, this only works if we don't use constants, since we can't // modify the ...
unit UPayment; interface uses UMoney; type IPayment = interface function getAmount(): IMoney; end; TPayment = class(TInterfacedObject, IPayment) private amount: IMoney; public constructor Create(cashTendered: IMoney); function getAmount(): IMoney; end; implementation ...
unit Unit_QryHelps; interface uses Classes; type TEnums = (_Qry_CCStock,_Qry_Voucher); TQryHelps = array [TEnums] of string; const TQryhelp:TQryHelps = (('select t1.FBillNO,T1.FDATE,t1.FSupplyID,t2.Fitemid,t2.FunitID,T2.')+ ('FPrice,T2.FQty,t2.famount,T2.FINDEX from T_CC_StockBill t1 left join ')+ ('T_C...
program testmisc01(output); begin {tests ensuring semicolon is a separator not a terminator. Second statement does not have trailing semicolon.} write('hello '); writeln('world!') end.
unit TextEditor.Glyph; interface uses System.Classes, System.UITypes, Vcl.Graphics; type TTextEditorGlyph = class(TPersistent) strict private FBitmap: TBitmap; FInternalGlyph: TBitmap; FInternalMaskColor: TColor; FLeft: Integer; FMaskColor: TColor; FOnChange: TNotifyEvent; FVisible...
unit ArrayUtils; interface const PI = 3.1; type TArray = array of Integer; function GenerateArray(const A, B, N: Integer): TArray; procedure WriteArray(const A: TArray); implementation function GenerateArray(const A, B, N: Integer): TArray; var I, P: Integer; begin SetLength(Result, N); for I := 1 to Leng...
unit DataModule; interface uses SysUtils, Classes, DB, DateUtils, Controls, ComCtrls, DBGridEh, sTreeView, sBitBtn, sLabel, sEdit, sCheckBox, MemDS, DBAccess, Uni, DASQLMonitor, UniSQLMonitor; const ShiftLeft = 30; ShiftTop = 30; RegisterBranchMetallica = 'SOFTWARE\PterikSoft\Metallica'; ParameterVer...
{******************************************************************************* Title: T2Ti ERP Description: VO relacionado à tabela [ECF_NOTA_FISCAL_CABECALHO] The MIT L...
unit AllObjectsFilterFrame; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Registrator; type TfrmAllObjs = class(TFrame) GroupBox1: TGroupBox; GroupBox2: TGroupBox; edtSearch: TEdit; lstObjects: TListBox; procedure edtSearchChang...
unit UxlDragControl; interface uses windows, messages, UxlWindow, UxlWinControl, UxlClasses, UxlStrUtils, UxlFunctions, UxlDialog, UxlList, UxlImageList; const c_nilhidx = -1; type IDragSource = interface function Handle (): HWND; function HitTestItem (): integer; procedure GetDragData ...
program z2(input, output); type interval = record low: real; high: real; end; pok = ^elem; elem = record int: interval; next: pok; end; var lista: pok; n, i: integer; procedure ispisiListu(lista: pok); begin writeln('--------------'); while lista<>nil do begin writeln('[', li...
unit FaceRecognition; {$mode Delphi} interface uses Windows, ActiveX, Dialogs, SysUtils; type _face_encodings = packed array[0..128-1] of Single; pface_encodings = ^_face_encodings; _ar_face_encodings = array of _face_encodings; _face_locations = packed record face_location_top: Integer; face_lo...
unit cssbeautify_tests; interface procedure run_css_beautifier_tests(); implementation uses cssbeautify, SysUtils, Classes; type EExpectationException = class(Exception); var flags:record indent_size:integer; indent_char:char; end; function toUnix(input:string):string; begin result:=StringRep...
unit AlunoIncAltUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, FMTBcd, DB, SqlExpr; type TAlunoIncAltForm = class(TForm) DadosPanel: TPanel; BotaoPanel: TPanel; NomeLabel: TLabel; NomeEdit: TEdit; CPFLabel: TLabel...
Unit Logging; { 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 source code must ...
unit TextConverter.Model.ConverteOrdenado; interface uses TextConverter.Model.ConverteTexto; type TConverteOrdenado = class(TconverteTexto) public function Converter : String; override; end; implementation uses System.Classes, System.SysUtils; { TConverteOrdenado } function TConverteOrdenado.Conver...
unit LuaPicture; {$mode delphi} interface uses Classes, SysUtils, Graphics,lua, lualib, lauxlib, LuaHandler; procedure initializeLuaPicture; implementation uses luaclass, LuaObject; function createPicture(L: PLua_State): integer; cdecl; begin luaclass_newClass(L, TPicture.Create); result:...
unit IntegerList; interface uses Classes, SysUtils, Consts; resourcestring SDuplicateInteger = 'Integer list does not allow duplicates'; type { EIntegerListError class } EIntegerListError = class(Exception); { TIntegers class } TIntegers = class(TPersistent) private FUpdateCount: ...
unit AsyncIO.Net.IP; interface uses System.SysUtils, IdWinsock2, AsyncIO, AsyncIO.OpResults; type IPv4Address = record strict private FAddress: UInt32; function GetIsLoopback: boolean; function GetIsMulticast: boolean; function GetIsUnspecified: boolean; function GetData: UInt32; inline; ...
unit Main; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.TabControl, FMX.StdCtrls, FMX.Controls.Presentation, FMX.Gestures, System.Actions, FMX.ActnList, System.Rtti, FMX.Grid.Style, FMX.ScrollB...
{------------------------------------ 功能说明:统一的消息显示框接口 创建日期:2008/11/19 作者:wzw 版权:wzw -------------------------------------} unit DialogIntf; {$weakpackageunit on} interface uses SysUtils; type IDialog = interface ['{54C2C486-0AE0-403B-86E6-62914F7DCCCD}'] procedure ShowMessage(const APrompt: String)...
{******************************************************* 软件名 Log单元 版权所有 (C) 2006 鼎立 Created by 黄晟楠 2006-9-26 10:48:49 需要进行log动作,直接引用本单元,调用WriteLogMsg即可. Modified by 黄晟楠 2007-7-5 10:22:31 添加告警处理类,根据告警的配置对告警做出不同的处理 ********************************************...
unit obj_list; interface type PRadioEntry = ^TRadioEntry; TRadioEntry = record pos: Cardinal; Name: AnsiString; pls: AnsiString; end; type TRadioList = class private fList: array of TRadioEntry; fCount: Integer; fCapacity: Integer; public procedure Add(const...
unit UMainForm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, eiTypes, UTypes, UDefaultPresenter, UHelperThread, USettings, StdCtrls, ComCtrls, Spin; type TmainForm = class(TForm, IView) btnRefresh: TButton; ...
{******************************************} { } { FastReport v2.5 - DB components } { SQL editor } { } {Copyright(c) 1998-2004 by FastReports Inc.} { ...
unit fmClient; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type TfrmClient = class(TForm) btnDemo1: TButton; btnDemo2: TButton; Memo1: TMemo; edtName: TLabeledEdit; procedure btnDemo2Click(Sender: TObject); proce...
unit fNewAppointment; interface uses Generics.Collections, Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uAppointments, Vcl.ComCtrls, AdvDateTimePicker, Vcl.Mask, AdvDropDown, AdvTimePickerDropDown, Data.DB, Aurelius.Bind.D...
(* @abstract(Regroupe les messages d'erreurs et autres en français. Utile pour la translation vers un autre langage. @br ) -------------------------------------------------------------------------------- @created(2018-07-11) @author(J.Delauney (BeanzMaster)) Historique : @br @unorderedList( @item(1...
(****************************************************************************** * PasVulkan * ****************************************************************************** * Version see PasVulkan.Framework.pas * ...
unit dns_lookup_unit; // Command Line : // c:\Sebas\delphi\Ping_Continu> nslookup 91.126.241.136 // Server: UnKnown // Address: 192.168.1.1 // // Name: cli-5b7ef188.bcn.adamo.es // Address: 91.126.241.136 interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, V...
unit TravelPlugin; interface uses PluginManagerIntf, PluginIntf, ControlPanelElementIntf, Graphics, DataModuleIntf; type TTravelPlugin = class(TPlugin, IPlugin, IControlPanelElement, IDataModule) private FDisplayName: string; FDescription: String; FBitmap: TBitmap; FDataPath: Strin...
unit Logging; interface uses System.Classes, LoggerInterface, LoggerEx, SynCommons2, System.SysUtils, System.Contnrs, Winapi.Windows, Winapi.Messages; type TLogger = class(TObject, ILogger, ILoggerEx) private fLoggers : ILoggers; fLogger : TSynLog; fClassConfig : TLogClassConfig; fArc...
{Pascal Hello World program} {Maren Luper} program HelloWorld(output); begin writeLn('Hello world!'); end.
unit PACCAnalyzer; {$i PACC.inc} interface uses SysUtils,Classes,Math,PasMP,PUCU,PACCRawByteStringHashMap,PACCPointerHashMap,PACCTypes,PACCGlobals, PACCAbstractSyntaxTree; type TPACCAnalyzer=class public Instance:TObject; constructor Create(const AInstance:TObject); d...
program Exercicio_13; procedure bhaskara(const a, b, c: integer); var delta, x1, x2: real; begin delta := (b*b) - 4 * a * c; if (delta < 0) then begin writeln('A equacao nao possui raizes reais!'); end else if (delta = 0) then begin writeln('A euqcao possui uma raiz real!...
(****************************************************************************** * PasVulkan * ****************************************************************************** * Version see PasVulkan.Framework.pas ...
unit TextEditor.Minimap.Colors; interface uses System.Classes, System.UITypes, TextEditor.Consts; type TTextEditorMinimapColors = class(TPersistent) strict private FBackground: TColor; FBookmark: TColor; FVisibleLines: TColor; public constructor Create; procedure Assign(ASource: TPersist...
{----------------------------------------------------------------------------- The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/MPL-1.1....
{*****************************************************************************} { } { XML Data Binding } { }...
(****************************************************************************** * PasVulkan * ****************************************************************************** * Version see PasVulkan.Framework.pas ...
unit CustomerReports; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Data.Win.ADODB, frxClass, frxDBSet, frxExportPDF, Vcl.StdCtrls, frxPreview, Vcl.Buttons, frxExportHTML, Vcl.ComCtrls, Vcl.Grids, ...
program FindBestMarkStudent; type TStudent = record Name: String[20]; Mark: Integer; end; const N = 4; var S: array [1 .. N] of TStudent; BestStudent: TStudent; I: Integer; begin with S[1] do begin Name := 'John'; Mark := 5; end; S[2].Name := 'Alice'; S[2].Mark := 4; S[3]....