text stringlengths 14 6.51M |
|---|
program PrimeNumber;
var
y : integer;
procedure IsPrimeNumber(var x: integer);
var
z: integer;
begin {procedure begins}
z:=2;
if (x = 2) then
begin
writeln('you are a prime number since you are 2');
exit;
end;
while x > z do {while loop begins}
begin
if(x mod z = 0) then
begin{if begins}
writeln('Your answ... |
unit uSbZip;
{-----------------------------------------------------------------------------
Unit Name: uSbZip
Author: Salih BAĞCI
Date: 19-Ara-2020
-----------------------------------------------------------------------------}
interface
uses SysUtils, Classes, Controls, Zip, IOUtils ,Types, Masks, StrUtil... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.3.3-11, FILE=ERR03T, ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.9.1-13, FILE=DEV241, CL... |
unit uSampleMapFrame;
interface
{$INCLUDE Defines.inc}
uses
VamLib.Vcl.ZeroFrame,
VamLib.UniqueID,
VamLib.GuiUtils,
VamLib.GuiUtils.ThrottleDebounce,
VamLib.ZeroObject, VamShortMessageOverlay,
Lucidity.Enums,
Menu.GroupVisibility,
Menu.SampleMapContextMenu, Lucidity.GuiStandard,
eePl... |
{
@author(Andrey Zubarev <zamtmn@yandex.ru>)
}
unit uDarkStyleSchemes;
interface
uses
SysUtils,
LCLType,LCLIntf,Graphics,Masks,
LResources,ComCtrls,
uDarkStyleParams,
gmap,gutil;
const
DSColorsTypeName='DARKSTYLECOLORS';
type
TSchemeName=String;
PTSchemeData=^TSchemeData;
TSchemeData=record
... |
unit mainform;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.StdCtrls, Vcl.ComCtrls, Tcpgameserver, Vcl.ExtCtrls, Tcpserver, Data.DB,
ZAbstractRODataset, ZAbstractDataset, ZDataset, ZAbstractConnection,... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.3.9-4, FILE=CONF180, CLAS... |
uses System;
type Greetable = interface
function Name(self: Self): String;
end;
type Person = record
name: String;
end;
function Greetable.Name(self: Person): String
begin
self.name
end;
type Cat = class
end;
function Greetable.Name(self: Cat): String
begin
'kitty'
end;
function Greet[T](t: T) whe... |
unit EditFerramentaOperacao;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Mask, ToolEdit, CurrEdit, Buttons;
type
TUpdateFerramentaEvent=procedure (Sender:TObject;afkFerramenta:Integer;aDescFerramenta:String) of object;
TfmEditFerramen... |
{
* ShellFolderDemoForm.pas
*
* Main form and code for Shell Folders Unit demo program.
*
* $Rev$
* $Date$
*
* Any copyright in this file is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/
}
unit ShellFolderDemoForm;
interface
// Minimum compiler for this project is Del... |
unit CadTrack;
{*************************************************************************}
{* *}
{* Author: Alcindo Schleder *}
{* Copyright: © 2006 by Alcindo Schleder. All rights reserved. ... |
{ **************************************************************************}
{ TAdvGridDropDown components }
{ for Delphi & C++Builder }
{ }
{ writte... |
unit TestJumpingUnit;
interface
uses
DUnitX.TestFramework, classes, SysUtils , JumpingUnit;
type
[TestFixture]
TestJumping = class(TObject)
strict private
aTJumping : TJumping;
public
[Setup]
procedure Setup;
[TearDown]
procedure TearDown;
[Test]
[TestCase('Test Array Lenth 1',''... |
unit frmAdjustmentStockMinus;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs,
// Auto Generate
frmUniTransactionEx, Menus, cxLookAndFeelPainters, cxGraphics, cxStyles,
cxCustomData, cxFilter, cxData, cxDataStorage, cxEdit, DB, cxDBData,
cxCale... |
{ *******************************************************************************
Copyright 2016-2020 Daniele Spinetti
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.or... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.1.6-2, FILE=CONF012, CLASS=... |
unit ee3AddOn.MadExcept;
interface
type
PMadExceptConfig = ^TMadExceptConfig;
TMadExceptConfig = record
ProductName : string;
DllFileName : string;
VersionInfoEx : string; //This info appended to version number. useful to include DEMO or DEBUG tags etc.
EmailAddress : string; //Where to email erro... |
unit LUX.Lattice.T1;
interface //#################################################################### ■
type //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$【型】
//$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$【レコード】
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.2.2-4, FILE=CONF038, CLAS... |
{ *********************************************************** }
{ * ksTools Library * }
{ * Copyright (c) Sergey Kasandrov 1997, 2010 * }
{ * ----------------------------------------- * }
{ * http://sergworks.wordpress.com/kstools * }... |
unit unitResourceMenus;
interface
uses Windows, Classes, SysUtils, Contnrs, unitResourceDetails, Menus;
type
TMenuResourceDetails = class (TResourceDetails)
private
fHelpID : Integer; // Extended menu's help ID
protected
constructor Create (AParent : TResourceModule; ALangua... |
unit mSpielfeld;
interface
uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Menus, ExtCtrls, StdCtrls, XPMan, mKarte, mKante;
type
TPartnerarray = array of array[0..1] of Integer;
TSpielfeld = class(TImage)
private
Fclickpos:integer;
... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.3.9-15, FILE=DEV230, ... |
Unit NFS_LanguageUnit;
Interface
Function GetNlsString(Section:String;Key:String):String;
Function NlsButton(Button:String):String;
Function NLSDialog(DIalogName:String):Boolean;
Procedure NLSInavlidIPDialog(EntryField:Byte);
Procedure ViewHelp(HelpIndex:Longint);
... |
unit PluginMsBuildactions;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, ActnList, ImgList, makestudio_TLB, ActiveX, AxCtrls, System.Actions;
type
TFormActions = class(TForm, IActionCallback)
ActionList1: TActionList;
ImageList1: TImageList;
ac... |
unit CnfLocalizeFrameLng;
{$mode objfpc}{$H+}
interface
uses
Classes, Forms, Controls, StdCtrls, ExtCtrls, Dialogs,
// Cnf
Storage, FrameSettingsBase, CnfDialogComboBoxItems,
Language, SysUtils;
type
{ TFrameCnfLocalizeLng }
TFrameCnfLocalizeLng = class(TFrameSettingsBase)
ButtonExport: TButton;
... |
unit ufrmDelphiVersions;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Buttons;
type
TfrmDelphiVersions = class(TForm)
lblIntro: TLabel;
lbDefs: TListBox;
pnlBottom: TPanel;
Label2: TLabel;
edtAboutLink: TEdit;
Label3: TLabe... |
UNIT S_ADT;
INTERFACE (* "extern" *)
TYPE
Stack = Pointer;
PROCEDURE Init(VAR s: Stack);
PROCEDURE Push(VAR s: Stack; (*IN*)value: INTEGER);
PROCEDURE Pop(VAR s: Stack; (*OUT*) VAR value: INTEGER);
FUNCTION IsEmpty(s: Stack): BOOLEAN;
PROCEDURE Done(VAR s: Stack);
IMPLEMENTATION
USES
Vec... |
unit Iocp.Queue;
interface
uses
Classes, SyncObjs;
type
{
*** 指针队列 ***
}
TIocpPointerQueue = class
private
FQueue: TList;
protected
function GetCount: Integer; virtual;
public
constructor Create; virtual;
destructor Destroy; override;
function Push(P: Pointer): Boolean; virtual... |
unit CadPedEntr;
{*************************************************************************}
{* *}
{* Author: Alcindo Schleder. *}
{* Copyright: © 2003 by Sistema Processa Ltda. All rights reserved. ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.6.1-1, FILE=DEV155, C... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.2-13, FILE=DEV123, CL... |
unit FileUnit;
{
This unit provides the TExplorer class, which is a descendant
of TWorker. This class is capable of various filesystem related
operations, such as downloading, uploading, listing, and
opening files.
}
interface
uses
System.SysUtils, System.Classes,
IOUtils,
Basics, CommandUnit;
type
... |
unit Dao.DataSet;
interface
uses
Data.DB, System.Rtti, System.SysUtils, Dao.IDataSet, Model.Atributos.Funcoes,
System.StrUtils;
type
TDaoDataSet<T: class> = class(TInterfacedObject, IDaoDataSet<T>)
private
function TValueFromField(const aField: TField): TValue;
public
function DataSetToObject(ds: ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.5.3.2-4, FILE=IMDEFB22,... |
unit c_questdlg;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, ExtCtrls, StdCtrls,
crDefs;
type
{ TFrmQuestionDlg }
TFrmQuestionDlg = class(TFrame)
BtnYes: TPanel;
BtnNo: TPanel;
LbMessage: TLabel;
PnContent: TPanel;
PnTitle: TPanel... |
//////////////////////////////////////////////////////////////
// implish: an imperative meta-programming language.
//
// Copyright 2013 Michal J Wallace <http://tangentstorm.com/>
// Avaliable to the public for use under the MIT/X11 License.
//////////////////////////////////////////////////////////////
{$mode objfpc}... |
unit unt_TSQLTreeNode;
interface
uses
unt_ISQLTreeNode, DGL_SQLTreeList,
Classes, Contnrs;
type
TSQLTreeNode = class(TSQLTreeNodeAbst)
protected
F_Text: string;
F_Type: ESQLNodeType;
F_Keyword: ESQLNodeKeyword;
F_AliasName: string;
F_IsCurrent: Boolean; //是否当前光标所在的Token
F_Path: strin... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.3.1-1, FILE=CONF049, CLAS... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.1.2-9, FILE=DEV006, CLA... |
unit uDataDetail;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Db, DBTables, Grids, DBGrids, ExtCtrls, GradPanel, Variants, comobj,
Buttons, DBClient, DBGrid1, StdCtrls;
type
TfDataDetail = class(TForm)
GradPanel1: TGradPanel;
DataSource1: TDataSource;
... |
unit frmMainMenu;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, frmUniMainMenu, XPStyleActnCtrls, ActnMan, ActnList, Menus, AppEvnts,
ExtCtrls, ComCtrls, DB, ADODB, cxGraphics, dxSkinsCore, dxSkinBlack,
dxSkinBlue, dxSkinCaramel, dxSkinCoffee, dxSki... |
unit Model.ProSu.Interfaces;
interface
uses
System.Generics.Collections,
Model.ProSu.InterfaceActions;
type
INotificationClass = interface
['{6CCACF62-760C-42F1-BF68-96F47CE62A14}'] // Press Ctrl+Shift+G to generate it
end;
TUpdateSubscriberMethod = procedure (const notifyClass: INotificationClass) of... |
unit u2ParamIO;
interface
Uses
SysUtils, Classes;
Type
Tu2ParamIO = class
private
FFileName : String;
protected
procedure InitialVars;
class Function DefParamName: String; virtual;
class Function EncodeString(ASrc: String): String; virtual;
class Function DecodeString... |
unit server;
{
Bridge TCP server pro komunikaci s panely, ktere daemonovi davaji lokomotivy
k rizeni.
}
interface
uses SysUtils, IdTCPServer, IdTCPConnection, IdGlobal, SyncObjs,
Classes, StrUtils, tUltimateLIConst, Graphics, Windows,
IdContext, ComCtrls, IdSync, Generics.Collections;
const
_BRIDGE_DEFAU... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.1-9, FILE=DEV116, CLA... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.1.5-3, FILE=DEV008, CLA... |
{ ******************************************************************
Random number generators
****************************************************************** }
unit urandom;
interface
uses
uConstants;
{ ------------------------------------------------------------------
Random number generator... |
unit DetailDataForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.StdCtrls,
Datasnap.DBClient, Vcl.Grids, Vcl.DBGrids, Vcl.ExtCtrls,DetailBPModel;
type
TTDetailDataForm = class(TForm)
Pan... |
unit uUtlCrypto;
interface
uses IdHashMessageDigest;
function MD5(const texto: string): string;
implementation
/// REF: https://gmdasilva.blogspot.com/2018/01/delphi-criptografia-md5.html
function MD5(const texto: string): string;
var
md5: TIdHashMessageDigest5;
begin
md5 := TIdHashMessageDigest5.Create;
try... |
unit UCL.QuickButton;
interface
uses
Classes,
Types,
Messages,
Controls,
Graphics,
Forms,
UCL.Classes,
UCL.Types,
UCL.Utils,
UCL.Graphics,
UCL.Colors;
type
TUQuickButtonStyle = (qbsNone, qbsQuit, qbsMax, qbsMin, qbsSysButton, qbsHighlight);
TUQuickButton = class(TUGrap... |
unit ConstMessage;
interface
Const
C_Mess_License = 'Програмата не е лицензирана!';
C_Mess_Portfeil_Date = 'В портфейла имате инвестиция, която е направена след ';
C_Mess_NotValue = 'Въведете стойност.';
C_Mess_NotNull = 'Не може да въвеждате стойности по-малки или равни на 0.';
C_Mess_SaveC... |
unit Utils.Funcoes;
interface
uses
{$IFDEF MSWINDOWS}
Winapi.Windows,
Winapi.ImageHlp,
Winapi.ShellAPI,
{$IFEND}
System.StrUtils,
System.SysUtils,
System.IOUtils,
System.Classes,
System.TypInfo,
System.Generics.Defaults,
IdHashMessageDigest, System.Variants;
type
TStrArray = array of string;
... |
unit backgroundTask;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls, ExtCtrls, PDJ_XPCS, PDJ_XPPB,
mxCustomControl, mxOutlookPanel, Grids_ts, TSGrid, objects,
PDJ_XPB;
type
TbackgroundTaskDlg = class(TForm)
ProgressBar1:... |
unit eeFiltersRBJ;
interface
type
TRbjFilter = class
private
fFreq:double;
fQ:double;
fGain:double;
fBandWidth: double;
protected
f0:double; //The significant frequency
Fs: integer;
a0,a1,a2:double;
b0,b1,b2:double;
b0a0:double;
b1a0:double;
b2a0:dou... |
unit eeSimpleLog;
{$INCLUDE Defines.inc}
{$IFNDEF SimpleLog}
// Turn off hints if we're not using the simple log class.
// Leaving hints on when we disable SimpleLog will cause a few
// "variable not used" hints.
{$HINTS OFF}
{$ENDIF}
interface
type
TSimpleLog = class
public
class pr... |
unit AggSplineControl;
////////////////////////////////////////////////////////////////////////////////
// //
// Anti-Grain Geometry (modernized Pascal fork, aka 'AggPasMod') //
// Maintained by Christian-W. Budde (Christia... |
uses
SysUtils, FastGraph, Crt;
const
_HEIGHT = 32;
var
// Colors for players
p0Color : array[0..3] of byte = (29, 29, 29, 29);
p1Color : array[0..3] of byte = (29, 29, 29, 29);
// Player 0 data
p0Frame1 : array[0.._HEIGHT - 1] of byte =
($00, $00, $00, $00, $00, $00, $00, $00, $7, $1F, $3E, $7C, $7E,... |
unit ToDoBO;
interface
uses
dorm.Mappings,
MVCFramework.Commons,
system.Rtti,
dorm.ObjectStatus,
system.SysUtils,
ObjectsMappers,
Generics.Collections;
type
TBaseBO = class abstract
private
FObjVersion: Int64;
FID : Integer;
FObjStatus : TdormObjectStatus;
... |
unit uDBCreate;
interface
uses
System.SysUtils, System.Classes;
type
TdmDBCreate = class(TDataModule)
private
{ Private declarations }
public
Function AlterTB_ACCESSEVENT_CARDTYPE_ADD : Boolean;
public
{ Public declarations }
Function CreateTB_ACCESSEVENT:Boolean;
Function CreateTB_ACCE... |
unit uServiceMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.SvcMgr, Vcl.Dialogs, IdTCPConnection,
IdTCPClient, IdHTTP, Vcl.ExtCtrls, IdBaseComponent, IdComponent,
IdCustomTCPServer, IdCustomHTTPServer, IdHTTPServer, IdContext, IDURI,
Id... |
unit frmMainMenu;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, frmUniMainMenu, Menus, AppEvnts, ExtCtrls, ComCtrls;
type
TfmMainMenu = class(TFormUniMainMenu)
mnuSupplierCustomer: TMenuItem;
mnuCategory: TMenuItem;
mnuVendor: TMenuIt... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.2.3-6, FILE=DEV058, C... |
{**************************************************************************}
{ TAdvListBox component }
{ for Delphi & C++Builder }
{ }
{ Copyright ... |
{
Double Commander
-------------------------------------------------------------------------
Dark mode support unit (Windows 10 + Qt5).
Copyright (C) 2019-2021 Richard Yu
Copyright (C) 2019-2022 Alexander Koblov (alexx2000@mail.ru)
Permission is hereby granted, free of charge, to any person obtaining a co... |
{
X11 PCF bitmap fonts
}
{$MODE OBJFPC}
{$H+}
{$INLINE ON}
unit fi_pcf;
interface
uses
fi_common,
fi_info_reader,
fi_bdf,
classes,
math,
streamex,
sysutils;
implementation
const
PCF_FILE_VERSION = $70636601; // '\1pcf'
PCF_PROPERTIES = 1 shl 0;
PCF_FORMAT_MASK = $FFFFFF00;
PCF_BYTE_MASK... |
unit SCUTUM.Connection.Generic.FireDac;
interface
uses
SCUTUM.Connection.Abstract,
uADCompClient,
Data.DB,
System.Classes;
type
TSCUTUMConnectionGenericFireDac = class(TInterfacedObject ,ISCUTUMConnection)
protected
FConnection : TADConnection;
FDatabase : String;
FUsername : String;
FPas... |
unit eeParSmoother;
interface
type
PParSmootherState = ^TParSmootherState;
TParSmootherState = record
public
// TODO:MED There are lots of state storage variables here. Need to consolidate these variables.
z1A : double;
z2A : double;
z1B : double;
z2B : double;
In0, In1, In2, Out1, Out2 ... |
object PropertyDlg: TPropertyDlg
Left = 282
Top = 128
ActiveControl = Cancel
BorderIcons = [biSystemMenu]
BorderStyle = bsSingle
Caption = 'Registry Date/Time'
ClientHeight = 447
ClientWidth = 376
Color = clBtnFace
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -... |
unit DokanThread;
{
Copyright (c) 2008, Shinya Okano<xxshss@yahoo.co.jp>
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, thi... |
unit FileManager.Providers.FileServer;
interface
uses
Vcl.Controls, Data.DB, FileManager.Providers.Frames.Arquivo, FileManager.Providers.Frames.Pasta, System.StrUtils,
System.SysUtils, FileManager.Providers.Controllers.FileManager, FileManager.Providers.Response.Handler.Default,
FileManager.Providers.Response.I... |
unit ICO_Patch;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, XPMan, jpeg, ComCtrls, ActnList, ICO_DF,
PFolderDialog, ShellAPI, Errors, IPS_Patch, Readme, Instruction, ExtCtrls;
type
TMainForm = class(TForm)
MainImage: TImage;
GroupBox1: ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.6-10, FILE=ERR08T, CL... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO do cabeçalho da NF2.
The MIT License
Copyright: Copyright (C) 2010 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files... |
unit Types.Nullable;
interface
uses
Classes, SysUtils, System.Rtti, System.TypInfo;
type
TNullable<T> = record
private
FHasValue: Boolean;
FValue: T;
function GetValue: T;
procedure SetValue(AValue: T);
public
procedure Clear;
property Value: T read GetValue write SetValue;
class... |
unit uModel3D;
{ Unit umemory : 3D modeling Unit
adapted for tpmath by : Alex Vergara Gil
Contains the routines for modeling 3D object
adapted for tpmath from 3DEngine:
3D rendering engine source code for delphi
Written by Peter Bone
http://www.geocities.com/peter_bone_uk
12 / 5 / ... |
unit CsvOutput;
interface
uses
MySQLAccessor, CsvOpUtils;
type TCsvOutput = class
private
Accessor: TMySQLAccessor;
Utils: TCsvOpUtils;
procedure MakeOutfile(DestFile, TableName: string);
procedure InsertHeader(DestFile, Header: string);
function GetHeader(TableName: string): string;
functi... |
unit GameLogic;
uses w3system, GameEntities, w3components, W3Graphics;
type
TGameMode = (gmUninitialized, gmMenu, gmPlaying, gmInterlude);
const
cBonusDivider = 5;
type
TGameLogic = class
FScale : Float;
FOffsetX, FWidth, FHeight : Integer;
FMissileBoomRadius : Float;
... |
unit AdvSmoothTileListImageVisualizer;
{$I TMSDEFS.INC}
interface
uses
Classes, Graphics, AdvGDIP, AdvSmoothTileList, GDIPFill;
type
{$IFDEF DELPHIXE2_LVL}
[ComponentPlatformsAttribute(pidWin32 or pidWin64)]
{$ENDIF}
TAdvSmoothTileListImageVisualizer = class(TAdvSmoothTileListVisualizer)
public
proc... |
{**************************************************************************************************}
{ 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 h... |
UNIT VectorOOP;
INTERFACE
CONST
MaxSize = 5;
TYPE
Vector = OBJECT
// initialisiert den Vektor
PROCEDURE Init;
// fügt den Wert val „hinten“ an.
PROCEDURE Add(val: INTEGER);
// Fügt den Wert val an der Stelle pos ein, wobei die Werte ab dieser Stelle nach hin... |
{*******************************************************}
{ }
{ 创建日期: 2008-07-17 }
{ 作 者: 汤岳松 }
{ 描 述: 封装了数据库的一些操作 }
{ ... |
unit uRmService;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
IdBaseComponent, IdComponent, IdCustomTCPServer, IdCustomHTTPServer,
IdHTTPServer, IniFiles, IdContext, uLogger, HTTPApp, uTmriType, uRmweb,
... |
unit frmCardEntry;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs,
//Auto Create
Menus, cxLookAndFeelPainters, cxGraphics, ActnList, cxMaskEdit,
cxDropDownEdit, cxLookupEdit, cxDBLookupEdit, cxDBExtLookupComboBox,
cxCurrencyEdit, cxControls, c... |
{ **************************************************************************** }
{ AsyncBeep.pas Copyright © 2001 DithoSoft Software Solutions }
{ Version 1.0 http://www.dithosoft.de }
{ support@dithosof... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.2.3-2, FILE=CONF044, CLAS... |
{==============================================================================|
| Project : Delphree - Synapse | 001.000.000 |
|==============================================================================|
| Content: NNTP client ... |
unit VamLib.Wine;
interface
// How to get Wine version.
// https://www.winehq.org/pipermail/wine-devel/2008-September/069387.html
function IsRunningUnderWine:boolean;
implementation
uses
SysUtils, Windows;
function IsRunningUnderWine:boolean;
var
H: cardinal;
begin
result := false;
try
H := SysUtils.S... |
unit Product;
interface
uses
System.Classes;
type
OutputProc = procedure(s:string) of object;
TProduct = class(TPersistent)
private
FOutput : OutputProc;
public
procedure Use(s:string);virtual;abstract;
function CreateClone:TProduct;virtual;abstract;
property
Output : Out... |
{
MIT License
Copyright (c) 2017-2018 Marcos Douglas B. Santos
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, cop... |
unit FarScape.Assistant.AlignControls;
interface
uses
FarScape.CustomControl;
type
ControlAlignmentAssistant = record
private
class procedure AlignToTop(const ContainerControl, PrevControl, TargetControl : TFarScapeControl); static;
class procedure AlignToBottom(const ContainerControl, PrevControl, Tar... |
unit ufrmDbConnect;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Registry,
uThiDB, uDbProvideArrr;
type
TfrmDbConnect = class(TFrame)
lblDatabase: TLabel;
lblPort: TLabel;
lblPro... |
unit Lucidity.Enums;
interface
uses
eeEnumHelper;
//==== Filter Types ====
{$SCOPEDENUMS OFF}
type
TFilterType = (
ftNone,
ftLofiA, ftRingModA, ftCombA,
ft2PoleLowPass,
ft2PoleBandPass,
ft2PoleHighPass,
ft4PoleLowPass,
ft4PoleBandPass,
ft4PoleHighPass
);
TFilterTypeHelper = ... |
{==============================================================================|
| Project : Delphree - Synapse | 001.001.001 |
|==============================================================================|
| Content: DNS client ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.1.3-9, FILE=EXTEND9, CL... |
unit DFe.Interf;
interface
type
{ * "Factory Method" é um padrão criacional que possui um unico metodo para a criacao de varios
* diferentes que implementam a mesma interface.
* }
TDFe = (dfeNotaFiscalEletronica, dfeNotaConsumidorEletronica,
dfeConhecimentoTransporteEletronico);
IDFe = interface
... |
unit ufrmObs;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ufrmBase, Vcl.StdCtrls, Vcl.Touch.Keyboard,
Vcl.Grids, Vcl.DBGrids, Data.DB, Datasnap.DBClient, Vcl.ExtCtrls,
System.Actions, Vcl.ActnList;
type
... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.7-1, FILE=LEV1F06, ... |
PROGRAM People;
TYPE
Address = OBJECT
PROCEDURE Init(street, zipCode, city: STRING);
PROCEDURE Done;
FUNCTION GetStreet: STRING;
PROCEDURE SetStreet(value: STRING);
FUNCTION GetZipCode: STRING;
FUNCTION GetCity: STRING;
FUNCTION G... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.