text
stringlengths
14
6.51M
unit UTestDMSimulaCredito; interface uses TestFramework, Classes, SysUtils, UDMSimulaCredito; type // Test methods for class TDMSimulaCredito TestTDMSimulaCredito = class(TTestCase) strict private FDMSimulaCredito: TDMSimulaCredito; public procedure SetUp; override; procedure Te...
unit UnReportBills; interface uses ComObj, ActiveX, Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.ComCtrls, Vcl.StdCtrls, Vcl.Buttons, Data.DB, MemDS, DBAccess, Ora, Vcl.ActnList, Vcl.Grids, Vcl.DBGrids,...
unit SMController.Agendamentos; interface uses System.SysUtils, System.Classes, System.Json, UServices.interf,UServices.Agendamentos, Datasnap.DSServer, Datasnap.DSAuth, Datasnap.DSProviderDataModuleAdapter; type {$METHODINFO ON} TsmAgendamentos = class(TDSServerModule) private ServicesAgendamentos: TServ...
unit u_wCodeSite; //////////////////////////////////////// /// /// Модуль логирования действий программы - в пику codesite можно использовать свою обработку /// /// Willi ранее была надстройка над CodeSite - потом добавил CUSTOM_TRACE /// /// выбор логировать или нет, режим логирования, /// глобальная ссылка на...
unit Test.SensorList.Main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, LA.Data.Sensor, Data.Bind.EngExt, Vcl.Bind.DBEngExt, System.Rtti, System.Bindings.Outputs, Data.Bind.Components, Vcl.StdCtrls, LA.Data...
unit folderinfo; interface type PFolderInfo = ^TFolderInfo; TFolderInfo = class private fName: string; fFileCount: integer; fSize: int64; fFullName: string; fFolderCount: integer; fParentFolderInfo : PFolderInfo; public property FullName : string read fFullName; // f...
unit uCzSettings; interface uses Windows, Classes, Rtti, TypInfo, SysUtils, Forms, Generics.Collections, uCzRtti; const cDefaultSectionName = 'Settings'; type ECzSettings = class(Exception); ECzSettings_TypeNotSupported = class(ECzSettings); TCzIniAttribute = class(TCustomAttribute) strict private ...
// // Dragon // A game for Windows based on a modified and improved version of the // DelphiDoom engine // // Copyright (C) 1993-1996 by id Software, Inc. // Copyright (C) 2004-2022 by Jim Valavanis // // This program is free software; you can redistribute it and/or // modify it under the terms of the GNU Genera...
unit MyView; {$mode objfpc}{$H+} interface {$include /usr/local/pandroid/units/AndroidVersion.inc} , MyElemnet; type { OpenGLRenderer } MyGLRenderer = class(AOGLSurfaceView.InnerRenderer) constructor Create(context: ACContext); virtual; procedure onSurfaceCreated(gl: JMKOGL10; config: JMKEEGL...
unit HPAK; interface uses SysUtils, Default, SDK, Math; function HPAK_GetDataPointer(Name: PLChar; const Res: TResource; Buffer: PPointer; Size: PUInt32): Boolean; function HPAK_FindResource(const DH: THPAKDirectoryHeader; Hash: Pointer; Res: PResource): Boolean; procedure HPAK_AddLump(ToCache: Boolean; Name: PLCha...
unit OposScalUtils; interface uses // VCL SysUtils, // Opos OposScal, OposScalhi, OposUtils; function GetScalePropertyName(const ID: Integer): WideString; function GetResultCodeExtendedText(Value: Integer): WideString; function GetScaleStatusUpdateEventText(Value: Integer): WideString; implementation funct...
{*******************************************************} { } { Borland Delphi Visual Component Library } { } { Copyright (c) 1997,99 Inprise Corporation } { ...
unit vect; interface type Vect2d = record posX: INTEGER; posY: INTEGER; end; function getVectPosX(position:Vect2d): INTEGER ; function getVectPosY(position:Vect2d): INTEGER ; procedure setVectPosX(var position: Vect2d; x: INTEGER) ; procedure setVectPosY(var position: Vect2d; y: INTEGER) ; function addiVect2d(ve...
unit JQSignals; {$mode objfpc}{$H+} interface uses Classes, SysUtils; type Generic JQSignal<T> = class public type INTERN_FUNCTION = procedure(arg : T); type INTERN_SLOTS = array of INTERN_FUNCTION; //Konstruktor constructor create(); //Test procedure connect(arg : INT...
Unit JdAPIstd; { Original : jdapistd.c ; Copyright (C) 1994-1996, Thomas G. Lane. } { This file is part of the Independent JPEG Group's software. For conditions of distribution and use, see the accompanying README file. This file contains application interface code for the decompression half of the JPEG libr...
program CustomEaseFunctions; // Introduction // ---------------------------------------------------------- // Here you can play and develope your own Ease-Function. // You can define as many Ease-Functions as you want. // // Each Ease-Function... // - Name must be ending with Ease (e.g. MyEase) // - Muste be ...
unit cmpPropertyListBox; interface {$R PropertyListBoxBitmaps.Res} uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, buttons; type TPropertyListBox = class; TPropertyType = (ptString, ptInteger, ptBoolean); TPropertyListProperty = class (TCollec...
{ This file is part of the FastPlaz package. (c) Luri Darmawan <luri@fastplaz.com> For the full copyright and license information, please view the LICENSE file that was distributed with this source code. } unit googleplacesearch_integration; {$mode objfpc}{$H+} { Google Place Search https://developers.google.com...
{ ******************************************************************************* Title: T2Ti ERP Description: Janela Cadastro de ContaCaixa The MIT License Copyright: Copyright (C) 2010 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated ...
unit frm_ValoresIndicador; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DBCtrls, Grids, DBGrids, StdCtrls, Buttons, ExtCtrls, TeEngine, Series, TeeProcs, Chart, DBChart, Mask, rxToolEdit, rxCurrEdit, FMTBcd, DBClient, Provider, DB, SqlExpr, JvFullC...
{ This file is part of the Free Pascal run time library. A file in Amiga system run time library. Copyright (c) 1998-2003 by Nils Sjoholm member of the Amiga RTL development team. See the file COPYING.FPC, included in this distribution, for details about the copyright. This program is dis...
(********************************************************************************) (* UNIFIED INTERBASE (UIB) *) (* *) (* The contents of this file are subject to the Mozilla Public Licen...
{ Emulator Management form. This form is based around a VT, and a group box with the parameters of the emulator class. The VT is interesting because it sorts the emulators by system, and actually loads in the emulators icon dynamically when a folder is expanded. This can result in some slowdown when expan...
unit uCircle; interface uses uShape; type TCircle = class(TShape) private FRadius: Integer; public property Radius: Integer read FRadius write FRadius; constructor Create(ASource: TCircle); overload; function Clone: TShape; override; function ToString: string; override; end; implementati...
unit Media_sdl; interface uses sdl, sdl_ttf, sysutils, SDL_MIXER; const AUDIO_FREQUENCY : Integer = 22050; AUDIO_FORMAT : WORD = AUDIO_S16; AUDIO_CHANNELS : Integer = 2; AUDIO_CHUNKSIZE : Integer = 4096; procedure ecrire(p_screen : PSDL_Surface; txt : String; x, y, taille : Integer); procedure lancerMusique(musiqu...
{----------------------------------------------------------------------------- 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.html...
unit SvHTTPClientInterface; interface uses Classes ; type {$SCOPEDENUMS ON} MEDIA_TYPE = (DEFAULT, JSON, XML, FORM); {$SCOPEDENUMS OFF} TRequestType = (rtGet, rtPost, rtPut, rtDelete, rtHead, rtOptions); const MEDIA_TYPES : array[MEDIA_TYPE] of string = ('text/html, */*', 'application...
unit PortAccess; interface uses Windows; type TPortLPT = class private hPort: DWord; public constructor Create; destructor Destroy; override; function Open: boolean; procedure Close; function Write(const sData:...
{ Copyright © 2017-2018 Piotr Chlebek http://sharktime.com/ } unit func; interface uses fann, Math, // for Min() SysUtils; // for FloatToStrF() function i2s(const value: Integer): string; function f2s(const value: Single; const decimalDigits: Integer = 3): string; function ForceInRange(const value,a,b: Integer...
unit HLVM.Generics.HList; interface uses System.SysUtils; type HList<T> = record public const AllowFastMove = True; public type TInternalArray = array of T; TInternalPointer = ^T; public var Items: TInternalArray; private var FCount: Integer; FSize: Integer; procedure SetSiz...
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Ex_Grid; type TForm1 = class(TForm) GridView1: TGridView; procedure GridView1GetCellText(Sender: TObject; Cell: TGridCell; var Value: s...
{******************************************************************************} {* *} {* PasDesigner 0.1 - Package loading *} {* ...
(* Copyright 2003 Joseph M. O'Connor Inc. All rights reserved. (Derived from the FreeBSD copyright at http://www.freebsd.org/copyright/freebsd-license.html). Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistribut...
unit BlockTrackRef; { This unit implements TBlkUsekRef class, which holds reference to a section (usek) or a section part. } interface uses Block, BlockTrack, Classes, SysUtils, Generics.Collections; type ENoBlock = class(Exception); EInvalidPart = class(Exception); TBlkTrackRef = class const _EMP...
program w7v2cpframe; {$mode objfpc}{$H+} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Classes, SysUtils, CustApp, Pf_Vars, pfFScan, Files000, Pf_Load, Pf_Gen, Pf_Prt, PString, Pf_Anal { you can add units before this comment}; type { TMyApplicatio...
unit CaptchaVerification; interface uses System.Classes, System.SysUtils, Winapi.Windows, VCL.Graphics; type TCaptchaVerification = class(TComponent) Type TCharCase = (Lower, Upper, Number); TCharCases = set of TCharCase; const CharCaseAll = [Lower, Upper, Number]; CharCaseLetter...
unit PosReportOptions; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DB, DBClient, ComCtrls, Buttons, ExtCtrls, QuickRpt; type TfmPosReportOptions = class(TForm) TopPnl: TPanel; DestLbl: TLabel; lblCopies: TLabel; Toimage: TImage; ...
unit GameMill; {-------------------------------} interface uses GamePoint; type Mill = class public elements:= new Integer[3];//Индексы поля, составляющие мельницу {$region Constructors} constructor create(first, second, third: Integer); begin elements[0]:=first; elemen...
program MyTestProgram; uses SysUtils; // Put your record definition here type Airplane = record id, kms: Integer; manufacturer, model: String; end; type Airplanes = Array of Airplane; // Put your array type definition here // Helper Functions {{{ function ReadString(promp...
unit tipos; interface uses Windows, SysUtils, ComCtrls, Menus, Classes, Forms, Registry, Data.DB, Vcl.Buttons, Vcl.StdCtrls, Vcl.DBCtrls, Vcl.Graphics; const {SIM / NÃO} C_TP_SIM : String = 'SIM'; C_TP_NAO : String = 'NAO'; C_TP_SIM_S : String = 'S'; C_TP_NAO_N : String = 'N'; {CADASTRO...
unit uMyMQTT; (* Web Sites http://www.alphaworks.ibm.com/tech/rsmb http://www.mqtt.org Permission to copy and display the MQ Telemetry Transport specification (the "Specification"), in any medium without fee or royalty is hereby granted by Eurotech and International Business Machines Corporation (IBM) (colle...
object FormIconChooser: TFormIconChooser Left = 476 Top = 317 BorderStyle = bsDialog Caption = 'MobaXterm' ClientHeight = 144 ClientWidth = 391 Color = clBtnFace Font.Charset = ANSI_CHARSET Font.Color = clWindowText Font.Height = -13 Font.Name = 'Arial' Font.Style = [] FormStyle =...
uses GraphABC, Timers, ABCObjects; // новая структура Info // ----------------------------------------------------- type InfoRec = record time : integer; DateText : string[20]; TimeText : string[20]; end; type Storona = (Left, Right, Up, Down); type Car = record Name: string[20]; // имя инрока...
unit ViewConfigs; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Imaging.pngimage, Vcl.ExtCtrls, System.Types, Vcl.StdCtrls, Vcl.Buttons, System.Actions, Vcl.ActnList, Vcl.ComCtrls, System.ImageList, Vcl.I...
{----------------------------------------------------------------------------- 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.html...
{------------------------------------------------------------------------------- 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...
program intro_fonctions_bis; var n1, n2, n3 : integer; // les fonctions sont DECLAREES ds la tête du pgm // et sont APPELEES ds le corps du pgm // déclaration de fonction : // choisissez un nom de fonction : un nom ou un adjectif // reservez les verbes pour les procédures // puis entre parenthèses la liste des pa...
unit ActiveFormImpl1; {$WARN SYMBOL_PLATFORM OFF} interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ActiveX, AxCtrls, GTCARD_TLB, StdVcl,EncdDecd, ExtCtrls,Registry; const NameLen = 30; const SexLen = 5; const NationLen = 10; const DateLen ...
unit xxmFReg; { xxm Fragment Registry This is a default fragment registry. You are free to change this one or create a new one for your project. The TxxmProject (xxmp.pas) calls GetClass with the page section of the URL, or can pre-process the URL. $Rev: 456 $ $Date: 2018-05-04 23:45:27 +0200 (vr, 04...
unit GB.Core.Tests; interface uses DUnitX.TestFramework; type [TestFixture] TMyTestObject = class(TObject) public [Setup] procedure Setup; [TearDown] procedure TearDown; [Test] procedure Test_HasCreatedObjectByBuild(); [Test] procedure Test_HasCreated...
(** * section: InputOutput * synopsis: Example of custom Input/Output * purpose: Demonstrate the use of xmlRegisterInputCallbacks * to build a custom I/O layer, this is used in an * XInclude method context to show how dynamic document can * be built in a clean way. * usage: io1 * test...
unit LA.Data.Source.Intf; interface type /// <summary> /// Объект, за которым можно наблюдать /// к нему можно подключаться/отключаться и он может сообщать, что что-то изменилось /// aLink - это специальный объект, который поддерживает интерфейс IDCObserverLink, /// создается в момент подключения и зна...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) ListBox1: TListBox; Button1: TButton; Button2: TButton; Button3: TButton; Edit1: TEdit; Edit2: TEdit; Button4: TButton; Button5: TB...
object MailCfgDlg: TMailCfgDlg Left = 516 Top = 157 BorderStyle = bsDialog Caption = 'Mail Server Configuration' ClientHeight = 303 ClientWidth = 352 Color = clBtnFace ParentFont = True OldCreateOrder = True Position = poScreenCenter OnShow = FormShow DesignSize = ( 352 303) PixelsPerI...
unit URIs; interface uses SysUtils; type TURI = record Protocol :string; Server :string; Path :string; Resource :string; Extension :string; end; function SplitURI(URI :string) :TURI; implementation function SplitURIProtocol(var URI :string) :string; var ColonPos, SlashPos :I...
{----------------------------------------------------------------------------- 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.html...
Unit Graph3D; {$A+,B+,D+,E-,F+,G+,I+,L+,N+,O-,P-,Q+,R+,S+,T+,V-,X+,Y+} {$M 16384,0,655360} interface Type PPoint = ^TPoint; TPoint = Record X:Integer; Y:Integer; End; TRect = Record A:TPoint; B:TPoint; End; P3DPoint = ^T3DPoint; T3DPoint = Record X,Y,Z...
unit Share; interface uses Windows, Classes, SysUtils, Controls, RzLabel, RzPanel, RzRadChk, RzStatus, RzEdit, RzBtnEdt; const TESTMODE = 0; type TConvertData = class m_nFileHandle: Integer; m_sDBFileName: string; m_nType: Integer; m_ProgressStatus: TRzProgressStatus; m_RzStatusPane: TRzStatu...
unit unIniciarConiguracoes; interface uses IniFiles; type TIniciarConfiguracoes = class private oIniConf: TIniFile;//arquivo .INI public function ConfigurarBD: Boolean; end; implementation uses unConstantes, unDM, Dialogs, SysUtils; //FileExists (* TIn...
unit uDMTransfCaixaBanco; interface uses System.SysUtils, System.Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf,uContaBancariaChequeModel, FireDAC.DApt.Intf, FireDAC.Stan.Async, FireDAC.DApt, Data.DB,udmConexao, uUtil, uDMOrganizacao, F...
Unit SortGridPreview; INTERFACE uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, ComCtrls, Buttons, Printers, ExtDlgs, SortGrid; type TSortGridPreviewForm = class( TForm ) ScrollBox1: TScrollBox; PreviewImage: TImage; Panel1: ...
{ Translation of the A52 headers for FreePascal Copyright (C) 2006 by Ivo Steinmann } (* * a52.h * Copyright (C) 2000-2002 Michel Lespinasse <walken@zoy.org> * Copyright (C) 1999-2000 Aaron Holtzman <aholtzma@ess.engr.uvic.ca> * * This file is part of a52dec, a free ATSC A-52 stream decoder. * See http://lib...
unit LingerIRC; // after Worms closes connection, the host's IRC user must stay online // to relay connection information to other users interface uses Base, Data, Windows, SysUtils, WinSock; var LingeringIRC: TSocket = 0; procedure StartLingering; procedure StopLingering; function Li...
{$i deltics.strings.inc} unit Deltics.Strings.Fns.Utf8; interface uses Deltics.Strings.Types; type Utf8Fn = class // Transcoding class function Encode(const aString: String): Utf8String; class function FromANSI(const aString: ANSIString): Utf8String; overload; class functio...
Procedure Linear(Data : PhraseTYPE; Letter : char; Var Position : integer); {Linear search for Letter. Return negative Position if not found.} Begin Position := 1; While (Data[Position] < Letter) And (Position < MAX) Do Begin Position := Position + 1; End; {Postcondition: If Data[Position] isn't Le...
unit PanelInforma; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls; type TEstadoPanel = (Lento,Piscando,Parado,UmaUm,Nenhum); TPanelInforma = class(TPanel) private FChange: TNotifyEvent; Estado:Array of TEstadoPanel; TimerInforma: TTimer; F...
//Kernel_INC.asm //Kernel ROM jump table const KERNEL_BOOT = $001000; // Cold boot routine KERNEL_RESTORE = $001004; // Warm boot routine KERNEL_BREAK = $001008; // End program and return to command prompt KERNEL_READY = $00100C; // Print prompt and wait for keybo...
unit LoginDominio; interface uses LoginEntidade, ComandoSQLDominio, ADODB; type TLoginDominio = class private Conexao: TADOConnection; FLogin: TLoginEntidade; FLoginDAO: TExecutaComandosSQLDominio; public function Salvar(var Retorno: AnsiString): integer; function Alterar(var...
// Direct Oracle Access - ObjectGrid // Allround Automations // support@allroundautomations.nl // http://www.allroundautomations.nl // // This application demonstrates: // - Manipulation of persistent objects unit MainUnit; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ...
unit uDynStringArray; interface type TDynStringArray = TArray<String>; TDynStringArrayUtils = class public class function Exists( const iArray: TDynStringArray; const iStr: String): Boolean; end; implementation { TDynStringArrayUtils } class function TDynStringArrayUtils.Exists( const iA...
{******************************************************************************* This file is part of the Open Chemera Library. This work is public domain (see README.TXT). ******************************************************************************** Author: Ludwig Krippahl Date: 23.6.2011 Purpose: Console applica...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, EnumStuff; type TForm3 = class(TForm) Button1: TButton; Button2: TButton; Label1: TLabel; ComboBox1: TComboBox; Button3: TButton; procedure Button1Click(Sender: TObje...
program UsingEnumerations; uses TerminalUserInput; type Genres = (Pop, Classic, Rock); Album = record artist, title: String; genre: Genres; end; function ReadGenre(prompt: String): Genres; var selection: Integer; begin WriteLn('Genres:'); WriteLn(' 1. Pop'); ...
unit ViewModel.Company.Test; interface uses DUnitX.TestFramework, ViewModel.Company, Model.Company; type [TestFixture] TCompanyViewModelTest = class(TObject) private FCompany : TCompany; FViewModel : TCompanyViewModel; public [Setup] procedure Setup; [TearDown] proc...
{$REGION 'documentation'} { Copyright (c) 2016, Vencejo Software Distributed under the terms of the Modified BSD License The full license is distributed with this software } { File system entry definition @created(10/02/2016) @author Vencejo Software <www.vencejosoft.com> } {$ENDREGION} unit ooFS.Entry; in...
{ Модуль счетчика от 0 до 999 } UNIT Count3; INTERFACE PROCEDURE CheckOverflow(VAR State: CHAR); { Проверка переполнения счетчика } PROCEDURE Start(); { Сбрасывает счетчик в ноль } PROCEDURE Bump(); { Увеличивает счетчик на единицу } PROCEDURE Value(VAR V100, V10, V1: CHAR); { Возвращает значение счетчика } IMP...
{*******************************************************} { } { Delphi VCL Extensions (RX) } { } { Copyright (c) 1995, 1996 AO ROSNO } { Copyright (c) 1...
unit uEstado; interface uses Classes, SysUtils, mCollection, mCollectionItem, uPais; type TEstado = class; TEstadoClass = class of TEstado; TEstadoList = class; TEstadoListClass = class of TEstadoList; TEstado = class(TmCollectionItem) private fCd_Estado: Integer; fU_Version: String; ...
Unit JCOMapi; { This file contains application interface routines that are used for both compression and decompression. } { Original: jcomapi.c; Copyright (C) 1994-1997, Thomas G. Lane. } interface {$I jconfig.inc} uses jmorecfg, jinclude, jpeglib; { Abort processing of a JPEG compression or decompressio...
// Nama/NIM : Muhammad Alif Arifin/13516078 // Tema : Fungsi dan Prosedur - Bab 3 Problem 12 // Deskripsi : Menghitung f(g(f(x))) dengan // f(x) = 2x − 9 // g(x) = x^3 + 7 // Batasan : - program bab3; { KAMUS } var x : integer; // untuk menyimpan input pengguna { FUNGSI DAN PRO...
unit RepositoryCliente; interface uses Classes, Repository, classCliente, RepositoryBase, InterfaceRepositoryCliente, InterfaceRepository, Context, EntityBase; type TRepositoryCliente = class(TRepositoryBase ,IRepositoryCliente) private _RepositoryCliente:IRepository<TCliente>; public Constructor Crea...
unit filenameedit; interface uses SysUtils, Classes, Controls, StdCtrls, Mask, MEditBox, Dialogs; type TFileNameEdit = class(TMEditBox) private function GetFileName: String; procedure SetFileName(const Value: String); { Private declarations } procedure FileNameEditButtonClick(Sender:TObject);...
unit CPluginTypes; interface uses Windows; type ICManagerInterface = interface function GetName: OleVariant; function GetVersion: OleVariant; function GetConnection: IInterface; function GetDatafilename: OleVariant; function GetWorkdate: OleVariant; function GetAppHandle: HWND; function...
{** DelphiPI (Delphi Package Installer) Author : ibrahim dursun (ibrahimdursun gmail) License : GNU General Public License 2.0 **} unit PackageList; interface uses SysUtils, Classes, PackageInfo, Generics.Collections; type TPackageList = class(TList<TPackageInfo>) private public constructo...
{----------------------------------------------------------------------------- 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.html...
{******************************************************************************* Title: T2Ti ERP Description: Controller do lado Servidor relacionado à tabela [FOLHA_INSS] T...
unit PackageEditorFrame; { Copyright (c) 2017+, 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 uServicoModel; interface uses System.Generics.Collections, uServicoProcedimentoModel, System.SysUtils; type TServicoModel = class private Fid: integer; Fpaciente: string; FvalorTotal: double; Ffarmaceutico: string; Fdata: TDateTime; Fobservacoes: string; Fprocedimentos:TList<TServ...
unit Produtor; interface uses Windows, Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, CadastroBase, Vcl.ComCtrls, Vcl.ToolWin, Vcl.StdCtrls, CurrencyEdit, Vcl.Mask, Vcl.Buttons, Data.DB, Vcl.Grids, Vcl.DBGrids, Datasnap.DBClient, FireDAC.Comp.Da...
{******************************************************************************} { } { Delphi JOSE Library } { Copyright (c) 2015-2021 Paolo Rossi ...
unit CompoGLPanel; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, dglOpenGL; type TGLErrorEvent = procedure(Sender: TObject; ErrCode: GLEnum; Title: String; Description: String) of object; TGLPanel = class(TPanel) private { Déclarations p...
unit Controllers.Usuario; interface uses Horse, System.SysUtils, System.JSON, Horse.Commons, Services.Usuario; procedure Registry; procedure GetUsuarios(Req: THorseRequest; Res: THorseResponse; Next: TProc); procedure PostUsuario(Req: THorseRequest; Res: THorseResponse; Next: TProc); procedure PutUsuario...
unit MainUnit; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Menus, Vcl.ComCtrls, Vcl.ExtCtrls, Vcl.Imaging.pngimage, Vcl.StdCtrls, AboutProgramUnit, ContinueGameUnit, HelpUnit, RecordsUnit, SaveGameUni...
unit StructLinkedList; interface uses SysUtils; type TLinkedStruct = class(TObject) private { Déclarations privées } FNext: TLinkedStruct; FPrev: TLinkedStruct; FLinkedObject: TObject; procedure Init(); protected { Déclarations protégées } public { Déclarations pub...
unit LUX.Vision.ARToolKit.icp; (* * icp.h * ARToolKit5 * * This file is part of ARToolKit. * * ARToolKit is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, ...
unit Disks; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Windows; const DRIVE_REMOVABLE = 2; DRIVE_FIXED = 3; DRIVE_REMOTE = 4; DRIVE_CDROM = 5; DRIVE_RAMDISK = 6; DRIVE_UNKNOWN = 0; DRIVE_NO_ROOT_DIR = 1; type DiskDrive = record name : string; kind : integ...
{******************************************************************************* * Genesis Device Engine * * Copyright © 2007-2015 Luuk van Venrooij * * http://www.luukvanvenrooij.nl ...
unit ReportSityPhoneNumbers; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ActnList, StdCtrls, Buttons, ExtCtrls, DB, MemDS, DBAccess, Ora, Grids, DBGrids, CRGrid; type TReportSityPhoneNumbersForm = class(TForm) qSityNumbers: TOraQuery; dsSityNumbe...
program OlympiadWinner; uses crt, sysutils; const input_fname = '../../data/olympiad_results_4.txt'; output_fname = '../../data/olympiad_results_processed.txt'; type participant = record family_name: string[20]; given_name: string[15]; grade: integer; score: integer; end; var ...
(********************************************************************************) (* UNIFIED INTERBASE (UIB) *) (* *) (* The contents of this file are subject to the Mozilla Public Licen...