text
stringlengths
14
6.51M
unit U_FrmDlgIncluirAlterarFatura; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, MaskEdit, Buttons, U_Fatura, U_Utils; type { TFrmDlgIncluirAlterarFatura } TFrmDlgIncluirAlterarFatura = class(TForm) btnOk: TSpeedButton; BtnCancelar: T...
unit SampleControllerU; interface uses MVCFramework, MVCFramework.Commons; type [MVCPath('/')] [MVCDoc('Just a sample controller')] TSampleController = class(TMVCController) public [MVCPath('/users')] [MVCHTTPMethods([httpGET])] [MVCDoc('Returns the users list')] procedure GetUsers; [...
unit CampoAlteracaoAuditoria; interface uses Auditoria; type TCampoAlteracaoAuditoria = class private FCodigoAuditoria :Integer; FCodigo :Integer; FValorCampoNovo :String; FValorCampoAntigo :String; FAuditoria :TAuditoria; FNomeCampo :String; private p...
unit orphans; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, Buttons, ExtCtrls, FileUtil; type { TOrphanBadgeSelector } TOrphanBadgeSelector = class(TForm) BitBtn1: TBitBtn; BitBtn2: TBitBtn; Label1: TLabel; Label2: TLabel; ListBox1:...
unit ufrmSites; // |===========================================================================| // | unit ufrmSites | // | 2010 F.BASSO | // |___________________________________________________...
unit DataZesilovac; // TZesTableData - trida resici tvypisovani tabulky zesilovacu interface uses ComCtrls, SysUtils; type TZesTableData=class private LV:TListView; changed:boolean; public procedure LoadToTable(); procedure UpdateTable(); procedure ZesChange(); const...
unit U_Portuguese; interface type TPortuguese = class(TinterfacedObject) strict private type TMainView = class(TinterfacedObject) public const {$region Text} HeaderText01 : String = 'Adaptador: '; HeaderText02 : String = 'Gateway: '; HeaderText03 : S...
{**********************************************************************} { } { "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 comp...
unit dwsExternalFunctions; interface {$I dws.inc} uses SysUtils, dwsXPlatform, dwsExprList, dwsUtils, dwsCompiler, dwsExprs, dwsMagicExprs, dwsSymbols, dwsFunctions, dwsExternalFunctionJIT; type TBoxedTypeConverter = class private FValue: TTypeLookupData; public constru...
procedure bubbleSort(X: list of sortable items) n = length(X) //n merupakan banyak anggota array X swapped = true //swapped merupakan indikasi apakah dilakukan swap dalam array while(swapped) swapped = false //ubah swapped ke salah karena dalam satu putaran belum dilakukan swap for i=1 to n-1 inclusive do ...
unit fAppPushClient; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, System.Json, System.Threading, System.Messaging, {$IFDEF ANDROID} Lib.Android.Account, Lib.AndroidUtils, {$ENDIF} Lib.DeviceInfo, Lib.Ver, aConsts, lPushData, FMX.Types, FMX.Cont...
unit UPortWinSketch; { ClickForms Application } { Bradford Technologies, Inc. } { All Rights Reserved } { Source Code Copyrighted © 1998-2005 by Bradford Technologies, Inc. } interface uses Windows, Messages, Graphics, Classes, UPortBase, WinSkt_TLB; type TWinSk...
unit uContent; interface uses System.SysUtils, System.Classes, System.JSON, syncobjs, Vcl.StdCtrls, Vcl.Forms, REST.Types, REST.Client, AdvTreeView, AdvTreeViewData, AdvGrid, AdvGlassButton; const // оставил в виде константы максимальное количество корневых узлов при // первичном осмотре ...
(*Output: Map of bool variables: {a=null, b=null, c=null} Map of real variables: {} Map of bool variables: {a=true, b=null, c=null} Map of real variables: {} Map of bool variables: {a=true, b=false, c=null} Map of real variables: {} Map of bool variables: {a=true, b=false, c=false} Map of real variables: {} a and b...
unit MUIClass.Gadget; {$mode objfpc}{$H+} interface uses Classes, SysUtils, fgl, Math, Exec, Utility, AmigaDOS, Intuition, icon, mui, muihelper, tagsparamshelper, MUIClass.Base, MUIClass.Area; {$M+} type TMUIGadget = class(TMUIArea) private function GetGadget: PGadget; protected procedure GetCreate...
(* Copyright (c) 2011, Stefan Glienke 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 list of conditions and t...
unit ThreadParser; interface uses Classes,Sysutils,Generics.Collections,Windows,IdHttp,Dialogs,SyncObjs,sythe_Utils; type TPostURLQueue = class(TList<AnsiString>) private FCS: TRTLCriticalSection; public constructor Create; destructor Destroy; override; function GetCount: integer; proce...
unit Network; interface function IsConnected: Boolean; function IsWiFiConnected: Boolean; function IsMobileConnected: Boolean; function PhoneNumberLine1:string; implementation uses System.SysUtils {$IFDEF ANDROID} ,Androidapi.JNIBridge, Androidapi.JNI.GraphicsContentViewText, Androidapi.JNI.JavaTypes...
procedure VerdubbelValue(pGetal: integer); // declare your variables here begin pGetal := pGetal * 2; writeln('pGetal: ', pGetal); end;
unit LayoutManager; interface uses Classes, CommunicationObj; type TLayoutManager = class public function LoadTemplate(Name : string ) : TTemplateInfo; function InitTemplate(Name : string ) : TTemplateInfo; function CloneTemplate(Name: string; Source: TTemplateInfo) : TTemp...
{; ; Lab 2 Part B Serial Port programming ;************************************************************************* ; Before you start filling in the code, you are going to need the following ; documents for technical information or reference: ; 4601 Lab 2 Appendix C ; http://retired.beyondlogic.org/serial/serial.htm...
unit Ai05; { ULAI05.DPR============================================================ File: AI05.PAS Library Call Demonstrated: cbAInScan() with manual data conversion Purpose: Demonstrate the manual conversion of data values af...
unit rs_RunApp; interface uses Windows, SysUtils, VCL.Forms; procedure RunAppDeskLockWait(Appl: String; Parametrs: String); Procedure ShutDownWindows; implementation procedure RunAppDeskLockWait(Appl: String; Parametrs: String); var si: STARTUPINFO; pi: PROCESS_INFORMATION; cmdline: string; ...
1 1 IDENTIFIER a 1 2 OPERATION := 1 5 IDENTIFIER b 1 7 KEY_WORD div 1 11 INT 10 1 13 SEPARATOR ;
{***************************************************************************} { } { DelphiUIAutomation } { } { ...
unit Form1; interface uses SmartCL.System, SmartCL.Graphics, SmartCL.Components, SmartCL.Forms, SmartCL.Fonts, SmartCL.Borders, SmartCL.Application, SmartCL.Controls.Memo, SmartCL.Storage, SmartCL.Controls.Button; type TForm1 = class(TW3Form) procedure btnSaveClick(Sender: TObject); priva...
unit ClassesForm; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.ScrollBox, FMX.Memo, FMX.Controls.Presentation, FMX.StdCtrls; type TForm1 = class(TForm) Button1: TButton; Memo1: TMemo; ...
{* ------------------------------------------------------------------------ * ♥ * ♥ Delphi DataSetProxy component - wrapper for Delphi TDataSet * ♥ * Home: https://github.com/bogdanpolak/delphi-dataproxy * * Classes: * 1. TGenericDataSetProxy - base class for the wrapper * 2. TDatasetProxy - inherited fro...
unit Forms.Main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, System.Actions, Vcl.ActnList, ServerUnit; type TMainForm = class(TForm) btStart: TButton; btStop: TButton...
unit TerminalFrame; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, ExtCtrls, ActnList, StdCtrls, RVStyle, RichView, RFUtils, LazUTF8, Logger, SimpleObj; type { TFrameTerminal } TFrameTerminal = class(TFrame) actTermClear: TAction; alTerm: TActionList; B...
unit UXMLUtil; { ClickForms Application } { Bradford Technologies, Inc. } { All Rights Reserved } { Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. } {$WARN SYMBOL_PLATFORM OFF} {$WARN UNIT_PLATFORM OFF} //utility to build, parse XML based on Micr...
unit task; interface uses classes, generator, syncobjs; type ReadyCallback = procedure; TProcess = class; TTask = class private Fvalue: array of double; fready: boolean; Fprogress: double; criticalsection, CanTerminate: TCriticalSection; thread: TProcess; fname: string; procedu...
unit uGSAxExtensibleTransceiver; {$I twcomp.pas} interface uses Windows, SysUtils, Variants, ComObj, ActiveX, pGSAxExtensibleTransceiver_TLB, pGSAxCustomTransceiverPlugIn_TLB, uGSAxCustomTransceiverPlugIn, CAS_TOOLSCOM, Registry, twconst, uAdaptTcrConfFileChecker, ADODB_tlb, CAS_LOGGER, StdVcl, uStringFunctio...
unit TSTOScriptTemplate.IO; interface Uses Classes, HsInterfaceEx, HsStreamEx, TSTOScriptTemplateIntf, TSTOHackMasterList.IO, TSTORGBProgress; Type ITSTOScriptTemplateSettingsIO = Interface(ITSTOScriptTemplateSettings) ['{4B61686E-29A0-2112-AD91-A65A03B1F196}'] Function GetOnChanged() : TNotifyEvent; ...
unit uZSwitcher; interface uses Windows, SysUtils, Classes, Controls, ExtCtrls, Graphics; type ZBTN = record rect: TRect; pos: integer; is_focused: boolean; end; lpZBTN = ^ZBTN; ZSwitcher = class(TPaintBox) private { Private declarations } bmp: TBitmap; focus...
{******************************************************************************} { } { WiRL: RESTful Library for Delphi } { ...
{*******************************************************} { } { Delphi FireMonkey Platform } { Copyright(c) 2013 Embarcadero Technologies, Inc. } { } {*****************************...
//--------------------------------------------------------------------------- // This software is Copyright (c) 2015 Embarcadero Technologies, Inc. // You may only use this software if you are an authorized licensee // of an Embarcadero developer tools product. // This software is considered a Redistributable as ...
unit DlgTestDialog; interface uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls, Buttons, ExtCtrls, Menus, cxLookAndFeelPainters, cxButtons, DlgTest, Dialogs; type TTestDialogDialog = class(TTestDialog) btnInfoBox: TButton; btnErrorBox: TButton; btnWarningBox: TButton; btnWarni...
unit MainUnit; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Buttons, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.St...
unit FH.DeckLink; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, System.Generics.Collections, Winapi.ActiveX, System.syncobjs, DeckLinkAPI_TLB_10_5, FH.DeckLink.InputFrame, FH.DeckLink.Discovery, FH.DeckLink.Device, FH.DeckLink.Input, FH.DeckLink.Util...
{ NOTE: This unit was copied from the "tiopf" repository Demos directory. It was done for convenience, so this project can compile out of the box. } unit FPickDatabase; {$I tiDefines.inc} interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, ...
unit GlobalConfig; { Globalni konfigurace SW } interface uses IniFiles, SysUtils, Types, Generics.Collections, Classes; type TPortConfigData = record port:string; end; TGlobConfigData = record frmPos:TPoint; frmSize:TPoint; end; TGlobConfig = class public const _DEFAULT_FN = 'con...
unit LoadSaveIntf; {$REGION 'License'} { ***** BEGIN LICENSE BLOCK ***** * 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...
unit U_Fatura; {$mode objfpc}{$H+} interface uses Classes, SysUtils; type TFatura = class codigo: integer; cpf: string; codCobranca: integer; dataGeracao: TDateTime; dataPagamento: TDateTime; valor: currency; mes: integer; ano: integer; vencimento: TDateTime; end; implemen...
unit ListView; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, DAO.Cliente, Model.Cliente, CadastroDeClientes, BO.Exportar.Clientes; type TFrmListView = class(TForm) BitBtn1: TBitBtn; ListBox1: TListBox; BitBtn2: TBitBtn; B...
{******************************************************************************} { } { Indy (Internet Direct) - Internet Protocols Simplified } { ...
unit bookingEdit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls, Buttons, DB, pngimage, ExtCtrls; type TfrmBookingEdit = class(TForm) Label1: TLabel; Label8: TLabel; BitBtn1: TBitBtn; btnEdit: TButton; gbH...
unit uRunCode; // Ths source is distributed under Apache 2.0 // Copyright (C) 2019-2020 Herbert M Sauro // Author Contact Information: // email: hsauro@gmail.com interface Uses uVM, uMachineStack, uScanner, uModule, uSyntaxAnalysis; type TRunFramework = class (TObject) sc : TScanner; ...
unit ReferenceFormViewModelMapper; interface uses ReferenceFormViewModel, EntitySetHolder; type IReferenceFormViewModelMapper = interface function MapReferenceFormViewModelFrom( EntitySetHolder: TEntitySetHolder ): TReferenceFormViewModel; end; implementation end.
unit NtUtils.Com.Dispatch; { This module allows working with variant types and IDispatch without relying on System.Variant. } interface uses Ntapi.ObjBase, Ntapi.ObjIdl, NtUtils; // Variant creation helpers function VarEmpty: TVarData; function VarFromWord(const Value: Word): TVarData; function VarFromCardina...
unit tgtypes; {$mode objfpc}{$H+} interface uses Classes, SysUtils, fpJSON, jsonparser, fgl; type TTelegramUpdateObj = class; TTelegramMessageObj = class; TTelegramMessageEntityObj = class; TTelegramInlineQueryObj = class; TTelegramUserObj = class; TCallbackQueryObj = class; TTelegra...
unit Model.Entities.ProductOrder; interface uses System.SysUtils; type TModelEntitiesProductOrder = class private FDescricao: string; FCodigoProduto: Integer; FCodigoPedido: Integer; FValorUnitario: Currency; FQuantidade: Currency; FValorTotal: Currency; FSeq: Integer; proced...
program bomberman; {$mode objfpc}{$H+} uses zglHeader, TMenuClass, BasicTypes, TGameClass, TTextureManagerClass; { ----- global constant ------------------------------------------------------------------------------------------- } const INPUT_TIMER_INTERVAL = 64; LOGIC_TIMER_INTERVAL = 128; ...
unit aopenssl; interface uses Windows, SysUtils; implementation // int CRYPTO_set_mem_functions( // void *(*m)(size_t), // void *(*r)(void *, size_t), // void (*f)(void *) // ) type OPENSSL_MALLOC = function (size: integer): pointer; cdecl; OPENSSL_REALLOC = function (p: pointer; size: integer): pointe...
unit uDirectory; interface uses SysUtils, Windows, system.Classes; type PSearchRec = ^TSearchRec; TSearchDirCallBack = Procedure(FileName : string; Rec : PSearchRec; lpData : pointer; count, depth : cardinal; var Cancel : Boolean); function SearchDir(Dir : String; lpFunc : TSearchDirCall...
unit qFichaIndividual1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, qImprimeBoletim1, kbmMemTable, DB, ZAbstractRODataset, ZAbstractDataset, ZDataset, QuickRpt, TeEngine, Series, TeeProcs, Chart, DBChart, QrTee, QRCtrls, ComCtrls, StdCtrls, ExtCtrls, uFrame...
unit Model.RoleUserGroupPermission; interface uses Model.Interfaces; function CreateRoleUserGroupPermissionModelClass: IRoleUserGroupPermissionModelInterface; implementation uses System.SysUtils, Model.Declarations, Model.FormDeclarations, Spring.Persistence.Criteria.Interfaces, Spring.Persistence.Criteria.Re...
unit DeliveryControllerImpl; interface uses DeliveryControllerInterface, System.Generics.Collections, uDelivery, DeliveryServiceInterface; type TDeliveryController = class(TInterfacedObject, IDeliveryController) private FDeliveryService: IDeliveryService; public function GetDeliveryList: TObjec...
{*********************************************************************************** ** SISTEMA...............: Vida Nova Gestão de Vendas 2019 ** ** PARA EMPRESAS.........: Micro e Pequena Empresa ** ** LINGUAGEM/DB..........: Delphi 10.3 Rio / Firebird 2.5 ...
unit ChooseScene; {$MODE Delphi} interface uses SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, IniPropStorage; type { TFChooseScene } TFChooseScene = class(TForm) IniPropStorage: TIniPropStorage; LBScenes: TListBox; ImageSnapshot: TImage; ...
unit TSTOProjectImpl; interface Uses HsInterfaceEx, HsStreamEx, TSTOProjectIntf; Type TTSTOMasterFile = Class(TInterfacedObjectEx, ITSTOMasterFile) Private FFileName : AnsiString; FNodeName : AnsiString; FNodeKind : AnsiString; Protected Function GetFileName() : AnsiString; Procedure SetF...
unit DAQ_Globals; {$mode objfpc}{$H+} interface uses Classes, SysUtils, GlobalConfig, GlobalTypes, ADS8320, //BMP280, SPI, I2C; //---------------------------- Sample Buffer ----------------------------------- const SAMPLE_COUNT = 500000; // number of samples one buffer can hold N_BUFFER ...
unit UCompEditorUtil; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, UForms; type TCompSelector = class(TAdvancedForm) cmbxCmpID: TComboBox; btnOK: TButton; btnCancel: TButton; lblDescrip: TLabel; Label2: TLabel; ckbxPhoto: T...
unit StubLogger; interface uses SysUtils, Classes, Logger; type TStubLogger = class (TInterfacedObject, ILogger) public procedure PrepareForLog(const Message: String); procedure LogMessage(const Message: String); procedure MakeLog; end; implementation { TStubLogger } proced...
unit uMainFormPopupMenu; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Menus, Registry, Forms, Controls, Dialogs, uConfiguratorData; type {$REGION ModbusPopupMenuFactory} TModbusPopupMenuFactory = class private fSerialList: TStrings; fOnClick: TNotifyEvent; fMenu: TPopupMenu; private ...
unit XFaceTransferOutBitmap; (* * Compface - 48x48x1 image compression and decompression * * Copyright (c) James Ashton - Sydney University - June 1990. * * Written 11th November 1989. * * Delphi conversion Copyright (c) Nicholas Ring February 2012 * * Permission is given to distribute these sources, as ...
unit UnitTxtUtils; interface type TGravar = class private function PegarDataAtualSimulacao: string; public procedure GravarTxt(PathFile, Text: string); function TextoPadraoTesouroDireto(ValorAplicado, TipoInvestimentoEscolhido, TipoTaxa: string; TaxaSelic, TaxaCDI: Double; IOF180, IOF360, IOF7...
unit conversations; interface uses users, messages; const CONVERSATIONSFILE_ = 'data/conversations' ; type conversationsList = ^simpleCList ; conversationFields = record code : Integer ; sender : String [ 8 ] ; receiver : String [ 8 ] end ; simpleCList = record code...
unit URecords; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, Grids, ActnList, StdCtrls, IBConnection, sqldb, DB, DBCtrls, DBGrids, Menus, ExtCtrls, Math, Buttons, types; type TSelected = record aCol: integer; aRow: integer; end; TICon = record Pict...
unit UParticle; { Copyright (c) 2014 George Wright Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License, as described at http://www.apache.org/licenses/ and http://www.pp4s.co.uk/licenses/ } interface uses SmartC...
unit UDoLib; (* 2002 Twiddle <hetareprog@hotmail.com> *) interface uses SysUtils, StrUtils, Classes, {$IFDEF INDYSSL} IdHTTP, IdSSLOpenSSL, {$ELSE} Windows, IdURI, {$ENDIF} HTTPSub ; type THogeDoLibError = (hdleSUCCESS, hdleCONNECTION, hdleAUTHORIZATION); THogeDoLib = class(TObject) p...
procedure VerdubbelReference(var pGetal: integer); begin pGetal := pGetal * 2; writeln('pGetal: ', pGetal); end;
unit BuilderPizzaExample.Builder.Product.PizzaHouseStyle; interface uses BuilderPizzaExample.Builder.Base.IPizzaBuilder, BuilderPizzaExample.Builder.Base.PizzaBuilderBase, BuilderPizzaExample.Domain.Edge, BuilderPizzaExample.Domain.ValueObject.PizzaSize, BuilderPizzaExample.Domain.Pizza, BuilderPizzaExamp...
unit RecordsForm; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.ScrollBox, FMX.Memo, FMX.Controls.Presentation, FMX.StdCtrls; type TForm1 = class(TForm) Button1: TButton; Memo1: TMemo; ...
{*******************************************************} { } { Borland Delphi Visual Component Library } { } { Copyright (c) 1995-2002 Borland Software Corporation } { ...
(****************************************************************************** PROYECTO FACTURACION ELECTRONICA Copyright (C) 2010-2014 - Bambu Code SA de CV - Ing. Luis Carrasco Metodos para calcular el cifrado con los algortimos MD5 y SHA1. Código original obtenido de: http://delphi.jmrds.com/?q=node/36 Est...
unit OlegVectorOld; interface uses OlegType, IniFiles; type Vector=record X:array of double; Y:array of double; n:integer; //кількість точок, в масиві буде нумерація //від 0 до n-1 name:string; // назва файлу, звідки завантажені дані T:Extended; ...
//From: http://www.mytips123.com/articles/53/1/How-to-get-the-local-DNS-servers-list%3F // //How to get the local DNS servers list? //By hongbin fei | Published 06/9/2006 | Internet/LAN | Rating: unit iphlp; interface uses Windows, Classes; const MAX_HOSTNAME_LEN = 128; MAX_DOMAIN_NAME_LEN = 128; MAX_SCOP...
unit uTagEdit; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Types, System.IOUtils, System.Threading, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uTypes, uSearchImage, Vcl.StdCtrls, xSuperObject, sListBox, sButton, AdvUtil, Vcl.Grids, AdvObj, ...
unit specialityCr; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls,NewLibrary_Intf, Data.DBXMySQL, Data.FMTBcd, Datasnap.DBClient, Datasnap.Provider, Data.DB, Data.SqlExpr, controll...
// ************************************************************************ // // The types declared in this file were generated from data read from the // WSDL File described below: // WSDL : http://localhost/WSLocation/LocationService.asmx?wsdl // Encoding : utf-8 // Version : 1.0 // (12/12/2006 1:38:18 PM - 1.3...
unit Frm_Paises_Editor; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uniGUITypes, uniGUIAbstractClasses, uniGUIClasses, uniGUIForm, Frm_Dialogo, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.Phys.Intf, FireDAC.DApt...
PROGRAM ListDemo; TYPE Node = ^NodeRec; List = Node; NodeRec = RECORD value: SMALLINT; next: Node; END; PROCEDURE InitList(VAR l: List); BEGIN l := NIL; END; FUNCTION CreateNode(value: SMALLINT): Node; VAR newNode: Node; BEGIN New(newNode); (* IF newNode = NIL THEN BEGIN exception_handling END; *) newN...
{*******************************************************} { } { FluentSQL } { } { Copyright (C) 2013 Allan Gomes } { ...
unit PaperSize; interface function GetPaperSize : string; implementation uses Windows, Printers, WinSpool, SysUtils; function GetPaperSize : string; type TPaperName = array[0..63] of Char; TPaperNameArray = array[1..High(Integer) div Sizeof(TPaperName)] of TPaperName; PPaperN...
unit uiview_space; interface uses Types; type TUIViewShapeType = ( shapeUnknown, shapePoint, shapeLine, // 直线 shapeCurve, // 曲线 shapeTriangle, // 三角形 shapeRect, // 封闭区域 -- 方形 shapePolygon, // 封闭区域 -- 多边形 shapeText // Text 和 Font 相关 ); PUIViewShape = ^TUI...
unit AbstractConnectionFactory; interface uses ConnectionFactory, ConnectionInfo, SysUtils, Classes; type TAbstractConnectionFactory = class abstract (TInterfacedObject, IConnectionFactory) public function GetSelf: TObject; function CreateConnection(ConnectionInfo: TC...
(* Copyright (c) 2012-2014, Stefan Glienke 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 list of conditions ...
{******************************************************************************} { } { LazORM Project } { ...
{ Routines for reading from display list files. * * Quick overview of routines for reading from the input file: * * RDLINE (RD, STAT) - Read next line. FALSE if popped up one level. * * END_OF_LINE (RD, STAT) - Check for end of current input line. * * RDTOKEN (RD, TOKEN) - Read token. TRUE when ...
unit uVMUnitTests; interface uses Classes, SysUtils, DUnitX.TestFramework, uVM; type [TestFixture] TVM_UnitTests = class(TObject) vm : TVM; public [Setup] procedure Setup; [TearDown] procedure TearDown; [Test] [TestCase('Case pushs','test1_push_String.asm,string')] procedu...
unit SimThyrPrediction; { SimThyr Project } { (c) J. W. Dietrich, 1994 - 2011 } { (c) Ludwig Maximilian University of Munich 1995 - 2002 } { (c) Ruhr University of Bochum 2005 - 2011 } { This unit implements a window showing predicted equilibrium values } { Source code released under the BSD License } {$mode objfpc}...
unit MLP.Contract.Neuron; interface uses MLP.Contract.Activation, MLP.Concret.Matrix; type INeuronLayer = interface; THasCallback = procedure(AHasLayer: Boolean; ALayer: INeuronLayer); INeuronLayer = interface ['{82BBA5AA-CF71-444A-A283-836B2D4204E5}'] function ConnectWith(ALayer: INeuronLayer): I...
// Fit4Delphi Copyright (C) 2008. Sabre Inc. // 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 version. // // This program is ...
unit static_stack; {* implementação de estrutura de dados pilha utilizando arranjos *} interface {* constantes *} const MIN = 1; const MAX = 10; const EMPTY = 0; const FULL = MAX; {* definição de tipos *} type data = integer; type pointer = integer; type itemlist = array[MIN..MAX] of data; ...
unit FMXFontInstaller; interface {$IFNDEF MSWINDOWS} {$MESSAGE ERROR 'Windows Only Unit'} {$ENDIF} uses System.SysUtils, System.Classes, WinAPI.Windows, Winapi.Messages; {.$R FontResource.res} {$R 'AssimilateFont.res'} function IsKnownFont(const FontFamily:String):boolean; procedure GetLoadedFonts(const ToList:T...
unit SelectDlg; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Db, DBTables, StdCtrls, Buttons, Grids, DBGrids; type TfrmSelectDlg = class(TForm) grdSelect: TDBGrid; btnOK: TBitBtn; btnCancel: TBitBtn; SelectDataSource: TDataSource; Label1: TLabel; ...
program e6p3; uses crt; const MAX_ELEMENTOS = 5; type puntNodo = ^tNodo; tNodo = record numero:integer; sig:puntNodo; end; //////////////////////////////////////////////////////////////////////// procedure imprimirLista(lista:puntNodo); begin if (lista <> nil) then begin writ...
unit TMenuClass; {$mode objfpc}{$H+} { ----- interface ------------------------------------------------------------------------------------------------- } interface uses Classes, SysUtils, BasicTypes, zglHeader; { ----- global types -------------------------------------------------------------...