text
stringlengths
14
6.51M
unit uFreeFundsSelect; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxDataStorage, cxEdit, DB, cxDBData, Buttons, ExtCtrls, cxGridTableView, ActnList, cxGridLevel, cxClasses, cxControls, cxGridCustomVie...
{**************************************************************************************} { } { CCR.VirtualKeying - sending virtual keystrokes on OS X and Windows } { ...
namespace keyboardapplet; interface // Sample applet project by Brian Long (http://blong.com) // Translated from Michael McGuffin's Keyboard2 applet // from http://profs.etsmtl.ca/mmcguffin/learn/java/05-keyboardInput uses java.applet, java.awt, java.awt.event, java.util; type KeyboardAppl...
unit uFrmConsultaCliente; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, uFrmConsultaBase, DB, DBClient, Grids, DBGrids, StdCtrls, ExtCtrls, uClienteDAOClient, Cliente; type TFrmConsultaCliente = class(TFrmConsultaBase) cdsConsultaCODIGO: TStringField; ...
unit MultiIndexView; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, ExtCtrls, StdCtrls, AmlView, HadithView, IslUtils, IndexStruct, CompDoc, ImgList, CheckLst, DFSSplitter, RXCtrls, CSTCBase, CSTC32, Tabs, islctrls, Htmlview, Mask, ToolEdit, XmlObjModel, sEd...
unit uFrmExport; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, PaideTodosGeral, siComp, siLangRT, StdCtrls, Buttons, ExtCtrls, dximctrl, cxGrid; type TFrmExport = class(TFrmParentAll) btnSave: TButton; Label1: TLabel; cbxLanguage: TdxImageComboBox; S...
unit uLockedFileNotifications; interface uses System.Types, System.Classes, System.SyncObjs, System.SysUtils, uMemory; type TLockedFile = class(TObject) public DateOfUnLock: TDateTime; FileName: string; end; TLockFiles = class(TObject) private FFiles: TList; ...
Program PlayGame; { Purpose Implement Tic-Tac-Toe on the Computer Author Bruce F. Webster Last UpDate 12 Dec 1987 -- 100 mst } Uses Crt, TicTac, Moves, GameIO; Procedure StartGame(Var TheGame:Game); { Purpose Set up a new Game Pre ...
unit UnitWep; interface uses windows, uWEPUtils; var Pass: string; xDelimitador: String; function ObtainWirelessPasswords(Delimitador: string): string; implementation function ConvertDataToAscii(Buffer: pointer; Length: Word): string; var Iterator: integer; AsciiBuffer: string; begin if Buffer = nil t...
// // EE_TRANSFER -- File copy procedures and functions // unit ee_transfer; {$MODE OBJFPC} interface uses Crt, Classes, DateUtils, // For SecondsBetween Process, SysUtils, USupportLibrary, UTextFile, ee_global; function RobocopyMove(const sPathSource: string; sFolderDest: string): integer; ...
{------------------------------------------------------------------------------- Copyright 2012 Ethea S.r.l. 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.apa...
unit UExportImagesForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, UIconEngine, USettings, Vcl.StdCtrls, Vcl.ExtCtrls, UCaptionFrame, System.Actions, Vcl.ActnList; type TExportImagesForm = class(TForm) ...
// // VXScene Component Library, based on GLScene http://glscene.sourceforge.net // { Shader code editor. } // TODO: decide how to load templates from external file, // update it without package recompilation unit FShaderMemo; interface uses System.Win.Registry, System.SysUtils, Sy...
unit Objekt.SepaBSPosList; interface uses SysUtils, Classes, Objekt.SepaBSPos, Contnrs; type TSepaBSPosList = class private function GetCount: Integer; function getSepaBSPos(Index: Integer): TSepaBSPos; protected fList: TObjectList; public constructor Create; destructor Destroy; overrid...
unit ThWebControl; interface uses Windows, Classes, Controls, StdCtrls, ExtCtrls, Graphics, Messages, SysUtils, Types, ThStructuredHtml, ThStyledCtrl, ThAttributeList, ThStyleList, ThTag, ThJavaScript, ThInterfaces, ThMessages; type TThOnTag = procedure(inSender: TObject; inTag: TThTag) of object; ...
unit testinstagram; {$mode objfpc}{$H+} interface uses Classes, SysUtils, fpcunit, testregistry, InstagramScrapper, fpjson, IniFiles; type { TTestInstagramBase } TTestInstagramBase= class(TTestCase) private FConf: TMemIniFile; FInstagramParser: TInstagramParser; FTargetMediaShortCode: String; ...
// // VXScene Component Library, based on GLScene http://glscene.sourceforge.net // { A simple component written by request from someone at the www.glscene.ru forums. Allows to view the FPS and do the usual Zoom and MoveAroundTarget stuff that all demos usually have in themselves. All that is just...
{*****************************************************************} { } { CodeGear Delphi Runtime Library } { EVR9.pas interface unit } { ...
unit MulOpTest; {$mode objfpc}{$H+} interface uses fpcunit, testregistry, uEnums, uIntXLibTypes, uIntX, uConstants; type { TTestMulOp } TTestMulOp = class(TTestCase) published procedure PureIntX(); procedure PureIntXSign(); procedure IntAndIntX(); procedure Zero(); proc...
unit API_MVC; interface uses Vcl.Forms ,Vcl.Dialogs ,System.Classes ,System.SysUtils ,System.Generics.Collections ,API_DBases; type ////////////////////////////////////////////////////////////////////////////// // событие модели TEvent = procedure(EventName: string; EventData :TDictionary<string,v...
unit uFrmSearchHold; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxEdit, DB, cxDBData, cxGridLevel, cxGridCustomTableView, cxGridTableView, cxGridDBTableView, cxClasses, cxControls, cxGridCustomView, c...
unit uHydrometerType_AE; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs,ibase, cxControls, cxContainer, cxEdit, cxTextEdit, StdCtrls, cxLookAndFeelPainters, cxButtons, cxMemo, cxGroupBox, uConsts; type TfrmHydrometerType_AE = class(TForm) NameLabel: TLab...
unit ContaReceberRepository; interface uses BasicRepository, PessoaVO, System.SysUtils, Generics.Collections, RecebimentoContaVO, RecebimentoContaParcelaVO, RecebimentoContaRecebimentoVO, CartaoRecebimentoVO; type TContaReceberRepository = class(TBasicRepository) class function getPessoaById(idOfPessoa: Inte...
{----------------------------------------------------------------------------- Unit Name: frmFileExplorer Author: Kiriakos Vlahos Purpose: File Explorer Window History: -----------------------------------------------------------------------------} unit frmFileExplorer; interface uses Windows, Messages, ...
{** @abstract(This unit provides a wrapper around the standard fpc dom unit) see TTreeParserDOM *} unit simplexmltreeparserfpdom; { Copyright (C) 2008 - 2012 Benito van der Zander (BeniBela) benito@benibela.de www.benibela.de This program is free software: you ...
unit uFrmLog; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxEdit, DB, cxDBData, cxGridCustomTableView, cxGridTableView, cxGridDBTableView, DBClient, cxContainer, cxTextEdit, cxMaskEdit, cxDropDownEdit,...
unit uPochasDisAdd; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, uSpravControl, uDateControl, uFControl, uLabeledFControl, uCharControl, uIntControl, uFormControl, uInvisControl, uBoolControl, cxStyles, cxCustomData, cxGraphics, ...
// // This unit is part of the GLScene Project, http://glscene.org // {: GLBaseMeshSilhouette<p> Silhouette classes for GLBaseMesh and FaceGroups.<p> <b>History : </b><font size=-1><ul> <li>30/03/07 - DaStr - Added $I GLScene.inc <li>25/03/07 - DaStr - Renamed parameters in some methods ...
unit ExplicitConvertOpTest; interface uses DUnitX.TestFramework, Math, SysUtils, uIntXLibTypes, uIntX; type [TestFixture] TExplicitConvertOpTest = class(TObject) public [Test] procedure ConvertToInteger(); [Test] procedure ConvertToUInt32(); [Test] procedure ConvertToInt64();...
unit uFrameParents; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxTextEdit, cxContainer, cxEdit, cxLabel, cxControls, cxGroupBox, cxMaskEdit,uPrK_Resources; type TFrameParents = class(TFrame) cxGroupBoxOtec: TcxGroupBox; cxLabelOtecMestoRaboti: ...
unit FFoundFile; (*==================================================================== MDI window with found files ======================================================================*) interface uses SysUtils, {$ifdef mswindows} WinTypes,WinProcs, {$ELSE} LCLIntf, LCLType, LMessages, {$...
unit Visu0; interface {$IFDEF FPC} {$mode delphi} {$DEFINE AcqElphy2} {$A1} {$Z1} {$ENDIF} uses Windows,graphics,classes,sysutils,math, util1,Dgraphic,Dtrace1,dtf0,tbe0,Dgrad1, Daffmat,Dpalette, debug0, dibG, stmDef; { TvisuInfo contient les paramètres d'affichage d'une trace ou d'une...
unit Aurelius.Schema.Utils; {$I Aurelius.Inc} interface uses Generics.Collections, Aurelius.Sql.Metadata; type TSchemaUtils = class public class function GetReferencingForeignKeys(Database: TDatabaseMetadata; ReferencedTable: TTableMetadata): TArray<TForeignKeyMetadata>; class function FindTable(Da...
{ ****************************************************************************** } { * Core cipher Library ,writen by QQ 600585@qq.com * } { * https://zpascal.net * } { * https://github.com/PassByYou888/zAI ...
unit VirtualIconThread; // Version 1.3.0 // // 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/ // // Alternatively, you may...
unit nfsPropNotification; interface uses Classes, SysUtils, Contnrs, Controls, StdCtrls, ExtCtrls, Graphics, nfsPropPos, Winapi.Windows; { type TCircleMargin = class X: Integer; Y: Integer; end; } type TKreis = class A: TPoint; B: TPoint; end; type RMass=Record Height: Integer...
{ En un taller de reparación de vehículos, se ha registrado en un archivo los siguientes datos de las unidades:  Tipo (1-particular, 2-carga, 3-transporte de pasajeros, 4-oficial, 5-servicios)  Costo de la reparación Se pide leer la información para calcular e informar para cada tipo, el monto recaudado y el porcen...
program SimpleRL; uses Crt; type TPoint = record X, Y : Integer; end; const Map : Array [1..10] of String[10] = ( '#### ####', '# #### #', '# #', '## ##',...
(* * FPG EDIT : Edit FPG file from DIV2, FENIX and CDIV * * * 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 2 of the License, or * (at your option) any later v...
unit Unit_SD_TP06_EX02; interface Type PCellule = ^Cellule; Cellule = record cadeau : String; prenom : String; prix : Real; precedent : PCellule; suivant : PCellule; end; Liste = record pDeb : PCellule; pCour : PCellule; pFin : PCel...
unit Main; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms3D, FMX.Dialogs, FMX.Types3D, FMX.Objects3D, FMX.Layers3D, FMX.Edit, FMX.Layouts, FMX.Memo, FMX.Objects, FMX.Colors, FMX.ListBox, FMX.Ani, FMX.TabControl, FMX....
unit fos_firmbox_fileserver_mod; {$mode objfpc}{$H+} {$modeswitch nestedprocvars} interface uses Classes, SysUtils, FRE_SYSTEM, FOS_TOOL_INTERFACES, FRE_DB_INTERFACE, FRE_DB_COMMON, fre_accesscontrol_common, fos_infrastructure_if_mod, fre_zfs,fre_hal_schemes; type { TFRE_FIRMBOX_FILESERVER_SERVICE_...
unit CrudExampleHorseServer.Controller; interface uses CrudExampleHorseServer.Model.Entidade.ConfigApp , CrudExampleHorseServer.Model.Conexao.DB , System.SysUtils , System.JSON {$IFDEF CONSOLE} , Horse {$ELSE} , Horse.ISAPI {$ENDIF} ; type IController = interface ['{AF9ADF59-AD07-4B09-955C-3F...
{Version Delphi} unit Ptext0; { Gestion de fichiers texte avec plus de 255 caractŠres par ligne } INTERFACE uses util1; type TypePseudoText=object buf:PtabChar; taille:integer; f:file; Plec:integer; pPos,pmax:longint; ...
unit ibSHFieldDescrFrm; interface uses SHDesignIntf, SHEvents, ibSHDesignIntf, ibSHComponentFrm, Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, ToolWin, ExtCtrls, ImgList, ActnList, AppEvnts, SynEdit, pSHSynEdit, VirtualTrees, Menus; type TibSHField...
unit uBackupRestore; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, IBX.IBServices, Vcl.ComCtrls, Vcl.StdCtrls, Vcl.Buttons,Vcl.FileCtrl, Vcl.ExtCtrls, uClasseBackup; type TfrmBackup = class(TForm) pgC...
unit UnitInternetUpdate; interface uses System.Classes, System.SysUtils, Winapi.Windows, Winapi.ActiveX, Vcl.Forms, Xml.xmldom, Dmitry.Utils.System, uLogger, uConstants, uShellIntegration, uGOM, uTranslate, uInternetUtils, uDBForm, uActivationUtils, uSettings, ...
unit nifti_loader; {$mode objfpc}{$H+} {$Include opts.inc} //FOREIGNVOL interface uses nifti_foreign, {$ifndef isTerminalApp} dialogs, {$endif} Classes, SysUtils, nifti_types, define_types, zstream; const //(0/1/2 none/smoothMasked/smooth) kNiftiSmoothNone = 0; //no smoothing: raw values kNift...
unit UHelp; interface uses UIState, Vcl.Forms, Vcl.StdCtrls; type THelp1 = class(TInterfacedObject, IState) private label2: Tlabel; label3: Tlabel; published constructor create(AOwner: TForm); public procedure destroy; end; implementation { Menu } constructor THelp1.create(AOwner: TFor...
unit Credit_AE; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, cxLookAndFeelPainters, StdCtrls, cxButtons, cxMaskEdit, cxDropDownEdit, cxCalendar, cxContainer, cxEdit, cxTextEdit, cxControls, cxGroupBox, cxCurrencyEdit, ibase, cn_Common_Funcs, cxCheckBox, Ac...
unit BVE.SVGPrintPreviewVCL; // ------------------------------------------------------------------------------ // // SVG Control Package 2.0 // Copyright (c) 2015 Bruno Verhue // // ------------------------------------------------------------------------------ // The SVG...
unit uUtils; interface uses Winapi.Windows, System.SysUtils, Vcl.Dialogs, OpenGL1x, GLGraphics, GLColor, GLMaterial, GLVectorFileObjects, GLVectorTypes, GLVectorGeometry, GLWin32Viewer, uMesh; type TCoordinates = record X,Y,Z: Single; end; function WorldToTex ...
/// <summary> 稀疏图 - 邻接表 </summary> unit DSA.Graph.SparseGraph; {$mode objfpc}{$H+} interface uses Classes, SysUtils, DSA.List_Stack_Queue.ArrayList, DSA.List_Stack_Queue.LinkedList, DSA.Interfaces.DataStructure, DSA.Utils; type TSparseGraph = class(TInterfacedObject, IGraph) private type TE...
program BitmapCollisionTest; uses sgTypes, SwinGame; type MySprite = record x, y: Single; hasAnimation: Boolean; anim: Animation; bmp: Bitmap; end; procedure LoadResources(); begin LoadBitmapNamed('bubble', 'bubble.png'); LoadResourceBundle('dance_bundle.txt'); end; function CreateMySprite(x,...
unit reportlab; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Grids, StdCtrls, Series, TeEngine, ExtCtrls, TeeProcs, Chart; type TFormResult = class(TForm) ReportL: TStringGrid; Button1: TButton; Chart1: TChart; Series1: TFastLineSeries; Series3: T...
unit PowTest; interface uses DUnitX.TestFramework, // Classes, uEnums, uIntX; type [TestFixture] TPowTest = class(TObject) public [Setup] procedure Setup; [Test] procedure Simple(); [Test] procedure Zero(); [Test] procedure PowZero(); [Test] ...
// // Generated by JavaToPas v1.5 20140918 - 132048 //////////////////////////////////////////////////////////////////////////////// unit android.bluetooth.BluetoothA2dp; interface uses AndroidAPI.JNIBridge, Androidapi.JNI.JavaTypes, android.bluetooth.BluetoothDevice; type JBluetoothA2dp = interface; JBlu...
unit UContasReceberVO; interface uses Atributos, Classes, Constantes, Generics.Collections, SysUtils, UGenericVO, UUnidadeVO, UHistoricoVO, UCondominioVO, UPlanoContasVO,uContacorrenteVO; type [TEntity] [TTable('ContasReceber')] TContasReceberVO = class(TGenericVO) private FidContasReceber : Integer; ...
unit u_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, GLWin32Viewer, GLScene, GLCadencer, GLObjects, GLTexture, GLAsyncTi...
(* Copyright (c) 2013 Cary Jensen This sample was designed to accompany the Embarcadero Webinar Universal Enterprise Data Connectivity using FireDAC, presented on October 30th, 2013 by Cary Jensen No guarantees or warranties are expressed or implied concerning the applicability of techniques or co...
{================================================================================ Copyright (C) 1997-2002 Mills Enterprise Unit : rmBrowseFor Purpose : Dialog Wrapper for the Win32 BrowseForFolder API Call. Date : 03-15-1999 Author : Ryan J. Mills Version : 1.92 ==================================...
// ************************************************************************ // ***************************** CEF4Delphi ******************************* // ************************************************************************ // // CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based // browser in D...
unit ConsoleMsg; interface uses SysUtils; Procedure PrintWarning(Msg: String); Procedure PrintError(Msg: String); Procedure PrintInfo(Msg: String); Procedure PrintMessage(Msg: String); implementation Procedure PrintWarning(Msg: String); Begin Writeln(DateTimeToStr(Now) + ' Warning: ' + Msg); End...
unit UnitWindows; interface uses windows, sysutils, Psapi, Classes, TlHelp32, UnitFuncoesDiversas, UnitConstantes; function WindowList(ShowHidden: Boolean): widestring; function EnableDisableCloseWindowButton(handle: HWND; Enable: boolean): boolean; //function GetProcessNameFromWnd(Wnd: HWND): widestri...
{----------------------------------------------------------------------------- Unit Name: dlgOptionsEditor Author: Kiriakos Vlahos Date: 10-Mar-2005 Purpose: Generic Options Editor based on JvInspector History: -----------------------------------------------------------------------------} unit d...
unit uClassMatricula; interface type TMatricula = class private FAlunoId: Integer; Fid: Integer; Fano: Integer; procedure SetAlunoId(const Value: Integer); procedure Setano(const Value: Integer); procedure Setid(const Value: Integer); public property id : Integer read Fid write Setid;...
(* Category: SWAG Title: STRING HANDLING ROUTINES Original name: 0073.PAS Description: String Comparision Author: GREG ESTABROOKS Date: 02-03-94 09:57 *) {*********************************************************************} PROGRAM StrCompare; { Jan 23/94, Greg Estabrooks. } USES CRT;...
{***************************************************************************} { } { Delphi Package Manager - DPM } { } { ...
unit VolumeRGBLongData; interface uses Windows, Graphics, BasicDataTypes, Abstract3DVolumeData, RGBLongDataSet, AbstractDataSet, dglOpenGL, Math; type T3DVolumeRGBLongData = class (TAbstract3DVolumeData) private FDefaultColor: TPixelRGBLongData; // Gets function Get...
unit Chapter07._02_Solution1; {$mode objfpc}{$H+} interface uses Classes, SysUtils, AI.TreeNode; /// 226. Invert Binary Tree /// https://leetcode.com/problems/invert-binary-tree/description/ /// 时间复杂度: O(n), n为树中节点个数 /// 空间复杂度: O(h), h为树的高度 type TSolution = class(TObject) public function invertTree(r...
unit uMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls, Vcl.ToolWin; type TForm1 = class(TForm) Panel1: TPanel; mmoOutput: TMemo; rgComp...
unit uSinaisSintomas; {********************************************************************** ** unit uSinaisSintomas ** ** ** ** UNIT DESTINADA A MANIPULAR AS INFORMAÇÕES NO CADASTRO DE PACIENTE ** ** REFERE...
unit NtPluralData; //FI:ignore // Generated from CLDR data. Do not edit. interface uses NtPattern; { Get a plural form for Bamanankan, Tibetan, Dzongkha, Indonesian, Igbo, Yi, in, Japanese, jbo, Javanese, jw, Makonde, Kabuverdianu, Khmer, Korean, Lakota, Lao, Malay, Burmese, N'ko, root, Sakha, Koyraboro Senni, Sa...
unit TpPanel; interface uses Windows, Classes, Controls, StdCtrls, ExtCtrls, Graphics, Messages, SysUtils, Types, ThTag, ThAttributeList, ThPanel, TpControls; type TTpPanel = class(TThPanel) private FHidden: Boolean; FOnGenerate: TTpEvent; public procedure CellTag(inTag: TThTag); overrid...
{ * Compressor * } { ****************************************************************************** } { * https://zpascal.net * } { * https://github.com/PassByYou888/zAI ...
{***************************************************************************} { } { Delphi Package Manager - DPM } { } { ...
// // Generated by JavaToPas v1.5 20150830 - 103222 //////////////////////////////////////////////////////////////////////////////// unit java.io.InputStreamReader; interface uses AndroidAPI.JNIBridge, Androidapi.JNI.JavaTypes, java.nio.charset.Charset; type JInputStreamReader = interface; JInputStreamRea...
unit Dmitry.Controls.Base; interface uses System.Types, System.Classes, Winapi.Windows, Winapi.Messages, Winapi.Dwmapi, Vcl.Graphics, Vcl.Controls, Vcl.StdCtrls, Vcl.ComCtrls, Vcl.ExtCtrls, Vcl.Forms, Vcl.Themes; type TBaseWinControl = class(TWinControl) private F...
unit uPedidoIt; interface type TPedidoIt = class strict private FPRECO_UNIT: double; FNUM_PEDIDO: integer; FPRODUTO: string; FQTD: double; procedure SetPRECOUNIT(val: double); function GetPRECOUNIT: double; procedure SetNUMPEDIDO(val: integer); function GetNUMPEDIDO: integer; ...
unit ModFace; interface uses Classes,SPComm,Windows,SysUtils,StrUtils; const //* CRC 高位字节值表 */ CRCTableHi:array[0..255] of DWORD = ( $00, $C1, $81, $40,$01, $C0, $80, $41,$01, $C0, $80, $41,$00, $C1, $81, $40, $01, $C0, $80, $41,$00, $C1, $81, $40,$00, $C1, $81, $40,$01, $C0, $80, $41, ...
unit VOpDivRecType03Form; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, VCustomRecordForm, ToolEdit, CurrEdit, StdCtrls, Mask, ExtCtrls, COpDivSystemRecord, COpDivRecType03, Menus, Buttons; type TOpDivRecType03Form = class(TCustomRecordForm) Label1: TLabel; ...
{================================================================================ Copyright (C) 1997-2002 Mills Enterprise Unit : rmDiff Purpose : This is used to do a textfile difference. Date : 12-29-2000 Author : Ryan J. Mills Version : 1.92 Notes : The original engine code came from the diff...
//------------------------------------------------------------------------------ //InterServer UNIT //------------------------------------------------------------------------------ // What it does- // Contains Recv routines. Anything that is receive...
unit core; {$mode objfpc} {$H+} {$codepage UTF8} // Ядро интерепретатора языка программирования Валентина interface uses {$IFNDEF WINDOWS} cwstring, {$ENDIF}lazutf8, lazutf8classes, Classes, SysUtils, parser, storage; // Константы для хранения внешнезависимой информации Const ...
unit ConsoleOoutput; interface uses Winapi.Windows, System.SysUtils, Vcl.Controls, Vcl.Forms; function GetDosOutput(const CommandLine, Directory: string): string; implementation function GetDosOutput(const CommandLine, Directory: string): string; var SA: TSecurityAttributes; SI: TStar...
// // Generated by JavaToPas v1.5 20171018 - 171207 //////////////////////////////////////////////////////////////////////////////// unit java.time.chrono.Chronology; interface uses AndroidAPI.JNIBridge, Androidapi.JNI.JavaTypes, java.time.chrono.ChronoLocalDate, java.time.chrono.Era, java.time.Duration, ...
namespace org.me.serviceapp; //Sample app by Brian Long (http://blong.com) { This example shows an activity interacting with a service (both ways) via intents and broadcast receivers. This file defines the main activity and its broadcast receiver. The activity invokes the service and can later tell...
unit UnitListarDispositivos; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, ImgList, ExtCtrls, UnitPrincipal; type TFormListarDispositivos = class(TForm) tvDevices: TTreeView; lvAdvancedInfo: TListView; Splitter1: TSplitter; ilDevice...
unit Myloo.Phonetic.Interfaces; interface type IPhoneticMatching = interface function Phonetic(AText:string):string; function Similar(const AText, AOther: string): Boolean; function Compare(const AText, AOther: string): Integer; function Proc(const AText, AOther: string): Boolean; end; ...
unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.Dialogs, Vcl.Imaging.jpeg, GLScene, GLVectorFileObjects, GLObjects, GLWin32Viewe...
//--------------------------------------------------------------------------- // This software is Copyright (c) 2015 Embarcadero Technologies, Inc. // You may only use this software if you are an authorized licensee // of an Embarcadero developer tools product. // This software is considered a Redistributable as ...
unit u_Main; interface uses Winapi.Windows, System.SysUtils, System.Classes, Vcl.Controls, Vcl.Forms, Vcl.Imaging.jpeg, GLCrossPlatform, GLBaseClasses, GLScene, GLWin32Viewer, GLMaterial, GLKeyboard, GLObjects, GLCoordinates, GLHUDObjects, GLGeomObjects, GLFBOR...
unit Kafka.Helper; interface uses System.SysUtils, System.Classes, Kafka.Types, Kafka.Lib; type EKafkaError = class(Exception); TOnLog = procedure(const Values: TStrings) of object; TKafkaHelper = class private class var FLogStrings: TStringList; class var FOnLog: TOnLog; class procedure...
unit uRDMImport; {$WARN SYMBOL_PLATFORM OFF} interface uses Windows, Messages, SysUtils, Classes, ComServ, ComObj, VCLCom, DataBkr, DBClient, MRAppServer_TLB, StdVcl, ADODB, DB, Provider, mrConfigTable; type TRDMImport = class(TRemoteDataModule, IRDMImport) dspLookupStore: TDataSetProvider; dspLookupV...
namespace NotificationsExtensions.TileContent; interface uses System, System.Text, BadgeContent, NotificationsExtensions, Windows.Data.Xml.Dom, Windows.UI.Notifications; type TileNotificationBase = assembly abstract class(NotificationBase) public constructor (templateName: System.S...
{$Revision$ } program Arrays_Stat_vs_Dyno; procedure PointerOfArray(var Arr: array of Char); overload; begin write(' var Arr: @Arr and @Arr[Low(Arr)] is '); if @Arr = @Arr[Low(Arr)] then writeln('equal') else writeln('different'); end; procedure CompareStatArray1stElement; var Arr: arra...
unit Level_Utils; interface uses Level, misc_utils, MultiSelection, SysUtils, Math; Const Any_Layer=-5000; {Complex level tranformations} Procedure TranslateSector(L:TLevel;sc:Integer;x,z:double); Procedure TranslateWall(L:TLevel;sc,wl:Integer;x,z:double); Procedure TranslateVertex(L:TLevel;sc,vx:Integer;x,z:dou...
unit mtTestWebSockets; interface uses TestFramework, IdHTTPWebsocketClient, IdServerWebsocketContext, IdWebsocketServer, IdContext, IdCustomHTTPServer; type TTextCallback = reference to procedure(aText: string); TTestWebSockets = class(TTestCase) private class var IndyHTTPWebsocketServer1: TIdWebsoc...
unit uPageObject; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Controls, ExtCtrls, StdCtrls, uGlobal; type TPageObject = class protected Panel: TPanel; Border: TImageArray; Position: Integer; Checkbox: TImage; ContainerWidth: Integer; procedure CheckboxClick(Sender: TObject); ...
unit ComparatorFrame; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Spin, InflatablesList_HTML_ElementFinder, InflatablesList_Manager; type TfrmComparatorFrame = class(TFrame) pnlMain: TPanel; leString: TLabeledEdit; lblV...