text
stringlengths
14
6.51M
{*******************************************************} { } { MiTeC Common Routines } { version 1.3 for Delphi 3,4,5 } { } { Copyright ? 199...
{Copyright: Heiko Behrens, Hagen Reddmann Author: Heiko Behrens (Initiator and Developer), Hagen Reddmann Descriptions: TypeInfoEx allows RTTI retrieval of all modules (BPLs, Dlls) in a comfortable and reversed way. Versions: Delphi 5 and above, testet on D5 Remarks: ...
{ ALGORITHME Jeu_de_nim BUT :Le jeu des allumettes (encore appele jeu de nim) se joue a deux. Les deux joueurs se partagent un tas de 21 allumettes. A tour de role, ils doivent retirer 1,2 ou 3 allumettes du tas. le joueur qui retire la derniere allumette a perdu. ENTREE : SORTIE : CONST nbAllumetteMin <- 1 : ENTIER ...
unit uDMConexao; interface uses System.SysUtils, System.Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, FireDAC.Phys.FB, FireDAC.Phys.FBDef, FireDAC.Phys.IBBase, Data.DB, FireDA...
{----------------------------------------------------------------------------- Unit Name: Clock Author: Gary Whetton Date: 9/11/2003 2:53:33 PM Revisions: Build Number Date Author -----------------------------------------------------------------------------} unit Clock; interface uses Windows, M...
{ License: Copyright (c) 2004 Dan Scott All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the follo...
unit Logger.TextFile; interface uses Logger.Intf; type TFileLogger = class(TInterfacedObject, ILogger) strict private FFileName: string; FFile: textfile; public constructor Create(const fileName: string); function Initialize: boolean; procedure Log(const msg: string); overload; proced...
unit dog; uses graphABC; type TDog = class private x, y: integer; p: picture; dir: integer; public constructor Create (x0, y0: integer); function Direction: char; procedure Show; procedure Move; function getX: integer; function getY: i...
unit uDmConexao; interface uses System.SysUtils, System.Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, FireDAC.VCLUI.Wait, Data.DB, FireDAC.Comp.Client, System.IniFiles, IWSystem, F...
// ******************************************************** // Copyright (c) 2016 Rob Judd <judd@ob-wan.com> // Based on C version by Charles Childers et al // ISC License - see included file LICENSE // ******************************************************** program nga; {$mode objfpc}{$H+} {$macro on} uses Sy...
{ ************************************* Created by Danilo Lucas Github - https://github.com/dliocode ************************************* } unit DataValidator.Information.Intf; interface uses DataValidator.Types; type IValidatorInformation = interface ['{972F5617-FDED-4D8E-8F89-5F372C1D62AB}'] ...
unit DW.OSMetadata; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Library } { ...
unit SMS_ColumnsDialog; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, CommCtrl, SMS_ColumnConfiger, SMS_Columns, ImgList, StdCtrls, Buttons, ComCtrls, ExtCtrls; type TColumnsConfig = class(TForm) ListFields: TListView; Label14: TLabel; Label13: TLabel; ...
unit PXL.Sensors.LSM303; { This file is part of Asphyre Framework, also known as Pascal eXtended Library (PXL). Copyright (c) 2000 - 2015 Yuriy Kotsarenko This program 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 S...
unit DW.OSMetadata.Android; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Library ...
{Copyright: Hagen Reddmann HaReddmann at T-Online dot de Author: Hagen Reddmann Remarks: freeware, but this Copyright must be included known Problems: none Version: 5.1, Delphi Encryption Compendium Delphi 2-4, BCB 3-4, designed and testet under D3-5 Description: ...
PROGRAM Test_WS_ADT; USES WS_ADT, WordReader; (* inserts words from file into wordset *) PROCEDURE InsertFromFile(VAR Ws: WordSet; filename: STRING); VAR w: Word; BEGIN OpenFile(filename,toLower); ReadWord(w); WHILE w <> '' DO BEGIN Insert(Ws,w); ReadWord(w); END; CloseFile; END; (...
unit DW.Androidapi.JNI.View; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Library ...
unit HashAlgSHA_U; // Description: SHA Hash (Wrapper for the SHA Hashing Engine) // By Sarah Dean // Email: sdean12@softhome.net // WWW: http://www.SDean12.org/ // // ----------------------------------------------------------------------------- // interface uses Classes, HashAlg_U, HashAlgSHAEngine_U; type ...
{ * PROGRAM: UDR samples. * MODULE: FbMessageData.pas * DESCRIPTION: Metadata utils. * * The contents of this file are subject to the Initial * Developer's Public License Version 1.0 (the "License"); * you may not use this file except in compliance with the * License. You may obtain a copy of the License a...
unit uCtrlAtendimento; interface uses uCtrlObject, uDbAtendimento, System.Classes, System.SysUtils, uDbAnalisePaciente, uDbServicoAtendimento, Datasnap.DBClient, uAtendimentoFitro, uRptAtendimento, uMensagem; type TStatusPagamento = (spPendente, spPago); type TStatusAtendimento = (saAberto, saConcluido, s...
unit enumprop; { version 1.0.0.0 version 1.0.0.1, updated 1 Jan 2006 ------------------------------------------------ Copyright (c) 2004, aa, Adrian Hafizh & Inge DR. Copyright (c) 2005-2006, Adrian H & Ray AF. Property of PT SOFTINDO Jakarta. All rights reserved. mail,to:@[zero_inge]AT@-y.a,h.o.o.@DOT...
unit UnRptLiquidacionSumario; interface uses Windows, SysUtils, Messages, Classes, Graphics, Controls, StdCtrls, ExtCtrls, Forms, Quickrpt, QRCtrls, Db, SDEngine, ArtDatabase; type TRptLiquidacionSumario = class(TQuickRep) sdqLiquidacion: TSDQuery; qrbTitulo: TQRBand; qrlTitulo: TQRLabel; qrbCabe...
unit SaisBal ; // LockedCtrls // BCreateExo // BValEntete // BDelBalance //======================================================= // Modifications // ~~~~~~~~~~~~~ // (x) Gestion du multi-tiers // REPRISE DE BALANCE N // (x) Interdire la reprise d'une balance si des écritures sont déjà saisies. // (x) Même rema...
unit Utils; {$define arrayofconst} {$include opts.inc} {$include all_numbers.inc} {$include all_vectors.inc} interface uses USystem, Errors, UMath; const YesNo: array[boolean] of string = ('нет', 'да'); YesNoEn: array[boolean] of string = ('no', 'yes'); TrueFalse: array[boolean] of string = ('fals...
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.ExtCtrls; const PI = 3.1415; PI2 = 3.1415 * 2; GRANULARITY = 3000; type TRealPoint = record X, Y: Real; end; TRender...
unit InterpreterClass; {$mode objfpc}{$H+} interface uses Classes, SysUtils, ASTClass, BinOpClass, NumClass, UnaryOpClass, BinLogicOpClass, UnaryLogicopClass, ImpParserClass, StrUtils, LoggingClass, FlowControlASTClass, StackClass, ARClass, InstanceofClass, StringInstanceClass, ExceptionsClas...
unit Position; interface uses System.Classes, ExtentionsList, AbstractExtention, PositionInterface; type TPosition = class(TComponent, IPosition) strict private fBoardPos : byte; fActive : boolean; fExtentions : TExtentions; private function GetActive: boolean; stdcall; function G...
unit DXWaveEdit; interface uses Windows, SysUtils, Classes, Forms, Dialogs, Controls, StdCtrls, ExtCtrls, Buttons, ComCtrls, DXSounds, Wave, Graphics; type { TDelphiXWaveEditForm } TDelphiXWaveEditForm = class(TForm) Bevel2: TBevel; OKButton: TButton; CancelButton: TButton; SaveDialog: TS...
unit unRegDenunciasSiniFFEP; {------------------------------------------------------------------------------- Registro de Denuncias de Siniestro-FFEP. Parámetros: Período Nro. de Libro = 6 -------------------------------------------------------------------------------} interface uses Windows, Messages, Sy...
unit MainForm; 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) Edit1: TEdit; Button1: TButton; procedure Button1Click(Sender: TObject); private { Priv...
unit SoundManager; interface uses System.SysUtils, fmx.media, System.classes, System.types, System.ioutils, MMSystem; type TAudioManager = class(TObject) var SoundState: Boolean; const StartSoundState = true; TmpFileName = 'temp.3gp'; ResourceBackground = 'BackgroundSound'; ...
unit DataBuilderFluent.XML; interface uses DataBuilderFluent.Intf; function CreateXMLBuilder: IDataBuilderFluent; implementation uses System.SysUtils, System.Classes, System.Generics.Collections, IndentedBuilder; type TXMLBuilder = class(TInterfacedObject, IDataBuilderFluent) strict private FBuilder...
{ Copyright (C) 2013-2023 Tim Sinaeve tim.sinaeve@gmail.com 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.org/licenses/LICENSE-2.0 Unless required by a...
unit UIPSVersionModule; interface uses Windows, Messages, SysUtils, ActiveX, Classes, Forms, StdCtrls, Dialogs, StrUtils, ExtCtrls, ScktComp, WinSock, UIPSTypes, UIPSModuleTypes, UIPSDataTypes, IPSLicense, IPSLive; type IIPSVersionModule = interface(IInvokable) ['{25DB46CB-8575-426A-9EEA...
unit LogUnit; interface uses System.Classes; type TLogLevel = (lgDebug, lgInfo, lgWarning, lgCritical, lgError, lgHint); Log = class(TThread) strict private LogStream: string; LogLevel: TLogLevel; private function GetShortLogLevel(AValue: TLogLevel): string; function GetFullLogLe...
unit Posix.ffmpeg.libavcodec.ac3_parser; (* * AC-3 parser prototypes * Copyright (c) 2003 Fabrice Bellard * Copyright (c) 2003 Michael Niedermayer * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License...
unit uCommonLibrary; interface {$I Compiler.inc} uses Classes; type ICommonLib = interface function IsExistsNewVersion: Boolean; function RunUpdate: Boolean; function SendEmail(const aMessage: string; const aFiles: array of String; out aError: WideString): Boolean; function DownloadManagerProjec...
(* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ma...
{ ************************************* Created by Danilo Lucas Github - https://github.com/dliocode ************************************* } unit Validator.IsCNPJ; // (Brasil) Cadastro Nacional de Pessoas Jurídicas interface uses DataValidator.ItemBase, System.SysUtils, System.RegularExpressions; type ...
unit Model.Snake; interface uses Classes, Graphics, Sysutils, ExtCtrls, Types, Contnrs, Generics.Collections; type TGameStatus = (gsRuning, gsGameOver); TSnakeLendthChangeEvent = procedure of Object; TSnake = class private FWidth: Integer; //the count of square not pixels FHeight: Integer; FR...
unit UcodeParser; interface uses Windows, SysUtils, Classes, Contnrs, RbwParser; procedure AdaptParserForUcode(Parser: TRbwParser); implementation uses Math; var OperatorList : TObjectList; PowerOperator: TFunctionClass; CaretOperator: TFunctionClass; AbsFunctionR: TFunctionRecord; ArcCosFunction: TFun...
unit mScktComp; interface uses System.Classes, System.SysUtils, Winapi.WinSock, System.Win.ScktComp ; type TClientSocketHelper = class helper for TClientSocket function ShutdownSnd: Boolean; end; TErrorEventHelper = record helper for TErrorEvent function ToString: String; function ToDesc: Stri...
unit Stats.CPU; interface uses System.Classes, System.SysUtils, Linux.Utils, System.JSON.Serializers; type TLoadAVG = record [JSONName('Minute')] F1minute : Double; [JSONName('FiveMinutes')] F5minute : Double; [JSONName('FiftenMinutes')] F15minute: Double; end; TFreq...
unit GnvSerialization; interface uses Classes, SysUtils; type TStringLengthSize = 1..4; function GnvClearBit(const Value, Bit: Byte): Byte; inline; function GnvToggleBit(const Value, Bit: Byte; const Flag: Boolean): Byte; inline; function GnvGetBit(const Value, Bit: Byte): Boolean; inline; function GnvSetBit(co...
unit fRenewOutMed; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, fAutoSz, StdCtrls, ComCtrls, ORFn, rOrders, Mask, ORCtrls, ExtCtrls, fBase508Form, VA508AccessibilityManager, VA508AccessibilityRouter, rODBase, rODMeds; type TfrmRenewOutMed = class(TfrmBase508Form) ...
{ Copyright (c) 2013-2016, Graeme Geldenhuys All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditi...
{ ALGORITHME : jeu_de_loie //BUT : Le joueur est caracterisee par un nombre nomme "place" compris entre 0 et 66 qui situe sa poisition sur le jeu de loie, sachant qu apres jet des deux des on applique les regles suivantes: - On avance du nombre de case indiquer par le nombredes des, SI on arrive sur la case 66 le jeu...
unit RuleMod3; {Date: 110407 } interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Math; type TRuleMod3 = class(TGraphicControl) private { Private declarations } flgSFM:Boolean; bChangeLimits:Boolean; bflgLevelLimit:Boolean; Count:integer; iMax ...
unit UniqueID; { library to get various unique client's hardware identifier - BIOS - Hard-Disk - Network Card works under Win32, non-privileged account Copyright 2005-2007, aa, Adrian H. & Ray AF. aa@softindo.net http://www.google.com/search?q=aa+delphi Private property of PT Softindo, JAKARTA. A...
{*************************************************************************************************************************************************} { } { ...
//Корректировка расходов unit fCostEd; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DBCtrlsEh, Mask, DB, uCommon, ImgList, cxGraphics, DBGridEh, fEditForm; type TfrmCostEd = class(TEditForm) lblDate: TLabel; cbCostType: TDBComboBoxEh; ...
unit OtherTime; interface type TCustomTime = class protected function GetTime: TDateTime; virtual; abstract; function GetUnixTime: Int64; public property Time: TDateTime read GetTime; property UnixTime: Int64 read GetUnixTime; end; TSystemTime = class(TCustomTime) protected ...
unit TestsParallelThread; { Delphi DUnit Test Case ---------------------- This unit contains a skeleton test case class generated by the Test Case Wizard. Modify the generated code to correctly setup and call the methods from the unit being tested. } interface uses TestFramework , sParallelThread ,...
unit CalendarItem; interface uses Controls, DateUtils, SysUtils, Classes; const MARKING_AND = 0; MARKING_OR = 1; type TCalendarItem = class private FText: string; FDay : TDate; FHyperLinks : TStringList; public constructor Create(day: TDate); destructor Destroy; override; f...
unit DictionaryProblemMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TfrmDictProblem = class(TForm) btnDefault: TButton; btnCustom: TButton; procedure btnCustomClick(Sende...
unit uFrameListsProxylist; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, StdCtrls, ExtCtrls, ImgList, Buttons, Menus, uMyListListView; type TfrmListsProxylist = class(TFrame) lstCMyList: TListView; Label1: TLabel; Bevel1...
program FeldSuche (input, output); { * Aufgabe 4.2.1.3 * * Erstellen eines Pogrammes, welches 20 Integer akzeptiert, und den niedrigsten Wert gemeinsam mit * der Eingabe position zurückgibt. } uses crt; const MAX = 20; type // typen haben den praefix "t" // record elemente haben den praefix "r" tI...
(*----------------------------------------------------------------------------* * DirectX 9 C++ common framework adaptation for Delphi by Alexey Barkovoy * * E-Mail: clootie@reactor.ru * * * ...
unit Unit1; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Controls.Presentation, FMX.StdCtrls, DW.Firebase.Analytics; type TForm1 = class(TForm) LoginEventButton: TButton; p...
{$IFNDEF INCLUDED} unit fmx_messages_windows; {$ENDIF} interface uses WinApi.Windows, WinApi.Messages, System.Classes, System.SysUtils, System.SyncObjs, Generics.Collections, FMX.Forms, FMX.Platform.Win; const WM_USER = WinApi.Messages.WM_USER; type TMessage = WinApi.Messages.TMessage...
unit uGameOfLife3D; interface uses System.SysUtils, System.StrUtils, System.Types, System.Character, System.Math; type TGameOfLife3DArray = Array of Array of Array of Byte; TGameOfLife3D = class private FCurrentData: TGameOfLife3DArray; FNextData: TGameOfLife3DArray; FWidth: ...
{*******************************************************} { } { Vladimir Gaitanoff Delphi VCL Library } { OLE Automation } { } { Copyright (c) 1...
unit mVimmICE; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, mVImmBase, System.ImageList, Vcl.ImgList, Vcl.Buttons, Vcl.StdCtrls, Vcl.ExtCtrls, rvimm, orFn, Vcl.ComCtrls, Vcl.Menus, mVimmSelect; type Tfr...
unit uKey; interface uses Controls, Graphics, Classes, SysUtils, Jpeg, MPlayer, Forms, uSchMan; type TKind = (stmNone, stmImage, stmSound); TKey = class(TGraphicControl) private FOnResponse: TNotifyEvent; FSchMan: TSchMan; FBitMap: TBitMap; FBorderColor: TColor; FFileN...
unit Systray; interface uses Forms, Messages, ShellAPI, Windows; procedure EnleveIconeTray(); procedure ModifIconeTray(Texte:String;Icone:HICON); procedure AjouteIconeTray(handle:HWND;Icone:HICON;Texte:string); var IconeT:TNotifyIconData; implementation procedure AjouteIconeTray(handle:HW...
{ This file is part of Dev-C++ Copyright (c) 2004 Bloodshed Software Dev-C++ 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 ...
unit u_lang_ids; interface const {LANGUAGE INTERFACE STRINGS IDS} LI_QLM = 1; //(QLM = QIP LANGUAGE MODULE) HEADER LI_QLM_VER = 2; LI_QLM_LANG_VER = 3; LI_QLM_LANG_NAME = 4; LI_QLM_LANG_AUTHOR = 5; LI_QLM_LANG_DESCR = 6; LI_QLM_RESERV...
{$MODE OBJFPC} program BINARY; const max = 33; var c : array[0..max, 0..max] of Int64; n, k, l : Integer; s : String; procedure Init; var i, j : Integer; begin for i := 0 to max do c[i, 0] := 1; for i := 0 to max do for j := 1 to i do c[i, j] := c[i - 1, j] + c[i - 1, j - 1]; ...
unit cclasses; interface uses heapmgr; type generic TGDictionary<TKey, TValue> = class private type TSplayCallback = procedure(Val: TValue; data: pointer); TSplayObjCallback = procedure(Val: TValue; data: pointer) of object; TSplayKeyCallback = procedure(Val: TKey; data: pointer); TSplayKeyObjCallback ...
unit Fiber; interface uses signals,managedthread, typex, betterobject, simplequeue, sharedobject, better_collectIons, tickcount, consolelock, orderlyinit, systemx; type TFiberWeaver = class;//forward TFiber = class(TSharedObject) private FColdRunInterval: ticker; FHasWork: boolean; FRunHot: bool...
program Project1; uses crt; type TData = Integer; //Тип ключа узла дерева. TPNode = ^TNode; //Тип указателя на узел. TNode = record //Тип узла дерева. Data: TData; //Ключ узла дерева. PLeft, PRight: TPNode; //Указатели на левый и правый узел. end; //--- Проц...
unit BTree; //About this unit //This unit contains a heavily modified "AVL" Binary tree. //It is "heavily" modified in that it is, in fact, not strictly //a binary tree anymore. // //In a traditional binary tree each node has a left and a right node. //The Left node contains the next lower index entry in the index //Th...
Unit i2Cdisplay; interface const F_CPU = 8000000; //частота процессора в герцах,корректировать //по необходимости // cpu clock frequncy, change this constant, if you need var CuteentDisplay:byte; // адрес активного дисплея,можно менять если нужно ...
unit DW.AdMobBannerAd; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Library } ...
program sortscr(input, output); const n = 15; type array1 = array [1..n] of integer; var a: array1; procedure inpdata(var a: array1); var i: integer; begin randomize; for i := 1 to n do a[i] := random(n); end; procedure outpdata(var a: array1); var i: integer; begin ...
unit untBase64; interface uses SysUtils, Classes; {.DEFINE SpeedDecode} {$IFNDEF SpeedDecode} {$DEFINE ValidityCheck} {$ENDIF} function Base64Encode(const InText: AnsiString): AnsiString; overload; function Base64Decode(const InText: AnsiString): AnsiString; overload; function CalcEncodedSize(InSize: Cardinal): C...
unit IRepRule; interface uses TypesConsts, Entity, EntityFieldNamesToken, IRepRuleGroup, EntityList; type TIRepRule = class(TEntity) private FName: string; FOrder: Integer; FMainRuleGroup: TIRepRuleGroup; FValues: TEntityList; protected function GetName: string; override; ...
unit UnitController.Clientes; interface uses Horse, Classes, SysUtils, System.Json, DB, UnitConnection.Model.Interfaces, UnitOcorrencia.Model, UnitFuncoesComuns, UnitConstantes; type TControllerClientes = class class procedure Registrar(App: THorse); class procedure Get(Req: THorseRequest...
unit uInputBox; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Mask, Buttons, ExtCtrls; type TfrmInputBox = class(TForm) Panel1: TPanel; panTopo: TPanel; Label1: TLabel; panCentro: TPanel; memRetorno: TMemo; edtRetorno: TMask...
unit CreateObsGridUnit; interface uses AnePIE, sysutils, Dialogs, classes; function CreateObservationGrid (aneHandle : ANE_PTR; const fileName : ANE_STR; layerHandle : ANE_PTR) : ANE_BOOL ; cdecl; implementation uses HST3DGridLayer, ANECB; function CreateObservationGrid (aneHandle : ANE_PTR; const fileNa...
var x,y:longint; function gcd(a,b:longint):longint; var r:longint; begin if a<b then begin r:=a; a:=b; b:=r; end; repeat r:=a mod b; a:=b; b:=r; until r=0; gcd:=a; end; begin readln(x,y); writeln(gcd(x,y)); end.
unit PXL.Textures.GL; { This file is part of Asphyre Framework, also known as Pascal eXtended Library (PXL). Copyright (c) 2000 - 2015 Yuriy Kotsarenko This program 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 Soft...
unit Parcela; interface uses SysUtils, Contnrs; type TParcela = class private Fcodigo :Integer; Fcodigo_conta :Integer; Fnum_parcela :Integer; Fdt_vencimento :TDateTime; Fdt_pagamento :TDateTime; Fstatus :String; Fdesc_status :String; Fvalor :Real; Fvalor_pago :Real; Fcod...
unit CrossColumnUnit; interface uses ANEPIE, Classes, SysUtils; function GGetCountOfCrossColumnLists : ANE_INT32; procedure GGetCountOfCrossColumnListsMMFun (const refPtX : ANE_DOUBLE_PTR ; const refPtY : ANE_DOUBLE_PTR ; numParams : ANE_INT16 ; const parameters : ANE_PTR_PTR ; myH...
{$MODE OBJFPC} {$INLINE ON} program NKMINES; uses Math; const maxK = 200; dx : array[1..7] of Integer = ( -1, -1, -1, 0, 1, 1, 0 ); dy : array[1..7] of Integer = ( -1, 0, 1, 1, 0, -1, -1 ); var a, res : array[0..maxK + 1, 0..maxK + 1] of Integer; m, n, k : Integer; procedure Enter; var ...
unit EspecificacaoCaixasDaConferencia; interface uses Especificacao; type TEspecificacaoCaixasDaConferencia = class(TEspecificacao) private FCodigo_conferencia :integer; public constructor Create(pCodigo_conferencia :integer); public function SatisfeitoPor(Objeto :TObject): Boolean; override...
unit unLiquidacionFinal; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Mask, ToolEdit, CurrEdit, ComCtrls, ExtCtrls, DB,SqlFuncs, SDEngine, DBSql; type TfrmLiquidacionFinal = class(TForm) lblImporteSentenciaSentencia: TLabel; lblHonorario...
unit uOOS; interface uses Messages, SysUtils; const sPROG_NAME = 'Только один сайт'; REGKEY_OOS = 'Software\Microsoft\Windows\CurrentVersion\Uninstall\OnlyOneSite'; REGVAL_SITEADR = 'SiteAddress'; SIGNATURE_OOS = 'OnlyOneSite'; //- SITE_GOOGLE = 'www.google.com'; WM_CLOSEPROG = WM_USER + 1; //закрыть ...
unit unfraDomicilioEstablecimientoAGENDA; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, unArtDbFrame, unArtFrame, unFraDomicilio, unFraDomicilioGIS, StdCtrls, ExtCtrls, DB, SDEngine, unAgenda, AdvOfficeButtons; type TfraDomicilioEstablecimientoAGENDA = cla...
////////////////////////////////////////////////////////////////////////////// // // Unit: xlsstylecolor // // // Description: color object // ////////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2004-2009 NikaSoft. All rights reserved. // Au...
program averageAge; var age1, age2, age3: integer; average: real; begin writeln('Informe 3 idades para que seja calculada a média.'); write('Digite a primeira idade:'); readln(age1); write('Digite a segunda idade:'); readln(age2); write('Digite a terceira idade:'); readln(age3); average := (age1 ...
unit UImportFormModal; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls,UTSegY, FMX.Edit, FMX.Controls.Presentation, FMX.Layouts, FMX.TreeView,UProfileData, FMX.ListBox; type ...
{ Copyright (C) 2013-2023 Tim Sinaeve tim.sinaeve@gmail.com 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.org/licenses/LICENSE-2.0 Unless required by applicable...
unit mUtils.Windows; interface uses System.SysUtils, System.Classes, System.Win.Registry, System.IOUtils, WinAPI.TlHelp32, WinApi.Windows, Winapi.ShlObj; function ReadRegNameString(const AKey: HKEY; const ARegKey, AName: String): String; function WriteRegString(const AKey: HKEY; const ARegKey, AName, AValue: ...
unit DW.ShareItems.iOS; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Library }...
unit Unit2; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ComCtrls, ATBinHex; type { TForm2 } TForm2 = class(TForm) ATBinHex1: TATBinHex; StatusBar: TStatusBar; procedure ATBinHex1ClickURL(ASender: TObject; const AString: AnsiString); procedure For...
unit Deltics.Tokeniser.Dictionary.XML; interface uses Deltics.Tokeniser.Consts, Deltics.Tokeniser.Dictionary; var XMLDictionary: TDtxDictionary = NIL; const // Symbolic Constants for Token Types - these may be used in constant expressions ttNode = #2; // Symbolic Constants for...
unit RunMT3DUnit; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, RunUnit, Buttons, StdCtrls, ArgusDataEntry, ExtCtrls, ComCtrls, ANEPIE, ProgramToRunUnit; type TfrmRunMT3D = class(TfrmRun) rbRunMT3D: TRadioButton; rbCreateMT3D: TRadioButton; cbExpLak: TCh...
unit UMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, System.Generics.Collections, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls, Vcl.ExtCtrls, Vcl.ControlList, Vcl.VirtualImage, SynEdit; const...