text
stringlengths
14
6.51M
program lexico; type string255 = string [ 255 ]; var arquivo : text; const fim_de_arquivo = -2; erro_lexico = -1; {******************************************************} {* *} {* - ANALISADOR LEXICO - *} {* Gerado pelo ...
unit tsvOtherEdit; interface uses classes,Windows, DsgnIntf, imglist, graphics; type { TFilenameProperty } TFilenameProperty = class(TStringProperty) protected function GetFilter: string; virtual; public procedure Edit; override; function GetAttributes: TPropertyAttributes; override; end; ...
{------------------------------------------------------------------------------- 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...
unit TextFiscalPrinterDevice; interface uses // VCL Windows, Classes, SysUtils, // This FiscalPrinterTypes, PrinterCommand, PrinterFrame, PrinterTypes, BinStream, StringUtils, SerialPort, PrinterTable, ByteUtils, DeviceTables, PrinterParameters, PrinterConnection, DriverTypes, FiscalPrinterStatistics, D...
unit OrderManageFrm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, ToolWin, StdCtrls, ExtCtrls; type TOrderManageForm = class(TForm) CoolBar: TCoolBar; ToolBar: TToolBar; tbtnZy: TToolButton; tbtnEdit: TToolButton; tbtnDel: TToo...
unit UStack; interface type TDataType = real; TNodePtr = ^TNode; TNode = record data: TDataType; next: TNodePtr; end; TStack = class private fHead:TNodePtr; fCount:integer; function Pop:TDataType; public procedure Push(NewData:TDataType); function TryPop(var data:TDataType):boolean; ...
{$O+} Unit WedgeStrapTransmission; {-------------------------------------------------------------------------} {- Модуль проектирования передачи клиновым ремнем. -} {-------------------------------------------------------------------------} INTERFACE Uses Objects, Views, Designers; Const {-----...
program SimplePolitics; uses TerminalUserInput; Const YEAR_TRUMP_ELECTED = 2016; function calculateAgeWhenTrumpElected(birthYear: Integer): Integer; begin result := YEAR_TRUMP_ELECTED - birthYear; end; procedure Main(); var name: String; yearBorn, ageWhenTrumpElected: Integer; isBrexit...
{ Common API Extra Windows functions } unit CommonWinFunctions; interface uses Windows,Classes,SysUtils,StrUtils,Graphics,math,Masks; Type TOpSystem = class(TPersistent) public constructor Create; destructor Destroy; override; {Execute a process. IN : FileName -> Full pat...
{* * TBX Package * Copyright 2001-2013 Alex A. Denisov and contributors. All rights reserved. * * The MIT License (MIT) * * 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 witho...
object AboutForm: TAboutForm Left = 0 Top = 0 BorderIcons = [biSystemMenu] BorderStyle = bsDialog Caption = 'World Magnetic Model 2005 About' ClientHeight = 254 ClientWidth = 439 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = ...
{******************************************************************************} { } { Delphi JOSE Library } { Copyright (c) 2015-2021 Paolo Rossi ...
namespace RemObjects.Elements.System; extension method ISequence<T>.Count(): Integer; public; begin for each in self do inc(result); end; extension method ISequence<T>.Count(aCondition: not nullable block(aItem: not nullable T): Boolean): Integer; public; begin for each el in self do if aCondition(el) t...
unit uGeraBoleta; interface uses SysUtils, Controls; {$R *.RES} //////////////////////////////////////////////////////////////////////////////// // // // Descrição: Função que retorna o fator de vencimento. // // Sinta...
unit Base.Repository.Interfaces; interface uses System.Generics.Collections; type iBaseRepository<TEntity: class, constructor> = interface ['{632BE147-DA89-403C-84D6-D09F58470452}'] function Save(AEntity: TEntity): TEntity; function Update(AEntity: TEntity): TEntity; function Delete(AEntity: TEnt...
unit DataPort; { Sergey Bodrov (serbod@gmail.com) 2012-2013 } interface uses Classes; type TMsgEvent = procedure(Sender: TObject; AMsg: string) of object; { DataPort - thread-safe abstract port for data exchange DataPort является абстрактным портом для чтения и записи данных. Сам по себе он ниче...
{***************************************************************************} { } { LeakCheck for Delphi } { } { ...
unit neato.DXV.SetIEC; interface uses fmx.dialogs, classes, sysutils, neato.Commands, neato.errors, neato.helpers, system.dateutils; const sDescription = 'Sets the IEC Cleaning Test parameters'; sProvideMore = 'Provide or more of the following arguments'; sInvalid = 'Invalid'; // Command to send sSetIE...
unit Converter; interface uses ConverterTypes; type TConverter = class private protected // 컨버터 설명 function GetCvtCompClassName: string; virtual; abstract; // 변환 대상 컴포넌트 클래스명 function GetDescription: string; virtual; function ConvertSource(AProc, ASrc: string; var ADest: string): Boolean; vir...
unit SoundPlayer; interface uses Windows,system.Generics.collections, inifiles, Bass; Type TSoundType=(Sound,Music); TSoundClip=class name:String; SoundType:TSoundType; value:HSAMPLE; constructor Create(const s:String; const iM:TSoundType=Sound); end; TSoundPlayer=class private clas...
unit UCharHelp; //------------------------------------------------------------------------------ interface //------------------------------------------------------------------------------ uses TeEngine, Series, TeeProcs, Chart, DateUtils; procedure LoadPointToChart(fileName: string;...
unit SDAHSLUtil; interface uses Windows, Graphics; var HSLRange: integer = 240; // convert a HSL value into a RGB in a TColor // HSL values are 0.0 to 1.0 double function HSLtoRGB (H, S, L: double): TColor; // convert a HSL value into a RGB in a TColor // SL values are 0 to the HSLRange variab...
unit MainFrm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, dxCore, dxWinXPBar, dxContainer, ImgList, ActnList, ExtCtrls, StdCtrls; resourcestring SClickEvent = 'You have clicked the action "%s"...'; type TfrmMain = class(TForm) acConnectAdministrator: TA...
unit duBitUtils; interface uses // VCL Windows, SysUtils, Classes, // DUnit TestFramework, // This ByteUtils; type { TBitTest } TBitTest = class(TTestCase) published procedure CheckBits; procedure CheckTestBit; end; implementation { TBitTest } procedure TBitTest.CheckBits; var Bits:...
unit GamePoint; {-------------------------------} interface uses GraphABC; const thingSize = 10;//Размер фишки type Point = class public x, y: Integer; {$region Constructors} constructor create(newX, newY: Integer); begin x := newX; y := newY; end; c...
unit NLPTestUnit; interface { Delphi XE JNI HanLP Test Written by caowm (remobjects@qq.com) 16 September 2020 } uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, System.Generics.Collections, Vcl.Graphics, JNI, JNIUtils, JNI_TOOL, JNI_HanLP, Vcl.Cont...
unit EventCounter; {$mode objfpc}{$H+} interface type TCounterWithHertz=class function Count:Int64; virtual; abstract; function Hertz:Double; virtual; function Period:Double; virtual; end; TTickCounter=class(TCounterWithHertz) function Count:Int64; override; function Hertz:Double; override; end; TTimeCo...
const BM_Enable = $01; BM_LUT0 = $00; // BM_LUT1 = $02; // BM_LUT2 = $04; // BM_LUT3 = $06; // BM_LUT4 = $08; // BM_LUT5 = $0A; // BM_LUT6 = $0C; // BM_LUT7 = $0E; // ...
{$DEFINE UseOffsets} unit wat_api; interface uses cmemini; const // tag info siArtist = 0; siTitle = 1; siAlbum = 2; siGenre = 3; siYear = 4; siLyric = 5; siCover = 6; siComment = 7; siTrack = 8; // file info siFile...
unit MoProyectos; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.Grids, Vcl.DBGrids, Vcl.Buttons, Data.DB, Vcl.StdCtrls, Vcl.Mask, Vcl.DBCtrls; type TMoProyectosFrm = class(TForm) P_Bo...
unit xxmWebProject; interface uses Windows, SysUtils, Classes, jsonDoc, xxmPageParse; type TXxmWebProjectOutput=procedure(const Msg:AnsiString); TXxmWebProject=class(TObject) private Data:IJSONDocument; DataStartSize:integer; DataFileName,FProjectName,FRootFolder,FSrcFolder, FHan...
unit uUtils; interface uses Windows, ShlObj; function StrToInt(const S :String): Integer; function IntToStr(const Value :Integer): String; function StrToIntDef(const S: string; Default: integer): integer; function WinDir(FileName: String): String; function FileExists(const FileName: string): Boolean; function Read...
unit cxGridViewParser; interface uses ObjectTextParser, System.Generics.Collections, System.Classes, System.SysUtils; type TBandInfo = record Index: Integer; Caption: string; FixedKind: string; VisibleForCustomization: Boolean; end; TColumnInfo = record Name: string; FieldName: str...
unit Quickdir; interface uses WinTypes, WinProcs, Classes, Graphics, Forms, Controls, Buttons, StdCtrls, ExtCtrls, inifiles; type TfrmQuickDirs = class(TForm) OKBtn: TBitBtn; CancelBtn: TBitBtn; Bevel1: TBevel; edtDescription: TEdit; edtPath: TEdit; lstbDirectories: TListBox; Label1: ...
{ ******************************************************************************* Copyright 2010-2015 Daniele Teti 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 of the License at http://www.apache...
unit uDM; interface uses SysUtils, Classes, uClasseBancoDados, Dialogs, Forms, uConfiguraBanco, uInicializaSistema; type TDM = class(TDataModule) procedure DataModuleCreate(Sender: TObject); procedure DataModuleDestroy(Sender: TObject); private public BancoDeDados: TBancoDeDados; ...
unit uTelefone.DAO; interface uses uInterfacedObject, uFuncoes, DB, SysUtils, Windows, ACBrUtil, Dialogs, FireDAC.Comp.Client, FireDAC.Stan.Param; type ITelefone_Customer_DAO = interface(uInterfacedObject.IInterfacedObject) function obterRegistro(AValor : rTelefone): rTelefone; function obterLista(AV...
{----------------------------------------------------------------------------- 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 MemoryIniFiles; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, IniFiles; type TQuickSortList = class(TStringList) private CriticalSection: TRTLCriticalSection; function GetCaseSensitive: Boolean; procedure SetCaseSensitive(const Value: Boolean); public c...
{ SHA-1 implementation based on two Public Domain implementations by Steve Reid <steve@edmweb.com> Jordan Russell <jr-2010@jrsoftware.org> 100% Public Domain } unit SHAone; {$ifdef FPC} {$mode OBJFPC}{$H+} {$endif} interface uses {$ifdef FPC} Sockets {$else} {$ifdef MSWINDOWS} WinSock {...
{ This file is part of the Free Pascal Class Library SDO Implementation Copyright (c) 2012 by Inoussa OUEDRAOGO Free Pascal development team This unit implements XML DOM handling utilities See the file COPYING.FPC, included in this distribution, for details about the copyright. This progr...
unit TPString; {-Basic string manipulation routines} interface (*type CharSet = set of Char; CompareType = (Less, Equal, Greater); BTable = array[0..255] of Byte; {For Boyer-Moore searching} {$IFOPT N+} Float = Extended; {$ELSE} Float = Real; {$ENDIF}*) (*const {used by CompareLet...
{ This file is part of the Free Pascal Class Library SDO Implementation Copyright (c) 2012 by Inoussa OUEDRAOGO Free Pascal development team This unit implements SDO date handling routines See the file COPYING.FPC, included in this distribution, for details about the copyright. This progr...
{$M+} unit PanamahSDK.Models.Fornecedor; interface uses Classes, SysUtils, PanamahSDK.Types, PanamahSDK.Enums, Variants, uLkJSON; type IPanamahFornecedor = interface(IPanamahModel) ['{081BF4E9-7736-11E9-A131-EBAF8D88186A}'] function GetId: string; function GetNome: string; function GetNumeroDo...
unit CM4SupportClasses; interface uses SysUtils, Classes; const BUFFER_SIZE = 64 * 1024; STRING_TERMINATOR: Word = 0; type EAccessDeniedError = class(Exception); EFileCorruptError = class(Exception); ECM4LoadError = class(Exception) private FPosition: Int64; public constructor Create(Msg: st...
unit PanamahSDKTests.Models.Fornecedor; interface uses Math, SysUtils, Classes, TestFramework, IOUtils, Windows, Messages, DateUtils, SyncObjs, PanamahSDKTestCase, PanamahSDK.Enums, PanamahSDK.Operation, PanamahSDK.Types, PanamahSDK.Client, PanamahSDK.Batch, PanamahSDK.Models.Acesso, PanamahSDK.Models.Assinante...
unit uCadastroClientes; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ExtCtrls; type TfrmCadastroClientes = class(TForm) Label1: TLabel; edtCodigo: TEdit; Label2: TLabel; edtNome: TEdit; Panel1: TPanel; btnSalvar: T...
{*********************************************************** R&A Library RAI2 Copyright (C) 1998-2001 Andrei Prygounkov description : adapter unit - converts RAI2 calls to delphi calls author : Andrei Prygounkov e-mail : a.prygounkov@gmx.de ...
unit UEveEliminarEvento; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, UEveSimple, ExtCtrls, IBQuery, DB, IBCustomDataSet, WinXP, DataExport, DataToXLS, IBStoredProc, ActnList, ComCtrls, StdCtrls, Grids, DBGrids, UBDBGrid, MemoAuto, EditAuto, UFrame...
PROGRAM Calulando_Areas; VAR X : char; Radio, Circulo, Base, Altura, Triangulo, Lado, Cuadrado, lado1, lado2 : Real; BEGIN Repeat WriteLn (''); WriteLn ('Este programa permite calcular el area y perimetro de figuras geometricas') ; WriteLn (''); WriteLn ('--------- Menu de opciones ---------');...
unit AutofixtureExample2; // This example is more realistic, the function IsPreassureOK on TCar needs to be tested. // This function provides a challenge for AutoFixture, since it requires that there be exactly 4 wheels, // and the preassure of each wheel must be within range or else the entire test fails. // However ...
unit TFlatScrollbarUnit; {******************************************************************************} { } { FlatStyle Scrollbar Unit } { ...
unit NLDMBHookInstance; { :: This unit contains the code necessary to map a hook procedure to an :: object method. It is an almost exact copy of the code found in Forms.pas :: (for Delphi 5 and lower) or Classes.pas (for Delphi 6 and higher). ::/n/n :: This code was found at: http://www.undu.com/Artic...
{----------------------------------------------------------------------------- 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 uDemoBase; interface (* This form is the base for all other demo content forms. All of them are inherited from this one. `SetEnabledState()` should be overridden in order to imlement enabling/disabling controls when it is busy. *) uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, S...
unit BrvRelatorio; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Dialogs, QuickRpt, Qrctrls, Db, Printers, BrvRelAsc, ExtCtrls, StdCtrls, Buttons, BrvProgressBar, Forms, BrvDicionario, BrvConnection, BrvString; type TQRLabel2 = array[1..20] of TQRLabel; TQRDBText...
unit fAboutPage; interface uses System.SysUtils, System.Types, System.UITypes, System.Rtti, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, uInterfaces, FMX.Layouts, FMX.ListBox, FMX.Objects, FMX.TabControl, FMX.Gestures, System.Actions, FMX.ActnList, fI...
unit xxmPRegXml; interface uses Windows, SysUtils, xxm, xxmPReg, MSXML2_TLB; type TXxmProjectCacheEntry=class(TXxmProjectEntry) private FAllowInclude:boolean; protected procedure SetSignature(const Value: AnsiString); override; function GetExtensionMimeType(const x: AnsiString): AnsiStr...
{************************************************************************ Copyright 2015 Oliver Münzberg (aka Sir Rufo) 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 of the License at http://www.apache...
unit ResourceContributorDialog; { 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: * Redistrib...
unit PortUtil; interface uses // VCL Windows, SysUtils, Dialogs, // JVCL JvSetupAPI, WException; procedure EnableComPort(PortNumber: Integer; AEnabled: Boolean); implementation const GUID_DEVCLASS_SERIAL: TGUID = '{4D36E978-E325-11CE-BFC1-08002BE10318}'; procedure RaiseLastError; begin raiseException(S...
unit TFlatSpinEditUnit; interface {$I DFS.inc} uses Windows, Classes, Controls, Messages, SysUtils, FlatUtilitys, TFlatEditUnit, TFlatSpinButtonUnit; type TFlatSpinEditInteger = class(TCustomFlatEdit) private FMinValue: LongInt; FMaxValue: LongInt; FIncrement: LongInt; FButton: TSpinButton; ...
unit unit1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs, // ExtCtrls, ComCtrls, StdCtrls, OpenGLContext, dglOpenGL; ExtCtrls, ComCtrls, StdCtrls, OpenGLContext, gl; type { TForm1 } TForm1 = class(TForm) Button1: TButton;...
program repeticaoMatriz; const MAX = 100; type tVetor = array[1..MAX*MAX] of integer; tMatriz = record matriz : array[1..MAX, 1..MAX] of integer; linha : integer; coluna : integer; elemento : integer; end; procedure leMatriz(var matriz : tMatriz); var i, j: integer; begin read(matriz.linha, matriz.colun...
unit Map; interface uses WinTypes, Objects; const MaxFileSize = 127 shl 8; MaxLevels = MaxFileSize shr 8; type TField = array[0..255] of Char; TFilename = array [0..127] of Char; TDirection = (dir_Left, dir_Up, dir_Right, dir_Down); TLevels = array[0..MaxFileSize-1] of Char; type PMap = ^TMap...
unit Main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ImgList, Vcl.ComCtrls; type TFrmMain = class(TForm) ListBox1: TListBox; ImageList1: TImageList; CheckBox1: TCheckBox; ...
{$O+} Unit RollChainTransmission; {-------------------------------------------------------------------------} {- Модуль проектирования передачи роликовой цепью -} {-------------------------------------------------------------------------} INTERFACE Uses Objects, Views, Designers; {------------...
unit ReportSendSmsEndMonth; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DB, MemDS, DBAccess, Ora, StdCtrls, Buttons, ExtCtrls, Grids, DBGrids, CRGrid, ActnList, IntecExportGrid, ShowUserStat; type TReportSendSmsEndMonthFrm = class(TForm) GrData: TCRD...
Program Calc; const ops = '+-*/^v!ca'; leftops = '!'; rightops = 'v'; var effops, form, left, right : string; op : char; leftop, rightop, hasop : boolean; len, i, oppos, code : integer; a, b, r : real; function pow(a : real; b : integer): real; var i : integer; v : real; begin v := a; for i := 1 to b - 1 do ...
// // 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 fpmakeParseJSon; {$mode objfpc}{$H+} interface uses Classes, SysUtils, fpmkunit, jsonparser, fpjson; function ParseFpmake(AJsonData : TJSONData) : TPackages; function ParseFpmakeFile(AFileName: string) : TPackages; function ExtStringToOSes(AString: String) : TOSes; function ExtOSesToString(AOSes: TOSes)...
{ ******************************************************************************* Title: T2Ti ERP Description: Unit para armazenas as constantes do sistema 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 ...
{******************************************************************************* Title: T2Ti ERP Description: VO relacionado à tabela [PATRIM_APOLICE_SEGURO] The MIT Licen...
unit StructSurfaceOfRevolution; interface uses Classes, Contnrs, dglOpenGL, UnitMath, UnitOpenGL, StructLinkedList, StructPoints, StructVertexMemoryStream; type TSurfaceOfRevolution = class(TLinkedObjectList) private { Déclarations privées } FMemory2D: TVertex2fMemoryStream; // Le profil 2D ...
{ 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. } { get from API RajaOngkir https://rajaongkir.com // USAGE: Ongkir := TRajaOngkirIntegration.Create; R...
unit MenuEditorForm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ResourceEditorForm, Menus, StdCtrls, cmpMenuDesigner, ExtCtrls, ActnList, ResourceMenus; type TfmMenuEditor = class(TfmResourceEditor) ScrollBox1: TScrollBox; MenuDesigner1: TMenu...
// Created on: Feb 23, 2009 - 10:30 unit recResult; interface uses uDefs; { Data comes from two B-TREE table : RESULTS.VM$ } // Declaration of Function and Procedures function ExpResults( pContext : pointer; enumFunc : ResultCodeEnumFunc; sPracticeID : PChar; ...
unit uConsole; interface type // コンソールイベント TConsoleEventType = ( ceC, // CTRL + C が押された ceBreak, // CTRL + BREAK が押された ceClose, // コンソールウィンドウが閉じられた ceLogOff, // ログオフされた ceShutdown // シャットダウンされた ); // コンソールイベント型 TConsoleEvent = procedure(const iType: TConsoleEve...
{ Delphi Yacc & Lex Copyright (c) 2003,2004 by Michiel Rook Based on Turbo Pascal Lex and Yacc Version 4.1 Copyright (c) 1990-92 Albert Graef <ag@muwiinfa.geschichte.uni-mainz.de> Copyright (C) 1996 Berend de Boer <berend@pobox.com> Copyright (c) 1998 Michael Van Canneyt <Michael.VanCanneyt...
unit uIconItem; interface uses System.Generics.Collections; type TIconItem = class private FFileName: String; FSize: Integer; function GetSizeKB: Double; public property FileName: String read FFileName write FFileName; property Size: Integer read FSize write FSize; property SizeKB: Double...
Unit JdColor; { This file contains output colorspace conversion routines. } { Original: jdcolor.c ; Copyright (C) 1991-1997, Thomas G. Lane. } interface {$I jconfig.inc} uses jmorecfg, jinclude, jutils, jdeferr, jerror, jpeglib; { Module initialization routine for output colorspace conversion. } {GLO...
unit uLogDownloadDAO; interface uses uDAOConexao, System.SysUtils, FireDAC.Stan.Param, System.Classes, uLogDownload; type TLogDownloadDAO = class(TDAOConexao) private public procedure procInserirOuAtualizar(ALogDownload: TLogDownload); function funcProximoID: Double; end; implementation { TLogDow...
{ Übersetzt aus WlanTypes.h vom Windows SDK } unit nduWlanTypes; interface uses nduCType; const NDU_DOT11_SSID_MAX_LENGTH = 32; //32 Bytes type {$MINENUMSIZE 4} Pndu_DOT11_BSS_TYPE = ^Tndu_DOT11_BSS_TYPE; Tndu_DOT11_BSS_TYPE = ( dot11_BSS_type_infrastructure = 1, dot11_BSS_type_independent = 2, ...
unit Theos.Controller.Dependente.Ficha; interface uses Vcl.Forms, System.SysUtils, Data.DB, Vcl.Controls, Winapi.Windows, System.Classes, Theos.Lib.Resource, Theos.Api.Pessoa, Theos.Dao.Operacao, Theos.View.Dependente.Ficha, Theos.Model.Dependente; type TControllerDependenteFicha = class sealed st...
unit EntradaProdutoEntidade; interface type TEntradaProdutoEntidade = class private FCodigo: integer; FData_Cadastro: TDateTime; FCodigo_Propriedade: integer; FCodigo_Usuario: integer; FN_Nota_Fiscal: AnsiString; FData_Emissao: TDateTime; FCodigo_Fornecedor: integer; ...
{** DelphiPI (Delphi Package Installer) Author : ibrahim dursun (ibrahimdursun gmail) License : GNU General Public License 2.0 **} unit PageBase; interface uses CompilationData, Windows, Messages, SysUtils, Variants, Classes, Graphics, Vcl.Controls, Forms, Dialogs, WizardIntfs; type TWizardPa...
{ Unicode implementation tables. Copyright (c) 2013 - 2017 by Inoussa OUEDRAOGO Permission is hereby granted, free of charge, to any person obtaining a copy of the Unicode data files and any associated documentation (the "Data Files") or Unicode software and any as...
//============================================================================== // Unit Name: uFindFile // Author : ysai // Date : 2003-11-28 // Purpose : // History : //============================================================================== unit uFindFile; interface uses SysUtils,Wi...
Program BugMe(input, output); {Show a variable declaration and input procedure call.} Var IQ: integer; {The variable declaration.} Begin write('What''s your IQ? '); {Prompt for input.} readln(IQ); {Get and store the number the user types.} write('What? I bet you can''t even count to '); writel...
unit UCadastro_Produto; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, ToolWin, ImgList, Mask, StdCtrls, ADODB, DB, Grids, DBGrids, ExtCtrls, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxStyles, dxSkinsCore, dxSkinBlack, dxSkinB...
{*-----------------------------------------*) * The Swinging Sixties Game Engine * * Human Animation Unit * * (C) Aukiogames 2002 * (*-----------------------------------------*} unit TssAnimate; interface uses Windows, Direct3D8, D3DX8, TssUtils, TssObjects, SysUtil...
// Quelle: sorotec.de unit ParamAssist; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, System.Math, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Menus, import_files, Vcl.Touch.Keyboard; type ...
(* Dokan : user-mode file system library for Windows Copyright (C) 2015 - 2017 Adrien J. <liryna.stark@gmail.com> and Maxime C. <maxime@islog.com> Copyright (C) 2007 - 2011 Hiroki Asakawa <info@dokan-dev.net> http://dokan-dev.github.io Delphi header translation by Vincent Forman (vincent.forman@gmail.com) ...
program stopgame; uses Crt, SysUtils, DateUtils; type ControlGame = (run, stop, exit, gameOver); ControlPlayer= (up, down, left, right); TSnake = record headX, headY : integer; lenght : integer; end; TFood = record X, Y: integer; end; const screenWidth = 80; screenHe...
unit xxmCommonUtils; interface uses SysUtils, Classes; function RFC822DateGMT(dd: TDateTime): string; function GetFileModifiedDateTime(const FilePath:AnsiString; var FileSize:Int64):TDateTime; function GetFileSignature(const Path: string): string; function Base64Encode(const x:AnsiString):AnsiString; ...
unit uJukebox; {$mode delphi} interface uses Classes, SysUtils, iPexeso, uMusicPlayer, uDebug; const {$IFDEF UNIX} cPathSeparator = '/'; {$ELSE} cPathSeparator = '\'; {$ENDIF} type { TJukeBox } TJukeBox = class(TInterfacedObject, IJukeBox) private fMusicList: TStringLi...
(* Origian : Turbocash 4.0.1.0 changed for osFinacials fork 2006/06/12 Pieter Valentijn Released under the GNU General Public License *) unit TransfertTrans; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, Buttons, ComCtrls, Mask, TcVariables,...
{ HM NIS Edit (c) 2003 Héctor Mauricio Rodríguez Segura <ranametal@users.sourceforge.net> For conditions of distribution and use, see license.txt InstallOptions Designer frame } unit UIODesigner; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, RTDesign, ExtCtrls, UC...
{ NAME: Brayan Quevedo Ramos CLASS: Computer Science 1 DATE: October 11, 2018 PURPOSE: To make a basic game. PROJECT NOTES: Constants Retreieved from StackOverflow question. .. From StackOverflow Learned X.Y From A Learn Pascal PDF HOW IT SHOULD WORK: - The User reads intro - The User type...
{设置TreeView图标} unit TreeViewImage; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls, QuickRpt, QRCtrls; type TTreeViewImage = class(TComponent) private { Private declarations } TreeView: TTreeView; procedure TreeViewCollapsed(Se...