text
stringlengths
14
6.51M
unit chCtoPAS; interface function ChangeCHeaderToPas(CHeader : string) : string; function ChangeCDefineToPasConst(CDef : string) : string; implementation uses Col; {Auxiliar data types} type TParameter = class public VarName : string; VarType : string; public construc...
program SPLITMVS ( INPUT , OUTPUT , OUTF001 , OUTF002 , OUTF003 , OUTF004 , OUTF005 , OUTF006 , OUTF007 , OUTF008 , OUTF009 , OUTF00A , OUTF00B , OUTF00C , OUTF00D , OUTF00E , OUTF00F ) ; (***********************************************************) (* ...
unit ObjectInspectorHandler; interface uses Classes, VoyagerServerInterfaces, VoyagerInterfaces, Controls, ObjectInspectorHandleViewer; const tidParmName_ClassId = 'ClassId'; tidParmName_ObjectId = 'ObjectId'; tidParmName_xPos = 'x'; tidParmName_yPos = 'y'; const htmlActio...
unit CsQueryExecutor; { $Id: CsQueryExecutor.pas,v 1.9 2013/04/24 09:35:37 lulin Exp $ } // $Log: CsQueryExecutor.pas,v $ // Revision 1.9 2013/04/24 09:35:37 lulin // - портируем. // // Revision 1.8 2006/09/21 11:47:59 narry // - логгирование сетевых сообщений на стороне сервера // // Revision 1.7 2006/03/10 09:...
// // Created by the DataSnap proxy generator. // 01/02/2017 21:02:41 // unit ClientClassesUnit1; interface uses System.JSON, Datasnap.DSProxyRest, Datasnap.DSClientRest, Data.DBXCommon, Data.DBXClient, Data.DBXDataSnap, Data.DBXJSON, Datasnap.DSProxy, System.Classes, System.SysUtils, Data.DB, Data.SqlExpr,...
unit FMX.QRCode; interface uses System.Classes, System.SysUtils, System.Types, System.UITypes, FMX.Types, FMX.Controls, FMX.Graphics, FMX.Objects, FMX.MultiResBitmap, FMX.Platform, FMX.ComponentsCommon, DelphiZXingQRCode; type [ComponentPlatformsAttribute(TFMXPlatforms)] TFMXQRCode = clas...
unit Unit2; interface {$DEFINE ICS} uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, WinSock, Vcl.ExtCtrls, StrUtils, Vcl.CheckLst, TypInfo, SChannel.JwaWinError, SChannel.JwaSspi, SChannel.JwaWinCrypt, S...
{ Subroutine SST_R_SYN_INIT * * Init the SST front end for reading SYN files. * * The internal state of the SYN front end is initialized, and system resources * allocated. The module that will contain the syntax parsing code is created. * Subsequent calls to the DOIT entry point for this SST front end will a...
unit Network; interface function IsConnected: Boolean; function IsWiFiConnected: Boolean; function IsMobileConnected: Boolean; implementation uses System.SysUtils, Androidapi.JNIBridge, Androidapi.JNI.GraphicsContentViewText, Androidapi.JNI.JavaTypes, FMX.Helpers.Android, Androidapi.Helpers; type JCo...
unit TestBaseClasses; interface uses dSpec; type TParseContext = class(TContext) public constructor Create(MethodName: string); override; end; implementation constructor TParseContext.Create(MethodName: string); begin inherited Create(MethodName); AutoDoc.Enabled := True; end; end.
unit NewAccount; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DialMessages, Utils, Placemnt, DataErrors; type TNewAccountForm = class(TForm) AccountPropsGroupBox: TGroupBox; UserNameEdit: TEdit; UserNameLabel: TLabel; PasswordLabel...
unit uTextData; interface uses classes; type TTextDataType = (dtNone, dtProc, dtInclude, dtMacro, dtFunc, dtView, dtTrigger); THsTextData = class(TCollectionItem) private FSQL:string; FSQLName:string; FFileName: string; FLoadFileName: string; FFolder: string; FLoadedName: string; ...
unit umain; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, AutoCompletePanel, LazUTF8; type { TForm1 } { TPais } TPais = class(TObject) private FCodigo: string; FNombre: string; procedure SetFCodigo(AValue: string); procedure SetFNo...
unit d_GetContents; { $Id: d_GetContents.pas,v 1.9 2012/06/05 07:54:22 dinishev Exp $ } interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, BottomBtnDlg, StdCtrls, vtSpin, Buttons, ExtCtrls; type TContentsEditDlg = class(TBottomBtnDlg) edtValue6: TvtSpinEdit; lbl...
const generatedArraySize = 100; const separatorsArraySize = 7; type stringArrayType = array [1..generatedArraySize] of string; type separatorsType = array [1..separatorsArraySize] of string; function enterText(): string; begin var text: string := ''; write('Enter text please: '); readln(text); ...
unit GetAddressNotesUnit; interface uses SysUtils, BaseExampleUnit; type TGetAddressNotes = class(TBaseExample) public procedure Execute(RouteId: String; RouteDestinationId: integer); end; implementation uses NoteParametersUnit, AddressNoteUnit; procedure TGetAddressNotes.Execute(RouteId: String; R...
unit IntBar; interface uses DGLE, DGLE_Types, Engine; type TIntBar = class(TObject) private pBar: ITexture; pBack: ITexture; FTop: Integer; FLeft: Integer; procedure SetLeft(const Value: Integer); procedure SetTop(const Value: Integer); public constructor Create(Left...
unit OutputSearchAuto; interface uses ComObj, OutputSrch_TLB, OutputSearch; type TOutputSearch = class(TAutoObject, IOutputSearch) protected function Get_Count: Integer; safecall; procedure Search(const Output, World, Town, Company: WideString; Count, X, Y: Integer); safecall; function Get_Company(...
unit osExtStringList; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls; type TExtStringList = class(TStringList) private FElementFormat: string; FSeparator: string; function GetAsFmtText: string; procedure SetElementFormat(const Value: string); procedu...
unit UOrderedCardinalList; interface uses Classes, UCardinalsArray; type TOrderedCardinalList = Class private FOrderedList : TList; FDisabledsCount : Integer; FModifiedWhileDisabled : Boolean; FOnListChanged: TNotifyEvent; Procedure NotifyChanged; public Constructor Create; Destru...
unit MFichas.Model.Venda.Metodos.Factory; interface uses MFichas.Model.Venda.Interfaces, MFichas.Model.Venda.Metodos.Interfaces, MFichas.Model.Venda.Metodos.Abrir, MFichas.Model.Venda.Metodos.Pagar, MFichas.Model.Venda.Metodos.Finalizar; type TModelVendaMetodosFactory = class(TInterfacedObject, iModelVen...
unit m0RESLib; (* // // module: m0reslib.pas // author: Mickael P. Golovin // // Copyright (c) 1997-2000 by Archivarius Team, free for non commercial use. // // $Id: m0reslib.pas,v 1.1 2008/02/07 09:54:24 lulin Exp $ // *) {$Include m0Define.inc} interface uses Windows, Messages, SysUtils, Consts, Class...
var s : string; i : byte; function rubah(a :char):char; begin if ord(a) >= ord('a') then rubah := upcase(a) else rubah := lowercase(a); end; begin readln(s); for i := 1 to length(s) do s[i] := rubah(s[i]); writeln(s); end.
{ Module of routines that add call arguments a subroutine call opcode. } module sst_call_arg; define sst_call_arg_enum; define sst_call_arg_exp; define sst_call_arg_int; define sst_call_arg_str; define sst_call_arg_var; %include 'sst2.ins.pas'; { ***********************************************************************...
unit MainUnit; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.platform, fmx.helpers.android, FMX.Edit, FMX.StdCtrls, Android.BarcodeScanner, FMX.Layouts, FMX.Memo; type TForm5 = class(TForm...
unit uPlugin; interface uses System.JSON, System.StrUtils, System.Generics.Defaults, System.Generics.Collections, System.SysUtils, System.Math, System.Classes, System.IOUtils, FMX.Graphics, FMX.Features.BitmapHelper, uUtils; type TProcInt = procedure (index : Integer) of object; TPlugin = cla...
{ Date Created: 5/22/00 11:17:32 AM } unit InfoCHECKACCOUNTSTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TInfoCHECKACCOUNTSRecord = record PAccountName: String[32]; PAccountNumber: String[20]; PNextCheckNumber: Integer; End; TInfoCHECKACCOU...
{ *************************************************************************** } { } { } { Copyright (C) Amarildo Lacerda } { } { https://github.com/amarildolacerda } { } { } { *************************************************************************** } { } { Licensed under the Apache License, Version 2.0 (the "License...
/// Utility methods to convert images form file formats to Excel internal formats. unit tmsUXlsPictures; {$INCLUDE ..\FLXCOMPILER.INC} {$INCLUDE ..\FLXCONFIG.INC} interface uses {$IFDEF FLX_VCL} Windows, Graphics, {$IFDEF FLX_NEEDSJPEG} JPEG, {$ENDIF} {$INCLUDE UsePngLib.inc} {$ENDIF} {$IFDEF FLX_C...
unit proses_buku; interface uses tipe_data, konversi; procedure CetakKategori(var B : tabBuku); // prosedur untuk mencetak buku berdasarkan kategori procedure Cetak (var B : tabBuku ; i : integer); // prosedur untuk mencetak info buku sesuai ketentuan procedure CetakDariTahun (var B : tabB...
unit untLogger; interface uses Windows, Forms, SysUtils, Variants, Classes, CnDebug; var MutexHandle: THandle; TraceEnable: Boolean; CnDebugEnable: Boolean; LogFileName: string; CriticalSection: TRTLCriticalSection; //Trace║»╩ř procedure InitLogger(IsTraceEnable:Boolean = False; IsCnDebugEnable...
unit AlertaDeuda; interface uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls, ExtCtrls, Mask, JvExMask, JvSpin, JvExStdCtrls, JvEdit, JvValidateEdit, IniFiles; type TAlertaDeudaDlg = class(TForm) OKBtn: TButton; CancelBtn: TButton; Bevel1: TBevel; cbAntiguedad: TCheckBox; ...
unit Unit3; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TForm3 = class(TForm) Button1: TButton; Edit1: TEdit; Button2: TButton; ListBox1: TListBox; Edit2: TEdit; ...
unit TestFramework.DataValidators.TestTStringDataValidator; interface uses TestFramework, System.SysUtils, System.Variants, Interfaces.IDataValidator, DataValidators.TStringDataValidator; type TestTStringDataValidator = class(TTestCase) strict private FStringDataValidator: IDataValidator; ...
{$I OVC.INC} {$B-} {Complete Boolean Evaluation} {$I+} {Input/Output-Checking} {$P+} {Open Parameters} {$T-} {Typed @ Operator} {$W-} {Windows Stack Frame} {$X+} {Extended Syntax} {$IFNDEF Win32} {$G+} {286 Instructions} {$N+} {Numeric Coprocessor} {$C MOVEABLE,DEMANDLOAD,DISCARDABLE} {$ENDIF} {********************...
unit tfwDebugService; // Модуль: "w:\common\components\rtl\Garant\ScriptEngine\tfwDebugService.pas" // Стереотип: "Service" // Элемент модели: "TtfwDebugService" MUID: (56F557030356) {$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc} interface {$If NOT Defined(NoScripts)} uses l3IntfUses , l3Pro...
// Filename : SAXWriter.pas // Version : 1.1 (Delphi) // Date : July 4, 2003 // Author : Jeff Rafter // Details : http://xml.defined.net/SAX/aelfred2 // License : Please read License.txt unit SAXWriter; // "!!" // "(*..*)" // Canonical support is very very bad!!!! interface uses Classes, S...
{ TODO: + Редактор - добавление новых точек + Редактор - добавление точек посадки с множителем + GUI: Отображение точек посадки - GUI: отображение вектора скорости + Физическая реакция на включение топлива + Обработка столкновения корабля с луной: + В случае большой скорости или неправильного угла ...
unit LogFile; interface procedure SetLogFile( LogFileName : string ); procedure LogThis( MsgToLog : string ); implementation {$IFDEF Logs} uses SyncObjs; var LgFile : TextFile; Initialized : boolean = false; Lock : TCriticalSection; {$ENDIF} procedure SetLogFile( LogFileN...
unit uLerXML; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, shellAPI, xmldom, XMLIntf, msxmldom, XMLDoc, uClienteVO, System.Generics.Collections, Data.DB, FireDAC.Comp.DataSet, FireDAC.Comp.Client, Vcl.FileCtrl, uDM, uParametros, uGenericDAO, u...
unit uAgendamentoEmail; interface uses uDM, System.SysUtils, Data.DB, FireDAC.Comp.Client, uContaEmail, System.Generics.Collections; type TAgendamentoEmail = class private FLista: TList<string>; FListaCliente: TList<string>; function RetornarEmailConta_Email(IdUsuario: integer): string; proc...
unit MMO.Server; interface uses IdTCPServer, IdSchedulerOfThreadPool, IdContext, SysUtils, IdGlobal, IdComponent, MMO.ServerClient, MMO.PacketReader, MMO.ClientList, SyncObjs, MMO.Lock, MMO.PrivateServerClient, MMO.Types, MMO.ServerCreateOptions; type TTest = reference to procedure; TServer<ClientType> =...
unit ChoiceTask; interface uses Windows, Classes, Tasks, Kernel, Collection, BuildFacilitiesTask, FacIds, Persistent, CacheAgent, BackupInterfaces; const stgContractSupplier = 3; stgConnectSupplier = 4; const MaxSuggestions = 3; const tidBuiltFacility = 'BuiltFac'; tid...
unit mnSynHighlighterSARD; {$mode objfpc}{$H+} {** * NOT COMPLETED * * 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 th...
unit BaseDevice; // This module has an abstract device interface the program will work with. // Each device should have it implementation. Also it has an abstraction of // command info. interface type TBytesArray = Array of Byte; type TLineIndexesArray = Array of Integer; type IConnectionCallback = interfa...
unit ModStack_ADS; interface procedure push(e : integer); function pop : integer; function isEmpty : boolean; procedure init; procedure disposeStack; implementation type intArray = array [1..1] of integer; VAR arrPtr : ^intArray; capacity : integer; top : integer; (* index of top element *) procedu...
unit Complex2D; interface uses classes,graphics; type ComplexTernary2D=class(TPersistent) private _qx,_qy: Integer; //число тритов по осям x и y _Tx,_Ty,_Nx,_Ny: Integer; //полное число элементов и мин/макс значение (-N, N) _T: Integer; //всего элементов в массиве base: Integer; //смеще...
{ Date Created: 5/22/00 11:17:33 AM } unit InfoLENDERGROUPSTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TInfoLENDERGROUPSRecord = record PIndex: Integer; PGroupIndex: Integer; PLenderID: String[4]; End; TInfoLENDERGROUPSBuffer = class(TData...
unit IsoProfile; interface const prfKind_Main = 0; prfId_Rendering = 1; prfId_Blitting = 2; prfId_RenderingInit = 3; prfId_RegionFill = 4; prfId_LandRendering = 5; prfId_TextRendering = 6; prfId_ConnectionsRendering ...
unit ThdExport; interface uses Classes, ThreadReportBase, TicklerTypes, db, TTSMLTagTable, TTSTitmTable, TTSTrakTable, TTSHitmTable, TTSLoanTable, TTSCifTable, TTSNColTable, TTSCollTable, TTSCaptionTable, TTSLNotTable, TTSGuarTable, TTSCodeTable, TTSLendTable, TTSSetupTable, TicklerGlobals; type ...
{ Clever Internet Suite Copyright (C) 2013 Clever Components All Rights Reserved www.CleverComponents.com } unit clXmlUtils; interface //TODO test Widestring-string typecasts {$I clVer.inc} uses {$IFNDEF DELPHIXE2} Windows, ActiveX, Classes, SysUtils, Variants, msxml, {$ELSE} Winapi.Windows, Winapi.Activ...
{ Date Created: 6/13/00 11:54:36 AM } unit InfoCLAIMREPORTHISTORYTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TInfoCLAIMREPORTHISTORYRecord = record PAutoinc: Word; PUserid: String[5]; PReportDate: String[10]; PTitle: String[100]; PDataIn...
// *************************************************************************** // // Delphi MVC Framework // // Copyright (c) 2010-2016 Daniele Teti and the DMVCFramework Team // // https://github.com/danieleteti/delphimvcframework // // **************************************************************************...
unit SynSQLEditor; interface uses Classes, Controls, SynEdit, SynEditKbdHandler; const TSynTabChar = #9; TSynValidStringChars = ['_', '0'..'9', 'A'..'Z', 'a'..'z']; TSynWordBreakChars = ['.', ',', ';', ':', '"', '''', '!', '?', '[', ']', '(', ')', '{', '}', '^', '=', '+', '-', '...
{$include lem_directives.inc} unit LemLevel; interface uses Classes, SysUtils, UMisc, LemTerrain, LemInteractiveObject, LemSteel; type TLevelInfo = class(TPersistent) private protected fReleaseRate : Integer; fLemmingsCount : Integer; fRescueCount : Integer; ...
Program Identifying_Real_Constant; var LastChar: Char; {一个字符的缓冲区} Buffered: Boolean; {缓冲区标志} function getchar: Char; {从输入流读字符} begin if not Buffered then Read(LastChar); {如果缓冲区没有字符则读入一个} Buffered := False; GetChar := LastChar; {取缓冲区字符} end; procedure ungetc(c: char); {向输入流回放字符} begin ...
unit uDMConfig; interface uses System.SysUtils, System.Classes, IniFiles, Forms, ufmMain; type TConfig = class(TDataModule) procedure DataModuleCreate(Sender: TObject); procedure DataModuleDestroy(Sender: TObject); private FIniFile: TIniFile; FConfigFileName: string; FCurrentD...
unit ChunkStream; interface uses Classes, MemUtils; type TChunkStream = class protected fSize : integer; fStream : TStream; fStartPos : integer; fPosition : integer; fInMemory : boolean; fBuffer : pointer...
{ Date Created: 8/30/2001 12:26:35 PM } unit TTSARTALENDTable; interface uses Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf; type TTTSARTALENDRecord = record PArtaLendProfile: String[40]; PTicklerLender: String[4]; End; TTTSARTALENDBuffer = class(TDataBuf) protected ...
unit ItemController; interface uses System.Classes, FireDAC.Comp.Client, FireDAC.Stan.Param, System.Generics.Collections, System.SysUtils, InventoryDM; type TItem = class private FItemId: integer; FItemName: string; FItemDescription: string; published property Ite...
unit View.FrmPrincipal; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Graphics, FMX.Dialogs, FMX.Controls.Presentation, FMX.StdCtrls, uDWAbout, uRESTDWBase, FMX.Objects, FMX.Layouts, FMX.S...
unit tcOperationsList; interface uses l3Interfaces, tcInterfaces, tcItemList ; type TtcOperationsList = class(TtcItemList, ItcOperationsList) protected // ItcOperationsList function pm_GetOperation(Index: Integer): ItcOperation; function ItcOperationsList.Add = ItcOperationsLi...
unit unitMyClasses; interface uses Generics.Collections; type /// <remarks> /// base object for the demo with Interface support as this can then easily /// be used by the children. /// </remarks> TMyBaseObject = class(TInterfacedObject) strict private FID: Integer; public constructor Creat...
unit NoteEditorReg; interface uses DesignEditors, DesignIntf; type TNoteEditorStringsEdit = class(TPropertyEditor) public procedure Edit; override; function GetAttributes: TPropertyAttributes; override; function GetValue: String; override; end; TNotepadPropDbClick = class(TDefaultE...
(* WG_Test: HDO, 1995-09-11; GHO 2010-05-28, HDO 2011 ------- Test program for generating Windows graphics based on unit WinGraph. ==========================================================================*) PROGRAM WG_Test; USES {$IFDEF FPC} Windows, {$ELSE} WinTypes, WinProcs...
unit UnitSimpleBank; {$APPTYPE CONSOLE} interface uses Classes, SysUtils; type IAccount = interface procedure Deposit(anAmount : Currency); procedure WithDraw(anAmount : Currency); function PrintStatement : Integer; function GetAccountName : String; function GetAccountBalance : Currency; en...
unit InputSrch_TLB; { This file contains pascal declarations imported from a type library. This file will be written during each import or refresh of the type library editor. Changes to this file will be discarded during the refresh process. } { InputSrch Library } { Version 1.0 } interface uses Windows, Act...
unit vtHintManager; // Модуль: "w:\common\components\gui\Garant\VT\vtHintManager.pas" // Стереотип: "SimpleClass" // Элемент модели: "TvtHintManager" MUID: (50C6241B0355) {$Include w:\common\components\gui\Garant\VT\vtDefine.inc} interface uses l3IntfUses , l3ProtoObject , l3ObjectList , vtMultilineHint ; type...
// AKTools akDataUtils unit. // Модуль, содержащий функции по работе с различными данными. //============================================================================= unit akDataUtils; interface uses SysUtils, Classes, Windows; // Возвращает порядковый номер элемента массива в котором записано значение ...
unit uMain; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, IPPeerClient, IPPeerServer, System.Tether.Manager, System.Tether.AppProfile, FMX.Controls.Presentation, FMX.ScrollBox, FMX.Memo, System.Acti...
unit Transfer; interface uses CoreTypes; type IEnumNames = IEnumStrings; type IPropertyStorage = interface function GetClass : string; function GetName : string; function SetName(const which : string) : boolean; function GetProperty(const name : string) : string; function Set...
// Copyright (c) 2017 Embarcadero Technologies, Inc. All rights reserved. // // This software is the copyrighted property of Embarcadero Technologies, Inc. // ("Embarcadero") and its licensors. You may only use this software if you // are an authorized licensee of Delphi, C++Builder or RAD Studio // (the "Embarcad...
{ Inno Setup Preprocessor Copyright (C) 2001-2002 Alex Yackimoff $Id: IsppIntf.pas,v 1.2 2009/04/02 14:20:59 mlaan Exp $ } unit IsppIntf; interface type TOptionID = 0..25; TOptions = packed set of TOptionID; PIsppParserOptions = ^TIsppParserOptions; TIsppParserOptions = packed record Options: ...
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Author: François PIETTE Description: A TWSocket that has server functions: it listen to connections an create other TWSocket to handle connection for each client. Creation: Aug 29, 1999 Version: 6.00b EMail: ...
unit uPenerimaanBarang; interface uses uModel, uSupplier, System.Generics.Collections, System.Classes, System.SysUtils; type TPenerimaanBarangItem = class; TPenerimaanBarang = class(TAppObject) private FCabang: TCabang; FGudang: TGudang; FJenisPembayaran: string; FKeterangan: string; FNoB...
unit Unit1; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) ePath: TEdit; Count: TButton; lbNames: TLabel; Label1: TLabel; Label2: TLabel; lbValues: TLabel; Label3: TLabel; lbFolders: TLabel; Label...
unit DAO.OcorrenciasJornal; interface uses DAO.Base, Generics.Collections, System.Classes, Model.OcorrenciasJornal; type TOcorrenciasJornalDAO = class(TDAO) public function Insert(aOcorrencias: TOcorrenciasJornal): Boolean; function Update(aOcorrencias: TOcorrenciasJornal): Boolean; ...
unit UDemo; interface uses SysUtils, Types, UITypes, Classes, Variants, FMX.TMSXUtil, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.TMSBaseControl, FMX.TMSGridOptions, FMX.TMSGridData, FMX.TMSGrid, FMX.Edit, FMX.TMSGridCell, FMX.TMSCustomGrid, FMX.StdCtrls, IOUtils; type TForm719 = class(TForm) ...
unit AddRouteDestinationRequestUnit; interface uses REST.Json.Types, HttpQueryMemberAttributeUnit, GenericParametersUnit, AddressUnit; type TAddRouteDestinationRequest = class(TGenericParameters) private [JSONMarshalled(False)] [HttpQueryMember('route_id')] FRouteId: String; [JSONName('addre...
unit fmuDump; interface uses // VCL Windows, Forms, Grids, Dialogs, StdCtrls, Buttons, ExtCtrls, Classes, Controls, SysUtils; type { TDeviceRec } TDeviceRec = record Code: Integer; Description: string; end; { TfmDump } TfmDump = class(TForm) Grid: TStringGrid; SaveDialog: TSaveDial...
unit uFormatarTexto; 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.DBCtrls, Vcl.ComCtrls, Vcl.ToolWin, Vcl.Buttons, Vcl.ImgList, uFormatacaoMemo; type TfrmFormatarTexto = cl...
{******************************************************************************* 作者: dmzn@163.com 2011-11-21 描述: 会员列表 *******************************************************************************} unit UFrameNotices; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, F...
{$include lem_directives.inc} unit GameSkillPanel; interface uses Classes, Controls, SysUtils, GR32, GR32_Image, GR32_Layers, { TODO : get rid of UMisc } UMisc, LemStrings, LemTypes, LemDosBmp, LemDosCmp, LemDosStructures, LemCore, LemLevel, LemDosStyle, LemDosGraphicSet,...
unit MapViewerWindow; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, Buttons, LandGenerator, Land; type TLandViewerWin = class(TForm) Panel1: TPanel; OpenBmp: TOpenDialog; OpenClasses: TOpenDialog; LoadBitmap: TSpeedButton; ScrollBox2: TSc...
unit Unit11; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls; type TForm11 = class(TForm) Memo1: TMemo; Button1: TButton; Button2: TButton; Button3: TButton; Button4: TButton...
unit kwIterateSubDecriptorsOnSubPanelEX; {* Перебирает все SubDescriptot на SubPanel, которые *могут быть* отрисованы (!). Т.е. проверка на Visible не производится. Если это нужно, то можно реализвать в скриптах. Формат: [code] @ aWord aLayerID aSubPanel IterateSubDecriptorsOnSubPanelEX [code] aLayerID - слой, в кото...
{ Subroutine SST_REC_VARIANT (DTYPE) * * This function returns TRUE if the record data type in DTYPE contains any * variants (overlays). It is an error if DTYPE is not a record data type. } module sst_REC_VARIANT; define sst_rec_variant; %include 'sst2.ins.pas'; const max_msg_parms = 1; {max...
unit uCRUDDespesas; interface uses FireDAC.Comp.Client, System.SysUtils; type TCrudDespesas = class(TObject) private FConexao : TFDConnection; FQuery : TFDQuery; Fcd_Valor: Double; Fcd_Descricao: String; Fcd_Ano: String; Fcd_Sequencia: Integer; FpoMemTable: TFDMemTa...
unit TestOrderSamplesUnit; interface uses TestFramework, Classes, SysUtils, DateUtils, BaseTestOnlineExamplesUnit, NullableBasicTypesUnit, OrderUnit; type TTestOrderSamples = class(TTestOnlineExamples) private function GetTestOrder: TOrder; published procedure AddNewOrder; procedu...
{ * CGDisplayConfiguration.h * CoreGraphics * * Copyright (c) 2002 Apple Computer, Inc. All rights reserved. * } { Pascal Translation: Peter N Lewis, <peter@stairways.com.au>, August 2005 } { Modified for use with Free Pascal Version 210 Please report any bugs to <gpc@microbizz.nl> } {$mode...
unit UThreadGetNewBlockChainFromClient; interface uses UThread; type { TThreadGetNewBlockChainFromClient } TThreadGetNewBlockChainFromClient = Class(TPCThread) protected procedure BCExecute; override; public Constructor Create; End; implementation uses Classes, UOperationBlock, UNetConnection...
program FindeNaechstePrimzahl (input, output); { Bestimmt die zur Eingabezahl naechstgelegen(n) Primzahl(en) } type tNatZahlPlus = 1..maxint; var EinZahl, d : tNatZahlPlus; gefunden : boolean; function istPrimzahl (p : tNatZahlPlus) : boolean; { liefert true, falls p Primzahl ist, sonst fals...
program TM1638_display_LED; {$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. } { ...
unit ConsGastos; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Cons07, JvBaseDlg, JvProgressDialog, JvBalloonHint, Provider, DB, DBClient, StdActns, DBActns, ActnList, Menus, ImgList, JvAppStorage, JvAppIniStorage, JvComponentBase, JvFormPlacement, JvExStdC...
unit K447393371; {* [Requestlink:447393371] } // Модуль: "w:\archi\source\projects\Archi\Tests\K447393371.pas" // Стереотип: "TestCase" // Элемент модели: "K447393371" MUID: (5162771D0104) // Имя типа: "TK447393371" {$Include w:\archi\source\projects\Archi\arDefine.inc} interface {$If Defined(nsTest) AND Defined(I...
unit uAppconsts; {$mode objfpc}{$H+} interface const vAppName = 'wikihelp'; vRevision = 2; vVersion = 0.5; vProgramname = 'WikiHelp'; vTimeOutYear = 0; vTimeOutMonth = 0; vTimeOutDay = 0; vCopyright = '2007 Christian Ulrich'; vTracker_url = 'mantis....
unit ServerHorse.Controller.Interfaces; interface uses ServerHorse.Model.DAO, ServerHorse.Model.Entity.USERS, ServerHorse.Model.Entity.CUSTOMERS, ServerHorse.Model.Entity.OCCUPATION, ServerHorse.Model.Entity.COUNTRIES, ServerHorse.Model.Entity.STATES, ServerHorse.Model.Entity.CITIES, ServerHorse.Model...
{ Mark Sattolo, 428500, CSI-1100A, prof: Dr. S. Boyd tutorial group DGD-1, TA: Chris Lankester Assignment 4, Question 1 } program ConvertTime (input,output); { This program converts a positive integer giving the time in seconds to three integers representing Hours, Minutes, and Seconds. } { Data Dicti...
unit Plan.DBTools; interface uses 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.SQLite, FireDAC.Phys.SQLiteDef, FireDAC.Stan.ExprFuncs, FireDAC.Stan.Param, FireD...
{ Subroutine SST_DTYPE_NEW_STRING (STR_LEN,DTYPE_P) * * Create a new data type descriptor for a string. Strings are really * arrays of characters. } module sst_DTYPE_NEW_STRING; define sst_dtype_new_string; %include 'sst2.ins.pas'; procedure sst_dtype_new_string ( {create new dtype descriptor for a string...