text
stringlengths
14
6.51M
Unit GraphWindowUnit; interface uses GraphWPF, StateMachineUnit; procedure CreateWindow; const n = 20; var celltype: integer; machine: StateMachine; canEdit: boolean; implementation procedure ColorCell(x, y: real; mb: integer); begin if (mb = 1)and(canEdit = true) then begin machine.ClearAlgori...
unit D_IssueProps; { $Id: D_IssueProps.pas,v 1.16 2016/06/16 05:38:44 lukyanets Exp $ } interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ExtCtrls, Mask, l3Date, daTypes, dt_Types, DT_Const, DT_Dict, BottomBtnDlg, ToolEdit, vtCombo, vtDateEdit, Actn...
unit WallpaperSetter; {$mode objfpc}{$H+} interface uses Classes, SysUtils, WpcCommonTypes, WpcWallpaperStyles, WpcExceptions; type // TODO add all types, like WINDOWS_7, XFCE, ... TWpcWallpaperSetterType = ( WPST_AUTODETECT, WPST_DEBUG, WPST_CUSTOM, WPST_ ); { IWallpaperSetter } ...
unit ListViewers; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type TSizeOptions = (soClientHeight, soSystemLarge, soSystemSmall, soImageListSize); type TPaintMode = (pmNormal, pmSelected); EIconListViewerError = class (Exception);...
unit crazyclimber_hw; interface uses {$IFDEF WINDOWS}windows,{$ENDIF} nz80,main_engine,controls_engine,ay_8910,gfx_engine,rom_engine, pal_engine,sound_engine,crazyclimber_hw_dac; function iniciar_cclimber:boolean; implementation const cclimber_rom:array[0..4] of tipo_roms=( (n:'cc11';l:$100...
unit UnitDemo1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TForm1 = class(TForm) btnWrite: TButton; btnRead: TButton; btnRecord: TButton; btnReadRecord: TButton; mmo...
unit EaseFltDemo; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Samples.Spin, Vcl.ComCtrls, Vcl.CheckLst, System.SyncObjs, FilterAPI, GlobalConfig; type TDisplayThread = class(TThr...
unit uFeriadoController; interface uses System.SysUtils, uDMFeriado, uRegras, uEnumerador, uDM, Data.DB, Vcl.Forms, uFuncoesSIDomper, Data.DBXJSON, Data.DBXJSONReflect, uConverter, uGenericProperty; type TFeriadoController = class private FModel: TDMFeriado; FOperacao: TOperacao; procedure Post; ...
{*******************************************************} { Проект: Repository } { Модуль: uServices.pas } { Описание: Службы приложения } { Copyright (C) 2015 Боборыкин В.В. (bpost@yandex.ru) } { ...
unit uFrmCadastro; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.Buttons, Vcl.StdCtrls, Vcl.ExtCtrls, uLembreteDAO, System.Generics.Collections, uLembrete; type TForm1 = class(TForm) ...
program fptutorial14; { rpg game to show off record use } {$mode objfpc}{$H+} uses crt, sysutils, {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Classes { you can add units after this }; type creature = record name: string; armor, health, magic, power: integer; end; var hero,...
{!DOCTOPIC}{ Type » T2DPointArray } {!DOCREF} { @method: function T2DPointArray.Len(): Int32; @desc: Returns the length of the ATPA. Same as c'Length(ATPA)' } function T2DPointArray.Len(): Int32; begin Result := Length(Self); end; {!DOCREF} { @method: function T2DPointArray.IsEmpty(): Boolean; @desc: R...
unit Ammunition; interface uses // Delphi units Classes, // Own units UItems, UCommon; const NoPrefix = 0; NoSuffix = 0; FullTough = -1; FullCount = -1; MinCostMod = 0.1; type NItemCap = (icNo, icLevel, icStrength, icAgility, icStamina, icIntellect, icSpirit); TPrefix = ...
unit ntvSplitters; {** * This file is part of the "Mini Library" * * @url http://www.sourceforge.net/projects/minilib * @license modifiedLGPL (modified of http://www.gnu.org/licenses/lgpl.html) * See the file COPYING.MLGPL, included in this distribution, * @author Zaher Dirkey * ...
unit uPrincipal; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls, uAutomato, uConstantes; type { TfrmPrincipal } TfrmPrincipal = class(TForm) btnIniciar: TButton; btnSelecionaArquivo: TButton; edtCaminhoArquivo: TEdit; ...
unit FileManager; interface type TFile = class(TObject) private class var FCurrentDir: String; public function CreateTextFile(filePath: string): Boolean; procedure TextFileAppend(filePath, msg: String); function CreateAllDir(directory: String): Boolean; function GetParentDir(co...
unit GetSingleGeocodingAddressUnit; interface uses SysUtils, BaseExampleUnit, DirectionPathPointUnit; type TGetSingleGeocodingAddress = class(TBaseExample) public procedure Execute(Pk: integer); end; implementation uses GeocodingAddressUnit; procedure TGetSingleGeocodingAddress.Execute(Pk: integer)...
unit DW.SystemHelper; {*******************************************************} { } { Kastri Free } { } { DelphiWorlds Cross-Platform Library } ...
unit MyDialogs; interface uses System.SysUtils, System.Classes, System.Types, Vcl.Dialogs; type TDialogs = class public class function YesNo(Msg: string; BtnDefault: TMsgDlgBtn = mbNo): integer; class function YesNoCancel(Msg: string; BtnDefault: TMsgDlgBtn = mbCancel): integer; end; implementation ...
unit Conciliar; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, JvFormPlacement, JvAppStorage, JvAppIniStorage, DB, JvDBUltimGrid, Grids, DBGrids, JvExDBGrids, JvDBGrid, StdCtrls, ActnList, ImgList, JvNavigationPane, ComCtrls, JvComponentBase, JvDBG...
unit GetTerritoriesResponseUnit; interface uses REST.Json.Types, JSONNullableAttributeUnit, GenericParametersUnit, TerritoryUnit; type TGetTerritoriesResponse = class(TGenericParameters) private // Array of objects must named "FItems" for correct unmarshaling. FItems: TArray<TTerritory>; public ...
unit ValidationRules.TMaxLengthValidationRule; interface uses System.SysUtils, System.Variants, Framework.Interfaces; type TMaxLengthValidationRule = class(TInterfacedObject, IValidationRule) const INVALID_LENGTH_MESSAGE = 'Invalid length'; strict private FMaxLength: Integer; proc...
unit uChamadoEmail; interface uses uDM, System.SysUtils, Data.DB, FireDAC.Comp.Client, uContaEmail, System.Generics.Collections; type TChamadoEmail = class private FLista: TList<string>; FListaCliente: TList<string>; function RetornarEmailConta_Email(IdUsuario: integer): string; procedure Reto...
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.Grids, Vcl.DBGrids, Data.Win.ADODB, Vcl.ExtCtrls, Vcl.DBCtrls, VclTee.TeeGDIPlus, VclTee.TeEngine, VclTee.DBChart, VclTee.TeeDBCrossT...
{ Exercicio 80: Uma empresa possui 5 vendedores que ganham por comissão sobre a quantidade de produtos vendidos. Cada vendedor em um determinado mês vendeu X produtos do mesmo tipo. A empresa deseja obter um relatório com o Nome, o total de vendas e o valor a ser pago a cada vendedor. A comissão paga pela empresa...
PROGRAM SortMonth(INPUT, OUTPUT); USES DateIO; VAR Mo1, Mo2: Month; BEGIN ReadMonth(INPUT, Mo1); ReadMonth(INPUT, Mo2); IF (Mo1 = NoMonth) OR (Mo2 = NoMonth) THEN WRITELN('Входные данные записаны неверно') ELSE BEGIN IF Mo1 < Mo2 THEN BEGIN WriteMonth(OUTPUT, Mo1); ...
//Exercicio 51: Escreva um algoritmo que receba um número inteiro e informe se esse número é ou não primo. { Solução em Portugol //OBS: Um número N é primo se só é divisível por +-1 e +-N. Algoritmo Exercicio 51; // No caso, podemos avaliar apenas a parte positiva e então N só p...
unit uGeraSQL; interface uses windows, System.Classes; type TGeradorSQL = class private FColunas: TStringList; FTabelas: TStringList; FCondicoes: TStringList; function PegarColunas: string; function PegarTabelas: string; function PegaCondicoes: string; public con...
unit n2a03; interface uses {$IFDEF WINDOWS}windows,{$ENDIF} cpu_misc,sound_engine,timer_engine,main_engine,m6502,misc_functions; const // GLOBAL CONSTANTS SYNCS_MAX1=$20; SYNCS_MAX2=$80; TOTAL_BUFFER_SIZE=150; // CHANNEL TYPE DEFINITIONS type tcall_frame_irq=procedure (status:byte); tadditional_soun...
unit vulkan_win32; (* ** Copyright 2015-2021 The Khronos Group Inc. ** ** SPDX-License-Identifier: Apache-2.0 *) (* ** This header is generated from the Khronos Vulkan XML API Registry. ** *) interface //#################################################################### ■ uses LUX.Code.C, vulkan_core; cons...
unit alcuChangeDateDlg; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, alcuMsgDlg, StdCtrls, ComCtrls; type TalcuChangeDateDialog = class(TForm) Button1: TButton; Button2: TButton; dtFrom: TDateTimePicker; dtTo: TDateTimePicker; Label1: TLabel; ...
{ Типы. } unit uTypes; interface uses OpenGL, uGlobal; type PPoint3f = ^TPoint3f; TPoint3f = record x,y,z:single; end; PPoint2f = ^TPoint2f; TPoint2f = record x,z:Single; end; PVector3f = ^TVector3f; {TVector3f = record nx,ny,nz:single; end;} PVector2f = ^TVector2f; TVector2f =...
{ Clever Internet Suite Copyright (C) 2013 Clever Components All Rights Reserved www.CleverComponents.com } unit clRegex; interface {$I clVer.inc} uses {$IFNDEF DELPHIXE2} Classes, {$IFDEF DELPHIXE} RegularExpressions {$ELSE} clPCRE, clWUtils{$ENDIF}; {$ELSE} System.Classes, {$IFDEF DELPHIXE} System.Reg...
unit Icons; // Copyright (c) 1996 Jorge Romero Gomez, Merchise. interface uses Windows, SysUtils, ShellAPI; function GetIconFromPathIndx( const PathIndx : string ) : HICON; function GetSmallIconFromFile( const FileName : string ) : HICON; function GetSmallIconFromResource( const ResName : string ) : HI...
unit DAO.Parametros; interface uses FireDAC.Comp.Client, System.SysUtils, DAO.Conexao, Model.Parametros, Control.Sistema; type TParametrosDAO = class private FConexao : TConexao; public constructor Create; function Inserir(AParametros: TParametros): Boolean; function Alterar(AParametros...
unit DW.Androidapi.JNI.LocalBroadcastManager; {*******************************************************} { } { Kastri Free } { } { DelphiWorlds Cross-Platf...
{ Subroutine SST_SET_ELE_FIND (VAL,ELE,P,MASK) * * Find the bit representing a particular set element in the constant descriptor * for a set value. The calling program can then easily read or write the bit. * * VAL - Constant value descriptor. It is an error if its data type * is not SET. * * ELE - ...
unit ExtAIMaster; interface uses Classes, Windows, Math, System.SysUtils, Generics.Collections, ExtAI_DLLs, ExtAINetServer, ExtAIInfo, KM_CommonTypes, ExtAILog; type // Manages external AI (list of available AIs and communication) TExtAIMaster = class private fNetServer: TExtAINetServer; fExtAIs: T...
{ Subroutine SST_W_C_ARG (ARG_P, ARGT_P, DONE) * * Write a call argument in a subroutine or function call. ARG_P is pointing * to the calling argument descriptor, and ARGT_P is pointing to the argument * template descriptor. Both will be advanced to the next argument upon return. * There are no more argumen...
unit TrackingActionsUnit; interface uses SysUtils, BaseActionUnit, DataObjectUnit, GPSParametersUnit, EnumsUnit, GenericParametersUnit, TrackingHistoryUnit, TrackingHistoryResponseUnit, TrackingDataUnit; type TTrackingActions = class(TBaseAction) public function GetLastLocation(RouteId: String; out Err...
{ Ultibo QEMU VersatilePB unit. Copyright (C) 2016 - SoftOz Pty Ltd. Arch ==== ARMv7 (Cortex A8) Boards ====== QEMU - VersatilePB Licence ======= LGPLv2.1 with static linking exception (See COPYING.modifiedLGPL.txt) Credits ======= Information for this unit was obtained from: References ========== ...
unit ResPubUnit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DB, ADODB, Grids, DBGridEh, ImgList,GridsEh,EhLibBDE; type TResPubFrm = class(TForm) private { Private declarations } FSortDrict: Boolean; public { Public declarations } pro...
{ $Project$ $Workfile$ $Revision$ $DateUTC$ $Id$ This file is part of the Indy (Internet Direct) project, and is offered under the dual-licensing agreement described on the Indy website. (http://www.indyproject.org/) Copyright: (c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All rights reserv...
unit VideoICM; // Copyright (c) 1996 Jorge Romero Gomez, Merchise interface uses Windows, MMSystem, Dibs; type HIC = type THandle; const ICTYPE_VIDEO = $63646976; // 'vidc': Video compressor/decompressor ICTYPE_AUDIO = $63647561; // 'audc': Audio compressor/decompressor const COMP_...
(* * Copyright (c) 2010-2020, Alexandru Ciobanu (alex+git@ciobanu.org) * 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 * ...
unit DDrawErrors; interface uses Windows; function GetErrorAsText(Error : HResult) : string; implementation const cMaxErrors = 111; type TDirectDrawError = record Code : HResult; Text : string; end; const DDrawErrors : array [0 .. pred(cMaxErrors)] of TDirect...
program COPYTEIL ( INPFILE , OUTFILE ) ; //************************************************ // Programm kopiert Binaerdateien // verwendet CSP RDD //************************************************ // war in PCINT noch nicht implementiert (11.2019) // CSP RDD verwendet fr...
unit IntUseBar; interface uses DGLE, DGLE_Types, Engine; type TIntUseBar = class(TObject) private pUseBar: ITexture; FLeft: Integer; FTop: Integer; procedure SetLeft(const Value: Integer); procedure SetTop(const Value: Integer); public constructor Create; destructo...
unit ZMBody; // ZMBody.pas - Properties and methods used by all 'operations' (* *************************************************************************** TZipMaster VCL originally by Chris Vleghert, Eric W. Engler. Present Maintainers and Authors Roger Aelbrecht and Russell Peters. Copyright (C) 1997-2002 Chri...
unit SurfaceSpriteLoaders; interface uses Classes, Windows, SysUtils, SurfaceSpriteImages; procedure LoadSurfaceFrameImage(out anImage : TSurfaceFrameImage; Stream : TStream); procedure LoadSurfaceFrameImageFromFile(out anImage : TSurfaceFrameImage; const Filename : string); procedure LoadSurfaceFrameIma...
unit K512248597; {* [Requestlink:512248597] } // Модуль: "w:\common\components\rtl\Garant\Daily\K512248597.pas" // Стереотип: "TestCase" // Элемент модели: "K512248597" MUID: (52DF9692021D) // Имя типа: "TK512248597" {$Include w:\common\components\rtl\Garant\Daily\TestDefine.inc.pas} interface {$If Defined(nsTest)...
{$MODE OBJFPC} {$INLINE ON} program Lighting; const InputFile = 'LIGHT.INP'; OutputFile = 'LIGHT.OUT'; maxN = 2000; maxS = Round(1E9); infty = maxN * maxS + 1; type TCandidate = record a, b, p: Integer; end; TTree = array[1..4 * maxN + 4] of Int64; var e: array[0..maxN] of TCandidate; tree: TTr...
unit utils_findwnd; interface uses Windows, Sysutils; type PZsExWindowEnumFind = ^TZsExWindowEnumFind; TZsExWindowEnumFind = record FindCount : integer; FindWindow : array[0..255] of HWND; NeedWinCount : integer; ProcessId : DWORD; ExcludeWnd ...
program TM1638_demo2; {$mode objfpc}{$H+} { Raspberry Pi Application } { Add your program code below, add additional units to the "uses" section if } { required and create new units by selecting File, New Unit from the menu. } { ...
{ Mark Sattolo 428500 } { CSI1100A DGD-1 Chris Lankester } { Test program for Assignment#4 Question#2 } program GetSmallest (input, output); { This program takes an array X with N positive numbers, and a second array Y with M positive numbers, and gives the smallest number that appears in both arrays ...
{ Clever Internet Suite Copyright (C) 2013 Clever Components All Rights Reserved www.CleverComponents.com } unit clMailUtils; interface {$I clVer.inc} const DefaultPop3Port = 110; DefaultSmtpPort = 25; DefaultImapPort = 143; DefaultMailAgent = 'Clever Internet Suite'; function GenerateMessageID(con...
PROGRAM Task1(INPUT, OUTPUT); CONST Max = 100; VAR IntSet: SET OF 2..Max; Counter, Position: INTEGER; BEGIN{Task1} Position := 2; IntSet : [2..Max]; WRITE('all prime numbers from 2 to ', Max,': '); WHILE (IntSet <> []) BEGIN WHILE (Counter <= Max) BEGIN IF ((Position MOD Coun...
unit atrCmdUtils; interface uses Classes, SysUtils, Windows, ActiveX, ShellApi; procedure WinExec(const ACmdLine: String; const ACmdShow: UINT = SW_SHOWNORMAL); function ShellExecute(const AWnd: HWND; const AOperation, AFileName: String; const AParameters: String = ''; const ADirectory: String = ''; const AShowCm...
unit fb2rb_dispatch; {$WARN SYMBOL_PLATFORM OFF} interface uses ComObj, ActiveX, FB2_to_RB_TLB, StdVcl,fb2rb_engine,fb2_hyph_TLB,MSXML2_TLB; type TFB2RBExport = class(TAutoObject, IFB2RBExport) protected function Get_PageBreaksForLevels: Integer; safecall; function Get_ShortTOCLines: WordBool; safecal...
unit frmInIOCPClient; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, iocp_base, iocp_msgPacks, iocp_clients; type TFormInIOCPClient = class(TForm) InConnection1: TInConnection; InMessageClie...
unit nsConfiguration; (*----------------------------------------------------------------------------- Название: nsConfiguration Автор: М. Морозов Назначение: Модуль содержит инструменты для работы с конфигураций. История: $Id: nsConfiguration.pas,v 1.4 2013/09/25 17:13:02 lulin Exp $ $Log: nsConfigurat...
{ DBAExplorer - Oracle Admin Management Tool Copyright (C) 2008 Alpaslan KILICKAYA 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 3 of the License, or (at...
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Author: Arno Garrels <arno.garrels@gmx.de> Creation: Oct 25, 2005 Description: Fast streams for ICS tested on D5 and D7. Version: 6.00 Legal issues: Copyright (C) 2005 by Arno Garrels, Berlin, Germany, contact: <...
unit Acme.Robot.GUI.VCL.Main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, System.Actions, Vcl.ActnList, Vcl.Imaging.pngimage, Acme.Robot.Core.Bot, Acme.Robot.Core.CleanBot, Acme.Robo...
{$REGION 'Copyright (C) CMC Development Team'} { ************************************************************************** Copyright (C) 2015 CMC Development Team CMC 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 ...
unit cCadDizimo; interface uses System.Classes, Vcl.Controls, Vcl.ExtCtrls, Vcl.Dialogs, FireDAC.Comp.Client, System.SysUtils; // LISTA DE UNITS type TDizimo = class private // VARIAVEIS PRIVADA SOMENTE DENTRO DA CLASSE ConexaoDB: TFDConnection; F_cod_dizimo: Integer; F_cod_talao: Integer; ...
{$include lem_directives.inc} unit LemMetaObject; interface uses Classes, UTools; const // Object Animation Types oat_None = 0; // the object is not animated oat_Triggered = 1; // the object is triggered by a lemming oat_Continuous = 2...
unit NtUtils.Objects.Namespace; interface uses Winapi.WinNt, Ntapi.ntobapi, NtUtils.Exceptions; type TDirectoryEnumEntry = record Name: String; TypeName: String; end; { Directories } // Create directory object function NtxCreateDirectory(out hDirectory: THandle; Name: String; DesiredAccess: TAcce...
// *************************************************************************** // // Delphi MVC Framework // // Copyright (c) 2010-2020 Daniele Teti and the DMVCFramework Team // // https://github.com/danieleteti/delphimvcframework // // Collaborators on this file: // João Antônio Duarte (https://github.com/joaoduarte1...
unit udmDireitosAcesso; interface uses Windows, System.UITypes,Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, udmPadrao, DBAccess, IBC, DB, MemDS; type TdmDireitosAcesso = class(TdmPadrao) qryManutencaoMODULO: TStringField; qryManutencaoGRUPO: TStringField; qryManutencao...
object Form1: TForm1 Left = 802 Top = 234 Width = 318 Height = 249 AutoSize = True BorderIcons = [biSystemMenu, biMinimize] BorderStyle = bsSizeToolWin Caption = 'User Activity Counter' Color = clRed Constraints.MaxHeight = 250 Constraints.MaxWidth = 320 Constraints.MinHeight = 249 Constraints...
unit AddressBookContactFindResponseUnit; interface uses REST.Json.Types, GenericParametersUnit, AddressNoteUnit, CommonTypesUnit; type TAddressBookContactFindResponse = class(TGenericParameters) private [JSONName('results')] FResults: T2DimensionalStringArray; [JSONName('total')] FTotal: int...
{ Clever Internet Suite Copyright (C) 2013 Clever Components All Rights Reserved www.CleverComponents.com } unit clAsyncClient; interface {$I clVer.inc} uses {$IFNDEF DELPHIXE2} {$IFDEF DEMO}Forms, {$ENDIF}Messages, Windows, Classes, WinSock, SysUtils, {$ELSE} {$IFDEF DEMO}Vcl.Forms, {$ENDIF}Winapi.Mess...
unit Provider.Utils; interface uses Winapi.Windows; procedure WriteLNColor(Text: String; Color: Word); implementation procedure WriteLNColor(Text: String; Color: Word); var ConsoleHandle : THandle; BufInfo : TConsoleScreenBufferInfo; begin ConsoleHandle := TTextRec(Output).Handle; GetConsoleScreenBufferI...
unit interpolation_; interface uses Unit4,Unit4_vars,Classes,SysUtils, Matrix_,vars_2d,math; function InterpNewton(IPointsAr: TPointsArray2d):string; function InterpSpline(IPointsAr: TPointsArray2d; c0: extended; cn: extended):TStrings; function InterpLagrange(IPointsAr: TPointsArray2d):string; type TCoffsAr= array...
{ $Project$ $Workfile$ $Revision$ $DateUTC$ $Id$ This file is part of the Indy (Internet Direct) project, and is offered under the dual-licensing agreement described on the Indy website. (http://www.indyproject.org/) Copyright: (c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r...
unit aeHeightmapLoaderBase; (* Serves as a foundation class for loading heightmaps. *) interface uses windows, types; type TaeHeightMapLoaderType = (AE_LOADER_AION_H32); type TaeHeightmapLoaderBase = class public Constructor Create; Function GetHeightData: Pointer; Function GetHeightDataSize: int...
unit ncsServiceProviderParams; // Модуль: "w:\common\components\rtl\Garant\cs\ncsServiceProviderParams.pas" // Стереотип: "SimpleClass" // Элемент модели: "TncsServiceProviderParams" MUID: (54F044E00390) {$Include w:\common\components\rtl\Garant\cs\CsDefine.inc} interface {$If NOT Defined(Nemesis)} uses l3IntfUses...
{ Subroutine SST_FLAG_USED_DTYPE (DTYPE) * * Follow all symbols eventually referenced by the data type DTYPE, and flag * them as used. } module sst_FLAG_USED_DTYPE; define sst_flag_used_dtype; %include 'sst2.ins.pas'; procedure sst_flag_used_dtype ( {flag symbols eventually used from a dtype} in dt...
// ********************************************************************** // // Copyright (c) 2001 - 2002 MT Tools. // // All Rights Reserved // // MT_DORB is based in part on the product DORB, // written by Shadrin Victor // // See Readme.txt for contact information // // **********************************************...
program plantas; type _planta = record nombre :string; longevidad :integer; tipo :string; clima :string; cantidadPaises :integer; end; _tipo = record tipo :string; acumulador :integer; contador :integer; end; _pico = record r...
unit uGSMainMenu; interface uses glr_core, glr_render, glr_render2d, glr_scene, glr_gui, glr_gamescreens, glr_utils, glr_tween; type { TglrMainMenu } TglrMainMenu = class (TglrGameScreen) protected Container: TglrNode; PaletteSprites: array of TglrSprite; p...
@model System.Web.Mvc.HandleErrorInfo @{ ViewBag.Title = "Error"; } <hgroup> <h1 class="text-error">Error.</h1> <h2 class="text-error">An error occurred while processing your request.</h2> </hgroup>
unit PositionUnit; interface type TPosition = record Latitude: double; Longitude: double; constructor Create(Latitude, Longitude: double); end; implementation { TPosition } constructor TPosition.Create(Latitude, Longitude: double); begin Self.Latitude := Latitude; Self.Longitude := Longitude; ...
unit EditRFileForma; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, DB, FIBDataSet, pFIBDataSet, DBGridEh, StdCtrls, DBCtrls, Mask, DBCtrlsEh, DBLookupEh, CnErrorProvider, FIBQuery, PrjConst, System.UITypes, Vcl.Buttons, pFIBQuery; type TEditRFileForm = ...
unit oPedido; interface uses Vcl.StdCtrls; type TPedido = class private FLabel: TLabel; class var TotPedido: Double; class var codigoCliente: Integer; public constructor Create(lblTotal: TLabel); procedure Soma(valor: Double); procedure Subtrai(v...
{ Free Component miniLog Version 2.0 Copyright (©) 2010, by Sergiy Tkach (Apromix), bees@meta.ua } unit uLog; interface type TmLog = class private FAppName: string; FAppPath: string; LogFile: Text; protected function ExtractFilePath(const FileName: string): string; fun...
unit progressfrm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ComCtrls, ExtCtrls; type TfProgress = class(TForm) Panel1: TPanel; lStatus: TLabel; pProgress: TPanel; pbProgress: TProgressBar; Label1: TLabel; Panel3: TPanel;...
unit GX_eAddToCaptitalization; interface uses SysUtils, Classes, GX_EditorExpert; type TAddToCapitalizationExpert = class(TEditorExpert) public // Internal name of expert for expert identification. class function GetName: string; override; function GetHelpString: string; override;...
unit ZMIRec19; (* ZMIRec19.pas - Represents the 'Directory entry' of a Zip file Copyright (C) 2009, 2010 by Russell J. Peters, Roger Aelbrecht, Eric W. Engler and Chris Vleghert. This file is part of TZipMaster Version 1.9. TZipMaster is free software: you can redistribute it and/or modify...
unit QcurrEdit; { TCurrEdit: This is an usefull CLX component based on an Edit control for Currency ($-CA$H-$) input coded in Delphi 7.0. It should also work in Kylix X. Be free to Update, modify or distribute it (Please, dont remove the credits :-) ) and to...
{ * CGDisplayFade.h * CoreGraphics * * API to fade displays to and from a solid color, without resorting * to playing with the gamma table APIs and losing ColorSync calibration. * * These APIs should be used in perference to manipulating the gamma tables * for purposes of performing fade effects. * * C...
unit uGioSetFilePropertyOperation; {$mode objfpc}{$H+} interface uses Classes, SysUtils, uFileSourceSetFilePropertyOperation, uFileSource, uFileSourceOperationOptions, uFile, uGio2, uGLib2, uFileProperty, uWfxPluginFileSource; type { TGioSetFilePropertyOperation } TGioSetFilePropertyOperation = ...
//https://edn.embarcadero.com/article/41374 //http://docwiki.embarcadero.com/RADStudio/Seattle/en/Using_Callbacks //http://docwiki.embarcadero.com/RADStudio/Seattle/en/REST_Heavyweight_Callbacks //Outro exemplo: C:\Users\Public\Documents\Embarcadero\Studio\20.0\Samples\Object Pascal\DataSnap\LtWeightCallbacks ...
unit uTools; interface {声明区域,此处声明外部可以引用} uses uDemo; type TPerson = class {字段,域} private FName: string; FAge:Integer; function GetAge():Integer; procedure SetAge(FAge:Integer); public {属性} // Name为外部可以访问的属性,它读就是调用FName,写就是写进FName; property Name: string read FName write FName; ...
unit SensorTypes; interface uses Classes; type CSensor = class of TSensor; TSensorFixed24=class; TSensorFloat32=class; {$IFDEF Sensor24} TMySensor = TSensorFixed24; {$ENDIF} {$IFDEF Sensor32} TMySensor = TSensorFloat32; {$ENDIF} TAnalogData=record case Cardinal of 0:(Value:Single); 1:(Fla...
unit evRowAndTableTypeSupport; {* Примесь для классификации таблиц и строк } // Модуль: "w:\common\components\gui\Garant\Everest\evRowAndTableTypeSupport.pas" // Стереотип: "SimpleClass" // Элемент модели: "TevRowAndTableTypeSupport" MUID: (5112379700A6) {$Include w:\common\components\gui\Garant\Everest\evDefine.inc...
unit udmContatos; interface uses Windows, System.UITypes,Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, udmPadrao, DBAccess, IBC, DB, MemDS; type TdmContatos = class(TdmPadrao) qryLocalizacaoCGC: TStringField; qryLocalizacaoDESTINO: TStringField; qryLocalizacaoEMAIL: TSt...
{ *************************************************************************** Copyright (c) 2016-2022 Kike Pérez Unit : Quick.Log Description : Threadsafe Log Author : Kike Pérez Version : 1.19 Created : 10/04/2016 Modified : 10/02/2022 This file is part of QuickLib: https://gi...
{********************************************************************* * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Autor: Brovin Y.D. * E-mail: y...