text
stringlengths
14
6.51M
{ TMatrix2D ---------- Matrix realization that uses Double, similar to GDI+ TGPMatrix } unit Matrices; interface uses CommonGeometry; type //m11, m12, m21, m22, dx, dy TMatrix2DArray = array[0..5] of Double; TMultiplyOrder = (moPrepend, moAppend); //matrix 3x3 for internal using TMatrix9 = array[0....
unit frmSimpHTTPGetDemoU; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, simphttp, WinInetControl, ComCtrls, SimpFTP; type TfrmSimpHTTPGetDemo = class(TForm) SimpleHTTP1: TSimpleHTTP; memHead: TMemo; memBody: TMemo; ...
unit Form.Main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls; type TStrapKind = (skSingleGroup, skSubGroups); TGenerateMode = (gmStandard, gmNoRedraw); TForm1 = class(TForm...
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Author: Arno Garrels <arno.garrels@gmx.de> Description: MS crypto API utilities. These allow checking and validation of SSL certificates using the Windows root certificate store to avoid applications ne...
unit CRGeneralizedSectionEditFrame; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, CommonFrame, ComCtrls, GeneralizedSection, StdCtrls, CommonObjectSelectFrame, BaseObjects; type TfrmGenSectionEdit = class(TfrmCommonFrame) gbxGenSection: TGroupBox; ...
unit CatChromiumOSR; { Catarinka Browser OSR Component Copyright (c) 2011-2016 Syhunt Informatica License: 3-clause BSD See https://github.com/felipedaragon/catarinka/ for details The OSR version is not fully tested yet } interface {$I Catarinka.inc} uses {$IFDEF DXE2_OR_UP} System.Classes, Winapi.Wind...
{******************************************************************************* Title: T2Ti ERP Fenix Description: Model relacionado à tabela [FIN_CHEQUE_EMITIDO] The MIT Li...
unit ifMain; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, Menus, ComCtrls, StdCtrls, ExtCtrls, Buttons, ifcad_cadastro, ifcad_marca, ifcad_gruposubgrupo, IfCad_Unidade, ifcad_usuario, ifcad_produto, ifcad_tabelaPreco, ifcad_tamanho, ifpedido_ti...
unit Synonym; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, DB, MemDS, DBAccess, Ora, ActnList, BCEdit, JvExStdCtrls, JvEdit, JvCombobox, BCComboBox; type TSynonymDialog = class(TFo...
{ ******************************************************************************* Title: T2Ti ERP Description: Tela de login do ERP. The MIT License Copyright: Copyright (C) 2015 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files ...
{$S-,R-,I-,V-,B-,D-} {*********************************************************} {* TPALLOC.PAS 1.0 *} {* By TurboPower Software *} {*********************************************************} unit TpAlloc; {-Routines for allocating/deallocating bl...
unit UPrincipal; 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.AppEvnts; type TFPrincipal = class(TForm) btnAnterior: TButton; btnPlayPause: TButton; btnProximo...
unit D16Parser; interface uses Classes, Types, Generics.Collections, SysUtils, UncountedInterfacedObject, Lexer, Token, CodeElement, DataType, VarDeclaration, PascalUnit, ProcDeclaration, ASMBlock, Operation, Operations, Factor, CompilerDefines, LineMapping, UnitCache, WriterIntf, DUmmyCollection; typ...
unit qplugins_loader_process; interface uses classes, sysutils, windows, messages, qplugins, qstring, qplugins_params, qplugins_proxy, qsocket_sharemem; {$HPPEMIT '#pragma link "qplugins_loader_process"'} type { 基本思路: 服务通过配置文件注册,然后这个配置文件中包含了注册接口的ID,客户端可以通过这个接口来直接 访问(需要RTTI支持),或者通过Execute函数来传递 } TQLoc...
{ complete echo } program echo (input, output); const ENDSTR = 0; MAXSTR = 1024; ENDFILE = -1; NEWLINE = 10; { ASCII value } BLANK = 32; type character = -1..127; { ASCII, plus ENDFILE } string = array [1..MAXSTR] of character; { putc -- put one character on standard output } procedure...
unit UFuncoes; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, SvcMgr, Dialogs; procedure SalvarStringToFile(ANomeArquivo, AStr: String); function LerStringFromFile(ANomeArquivo: String): String; function getParametroAplicacao(NomeParametro: String; ValorPadrao: String = ''): String; functi...
unit uSetPhone; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.Imaging.pngimage, Vcl.Buttons,System.json,ShlObj,shellapi; const VALUE_HOME:string='cb'; CONFIG_DIR:string='co...
unit qplugins_loader_script; { Pascal 脚本插件加载器,使用 JvInterpreter 来解释脚本的执行 } interface uses classes, sysutils, syncobjs, variants, qstring, qplugins,qplugins_base,qplugins_params, jvInterpreter, jvInterpreterFM; {$HPPEMIT '#pragma link "qplugins_loader_script"'} type // 这个接口只是自己单元使用,所以不用使用stdcall规则 IQScriptService...
{ 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 UBlogView; interface // 待解决问题:Redraw (局部Item的InvalidateREct,避免全局闪烁) uses Windows, UxlWinControl, UxlClasses, UxlPanel, UxlList, UxlEdit; type TBlogItem = record Title: widestring; Data: integer; DateTime: widestring; Text: widestring; IsVirtual: boolean; Title...
unit Moment4D.Main; interface type IWithDuration = interface; IDateTime = interface; TMoment = class class function fromDelphiDT(dt: TDateTime): IDateTime; class function fromArray (units: array of Word): IDateTime; class function fromIsoDate(const s:string): IDateTime; class function fromIsoWe...
unit UxlList; interface uses UxlListSuper; type TxlStrList = class (TxlStreamList) private FKeyDeli: widestring; FIndexDeli: widestring; procedure f_SetValue (i_pos: integer; const value: widestring); procedure f_SetValueByKey (const s_key, value: WideString); procedure f_SetValueByIndex...
(* * Copyright (c) 2008-2009, Ciobanu Alexandru * 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 above copyright * notice, this l...
unit ParseExpr; {-------------------------------------------------------------- | TExpressionParser | a flexible and fast expression parser for logical and | mathematical functions | Author: Egbert van Nes (Egbert.vanNes@wur.nl) | With contributions of: John Bultena, Ralf Junker, Arnulf Sortland | and Xavier Mor-Mur |...
unit aOPCCinema; interface uses Classes, Forms, ExtCtrls, Windows, Dialogs, Controls, aOPCClass, uDCObjects, aCustomOPCSource, aOPCSource, aOPCLog; type TCrackOPCLink = class(TaOPCDataLink); TCrackOPCSource = class(TaOPCSource); TFillHistoryEvent = procedure(var StopFill: boolean; Progress: integer) of ...
unit Test_Security.Sessions.UserSession; interface uses DUnitX.TestFramework, DSharp.Testing.Mock, Security.Authentication.IPasswordValidator, Data.Repositories.IUsersRepository, Data.Entities.User; type [TestFixture] TUserSessionTest = class(TObject) private FMockPasswordValidator : Mock...
//First, name the unit (this name is used to potentially include it in other units) unit UIExample; //The interface section is used to define types and classes interface //Uses are inclusion of other libraries/units uses System.UI.Dialogs, // A library containing various Dialog methods, including ShowMessage() ...
unit xe_WOR02; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxStyles, cxCustomData, cxFilter, cxData, cxDataStorage, cxEdit, cxNavigator, Data.DB, cxDBData, cxLabel, Vcl.Menus, cxContainer, Vcl...
(*======================================================================* | unitExXMLSettings | | | | XML application settings classes. | | ...
{ ******************************************************************************* Title: T2Ti ERP Description: Janela de Lotes de Lançamentos do Módulo Contábil 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 ass...
unit BCRadialProgressBar; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, BCBaseCtrls, BGRABitmap, BGRABitmapTypes, BGRATextFX; type { TBCRadialProgressBar } TBCRadialProgressBar = class(TBCGraphicControl) private { Private declar...
unit uParser; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP, DBXJSON; type TForm1 = class(TForm) IdHTTP: TIdHTTP; Memo1: TMemo; edURL: TEdit; btParse: TButton; ...
unit ClientesConsulta; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, IBDatabase, DB, DBClient, Menus, DBXpress, FMTBcd, SqlExpr, ConsultaSql, Provider, Grids, DBGrids, UDMConexaoDB, Buttons, ExtCtrls, StdCtrls, ClientesCadastro, ORMUtils, ClientesOR...
namespace Sugar.Test; interface uses Sugar, Sugar.TestFramework; type BinaryTest = public class (Testcase) private Data: Binary; DataBytes: array of Byte := [72, 101, 108, 108, 111]; method AreEquals(Expected, Actual: array of Byte); public method Setup; override; metho...
unit Bone; (* Version: MPL 1.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * * Software distributed under t...
Unit ErrorSupport; { 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 ab...
unit Server.Controller.Base.TabelaBase; interface uses Classes, SysUtils, DB, Generics.Collections, ormbr.mapping.attributes, ormbr.types.mapping, ormbr.types.lazy, ormbr.types.nullable, ormbr.mapping.register; type TTabelaBase = class //abstract(TInterfacedObject, ITabelaBase) private fData...
unit uModel; interface uses System.Contnrs, System.SysUtils, System.Classes, uClasses, uRuntimeTypeInformation; type TModelRTTI = class private FRTTIInfo: TRuntimeTypeInformation; FObjList: TObjectList; FPessoa: TPessoa; FCachorro: TCachorro; FMate: TChimarrao; public constructor Crea...
unit tpKiosk.pas; {Kiosk component} (* Permission is hereby granted, on 21-Mar-2003, 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...
unit NUMMIEdit; interface uses Windows, Messages, SysUtils, Classes, Controls, StdCtrls; type TNUMMIEdit = class(TEdit) private { Private declarations } protected { Protected declarations } procedure WndProc(var Message: TMessage); override; public { Public declarations } ...
unit uMultipoly; interface uses uInterfaces, uOSMCommon, uModule, Math, SysUtils, Classes, Variants, uDataStructures; const //threshold for 'same node' detection in getIntersection routines. minPtDist = 0.1; //0.1 meter=10 cm minPtDist2 = minPtDist * minPtDist; type TGTShape = class(TObject) pr...
{$include kode.inc} unit kode_widget_button; //---------------------------------------------------------------------- interface //---------------------------------------------------------------------- uses kode_canvas, kode_color, //kode_const, kode_flags, kode_rect, kode_widget; type KWidget_Button =...
// ---------------------------------------------------------------------------- // Unit : PxCSV.pas - a part of PxLib // Author : Matthias Hryniszak // Date : // Version : 1.0 // Description : CSV (comma separated values) format utilities // Changes log : 2005-02-24 - initial version // To...
unit HttpDateTime; interface uses WinAPI.Windows, System.SysUtils; function SystemTimeToHttpDate(const st: TSystemTime): string; function TryHttpDateToSystemTime(const HttpDate: string; out st: TSystemTime): boolean; function CurrentSystemTime: TSystemTime; function CompareSystemTime(const A, B: TSystemTime): int...
{by Adrian D. Bonev Messages Appear in Order: 1 Mouse Enter 2 MouseDown 3 Select 4 ChangeState 5 MouseUp 6 Click 7 Mouse leave } {UniButton can be button or flat (like TLabel) with different colors. UniButton uses 3 TBitmaps to store each face of the button: Not Selected, Selected and ...
unit Unit1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, SvcMgr, Dialogs, UFuncoes; const cParametroIdentificacao = 'id'; cEspaco = ' '; cHifen = '-'; type TServicoAlteradoRunTime = class(TService) procedure ServiceBeforeInstall(Sender: TService); procedure ServiceBef...
unit Inf; interface uses SysUtils; type TInf = class private _colIndex, _rowIndex: integer; _value: integer; public constructor Create(value: integer; rowIndex, colIndex: integer); destructor Destroy(); override; public function ToString(): string; public prope...
unit HTTPContentProvider; {$mode objfpc}{$H+} interface uses Classes, SysUtils, BaseContentProvider, LNetHTTPDataProvider, IpHtml, ComCtrls, Menus, Controls, lhelpstrconsts; type { THTTPContentProvider } THTTPContentProvider = class(TBaseContentProvider) private fHomeUrl: String; ...
unit uGnSet; interface uses Generics.Collections, uGnGenerics, uGnStructures, uGnArray, uGnEnumerator; type IGnSet<_T> = interface(IGnContainer) // setters and getters function GetItem(const Index: Cardinal): _T; // --- function GetEnumerator: TEnumerator<_T>; function Contains(const AElement...
unit ObjectIni; interface uses Classes; {$DEFINE NOFORMS} type TIni = Class(TStringList) constructor Create(Path: string = ''); function GetB(Name: string; DefaultValue: Boolean = False): Boolean; overload; function GetS(Name: string; DefaultValue: string = ''): string; overload; function GetI(Nam...
unit about_form; {############################################################################# '# Name: about_form.pas '# Developed By: The Uniform Server Development Team '# Web: http://www.uniformserver.com '# Mike Gleaves V1.0.4 25-04-2014 '# Sudeep D'Souza V2.3.0 02-10-2019 '# '# About UniService '###############...
(* @file UVector2i.pas * @author Willi Schinmeyer * @date 2011-10-26 * * UVector2i Unit * * Unit for 2 dimensional integer vectors, called TVector2i or vec2i for * short. Only a limited set of functions are available since I don't * need any more. *) unit UVector2i; interface (* * @brief 2 dimension int...
unit forum_watek; interface uses Classes, ComCtrls, Dialogs, SysUtils, Download, Windows; type ForumThread = class(TThread) private ilosc_nowych_postow : integer; stan : TStatusPanel; str : TStringList; forum : Downloader; status : string; ostatni_status : string; dzialaj : boole...
unit DataLookupMemoUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, LookupUnit, DB, Grids, DBGridEh, StdCtrls, ExtCtrls, IBCustomDataSet, IBQuery, DataUnit, DbGridUnit, DBCtrls, StorageUnit; type { TDataLookupMemoForm - форма выбора с показом одного из по...
unit View.Principal; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.StdCtrls, FMX.Controls.Presentation, FMX.Layouts, FMX.ExtCtrls, ACBrNFeNotasFiscais, pcnConversao, pcnConversaoNFe, FMX.Ani, ACBrBase, ACBrD...
program testchar01(output); {test simplest use of char type} var c:char; begin c := 'a'; writeln(c); end.
//------------------------------------------------------------------------------ // // Voxelizer // Copyright (C) 2021 by Jim Valavanis // // 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;...
unit Facade; interface uses BaseFacades, Registrator, Classes, DBGate, SDFacade, BaseObjects, GRRObligation, Straton, SubdivisionComponent, Theme; type TMainFacade = class (TSDFacade) private FFilter: string; FRegistrator: TRegistrator; FNIRStates: TNIRStates; FSubdivisionComments: TSubdivis...
unit BIG_File; interface uses BasicDataTypes, SysUtils, Classes, Dialogs; const C_BIG4 = $34474942; C_BIGF = $46474942; type TBIGFileUnit = record Offset : uint32; Size : uint32; Filename : string; FileWritten : Boolean; Index : integer; end; TBIGPackage = class ...
unit ScrollingMessage; interface uses SysUtils, WinTypes, WinProcs, Classes, Forms, Controls, Graphics, Messages, ExtCtrls, Dialogs; const ScrollPixels = 2; TimerInterval = 50; type TJustification = (tjCenter, tjLeft, tjRight); EMarqueeError = class(Exception); TScrollingMessage = c...
unit VisibleDSA.AlgoVisualizer; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Graphics, Forms, BGRACanvas2D, VisibleDSA.AlgoVisHelper, VisibleDSA.MazeData; type TAlgoVisualizer = class(TObject) private _width: integer; _height: integer; _data: TMazeData; _form: TForm; ...
unit UCombinacao; { combinacoes pra teste de 8 a 15 digitos } interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Generics.Collections, Generics.Defaults, UNumeros; type TCombinacao = class(TObject) private FNumerosCombinacao: TNumeros; FOcorrencias: I...
unit thSequencia; interface uses Windows, Messages, SysUtils, Classes, data_sequencia, principal, ActiveX; type TOnGetSequence = procedure(var sequence: longint) of object; ThreadSequencia = class(TThread) private dmoSequencia: TdmoSequencia; inTabela: string; outSequencia: longint; inHost, ...
unit UnitRename; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TFormRename = class(TForm) EditName: TEdit; ButtonOK: TButton; procedure FormClose(Sender: TObject; var Action: TCloseAction); procedure FormCreate(Sender: TObject)...
{Trabajo Pr ctico Final} {Ejercicio N£mero 2} {Grupo 5} {Maximiliano Sosa; Ricardo Quesada; Gonzalo J. Garc¡a} program Libreta; uses ULis_E, ULis_C, crt; type ListaDirecciones = TipoLista_E; ListaContactos = TipoLista_C; TipoContacto = TipoDatoLis_C; TipoEntrada = TipoDatoLis_E; ...
{Ä Fido Pascal Conference ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ PASCAL Ä Msg : 271 of 309 From : Peter Beeftink 1:163/307.25 16 Apr 93 11:37 To : Ethan Brodsky 1:121/8.0 Subj : wild cards ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ...
unit uhttpdownloader; interface uses Classes, SysUtils, httpsend, blcksock, typinfo; // Interface for notifications about the progress type IProgress = interface procedure ProgressNotification(Text: String; CurrentProgress: integer; MaxProgress: integer); end; THttpDownloader = class public functi...
unit fListaFornecedor; interface uses Generics.Collections, Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DB, Aurelius.Bind.Dataset, Grids, AdvObj, BaseGrid, AdvGrid, DBAdvGrid, Aurelius.Engine.ObjectManager, Entidades.Cadastro, StdCtrls, ExtCtrls, DBGrids, Mask, DBCt...
{ MIT License Copyright (c) 2022 Viacheslav Komenda 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, modify, merge...
{***************************************************************************} { } { DelphiWebDriver } { } { ...
{ 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 ...
unit ofbtests; {$mode objfpc}{$H+} interface uses Classes, SysUtils, fpcunit, testutils, testregistry, Crypto; type { TOFBTests } TOFBTests = class(TTestCase) private protected FKey: array[1..32] of Byte; FIV: array[1..16] of Byte; FCipher: TCipher; FEnc: TCipherOFBMode; FDec: TCi...
{ License: wtfpl; see /copying or the Internet } { eval unit for string processing functions } unit unit_strings; {$mode objfpc}{$H+} interface uses Classes, SysUtils, functiondict, parameters; type { kUnit_strings } kUnit_strings = class(kfunction_list) function str_pos (params: kParameterList)...
unit Domain.Entity.ClienteTabelaPreco; interface uses System.Classes, Dialogs, SysUtils, EF.Mapping.Base, EF.Core.Types, EF.Mapping.Atributes, Domain.Entity.TabelaPreco; type [Table('ClienteTabelaPreco')] TClienteTabelaPreco = class( TEntityBase ) private FClienteId: TInteger; FTabelaPrecoId: TI...
(* @abstract(Contient des classes de bases conçues à des fins génériques pour la création de composants visuel et le control de certaine propriétés dans des classes.) ------------------------------------------------------------------------------------------------------------- @created(2016-11-16) @author(J....
unit BaseWellInterval; interface uses Registrator, BaseObjects, Classes, Straton; type TDepth = class(TIDObject) private FAbsoluteTop: double; FTop: double; FAbsoluteBottom: double; FBottom: double; protected procedure AssignTo(Dest: TPersistent); override; public // глубина от ...
unit textrender; {$mode objfpc}{$H+} interface uses Classes, SysUtils, graphics, math, LazUTF8; function renderFormattedText(canvas: TCanvas; rect: Trect; x,y: integer; const formattedtext: string): trect; implementation {$ifdef windows} uses windows; {$endif} {$ifdef DARWIN} uses macport,Coc...
unit DesignGraph; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, CodeCache, GraphComponents; type TInputPortRef = class(TInputPort, IOutputPort) protected FInternalConnector: TConnector; function GetConnector: TConnector; override; function Unplug(AConnector: TConnector): Boolean; ov...
//EJERCICIO 14 PRACTICA 7 { 14. La biblioteca de la Universidad Nacional de La Plata necesita un programa para administrar información de préstamos de libros efectuados en marzo de 2020. Para ello, se debe leer la información de los préstamos realizados. De cada préstamo se lee: nro. de préstamo, ISBN del libro presta...
unit editPhone; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Mask, DBCtrls, Buttons, DB, DBClient; type TfrmEditPhone = class(TForm) Label1: TLabel; btMore: TBitBtn; btDone: TBitBtn; btCancel: TBitBtn; edPhone: TDBEdit; proced...
unit Expedicao.Controller.uSeguro; interface uses System.SysUtils, System.JSON, FireDAC.Comp.Client, Base.uControllerBase, Expedicao.Models.uSeguro, Expedicao.Models.uSeguradora; type TSeguroController = class(TControllerBase) private { Private declarations } function ObterSeguroDaQuery(pQr...
{$MODE OBJFPC} { -*- delphi -*- } {$INCLUDE settings.inc} {$CODEPAGE UTF8} unit utf8; interface //{$DEFINE TESTS} uses unicode; type TUTF8SequenceLength = 1..4; TZeroableUTF8SequenceLength = 0..4; TUTF8Sequence = packed record case Byte of 0: (Length: TUTF8SequenceLength; case B...
unit uConsoleOut; interface uses SysUtils, Windows; procedure GotoXY(aX, aY: integer); procedure SetAttr(attr: word); function WhereX: integer; function WhereY: integer; implementation var UpperLeft: TCoord = (X:0; Y:0); hCon: integer; procedure GotoXY(aX, aY: integer); var aCoord: TCoord; begin aCoord.x:=a...
unit fdac.dmmain; interface uses SysUtils, Classes, IniFiles, Forms, Variants, DB, Generics.Collections, u_xmlinit, 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.Stan.Param, FireDAC....
{ License: wtfpl; see /copying or the Internet } { Classes for handling parameter passing within the evaluator } unit parameters; {$mode objfpc}{$H+} interface uses Classes, SysUtils, dictionary; const err_param = ' needs moar parameters!'; type k_paramType = (param_nil, param_val, param_ref, param_err);...
unit UUsuarioCarpetaDigi; interface uses Classes; type TUsuarioCarpetaDigi = class private FCodigoUsuarioCarpeta : string; {CODIGO DEL USUARIO DE CARPETA DIGITAL} FNombreUsuarioCarpeta : string; {NOMBRE DEL USUARIO DE CARPETA DIGITAL} FIdPerfilCarpeta : Int32; ...
unit uStack; {$mode objfpc}{$H+} interface uses ulexer; const STACK_INIT_LEN = 100; type PStack = ^TStack; TStack = record body: array of TToken; top, idx: integer; empty: boolean; end; procedure push(stack: PStack; value: PToken); procedure pop(stack: PStack; out value: PToken); fu...
unit DUP.Model.Conexao.Firedac.Conexao; interface uses DUP.Model.Conexao.Interfaces, System.SysUtils, System.Classes, 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.PG, FireDAC....
unit gmORMot; interface uses System.SyncObjs, System.SysUtils, System.TypInfo, System.Classes, gSynCommons; const /// maximum number of Tables in a Database Model // - this constant is used internaly to optimize memory usage in the // generated asm code // - you should not change it to a value lowe...
unit UdmEjemplos; interface uses System.SysUtils, System.Classes; type TdmEjemplos = class(TDataModule) private { Private declarations } public { Public declarations } function DirectorioActivoTest : Boolean; function CrudTest : Boolean; function JanuaExternoTest : Boolea...
unit DIPX; (***************************************************************************** Prozessprogrammierung SS08 Aufgabe: Muehle Typdefinition fuer IPX-Nachrichten vom Prozess- zum Anzeigerechner. Autor: Alexander Bertram (B_TInf 2616) ******************************************************************...
unit ucREPORT; interface uses Windows, SysUtils, Messages, Classes, Graphics, Controls, StdCtrls, ExtCtrls, Forms, QuickRpt, QRCtrls, QRPrntr, DB, DBClient, FMTBcd, SqlExpr, Provider; type TcREPORT = class(TQuickRep) _Query: TSQLQuery; _Provider: TDataSetProvider; _DataSet: TClientDataSet; pr...
unit RecycleBinBrowser; interface uses System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Ora, Vcl.Dialogs, BCControls.DBGrid, Vcl.ComCtrls, JvExComCtrls, JvComCtrls, DBAccess, MemDS, Vcl.ExtCtrls, Vcl.DBCtrls, Vcl.Buttons, Vcl.ActnList, BCControls.PageControl, Vcl.ImgList, Vcl.AppEv...
unit uUtils; interface uses System.SysUtils, System.StrUtils; type TUtils = Class public class function ValidList(const pList: string): Boolean; class function ArrayIntToStr(const pList: TArray<Integer>): string; class function StrToArrayStr(const pList: string): TArray<String>; class function ...
{ p_40_3 - Подсчет количества различных букв в файле } program p_40_3; type tCounts = array['a'..'z'] of integer; var counts: tCounts; { массив из счетчиков букв } c: char; { текущий символ файла, он же индекс счетчика } f: text; { файл с текстом программы } {----- Главна...
unit Entities.Scheduling; interface uses Entidades.Cadastro, Aurelius.Types.Nullable, Aurelius.Mapping.Attributes; type [Enumeration(TEnumMappingType.emString)] TAppointmentStatus = (Pending, Finished, Canceled, Paid); [Entity, Automapping] TAppointment = class private FId: integer; FAppoint...
(****************************************************************************** * PasVulkan * ****************************************************************************** * Version see PasVulkan.Framework.pas ...
unit InputFilterFunctions; interface uses Classes, StdCtrls, SysUtils; type TInputFilters = class // OnKeyPress functions limiting the input for various hard coded types procedure VersionKeyPress(Sender: TObject; var Key: Char); procedure EmailKeyPress(Sender: TObject; var Key: Char); procedure Fol...
// CORTE DE CONTROL // GENERALMENTE TODOS LOS ENUNCIADOS QUE DIGAN QUE LA INFORMACIÓN QUE SE INGRESA VIENE ORDENADA, ENTONCES // LO MAS PROBABLE ES QUE HAYA QUE HACER CORTE DE CONTROL // CABE ACLARAR QUE ESTO ES UN INTENTO DE FACILITAR LA FORMA DE PENSAR EL CÓMO RESOLVER LOS EJERCICIOS // PERO ES IMPORTANTE SABER QUE...
unit TEditX_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. } { TEditX Library } { Version 1.0 } interface uses Windows, ActiveX, ...