text
stringlengths
14
6.51M
unit SysTimer; interface { Return the system time, in hundredths of a second since midnight. } function SysTime:real; implementation uses Dos; function SysTime:real; var regs:registers; result:real; begin regs.ah := $2C; MsDos(regs); result := regs.ch; result := result * 3600;...
unit CyMiniProg; interface uses debug, betterobject, PSocProgrammerCOMLib_TLB, classes, variants, sysutils, systemx, stringx, typex; type TCyMiniProg = class(TBetterObject) private prog: IPSoCProgrammerCOM_Object; Fport: string; FPower: boolean; procedure Assert(context: string; err: widestri...
unit MailSend; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, Buttons, sSpeedButton, StdCtrls, sListBox, sEdit, ExtCtrls, sPanel, ImgList, acAlphaImageList, IBQuery, IniFiles, MapiEmail, sGauge, sCheckBox, sMemo, sLabel, IBC; type TFormMailSend ...
unit untView; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, untHTypes, ComCtrls; type TfrmView = class(TForm) tbOperation: TTrackBar; procedure FormPaint(Sender: TObject); procedure FormCreate(Sender: TObject); procedure tbOperationChange(Sen...
unit QuoteManagerExImpl; //////////////////////////////////////////////////////////////////////////////// // // Description: QuoteManagerEx Implementation // Author: lksoulman // Date: 2017-12-05 // Comments: // //////////////////////////////////////////////////////////////////////////////// interface us...
{------------------------------------------------------------------------------------- Version | Date | Qui | Commentaires -------------------------------------------------------------------------------------- 08.01.001.009 14/02/07 JP Création d'une saisie simplifiée plus générique que UTofEcrLet 08.00.001...
unit variantlist; interface uses variants, typex, systemx, stringx, sysutils; type TVariantList = class private function GetItem(idx: integer): variant; procedure Setitem(idx: integer; const Value: variant); function GetCount: integer; protected FItems: array of variant; public property ...
unit System.Base; interface uses Classes, SysUtils, System.Interfaces; type TJComponent = class(TInterfacedObject, IComponent) end; TJComponentClass = class of TJComponent; TJModule = class abstract(TJComponent) private FID: string; FParentModule: TJModule; Fcomponents: TArr...
unit mLinkedCollections; interface uses System.Classes, System.SysUtils, System.Rtti, mEnumerator, System.Generics.Collections ; type TLinkedList<T> = class; TLinkedNode<T> = class private FValue: T; FPrev: TLinkedNode<T>; FNext: TLinkedNode<T>; FList: TLinkedList<T>; ...
unit ufmSlideRule; interface uses Windows, SysUtils, Graphics, Forms, StdCtrls, ExtCtrls, Classes, Dialogs, Controls, Printers; const APPLICATION_NAME = '九九 計算尺'; APPLICATION_NAME_RUBY = '|九九|く く| |計算尺|けいさんじゃく|'; VERSION = 'Version 0.9.0'; COPYRIGHT = 'Copyright © 2020 松原正和'; // なぜか全角空白を消すと、© の記号が正しく表...
unit DW.NativeButton; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Library } ...
{*******************************************************} { } { Vladimir Gaitanoff Delphi VCL Library } { vgBDEUtl unit } { } { Copyright (c) 1...
Unit UEstado; Interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Entity, Rtti; Type TEstado = Class(TInterfacedObject, IEntity) Private FCodPais: String; FCod: ...
unit Unit_Relatorios; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, frxClass, frxDBSet, Unit_DM, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Mask, Unit_Persistencia, Unit_Utils, StrUtils; type TfrmRelatorios = class(T...
//Verificado automaticamente em 16/06/2020 09:27 unit m_Anp; interface uses firedac.comp.client, system.SysUtils; type TAnp = class private Anp_Codigo: integer; Anp_Descricao: string; function getAnp_Codigo: integer; function getAnp_Descricao: string; procedure clearData; public prop...
unit frmSimpleSGSU; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ActnList, StdCtrls, ExtCtrls, IdBaseComponent, IdComponent, IdTCPServer, IdHTTPServer, IdTCPConnection, IdTCPClient, IdHTTP, fraYMDU, xmldom, XMLIntf, msxmldom, XMLDoc ,SyncObjs; type Tfrm...
unit ClientLoanFrame; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Grids, Vcl.StdCtrls, Vcl.ExtCtrls, Data.DB, Vcl.DBGrids, Data.DBXMySQL, Data.FMTBcd, Datasnap.DBClient, Data.SqlExpr, Datasnap.Provide...
UNIT uThreads; INTERFACE USES uBOT; CONST // Type of threads FREE_THREAD = 00; PORTREDIRECT_THREAD = 01; WEBSERVER_THREAD = 02; AVFWKILLER_THREAD = 03; SYNFLOODER_THREAD = 04; MYDOOMSP_THREAD = 05; NETBIOSSP_THREAD = 06; ...
unit UnitFrameSelectVendor; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, dxSkinsCore, dxSkinBlack, dxSkinBlue, dxSkinBlueprint, dxSkinCaramel, dxSkinCoffee, dxSkinDarkRoom...
unit uCadastroConfiguracoesECommerce; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uCadastroPadrao, Data.DB, frameBuscaTabelaPreco, Vcl.StdCtrls, Datasnap.DBClient, Vcl.Grids, Vcl.DBGrids, DBGridCBN, Vcl.Com...
unit Translations; interface const tlAbout = 'tlAbout'; tlAdd = 'tlAdd'; tlAddFollowing = 'tlAddFollowing'; tlApply = 'tlApply'; tlAuthenticationMissing = 'tlAuthenticationMissing'; tlAuthorityNameValidationText = 'tlAuthorityNameValidationText'; tlCancel = 'tlCancel'; tlCannotDeleteFile =...
unit AbstractLogin; //////////////////////////////////////////////////////////////////////////////// // // Description£º AbstractLogin // Author£º lksoulman // Date£º 2017-8-19 // Comments£º // //////////////////////////////////////////////////////////////////////////////// interface uses Cfg, Window...
unit aiddbLkpBOM; { -------------------------------------------------------------------------------------------------------- name : aiddbLkpBom author : Chris G. Royle, 2001 description : A visual component for entering BOM numbers, with the ability to launch a find dialog. see also : dataBOM.sq...
unit PXL.Sysfs.GPIO; { 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 Softw...
unit mLogX; interface uses FMX.Memo, System.SysUtils, System.Classes, System.Rtti ; type TLogger = class public type TKind = ( lkMsg, lkSnd, lkErSnd, lkRcv, lkErRcv, lkError ); TKindHelper = record helper for TKind function Str...
(* ------------------------------------------------------------------------------------ -- Fichier : UnitType.pas -- Auteur : Charlie Meyer / Marco Espiot / Guillaume Proton -- Date de creation : 22 Mai 2018 -- -- But : Créer les types utilisés dans notre programme -- Remarques ...
unit AsyncClientCommands; interface uses Command, Communication; type TCommandRegisterEventThread = class(TCommand) protected class function DoExecute(ARequest: TRequest): TGenericResponse; override; class function SessionRequired: Boolean; override; end; TCommandCheckEvents = class(...
unit MyHint; interface uses windows, classes, graphics, controls ,Math, forms; type TMyHint = class( TCustomControl ) private FHintRect : TRect; FRndRect : TRect; FAutoResizeText:Boolean; FTextMarginLeft:Integer; FTextMarginTop:Integer; FHintText : string; FHintTextList:TStringL...
unit fifo; {$INLINE AUTO} interface uses betterobject, sharedobject, stringx, systemx, typex; CONST FIFO_DEFAULT_SIZE = 1024; type TFifo<T> = class(TSharedObject) private a: array of T; getptr: nativeint; putptr: nativeint; function GetSize: nativeint; procedure SetSize(const Value: nativ...
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.Layouts, FMX.Controls.Presentation, FMX.StdCtrls, FMX.Memo.Types, FMX.ScrollBox, FMX.Memo, DW.TextToSpeech, FMX.ListBox; type...
unit AbstractTag; interface uses System.Classes, System.SysUtils; type {: Defines the the update rate range of tags. } TRefreshTime = 1..$7FFFFFFF; TArrayOfWord = array of word; //TArrayOfBool = array of boolean; TDiscreteSize = 1..2000; TAnalogSize = 1..125; TDiscreteIndex =...
Program ex2_5; var high, kg, BMI : real; begin write('Enter your weight (kg): '); read (kg); write('Enter your height (m): '); read (high); BMI := kg / (sqr(high)) ; writeln('Your BMI is ', BMI:0:2); end.
unit ticker; interface function tickstotime(const ticks: int64): string; implementation uses windows, sysutils; function tickstotime(const ticks: int64): string; const H_PERDAY = 24; M_PERHOUR = 60; S_PERMINUTE = 60; S_PERHOUR = S_PERMINUTE * M_PERHOUR; S_PERDAY = S_PERHOUR * H_PERDAY; THOUSAND = 1000; ...
unit EntityReader; {$mode objfpc}{$H+} interface uses Classes, Entity; type TEntityReaderContext = class; TEntityReader = class public class function ReadEntity(AStream: TStream; AnExpectedClassType: TEntityClass = nil): TEntity; virtual; abstract; end; TEntityReaderClass = class of...
unit Xc12Manager5; {- ******************************************************************************** ******* XLSReadWriteII V6.00 ******* ******* ******* ******* Copyright(C) 1999,2017 Lars Arvidsson, A...
{$MODE OBJFPC} program NKSEV; const maxL = Round(3e5); radix = 1337377; type PNode = ^TNode; TNode = record exist : Boolean; link : array['a'..'z'] of PNode; end; var f : array[0..maxL] of Integer; Trie : PNode; sCode : AnsiString; n, l : Integer; procedure Enter; var ...
unit classe.Gravar.Movimento; interface uses DmdDatabase, uUtilPadrao, classe.Controle, SysUtils, SqlExpr; type TGravarMovimento = class private FID_Mov: Integer; FFilial: Integer; FItem: Integer; FID_ProdServ: Integer; FID_Servico_Int: Integer; FID_Nota: Integer; FID_CFOP: ...
program StackWindowExample; {EXSWIN.PAS} uses use32, OpString, OpCrt, OpFrame, OpWindow; var Win : array[1..3] of StackWindowPtr; WinOpts : LongInt; I, J : Integer; begin {Make three bordered StackWindows} WinOpts := wBordered+wClear+wSaveContents; New(Win[1], InitCustom(30, 03, 50, 13, DefaultColorSet...
(* * 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...
const INP = 'Infix.inp'; OUT = ''; OPERATORS = ['+', '-', '*', '/', '(', ')']; var strInfix, RPN: AnsiString; Stack: array of Char; function Priority(const c: Char): longint; begin case c of '*', '/': exit(2); '+', '-': exit(1); ...
unit DW.iOSapi.HomeKit; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform Library }...
unit RosterManager; interface uses Jid,xmpp.iq.RosterIq,xmpp.iq.RosterItem,XmppConnection,classes,XMPPEvent ,Element,Xmpp.Client.Presence,XmppClientExtension; type TRosterManager=class(TXmppClientExtension) private _isRosterReceived:Boolean; FOnRosterStart,FOnRosterEnd:tnotifyevent; FOnRosterItem:T...
unit U_MainFormulas; interface uses WinProcs, U_Version, U_Abstract, U_Small_Lib; function Initialize_Dll(AArr_Parameter: array of const): TArr_VarRec; function DoInitialize_Dll(ATxDir: string): integer; implementation uses SysUtils, Classes, Math, jvgnugettext, U_Log, U_Const, U_TxFormula...
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) Button1: TButton; Memo1: TMemo; Button2: TButton; Button3: TButton; edtName: TEdit; ...
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.Objects, FMX.Layouts; type TForm1 = class(TForm) Pie1: TPie; Pie2: TPie; Pie3: TPie; Pie4: TPie; ...
unit ElementParseComment; interface uses BaseParser; { <!--value--> } type TElementParseComment = class(TBaseParser) private procedure FindCommentEnd; protected procedure AdjustBoundaries; override; function DoExecute: AnsiString; override; end; implementation { TElementPar...
unit color; interface uses info, menu; const COLOURFILE = 'colores.dat'; type Tcolor = record codigo : byte; Descripcion : string [DESCLEN]; end; FTcolor = file of Tcolor; TTcolor = array [1..254] of record isactive : boolean; descripcion : string [DESCLEN]; end; function Cme...
unit SelfTest.Consts; interface const TEST_STR : String = 'The quick brown fox jumped over the lazy dog'; TEST_ANSI : ANSIString = 'The quick brown fox jumped over the lazy dog'; implementation end.
unit Tools; interface uses SysUtils, Math; function ROT13(Str: string) : String; function RandomMD5(): string; implementation function ROT13(Str: string) : String; const OrdBigA = Ord('A'); OrdBigZ = Ord('Z'); OrdSmlA = Ord('a'); OrdSmlZ = Ord('z'); var i, o: integer; begin for i :=...
UNIT SD_STRING; {-----------------------------------------------------------------------------} INTERFACE {-----------------------------------------------------------------------------} uses CRT; const errors: array [1..3] of string = ('Source string is less than needed', 'Destination string is overfl...
{ Helper functions for easy implementation of TLS communication by means of Windows SChannel. The functions are transport-agnostic so they could be applied to any socket implementation or even other transport. Inspired by TLS-Sample from http://www.coastrd.com/c-schannel-smtp Uses JEDI API units from http...
unit DW.HoneywellScanner.Android; interface uses // Android Androidapi.JNI.GraphicsContentViewText, Androidapi.JNI.JavaTypes, Androidapi.JNIBridge, DW.Androidapi.JNI.DataCollection, DW.SymbolScanner; type TPlatformHoneywellScanner = class; TAidcManagerCreatedCallback = class(TJavaLocal, JAidcM...
{*************************************} { } { QIP INFIUM SDK } { Copyright(c) Ilham Z. } { ilham@qip.ru } { http://www.qip.im } { } {*************************************} ...
unit ImporterFrameworkTest; interface uses DUnitX.TestFramework, System.SysUtils, ImporterFrameworkU; const CSVFileDefinitionInvalid = 'D:\DelphiProjects\Importer\SampleFiles\CSVFileDefinitionInvalid.csv'; CSVFileDefinitionValid = 'D:\DelphiProjects\Importer\SampleFiles\CSVFileDefinitionValid.csv';...
unit DW.Androidapi.JNI.AndroidX.Lifecycle; {*******************************************************} { } { Kastri } { } { Delphi Worlds Cross-Platform...
// This class is based off of ICS's ICMP unit. // // To use, create the object, assign an Address and use the // ResolveAddr procedure. unit uResolveHost; interface uses SysUtils, Classes; type TErrorEvent = procedure(Sender: TObject; const strMsg: string) of object; TResolveHost = class(TObje...
unit uVendedor; interface uses System.SysUtils, uPessoa; type TVendedor = class(TPessoa) Private FComissao: Double; function getComissao: Double; procedure setComissao(Value: Double); Public property comissao: Double read getComissao write setComissao; function CalculaSalario: Double...
unit AAbreCaixa; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Formularios, UnCaixa, StdCtrls, LabelCorMove, ExtCtrls, Componentes1, PainelGradiente, Localizacao, Buttons, Mask, Db, DBTables, numericos, DBKeyViolation, UnComandosAUT; type TFAbreCaixa = ...
unit Sample.IncrustarForm.FrmMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls; type TFrmMain = class(TForm) pnlFrom1: TPanel; pnlForm2: ...
{==============================================================================} { UNIT: lysee_pad_open_fpc } { DESCRIPTION: open file dialog or lysee_pad_fpc (FPC) } { CREATED: 2008/08/23 ...
unit SkyVioBaseCompatibility; interface type TVioBase = class public class function CRC(const TheString: AnsiString): Word; class function CRCArr(APointer: Pointer; AStartPoint, ASize: Integer): Word; class function WrongCRC(APointer: Pointer; AStartPoint, ASize: Integer): Word; class fu...
namespace AppAuth.Authentication; uses AppAuth, Foundation,UIKit; type [Cocoa] AuthenticationAppDelegate = public class(IUIApplicationDelegate) private _authenticationService:AuthenticationService; public property InAuthorizationFlow:Boolean; method application(app: UIApplica...
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.Proximity; type TForm1 = class(TForm) Label1: TLabel; private FProximity...
{----------------------------------------------------------------------------- Unit Name: GoldenEye2 - uInternetExplorerUtils Author: madmax Purpose: Provides functions set or get information from Microsoft Internet Explorer® for more information consult the Microsoft Developer Network (MSDN) ...
unit uFileHistory; interface uses Classes; type IFileHistoryUse = interface; IFileHistoryStorage = interface; // Interface to represent a file history - see UpdateMenu function IFileHistory = interface(IUnknown) ['{DFDC29D6-CCC3-4ED0-9E8C-B19B1E999787}'] function GetMaxItems: Integer; procedur...
unit FTecCalcCustos; interface uses DBClient, SysUtils; type TCalcCustos = class private FcdsCustoIndicesC, FcdsFolha, FCdsProducao, FcdsFTTempo, FcdsBenef, FcdsAcess: TClientDataSet; public constructor Create(ACdsCustoIndicesC, ACdsFolha, ACdsProducao, AcdsFTTempo, ACdsBenef, ACd...
program caseRepeat(input, output); (*** Demonstrate the repeat and case statements. ***) var number: integer; begin repeat writeln('Enter year number, between 1 and 5, negative number to finish:'); read(number); if (number >= 1) and (number <= 5) then begin case number of 1: wr...
unit cbLanguage; interface uses Windows, SysUtils, Variants, Classes; type { TLanguageManager } TLanguageManager = class(TObject) private FResourceNames: TStringList; FResourceValues: TStringList; public constructor Create; destructor Destroy; override; function Get(const AName: String)...
unit Deltics.Strings.Encoding.ASCII; interface uses Deltics.Strings.Encoding; type TASCIIEncoding = class(TMultiByteEncoding) protected constructor Create; override; public function GetByteCount(const aChars: PWIDEChar; const aCount: Integer): Integer; override; ...
{$S-,R-,V-,I-,B-,F-} {*********************************************************} {* WINWOW.PAS 1.30 *} {* An example program for Object Professional 1.0 *} {* Copyright (c) TurboPower Software 1987, 1992. *} {* All rights reserved. *...
unit JoinLAS; {Join log from one las file to other} interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, AddLAS, ImgList, LASView, ComCtrls, CLas, Menus, Utils, FloatList, ToolWin, System.ImageList; type {Form class } TfrmJoinLAS = class(TfrmAddLAS) procedure btnAddLASC...
unit tsc; interface uses systemx, exe, sysutils, sharedobject; function TStoJS(sTSFile: string): string; function AutoCompile(sTSorJSFile: string): string; function TSCPath: string; function TSCEXE: string; implementation var sectCompile: TCLXCriticalSection; function TSCPath: string; begin result := dll...
unit ProjectUnit; interface uses Dialogs, sysutils, Controls, ProjectPIE, AnePIE; procedure GetANEFunctions( var numNames : ANE_INT32; var descriptors : ANEPIEDescPtr ); cdecl; function GSimpleExportNew (Handle : ANE_PTR ; rPIEHandle : ANE_PTR_PTR ; rLayerTemplate : ANE_STR_PTR ) : ANE_BOO...
{ 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...
{ @abstract(Logger) The unit contains main logger interface and several default appenders @author(George Bakhtadze (avagames@gmail.com)) } unit g3log; {$I g3config.inc} interface uses g3types; type // Log level prefix string type TLogPrefix = string; // Log level class TLogLevel = (llVerbose, llDebug, ll...
unit Options; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, StdCtrls, Buttons, ComCtrls, Menus, ImgList, ToolWin, CommCtrl; type TfrmOptions = class(TForm) pnlCont: TPanel; pnlText: TPanel; lblPluginVersion: TLabel; btnAbout: TBit...
//Written by Luke Storry //Primes Project program FindPrimeFactors; var num , i : Integer; begin Writeln('Find Prime Factors.'); Writeln('Written by Luke Storry'); Writeln; Writeln; Writeln('This Program will output the prime factors of an input integer.'); Writeln; Write('Please enter a numb...
{$O+,F+} Unit Tools; Interface Uses Views, Objects, Drivers, Dialogs, Status; const AsciiTableCommandBase: Word = 910; Index : Byte = 0; BlockDriver = $8000; DaysInMonth: array[1..12] of Byte = (31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31); MonthStr: array[1..12] of string[10] = ...
unit MFGridDensity; interface uses ANE_LayerUnit; {MFGridDensity defines the "MODFLOW Grid Refinement" layer and associated parameter.} type TDensityParam = class(T_ANE_LayerParam) class Function ANE_ParamName : string ; override; function Units : string; override; end; TMFDensityLayer = Class(T_AN...
unit unFraTipoRegimen; interface uses {$IFDEF VER180} rxToolEdit, {$ELSE} ToolEdit, {$ENDIF} Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, unFraCodigoDescripcion, Db, SDEngine, PatternEdit, StdCtrls, Mask, ArtComboBox, RxToolEdit, unArt; type TfraTipoRegimen = class(TfraCo...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Button1: TButton; ColorDialog1: TColorDialog; procedure FormPaint(Sender: TObject); procedure Button1Click(Sender: TObject); privat...
unit MBCSFileFuncs; {$WEAKPACKAGEUNIT ON} {$J-} //no-writeableconst {$R-} //no-rangechecking {$Q-} //no-overflowchecking {.$D-} //no-debug // just an interface wrap fdirfunc's function // MBCS functions is expected to be slow anyway interface function ExtractFileExt(const Filename: string): string; function ChangeFile...
// ***************************** // *** Code-generation API *** // ***************************** // ***** Register allocation API ****** var cgRegisterUsage: ^Longint; Var outputfile: Text; Var PC: Longint; Var GP: Longint; // global pointer (first byte over the global variables = bottom of heap) Var FP: Longint; /...
{ 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 BaseData; interface uses TypesConsts; type TBaseData = class public class function VariantToString(AVariant: Variant; ADataType: string): string; class function DBVariantToVariant(AVariant: Variant; ADataType: string): Variant; class function DateToStr(ADate: TDate): string; ...
namespace Moshine.Api.Weather; uses Foundation, Moshine.Foundation.Web; type WeatherUndergroundProxy = public class(WebProxy) private _apiKey:String; public constructor(apiKey:String); begin _apiKey := apiKey; end; method conditionsForName(name:String):NSDic...
unit Gui.Core; interface uses Classes, Rtti, System.Base, System.Interfaces, SysUtils, Controls; type TJGUIApplication = class(TJApplication) private FDefaultController: string; FController: IController; FLayout : string; FLayoutInstance : TControl; function GetAuthManager: ...
unit UFileCopier; interface uses Windows, Messages, SysUtils, Classes, controls, stdctrls, strUtils, ComCtrls, ShellApi, Math,IOUtils; Type TFolderOp = (foCopy, foCount, foSize); TCopyCallBack = function( TotalFileSize, TotalBytesTransferred, StreamSize, StreamBytesTransferred: int64; ...
unit XBookUtils2; {- ******************************************************************************** ******* XLSSpreadSheet V3.00 ******* ******* ******* ******* Copyright(C) 2006,2017 Lars Arvidsson, Ax...
unit Deque.Adapter; interface uses System.Generics.Collections, Deque.Intf; type TDequeList<T> = class(TInterfacedObject, IDeque<T>) strict private FStorage: TList<T>; public constructor Create(storage: TList<T>); function IsEmpty: boolean; procedure PushBack(const element: T); procedur...
unit scripttest; {$mode objfpc}{$H+} interface uses uPSCompiler, uPSRuntime, retromalina; const Script = 'program IPSTest; begin; box(0,128,400,32,0); outtextxyz(0,128,''hello from script'',15,2,2); end.'; procedure script1; implementation //The mandatory ScriptOnUses function which registers the functi...
unit ClassAccounts; interface // что знает и что умеет... type accounts = class balance, percent: real; constructor create(); overload; constructor create(b: real); overload; constructor create(b, p: real); overload; function calculate(years: integer): real;...
//////////////////////////////////////////////////////////////////////////////// // // // Copyright (c) 2008-2020 Alliance for Sustainable Energy. // // All rights reserved. ...
unit unitMainForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Menus, ImgList, ComCtrls; type TfrmContactInfo = class(TForm) MainMenu1: TMainMenu; File1: TMenuItem; Exit1: TMenuItem; Edit1: TMenuItem; Undo1: TMen...
namespace Steps; interface uses CoreMotion, Foundation, TwinPeaks, UIKit; type [IBObject] RootViewController = public class (UITableViewController, IUITableViewDelegate, IUITableViewDataSource) private fKeys: NSArray; method newSteps(notification: NSNotification); method ne...
unit DocumentManager; interface uses DateUtils, SysUtils, Classes, CalendarItem, Controls, Graphics, Types, Contnrs, StrUtils, Dialogs, SeriesItem, TodoList, RangeItem, RangeItemReferenceList, RangeItemManager, StringSplitter, CalendarConfig, ColorManager, DocumentReference, CalendarDocument, ...
{***********UNITE************************************************* Auteur ...... : Créé le ...... : 07/07/2003 Modifié le ... : / / Description .. : Source TOF de la FICHE : PARFOU_DUPLIC () Mots clefs ... : TOF;PARFOU_DUPLIC *****************************************************************} Unit TofParfouDuplic ; ...
PROGRAM travesty (input,output); { Kenner/ O'Rourke, 5/9/84} (* This is based on Brian Hayes' article in Scientific *) (* American, November 1983. It scans a text and generates *) (* an n-order simulation of its letter combinations. For *) (* order n, the relation ...
unit XLSColumn5; {- ******************************************************************************** ******* XLSReadWriteII V6.00 ******* ******* ******* ******* Copyright(C) 1999,2017 Lars Arvidsson, Axo...
unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Memo1: TMemo; Button1: TButton; SaveDialog1: TSaveDialog; ColorDialog1: TColorDialog; Button2: TButton; FontDialog1: TFontDi...