text
stringlengths
14
6.51M
unit FloatHlp; //////////////////////////////////////////////////////////////////////////////// // // Author: Jaap Baak // https://github.com/transportmodelling/Utils // //////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////...
{******************************************************************************} { } { Borland Delphi SMPEG - SDL MPEG Player Library } { Conversion of the SMPEG - SDL MPEG Player Library ...
unit Student; interface uses Human; type TStudent = class(THuman) private group: integer; mark: real; public constructor init(n: string; a, g: integer; m: real); Function get_group(): integer; Function get_mark(): real; procedure print(); override; end; implementation Constructor TStudent.Init(n: string...
unit NGDRDataPoster; interface uses DBGate, BaseObjects, PersistentObjects; type TNGDRRegionDataPoster = class(TImplementedDataPoster) public function GetFromDB(AFilter: string; AObjects: TIdObjects): integer; override; function PostToDB(AObject: TIDObject; ACollection: TIDObjects): integer; overrid...
(************************************* Ext2D Engine *************************************) (* Модуль : E2DVars.pas *) (* Автор : Есин Владимир *) (* Создан : 04.06.06 ...
namespace Moshine.Foundation.Tests; uses Moshine.Foundation.Web; type PostModel = public class public property Origin:String; property Url:String; end; ProxyForTests = public class(WebProxy) private property Url:String read begin exit 'https://httpbin.org'; end; pub...
{*******************************************************} { Copyright(c) Lindemberg Cortez. } { All rights reserved } { https://github.com/LinlindembergCz } { Since 01/01/2019 } {******************************************...
unit uClearingContext; interface uses Classes; type TClearingContext = class(TPersistent) protected fAgentFee: double; fAgentFeeCurrency: String; fAmount: double; fClearingRef: String; fCurrency: String; fTotalFee: double; fTotalFeeCurrency: String; published property AgentFee:...
PROGRAM Decryption(INPUT, OUTPUT); {Переводит символы из INPUT в код согласно Chiper и печатает новые символы в OUTPUT} CONST Len = 20; TYPE Str = ARRAY [1 .. Len] OF 'A' .. 'Z'; Chiper = ARRAY ['A' .. 'Z'] OF CHAR; VAR Msg: Str; Code: Chiper; StrLen: 1..Len; I: 0..Len; ChiperFile: TEXT; Error, Inv...
unit oca.game; interface uses oca.space, oca.movements, oca.modifiers; CONST GAMEFILESNAME = 'ocasaves'; GAMEFILESMVMT = 'ocamoves'; GAMEFILESRULE = 'ocarules'; GAMEFILESPATH = 'games/'; const NMBSPACES = 63; type tOcaCellInfo = record cellNmb : integer; ...
namespace Sugar.Test; interface uses Sugar, Sugar.TestFramework; type BasePrinter = public abstract class protected method PrintTest(Item: TestResult); virtual; abstract; method PrintTestcase(Item: TestcaseResult); virtual; abstract; method PrintTestcases(anItems: List<TestcaseResul...
unit UntPlayback; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, RzLabel, RzButton, RzCmboBx, RzRadChk, Buttons,ComCtrls, PngSpeedButton, ExtCtrls, RzEdit, RzTrkBar, RzBorder,menus; type TfrmPlaybackControl = class(TForm) chkRepeate...
unit GameWindow_u; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, ComCtrls, StdCtrls, datModule_u, JPEG, MMSystem, MPlayer; type TGameWindow = class(TForm) tmrLimit: TTimer; imgMain: TImage; prgbTime: TProgressBar; lblScore: TLabel...
unit LoginView; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Security.Sessions.IUserSession; type TfrmLoginView = class(TForm) panelTop: TPanel; lblUsername: TLabel; lblPassword: TLabel; txtUsername: TEdit; ...
program RadioButton; uses App, Objects, Drivers, Views, Menus, Dialogs; const cmAbout = 1001; cmList = 1002; cmPara = 1003; type TMyApp = object(TApplication) procedure InitStatusLine; virtual; procedure InitMenuBar; virtual; procedure HandleEvent(var Event: TEvent); virtual; pr...
unit JWTService; { Copyright (c) 2017+, Health Intersections Pty Ltd (http://www.healthintersections.com.au) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retai...
unit eAudioAlbum; interface uses API_ORM, eAudioTrack, eCommon; type TAlbum = class(TEntity) private FArtistID: Integer; FTitle: string; FTrackRels: TTrackRelList; function GetTrackRels: TTrackRelList; public class function GetStructure: TSructure; override; procedure AddTrack(aTr...
unit LibView; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TfrmLibView = class(TForm) lstFun: TListBox; grbFun: TGroupBox; Button1: TButton; GroupBox1: TGroupBox; memoTotal: TMemo; memoFun: TMemo; procedure F...
{ ID: a_zaky01 PROG: rect1 LANG: PASCAL } type rectangle=record llx,lly,urx,ury,col:integer; end; var n,x0,y0,i:integer; rect:array[0..1000] of rectangle; fin,fout:text; procedure calc(rect0:rectangle; cover:integer); var temp:rectangle; begin while (cover<=n) and ((r...
unit uMain; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, ComCtrls, StdCtrls, uLogin, uCustomTypes, uNetwork, uCrypt, blcksock, uStrUtils, uAlarm, uSaveRestorePositionAndSize; type tSTS = Record sts_name:string; sts_res:bo...
{ VCL Style Vorschau 02/2016 XE10 x64 Test -------------------------------------------------------------------- This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/....
unit Kinect2U; interface uses Windows, Kinect2DLL, Graphics, SysUtils, Classes; type TByteTable = array[0..High(TDepthFrameData)] of Byte; TKinect2 = class(TObject) private ByteTable : TByteTable; FrameRateFrame : Integer; DepthData : PDepthFrameData; IRData : PIRFrameData; ColorDat...
unit USampleClasses; interface uses UBase; type { We use an "M" prefix to indicate "Managed" types. On ARC platforms, all classes are managed, so the "M" prefix is on regular classes. On non-ARC platforms, we use an object interface to enable ARC. So the "M" prefix is applied to the interface. ...
unit TestUnit2; { 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, Unit2, System.Generics.Collection...
unit XLSRWIIResourceStrings; { ******************************************************************************** ******* XLSReadWriteII V1.14 ******* ******* ******* ******* Copyright(C) 1999,2002 Lars Arv...
unit mpglib; interface uses Windows, SysUtils, Classes, uDllfromMem; function FindFrame(buf: PByte; size: Integer): Integer; {$MINENUMSIZE 4} type TMp3Handle = packed record head, tail: Pointer; bsize, framesize, fsizeold: Integer; stereo: Integer; jsbound: Integer; single: In...
(****************************************************************************** * PasVulkan * ****************************************************************************** * Version see PasVulkan.Framework.pas ...
unit xxmProtoParse; interface uses SysUtils, Classes; type TXxmProtoParseTag=( ptProjectName, ptProjectHeader, ptProjectBody, ptFragmentUnit, ptFragmentPath, ptFragmentID, ptIncludeUnit, ptIncludePath, ptProtoFile, ptUsesClause, ptFragmentDefinitions, ...
unit KDBSQLite; { Copyright (c) 2011+, HL7 and Health Intersections Pty Ltd (http://www.healthintersections.com.au) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code mus...
unit PAddenda_PEP; interface uses SysUtils, Forms, XMLDoc, XMLIntf, DateUtils; type TPFAddenda_PEP = class private fAddendaXML: TXMLDocument; fXMLAddenda: IXMLNode; fXMLContrato: IXMLNode; fXMLSurtimiento: IXMLNode; fXMLEstimacion: IXMLNode; fXMLAcreedor: IXMLNode; f...
unit Plus.Vcl.Timer; interface uses System.Classes, System.SysUtils, Vcl.ExtCtrls; type TEventOnFirstShow = class(TComponent) private FOnFirstShow: System.SysUtils.TProc; FTimer: TTimer; procedure OnTimerEvent(Sender: TObject); public constructor Create(Owner: TComponent); override; p...
{ Find and update records with Form Version less than FV_Check. FV_Set is a new value to set. Can be used for any game, but has a meaning only for Skyrim currently. } unit UserScript; const FV_Check = 40; FV_Set = 43; function Process(Rec: IInterface): integer; var fv: integer; begin Result := 0; f...
program NewlineDemo; begin write('First'); writeln('Second'); write('Third'); writeln('Fourth') end.
// Finds the max value of the border of the given 2D array program max_of_the_border; var i, j, n, maximum: integer; arr: array[1 .. 10, 1 .. 10] of integer; begin randomize; n := 10; maximum := 0; for i := 1 to n do begin for j := 1 to n do begin arr[i, j] := random(20) + 1; ...
unit GuiUtils; interface uses StdCtrls, DateUtils, Controls, ADODB, DBFilter; procedure FillMonthCombo(Combo: TComboBox); type TComboFilter = class public constructor Create(Combo: TComboBox; DataSet: TCustomADODataSet; FieldName, FieldId: string); procedure AssignTo(Filter: TFilter);...
unit ucPARAMETRO; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ucCADASTRO, FMTBcd, SqlExpr, Provider, DB, DBClient, Grids, DBGrids, Buttons, ExtCtrls, StdCtrls, ComCtrls, ToolWin, Menus, ucFORM; type TcPARAMETRO = class(TcCADASTRO) procedure FormCreat...
unit JobThread; {$DEFINE WRITELN_JOBTHREAD_EXCEPTION} { $DEFINE WRITELN_DEBUG_JOB_EXECUTION} { $DEFINE WRITELN_DEBUG_JOB_ADDITION} interface uses Classes, SysUtils, SyncObjs, fgl, NiceTypes, NiceExceptions, FPListEnhancer, ThreadEnhancer; type TJobThread = class; IThreadJob = interface ['{40F...
// GLHUDObjects {: GLScene objects that get rendered in 2D coordinates<p> <b>History : </b><font size=-1><ul> <li>21/02/01 - Egg - Now XOpenGL based (multitexture) <li>15/01/01 - EG - Creation </ul></font> } unit GLHUDObjects; interface uses Classes, GLScene, Graphics, Geometry, GLMisc, StdCt...
unit VectorOnSelfTimingTest; {$mode objfpc}{$H+} interface uses Classes, SysUtils, fpcunit, testregistry, BaseTimingTest, native, GLZVectorMath; {$I config.inc} type { TOperationOnSelfTimingTest } TVectorOnSelfTimingTest = class(TVectorBaseTimingTest) published procedure TimepAdd; procedure Timep...
unit ufrmDialogGenerateVoucher; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ufrmMasterDialog, ufraFooterDialog2Button, ExtCtrls, SUIForm, StdCtrls, JvEdit, Mask, JvToolEdit, JclStrings, JvExStdCtrls, JvValidateEdit, JvExMask; type TfrmDialogGenerateVou...
unit uTelaPrincipal; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, uConn, Vcl.Menus, Vcl.Buttons, Vcl.ExtCtrls, Vcl.ToolWin, Vcl.ComCtrls, uClasseMovimentacao, IBX.IBDatabase, IBX.IBScript, Da...
unit tpConsol; {Write/Writeln capable Text Output Console component} (* Permission is hereby granted, on 10-May-2003, free of charge, to any person obtaining a copy of this file (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publ...
unit UCL.TUSymbolButton; interface uses UCL.Classes, UCL.SystemSettings, UCL.TUThemeManager, Winapi.Messages, System.Classes, System.Types, VCL.Controls, VCL.Graphics; type TUSymbolButton = class(TGraphicControl, IUThemeControl) const DefBackColor: TDefColor = ( ($00E6E6E6,...
unit UfrmMemoDlg; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, UUtils, ComCtrls; type TButtonArray = array of TButton; TfrmMemoDlg = class(TForm) pnlHeaderMessage: TPanel; pnlButtons: TPanel; btnYes: TButton; btnNo: TB...
{$MODE OBJFPC} { -*- delphi -*- } {$INCLUDE settings.inc} unit entities; interface uses unicode; type TNamedCharacterReferenceParserResult = (ncOngoing, ncOngoingButBookmark, // implies that a bookmark should be taken in case of ncFinishedMissingSemicolon ...
(* Libray for building html pages Copyright (C) 2014 Costas Velissariou velissariouc@gmail.com See the file LICENSE.txt, included in this distribution, for details about the copyright. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the i...
unit CBSDBCtrls; interface uses Variants, Windows, SysUtils, Messages, Controls, Forms, Classes, Graphics, Menus, StdCtrls, ExtCtrls, Mask, Buttons, ComCtrls, DB, DBCtrls; type { TDBCheckBox } TMyDBCheckBox = class(TCustomCheckBox) private FDataLink: TFieldDataLink; FValueCheck: string; FV...
// "WinMouse Unit", Copyright (c) 2003-2010 by Stefan Berinde // Version: as WinGraph unit // // Source code: Free Pascal 2.4 (http://www.freepascal.org) & // Delphi 7 // // Unit dependences: // windows (standard) // messages (standard, only for Delphi) // wingraph // unit winmouse; ...
function is_op(c:char):boolean; begin exit(pos(c, '+/*0')>0); end; function evalop(c:char; i,j:integer):integer; begin case c of '+': exit(i+j); '-': exit(i-j); '*': exit(i*j); '/': exit(i div j); end; end; // Read a prefix expression and return it's value function eval_prefix():integer; var c:char; i,j:...
{******************************************************************************} { } { EasyIp communication Library } { Custom exceptions unit ...
unit Plus.Vcl.Timer; interface uses System.Classes, System.SysUtils, Vcl.ExtCtrls; type // -------------------------------------------------------------------- // TStoper // * method Reset() // * method IfPassThenReset (TimeToPassMs): boolean; // * property EnlapsedMs: Integer // -----------------...
unit LuaCheatComponent; {$mode delphi} interface uses Classes, SysUtils,lua, lualib, lauxlib, LuaHandler, LuaCaller, ExtCtrls, StdCtrls, ExtraTrainerComponents; procedure initializeLuaCheatComponent; implementation uses LuaClass, LuaWinControl; function cheatcomponent_getActive(L: PLua_State)...
unit hxRecordEditorForm; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ButtonPanel, StdCtrls, ExtCtrls, Spin, hxGlobal, hxViewerItems; type { TRecordEditorForm } TRecordEditorForm = class(TForm) ButtonPanel: TButtonPanel; edName: TEdit; gbCharCount...
unit VisibleDSA.AlgoVisualizer; interface uses System.SysUtils, System.Types, FMX.Graphics, FMX.Forms, System.Generics.Collections, VisibleDSA.AlgoVisHelper, VisibleDSA.Circle; type TAlgoVisualizer = class(TObject) private type TList_TPoint = TList<TPoint>; private _circle: TCircle; ...
unit qdac_fmx_fontex_android; interface implementation uses Classes, Sysutils, Types, FMX.FontGlyphs, System.IOUtils, System.Rtti {$IFDEF MSWINDOWS}, Windows, {$ENDIF} {$IFDEF POSIX} , Posix.SysMMan, Posix.UniStd {$ENDIF} {$IFDEF ANDROID} , Androidapi.Helpers, Androidapi.JNI.JavaTypes, FMX.FontGlyphs.Android, ...
unit LuaListcolumn; {$mode delphi} interface uses Classes, SysUtils, lua, lauxlib, lualib, ComCtrls; procedure initializeLuaListcolumn; implementation uses luahandler, LuaClass, LuaCollectionItem; function listcolumn_getAutosize(L: PLua_State): integer; cdecl; var listcolumn: TListColumn; b...
unit Requests; interface uses Web.HTTPApp , ViewModel ; type THandleRequest = reference to procedure( const AuthToken: string; Response: TWebResponse; var Handled: Boolean; const ViewModel: IViewModel ); THandleWeb = reference to procedure( Const AutoToken : String;Response: TWebResponse; Const ViewModel : IVie...
{ Scale references position relative to (CenterX, CenterY) point by ScaleXY factor. Script must be applied to worldspace. } unit userscript; const CenterX = 28672; // center X point to scale from CenterY = 63424; // center Y point to scale from ScaleXY = 1.25; // scale factor CellSize = 4096; var slCEL...
unit LblCombo; interface Uses SysUtils,StdCtrls,Classes,Buttons,Controls,ExtCtrls,Menus, Messages,SQLCtrls,DBTables,TSQLCls; Type TLabelComboBox=class(TSQLControl) protected BackUp:Integer; procedure WriteCaption(s:string); Function ReadCaption:String; procedure WriteOnChang...
unit Iocp.ObjectPool; interface uses Classes, Types, SysUtils, SyncObjs; type TIocpObject = class protected FOwner: TObject; protected procedure Initialize; virtual; procedure Finalize; virtual; public constructor Create(AOwner: TObject); virtual; property Owner: TObje...
unit Ichdma; interface uses AC97; const {; BUS master registers, accessed via NABMBAR+offset ; ICH supports 3 different types of register sets for three types of things ; it can do, thus: ; ; PCM in (for recording) aka PI ; PCM out (for playback) aka PO ; MIC in (for recording) aka MC} PI_BDBAR_REG = ...
{ Add selected records into existing or new container (CONT record) If you need to add into existing vanilla containers, then copy them as override and set bSamePlugin = False } unit AddIntoContainer; const // when True then container record will be created in the same plugin as selected records // when ...
{ This Highlighter was created from Murad Kakabayev (murYk) <murad_kakabayev@mail.ru> } unit SynHighlighterMPerl; interface {$I SynEdit.inc} {$R-,Q-} // disabled overflow checking (gives AV) uses SysUtils, Windows, Messages, Classes, Controls, Graphics,SynEditTypes, SynEditHighlighter; type TTokenKind = ...
{ ========================================================================= TTBaseプラグインテンプレート(Main.pas) ========================================================================= } unit Main; interface uses Windows, Plugin, SysUtils; const // プラグインの名前(日本語も可能) PLUGIN_NAME = 'Kakuda'; // ロードタイプ // ptLoa...
unit Serialize; interface uses Classes,SysUtils,Windows,TypInfo,Variants,SyncObjs; const FluidizerSignature:LongInt=$3F89572A; type TValueType = (vaNull, vaList, vaInt8, vaInt16, vaInt32, vaExtended, vaString, vaIdent, vaFalse, vaTrue, vaBinary, vaSet, vaLString, vaNil, vaCollection, vaSin...
unit FindInFiles; 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.Mask, JvExMask, JvToolEdit, BCComboBox, JvExStdCtrls, JvCombobox; type TFindInFilesDialog = class(TFor...
(* MIT License Copyright (c) 2018 Ondrej Kelle Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, ...
{******************************************************************************* Title: T2Ti ERP Description: VO relacionado à tabela [NOTA_FISCAL_DETALHE] The MIT License...
{------------------------------------ 功能说明:Test2包导出的菜单 创建日期:2010.04.23 作者:WZW 版权:WZW -------------------------------------} unit Test2Plugin; interface uses SysUtils, Classes, Graphics, MainFormIntf, MenuRegIntf, uTangramModule, SysModule, RegIntf; type TTest2Plugin = class(TModule) priv...
unit smuSistema; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, smuBasico, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, ...
unit LicenseInformFrame; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, LicenseZone, Facade, StdCtrls, LicenseZonePoster; type TfrmLicenseInform = class(TFrame) grpInform: TGroupBox; mmLicenseName: TMemo; lblLicenseName: TLabel; lblOrgName: TL...
unit menustructure; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, CategoryButtons, ToolWin, ActnMan, ActnCtrls, PlatformDefaultStyleActnCtrls, ActnList, ComCtrls, ActnMenus, ImgList, Generics.Collections; type TMenuStructureItem = class (TObject) privat...
(* $Id: udf_header.pas 1812 2009-01-16 10:11:51Z Smike $ * * MDS User Define Functions * * Copyright (c) 2006 Dmitriy Kovalenko (runningmaster@gmail.com) * and all contributors signed below. * * All Rights Reserved. * Contributor(s): ______________________________________. * *) unit udf_header; interface uses udf...
unit ZipCore; interface uses ZLib,Classes,Windows,SysUtils,Controls,ComCtrls,forms,ZipMessages; type TCompLevel = (clNone, clFastest, clDefault, clMax); Function CreateArchive(Files:TStringList;DominantDir:String;Level:TCompLevel;Comment:String; PassWord:String;PassProtect:Boolean;A...
unit UxlDialog; // 在资源编辑器中创建的Dialog资源建议一律去除 WS_VISIBLE,由 TxlDialogSuper 来决定其 visible,否则会有闪烁 interface uses Windows, Messages, UxlWinControl, UxlClasses, UxlStrUtils, UxlFunctions, UxlList; type TDialogPos = (dpParentCenter, dpScreenCenter); TxlDialogSuper = class (TxlWinContainer) private F...
unit U_FrmCadToken; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, ComCtrls; type TFrmCadToken = class(TForm) EdtCaixa: TEdit; LblCaixa: TLabel; BtnFechar: TBitBtn; LblTokenIni: TLabel; EdtTokenIni: TEdit; ...
unit TextEditor.Selection.Colors; interface uses System.Classes, System.UITypes, TextEditor.Consts; type TTextEditorSelectionColors = class(TPersistent) strict private FBackground: TColor; FForeground: TColor; public constructor Create; procedure Assign(ASource: TPersistent); override; pub...
unit Frm.Cliente; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Dm.Database, Dm.Cadastro.Geral, Dm.Cadastro.Localizacao, Vcl.Grids, Vcl.DBGrids, Vcl.StdCtrls, Vcl.DBCtrls, Vcl.Mask, Vcl.ExtCtrls; ...
unit Work; interface uses Registrator, Classes, BaseObjects; type TWork = class; TWorks = class; TWork = class (TRegisteredIDObject) protected procedure AssignTo(Dest: TPersistent); override; public constructor Create(ACollection: TIDObjects); override; end; TWorks = class (TRegisteredIDOb...
unit FileBuff; {$DEFINE _NDEBUG} { Project "Opnek Libraries" Copyright © 1995 Opnek Research. All Rights Reserved. SUBSYSTEM: Opnek Standard Libraries TEST STUB: Test stub included FILE: FileBuff.Pas AUTHOR: Jay Cole WRITTEN: 05/10/95 LAST ASSERT: 19 <- Un...
// ---------------------------------------------------------------------------- // Unit : PxSettings - a part of PxLib // Author : Matthias Hryniszak // Date : 2004-10-10 // Version : 1.0 // Description ; Definition of file name to store settings // Changes log ; 2004-10-10 - Initial versio...
unit FExercicio3_Pessoas; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, FExercicio_Base, StdCtrls, ExtCtrls, FMTBcd, DB, uBanco, DBCtrls, SqlExpr, DBClient, Provider, Mask; type TFormExercicio3_Pessoas = class(TFormExercicio_base) grpCadastro: TGroupBo...
{******************************************************************************* Title: T2Ti ERP Description: VO relacionado à tabela [ECF_FUNCIONARIO] The MIT License ...
unit RegisterClientDialogFMX; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls, FMX.Controls.Presentation, FMX.ScrollBox, FMX.Memo, FMX.Edit, IdHttp, IdSSLOpenSSL, AdvJson, JWT, Smar...
unit TabOrderForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, LayoutManager, StdCtrls, Buttons, ExtCtrls, ComCtrls, CommCtrl, ActnList; type TTabOrderForm = class(TForm) pnlBottom: TPanel; pnlClient: TPanel; btbtCancel: TButton;...
unit dbebr.connection.zeos; interface uses DB, Classes, ZConnection, dbebr.connection.base, ormbr.factory.zeos, ormbr.factory.interfaces; type {$IF CompilerVersion > 23} [ComponentPlatformsAttribute(pidWin32 or pidWin64 or pidOSX32 or ...
unit symbolsync; {$mode ObjFPC}{$H+} //xml format: //<symbols> // <process pid:int name: string> // <symbol name: string address: integer donotsave: boolean size: integer></symbol> // <symbol name: string address: integer donotsave: boolean size: integer></symbol> // .... // <symbollist name: string uniq...
unit uMainForm; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls, FMX.Edit, FMX.ListBox, FMX.Controls.Presentation, FMX.ScrollBox, FMX.Memo, System.Threading, System.Bluetooth; type T...
unit Unit1; interface procedure compileRC(const pathin, mask, pathout, fileout:string); implementation uses sysutils, jclfileutils, classes, windows, forms, messages; //------------------------------------------------------------------------------ function cleanRSName(const s:string):string; var i...
{ ID: a_zaky01 PROG: latin LANG: PASCAL } const fact:array[0..7] of int64 = (1,1,2,6,24,120,720,5040); var n,i:integer; ans:int64; row,col:array[1..7,1..7] of boolean; label closefile; procedure find(r,c:integer); var k:integer; temp,temp1:int64; permut:boolean; begin c:=(c mod n)+1...
unit SourceComplexityCalculator; interface uses {$IFDEF VER130} Windows, {$ELSE} Types, {$ENDIF} Classes, SysUtils, ParseTreeNode, ParseTreeNodeType, SourceToken, Tokens, PascalParser; type TSourceComplexityCalculator = class (TObject) private FRoot: TParseTreeNode; FFunctions...
(* PROGRAM: Labyrinth with recursive backtrack * FILE NAME: LABYR.PAS * AUTHOR: László Kővári * LAST UPDATE: 1991.07.25. * COPYRIGHT: Copyright (C) 1991 by László Kővári #364121033 * DESCRIPTION: A program véletlenszerű pontokból 4 irányba irányitott fákat rajzo...
{ Example for SetRGBPalette with VGA 16 color modes } uses Graph, CRT; type RGBRec = record RedVal, GreenVal, BlueVal : Integer; { Intensity values (values from 0 to 63) } Name: String; ColorNum: Integer; { The VGA color palette number as mapped into 16 color palette } end; const { Table o...
{..............................................................................} { } { Summary This script can be used to scale selected PCB Objects. } { ...
unit mORMotInterface; interface uses gSynCommons, gmORMot; type TRemoteSQLEngine = (rseOleDB, rseODBC, rseOracle, rseSQlite3, rseJet, rseMSSQL); IRemoteSQL = interface(IInvokable) ['{9A60C8ED-CEB2-4E09-87D4-4A16F496E5FE}'] procedure Connect(aEngine: TRemoteSQLEngine; const aServerName, aDatabaseName...
unit Aurelius.Id.IdentifierGenerator; {$I Aurelius.Inc} interface uses Aurelius.Id.AbstractGenerator, Aurelius.Mapping.Explorer, Aurelius.SQL.Interfaces; type TIdentifierGenerator = class abstract(TAbstractGenerator) strict private FExplorer: TMappingExplorer; FSQLGenerator: ISQLGener...
{********************************************************} { } { Zeos Database Objects } { Unidatabase UpdateSql component } { } { Copyright (c...
unit UxlPanel; interface uses Windows, UxlWinControl, UxlTabControl, UxlList, UxlClasses, UxlDialog; type TxlCustomControl = class (TxlControl) private public function IsUserClass (): boolean; override; end; TxlPanel = class (TxlCustomControl) protected function DoCreateControl (H...
//****************************************************// // // // Delphi Software Online // // internetes hetilap példaprogram // // http://www.SoftwareOnline.hu // // ...
unit HistoryEdit; interface uses System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, SynEdit, Vcl.ExtCtrls, BCDialogs.Dlg, SynEditHighlighter, SynHighlighterSQL, Vcl.ComCtrls, BCControls.Edit; type THistoryEditDialog = class(TDialog) BottomPanel: TPa...