text stringlengths 14 6.51M |
|---|
unit UDictionary;
interface
uses Windows, UxlStrUtils, UxlMath, UxlFunctions, UxlClasses, UxlList, UxlExtClasses, UxlWindow, UxlMiscCtrls, UxlWinClasses;
type
TDictOptions = record
AllDictList: widestring;
SelDictList: widestring;
MultiDict: boolean;
DebugMode: boolean;
end;... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [ADM_PARAMETRO]
The MIT License ... |
program ProgramName;
uses TerminalUserInput;
type
Genre = (Pop, Rock, Classical);
Album = record
artistName: string;
albumGenre: Genre;
folderLocation: string;
yearReleased: integer;
end;
function ReadGenre(choice: Integer): Genre;
begin
case choice of
1: result := Pop;
2: result := Rock;
3: r... |
unit SeisProfilePoster;
interface
uses PersistentObjects, DBGate, BaseObjects, DB, SeisProfile, SeisMaterial;
type
TSeismicProfileTypeDataPoster = class(TImplementedDataPoster)
public
function GetFromDB(AFilter: string; AObjects: TIdObjects): integer; override;
function PostToDB(AObject: TIDObject; AColle... |
{*******************************************************}
{ }
{ DataModelSearchCondition.pas
{ Copyright @2014/5/15 10:33:18 by 姜梁
{ }
{ 功能描述:文件搜索条件判断类
{ 函数说明:
{*********************************... |
{------------------------------------
功能说明:实现ILog接口
创建日期:2008/11/21
作者:wzw
版权:wzw
-------------------------------------}
unit uLog;
interface
uses
SysUtils,
DateUtils,
LogIntf,
SvcInfoIntf;
type
TLogObj = class(TInterfacedObject, ILog, ISvcInfo)
private
procedure WriteToFile(const Msg: strin... |
{ Function STRING_SIZE (LEN)
*
* Returns the amount of memory needed to hold a var string with LEN characters
* in it.
}
module string_SIZE;
define string_size;
%include 'string2.ins.pas';
function string_size ( {return memory size of a var string}
in len: string_index_t) {length o... |
unit fLote_Muda;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics,
cxControls, cxLookAndFeels, cxLookAndFeelPainters, dxSkinsCore, dxSkinBlack,
dxSkinscxPCPainter, dxBarBuiltInMenu, cxContainer, cxE... |
unit Session;
interface
uses Classes, SysUtils, Intfs, System.JSON;
function CreateSession(const AServer : TServerData; const ALogin : string;
const APassword : string) : ISession;
implementation
uses REST.Client, REST.Authenticator.Simple, REST.Types, IpPeerClient,
IdHTTP, HTTPApp, IdURI;
type
TSession = ... |
unit uClasses;
interface
uses
Windows, Messages, Classes, SysUtils, Vcl.ComCtrls, WinSock,
XML.XMLIntf;
const
APP_CLSID = '{DEB2B07E-46E6-4F35-92FB-21739786925A}';
APP_NAME = 'A-Radar';
const
ND_ROOT = 'aradar';
ND_PROPERTIES ... |
unit Unit60;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
DBGrids, LR_Class, LR_DBSet, Unit1, Unit22, Unit36, sqldb, db;
type
{ TForm60 }
TForm60 = class(TForm)
Button1: TButton;
Button2: TButton;
Button3: TButton;
Button4: T... |
unit GraphDefine;
interface
uses
System.SysUtils,
Pengine.Bitfield,
Pengine.EventHandling,
Pengine.Vector,
Pengine.Collections,
Pengine.IntMaths,
Pengine.Interfaces,
Pengine.JSON,
Pengine.Utility,
System.Math;
type
TGraphEditable = class;
TGraph = class(TInterfaceBase, IJSerializable)
pu... |
Date: Mon, 16 Nov 87 09:39:01 EST
From: nelson @ clutx.clarkson.edu
Subject: Absolute disk read/write from Turbo Pascal v6.68
Yes, you CAN use INT 13 to read/write disks instead of INT 25 and INT 26.
Unfortunately, if you do, then your program will not work with installed
device drivers, like a ramdisk. I found thi... |
unit Aurelius.Schema.NexusDB;
{$I Aurelius.Inc}
interface
uses
Aurelius.Drivers.Interfaces,
Aurelius.Schema.AbstractImporter,
Aurelius.Sql.Metadata;
type
TNexusDBSchemaImporter = class(TAbstractSchemaImporter)
strict protected
procedure GetDatabaseMetadata(Connection: IDBConnection; Data... |
unit qplugins;
interface
{$I qdac.inc}
{$HPPEMIT '#pragma link "qplugins"'}
uses classes, sysutils, types, qstring, qvalue, qtimetypes, qdac_postqueue,
qplugins_base, qplugins_params, syncobjs, math{$IFDEF MSWINDOWS},
windows{$ENDIF} {$IFDEF POSIX},
Posix.Unistd, Posix.PThread{$ENDIF}{$IFDEF UNICODE},
Generi... |
using System;
using System.Linq.Expressions;
using System.Web;
using System.Web.Mvc;
namespace BootstrapSupport
{
public static class ControlGroupExtensions
{
public static IHtmlString BeginControlGroupFor<T>(this HtmlHelper<T> html,
Expression<... |
unit TestGridFS;
{
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, MongoDB, MongoBson, GridFS, Test... |
unit DMMain;
interface
uses
SysUtils, Classes, DB, ADODB, ActnList, Controls, Math;
type
TdmodMain = class(TDataModule)
connDB: TADOConnection;
procedure DataModuleCreate(Sender: TObject);
procedure DataModuleDestroy(Sender: TObject);
private
FDate: TDateTime;
function GetDate... |
unit USearchPage;
interface
uses UTypeDef, UPageSuper, USysPageHandler, UxlClasses, UxlExtClasses, UxlList, UxlDialog, UxlStdCtrls, UxlWinControl, UxlComboBox,
UPageProperty;
type
TOpr = (oEqual, oNotEqual, oInclude, oNotInclude);
TSearchCrit = record
PageType: TPageType;
Col: integer;
... |
/// <summary>
/// TFoo class provides public and non-public, class and non-class,
/// overloaded and not overloaded methods for testing
/// </summary>
unit Foo;
interface
{$IFDEF DEBUG}
// if DEBUG: add RTTI for private members
{$RTTI EXPLICIT METHODS([vcPrivate, vcProtected, vcPublic, vcPublished])}
{$ELSE}
// if R... |
unit FormFMXBase;
interface
uses
{$IFDEF MSWINDOWS}
windows, Winapi.Messages, Winapi.IpTypes, fmx.platform.win, fmx.platform,
{$ENDIF}
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, fmx_messages,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, system.messaging;
c... |
// ColorMix: Additive and Subtractive Colors
// efg, January 1999
unit ScreenColorMix;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, ExtDlgs;
type
TFormColorMix = class(TForm)
CheckBoxRed: TCheckBox;
CheckBoxGreen: TCheckB... |
unit uCadastroItemView;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uCadastroView, FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS,
FireDAC.Phys.Intf, FireDAC.... |
unit Controller.UnidadeInterface;
interface
type
IUnidade = interface
['{DB186567-EDCB-42E6-B1A4-58D4370C07B6}']
function GETId(): Integer;
function GETNome(): string;
function GETUnitario(): Boolean;
function Id(const pValue: Integer): IUnidade;
function Nome(const pValue: stri... |
unit uBmpHandleEx;
interface
uses
Windows, Graphics, SysUtils, uBitmapHandle;
//图片二值化
procedure BmpTwoValue(ABmp: TBitmap);
//提取图片轮廓
procedure BmpOutline(ABmp: TBitmap);
//图片细化
function BmpXihua(ABmp: TBitmap): Boolean;
//图片拉伸
procedure BmpZoom(ABmp: TBitmap; const ANewWidth, ANewHeight: Integer);
implementation
... |
(*
* Copyright (c) 2008-2009, Ciobanu Alexandru
* 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 retain the above copyright
* notice, this l... |
unit AppMain;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, Menus,
ExtCtrls, AppList, AppRender, AppNode, AppConf, AppAbout;
type
{ TMainForm }
TMainForm = class(TForm)
MainMenu: TMainMenu;
MenuItemCreate: TMenuItem;
MenuItemRenderUpdate: T... |
unit disk_file_format;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}main_engine,ipf_disk;
function dsk_format(DrvNum:byte;longi_ini:dword;datos:pbyte):boolean;
function ipf_format(DrvNum:byte;longi_ini:dword;datos:pbyte):boolean;
procedure clear_disk(drvnum:byte);
type
disc_header_type=record
nbof_tra... |
unit TextEditor.TextFolding;
interface
uses
System.Classes;
type
TTextEditorTextFolding = class(TPersistent)
strict private
FActive: Boolean;
FOutlinedBySpacesAndTabs: Boolean;
FOutlineCharacter: Char;
public
constructor Create;
procedure Assign(ASource: TPersistent); override;
publish... |
{ *******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [PRODUTO]
The MIT License
Copyright: Copyright (C) 2014 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated docume... |
{ --------------------------------------------------------------------------
-------------------- By Wilson santa luz 2021 ---------------------------
Deus eh bom todo o tempo
------------------------------------------------------------------------- }
unit teste.modal.cliente;
interface
uses
Winapi.Windows,
... |
unit SubdivisionComponent;
interface
uses Registrator, BaseObjects, Classes, Straton, Contnrs, Ex_Grid, Theme, Employee, BaseConsts;
type
TBlockSubdivisionComponents = class;
TSubdivisionComponents = class;
TSubdivision = class(TregisteredIdObject)
private
FSigningDate: TDateTime;
FEmployee: TEmploy... |
unit Common1;
interface
uses
Windows, SysUtils, TLHelp32, ShlObj;
function FindProcess(AFileName: string): Boolean; //寻找进程
procedure EndProcess(AFileName: string); //终止进程
function SetScreenMode(Width: Integer): Boolean; //改变分辩率
function SmallToBig(small: real): string; //小写转大写
function SelectFolder(cons... |
unit UriServices;
{
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 m... |
unit LibBsonAPI;
interface
{$I MongoC_defines.inc}
uses
SysUtils;
{$IFNDEF DELPHI2009}
type
NativeUInt = Cardinal;
PNativeUInt = ^NativeUInt;
{$ENDIF}
const
LibBson_DllVersion = '1-0-0'; (* PLEASE!!! maintain this constant in sync with the dll driver version this code operates with *)
CPUType = {$IFDEF ... |
unit PessoaEnderecoDTO;
interface
uses
Atributos, Constantes, Classes,
SynCommons,
mORMot;
type
TPessoa_Endereco = class(TSQLRecord)
private
FID_PESSOA: TID;
FLOGRADOURO: RawUTF8;
FNUMERO: RawUTF8;
FCOMPLEMENTO: RawUTF8;
FBAIRRO: RawUTF8;
FCIDADE: RawUTF8;
FCEP: RawUTF8;
FM... |
unit SCIMSearch;
{
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 mu... |
{
Copyright © 1999 by Delphi 5 Developer's Guide - Xavier Pacheco and Steve Teixeira
}
unit MainFrm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls,
Forms, Dialogs, StdCtrls, ComCtrls;
type
{ Define a record/class to hold the window name and class name for
each window. Instances ... |
unit matrix;
INTERFACE
uses crt;
type m4x4 = array [1..4,1..4] of double;
const E:m4x4=( (1,0,0,0),
(0,1,0,0),
(0,0,1,0),
(0,0,0,1));
NULL:m4x4 =( (0,0,0,0),
(0,0,0,0),
(0,0,0,0),
(0,0,0,0));
func... |
program teststring07(output);
type
Length = 1..10;
mystring = packed array[Length] of char;
var alpha:mystring;
begin
alpha := 'hello! ';
writeln(alpha);
end.
|
unit OoTable; {Object Oriented Table. At least I think so..}
(*
Permission is hereby granted, on 1-Aug-2005, 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, publish, dist... |
unit ViewItemBindingTest;
interface
uses
DUnitX.TestFramework;
type
[TestFixture]
TTestViewItemBinding = class(TObject)
public
[Setup]
procedure Setup;
[TearDown]
procedure TearDown;
// Binding Value
// Binding Field
// Binding List
end;
implementation
procedure TTestViewI... |
(*
* Copyright (c) 2009, Ciobanu Alexandru
* 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 retain the above copyright
* notice, this list o... |
PROGRAM Jeu_oie;
USES crt;
//ALGO:JeuDeOIe
//BUT : Créer un jeu de l'oie dans lequel le joueur appuie sur la touche entrée pour simuler un lancé qui le fait avancer, le joueur gagne lorsqu'il atteint la case 66,
// à l'exception de la case 63 qaund le joueur tombe dur une case multiple de 9, le joueur avance à nouve... |
{ License: wtfpl; see /copying or the Internet }
{ Miscellaneous utility functions }
unit kUtils;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
keyval = record
key,
val: string;
end;
tCharSet = set of char;
function ExtractUp2delimiter(const S: string; var Pos: Integer; const Delim... |
unit ACBrDeviceDll;
interface
uses
SysUtils,
Classes,
ACBrECF,
ACBrBAL,
ACBrLCB,
ACBrDIS,
ACBrDevice,
ACBrBase,
ACBrUtil;
{Handle para o componente TACBrECF }
type TDeviceHandle = record
UltimoErro : String;
Component : TACBrComponent;
end;
{Ponteiro para o Handle }
type ... |
unit Atm.Tests.Fixtures.Machine;
interface
uses
System.SysUtils,
DUnitX.TestFramework,
Atm.Services.CardReader,
Atm.Services.Machine;
type
[TestFixture]
TAtmMachineTests = class(TObject)
private
FMachine: TAtmMachine;
public
[Setup]
procedure Setup;
[TearDown]
... |
unit CRRockSampleSizeTypeEditFrame;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, CommonIDObjectEditFrame, StdCtrls, ExtCtrls, ComCtrls,
CommonObjectSelectFrame, BaseObjects, RockSample, ClientCommon;
type
TfrmRockSampleSizeTypeEditFrame = class(TfrmIDObje... |
unit Expedicao.Services.uVeiculoMock;
interface
uses
Generics.Collections,
Expedicao.Interfaces.uVeiculoPersistencia,
Expedicao.Models.uVeiculo;
type
TVeiculoMock = class (TInterfacedObject, IVeiculoPersistencia)
private
FListaVeiculo: TObjectList<TVeiculo>;
public
constructor Create;
... |
unit EditNumber;
interface
uses
System.SysUtils, System.Classes, Vcl.Controls, Vcl.StdCtrls;
type
TNumberEdit = class(TEdit)
private
{ Private declarations }
protected
{ Protected declarations }
public
{ Public declarations }
procedure KeyPress(var Key: Char); override;
pu... |
unit DBGate;
interface
uses SysUtils, Classes, PersistentObjects, BaseObjects, Variants, ComObj,
ActnList;
type
EUserUnknownException = class(Exception)
public
constructor Create;
end;
TImplementedDataPoster = class(TDataPoster)
protected
procedure SetFilter(const Value: string); override;
... |
//First, name the unit (this name is used to potentially include it in other units)
unit ExportExcelAndCSV;
//The interface section is used to define types and classes
interface
//Uses are inclusion of other libraries/units
uses
Sigma.Document, // Access to the Sigma application, the documents (projects) a... |
program WeatherStation;
{$ifdef MSWINDOWS}{$apptype CONSOLE}{$endif}
{$ifdef FPC}{$mode OBJFPC}{$H+}{$endif}
uses
Device,
SysUtils,
IPConnection,
BrickletLCD20x4,
BrickletHumidity,
BrickletBarometer,
BrickletHumidityV2,
BrickletBarometerV2,
BrickletAmbientLight,
BrickletAmbientLightV2,
BrickletA... |
unit FRProdutos;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.Grids, Vcl.DBGrids,
Vcl.StdCtrls, System.Actions, Vcl.ActnList, uListaProdutos, Datasnap.DBClient, FREdicaoProduto,
Vcl.Buttons;
... |
unit Mail4Delphi.Intf;
interface
uses
{$IF DEFINED(FPC)}
Classes;
{$ELSE}
System.Classes;
{$ENDIF}
type
IMail = interface
['{A63918AD-EA2C-4CB9-98C5-90C3BAB95144}']
function AddTo(const AMail: string; const AName: string = ''): IMail;
function From(const AMail: string; const AName: string = ''): IM... |
unit URegraCRUDEquipamento;
interface
uses
URegraCRUD
, URepositorioDB
, URepositorioEquipamento
, UEntidade
, UEquipamento
;
type
TRegraCRUDEquipamento = class(TRegraCRUD)
protected
procedure ValidaInsercao(const coENTIDADE: TENTIDADE); override;
public
constructor Create; override;
... |
unit ufrmTransaksiPending;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, cxGraphics,
cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxStyles, cxCustomData,
cxFilter, cxData, cxDataStorage, cxEdit, cxNavigator, Data.DB, cxDBData,
cxGridLevel,... |
unit SeismWorkTypePoster;
interface
uses PersistentObjects, DBGate, BaseObjects, DB, SysUtils;
type
TSeismWorkTypeDataPoster = class(TImplementedDataPoster)
public
function GetFromDB(AFilter: string; AObjects: TIdObjects): integer; override;
function PostToDB(AObject: TIDObject; ACollection: TIDObjects):... |
{ Subroutine STRING_FIND_REAL_FORMAT (RMIN, RMAX, SD, ENG_NOTATION, FW, ND, EXP)
*
* Determine the fixed format for a range of reals.
* RMIN and RMAX is the mininum/maximum range of real values.
* SD is the number of significant digits required. ENG_NOTATION is
* true if powers of three are desired in the EXP... |
unit BCEditor.Editor.TokenInfo.PopupWindow;
{
Supported tags in contents:
<a href="Reference">Link text</a>
<b>Bold text</b>
<i>Italic text</i>
}
interface
uses
System.Classes, System.Types, Vcl.Graphics, BCEditor.Types, BCEditor.Lines, BCEditor.Editor.PopupWindow,
BCEditor.Editor.TokenInf... |
PROGRAM ExprPrg;
TYPE
symbolCode = (
noSy,
eofSy,
plusSy, minusSy, timesSy, divSy,
leftParSy, rightParSy, numberSy
);
NodePtr = ^Node;
Node = RECORD
left, right : NodePtr;
txt: STRING;
END;
... |
unit maskgenerator;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ComCtrls, Buttons, ExtCtrls, CoolForm, ExtDlgs;
type
TFormMaskGenerator = class(TForm)
SpeedButton1: TSpeedButton;
SpeedButton2: TSpeedButton;
SpeedButton3: TSpeedButton;
Panel... |
unit TextFileLogWriter;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,
JobThread, LogItem, LogWriter, LogTextFormat, ComponentEnhancer;
type
{ TTextFileLogWriter }
TTextFileLogWriter = class(TComponent, ILogWriter, IDemandsLogTextFormat)
public
constructor Create(const aOwner: TComponent; con... |
unit BCEditor.Editor.CompletionProposal.Columns.Title.Colors;
interface
uses
System.Classes, Vcl.Graphics;
type
TBCEditorCompletionProposalColumnTitleColors = class(TPersistent)
strict private
FBackground: TColor;
FBottomBorder: TColor;
FRightBorder: TColor;
public
constructor C... |
unit uRavenClient;
interface
uses SysUtils, Variants, Classes, DateUtils,
uRavenConnection, uEvent;
type
TOnSend = procedure(Sender : TObject; ALog:String) of object;
TRavenClient = class(TComponent)
FRavenConnection: TRavenConnection;
private
FOnSend:TOnSend;
procedure DoSend(ALog:string);
... |
unit uVCLZipFunc;
interface
uses
Classes, Windows, SysUtils, Forms, VCLUnZip, VCLZip, kpZipObj;
function ZipFileFolder(const AZipPath: string; const AZipFileName: string): Boolean;
function UnZipFileFolder(const AUnZipPath: string; const AOriginFile: string): Boolean;
implementation
function FileNameComparison(co... |
unit StateGame;
interface
uses
Windows, MMSystem, AvL, avlUtils, avlMath, avlVectors, OpenGL, oglExtensions,
VSEOpenGLExt, VSECore, VSEPrimitiveModel;
type
TStateGame = class;
TGameObject = class
private
FX, FY, FWidth, FHeight: Single;
protected
FModel: TPriModel;
FParent: TSt... |
(*!------------------------------------------------------------
* [[APP_NAME]] ([[APP_URL]])
*
* @link [[APP_REPOSITORY_URL]]
* @copyright Copyright (c) [[COPYRIGHT_YEAR]] [[COPYRIGHT_HOLDER]]
* @license [[LICENSE_URL]] ([[LICENSE]])
*------------------------------------------------------------- *)
unit Us... |
(*!------------------------------------------------------------
* Fano Web Framework Skeleton Application (https://fanoframework.github.io)
*
* @link https://github.com/fanoframework/fano-app-middleware
* @copyright Copyright (c) 2018 Zamrony P. Juhara
* @license https://github.com/fanoframework/fano-app-m... |
unit DeltaApproachUnit;
interface
{
aSpeed: absolute value of the speed
result:
true = approached
false = not approached yet
}
function DeltaApproach(var aDelta: single; const aSpeed: single): boolean;
inline; //seriously... Y NOT?
implementation
function DeltaApproach(var aDelta: single; cons... |
unit DC.StrUtils;
interface
function GetStrStart(str: string; var Level: Integer): string;
function GetBufStart(Buffer: PChar; var Level: Integer): PChar;
function ExtractData(var str:string):string;
function IsNumericDisplayFormat(aDisplayFormat: string):boolean;
function StrToHex(Str: string; aDelimiter: string =... |
//## S.I.G.E ##
// ## Sistema Informatizado de Gerenciamento Escolar ##
// ## Desenvolvido por Diego Hartwig e Jandir Rhoden - 2010 ##
unit UEditarRetiradas;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DBCtrls, ComCtrls, DB, IBCustomDataSet, IBQuery, StdCtrls... |
{
Check triangle Edges in navmeshes for irregularities.
}
unit NavMeshCheckEdges;
var
arEdge: array [0..2] of string;
//===========================================================================
function Initialize: integer;
begin
if wbSimpleRecords then begin
MessageDlg('Simple records must be unchecked... |
{ *******************************************************************************
Title: T2Ti ERP
Description: Janela de Cadastro de Livros Contábeis para o módulo Contabilidade
The MIT License
Copyright: Copyright (C) 2016 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaining a copy of this... |
unit
DVDMenuItem;
{$MINENUMSIZE 4}
interface
uses
Windows, Messages;
const
MAX_FILE_NAME = 128;
MAX_FRAMES_IN_PAGE = 32;
type
DOUBLE_RECT = record
dLeft : Double;
dTop : Double;
dRight : Double;
dBottom : Double;
end;
PDOUBLE_RECT = ^DOUBLE_RECT;
BUTT... |
program ALgLista3Ex3; // Exercicio 3 da lista 3. Autor: Henrique Colodetti Escanferla.
var num1, num2, aux: integer; // num1=> 1 numero 1; num2=> numero 2; aux=> auxiliar para a troca de valores entre "num1" e "num2".
begin // Inicio do processo.
writeln('Este programa informará o mdc entre dois inteiros.'); // App ... |
unit qsp_aes;
interface
uses classes, sysutils, qaes, qstring, qdb;
type
{$IF RTLVersion>=23}
[ComponentPlatformsAttribute(pidWin32 or pidWin64{$IF RTLVersion>=24} or
pidOSX32{$IFEND}{$IF RTLVersion>=25} or pidiOSSimulator or
pidiOSDevice{$IFEND}{$IF RTLVersion>=26} or
pidAndroid{$IFEND}{$IF RTLVersion... |
(*******************************************************)
(* *)
(* Engine Paulovich DirectX *)
(* Win32-DirectX API Unit *)
(* *)
(* Copyright (c) 20... |
{
This script will add keywords to the keywords list of selected weapons.
Almost no practical use, just a demo.
}
unit UserScript;
var
slKeywords: TStringList;
function Initialize: integer;
begin
// keywords to add
slKeywords := TStringList.Create;
slKeywords.Add('0001E719'); // WeapMaterialSteel
slKeyw... |
// Copyright 2018 The Casbin Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by a... |
{Ä Fido Pascal Conference ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ PASCAL Ä
Msg : 289 of 354
From : David Drzyzga 1:3612/220.0 14 Apr 93 16:42
To : Ian Nordby 1:101/106.0
Subj : Help?
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ... |
unit Aurelius.Engine.ObjectFactory;
{$I Aurelius.inc}
interface
type
TObjectFactory = class
private
class var
FInstance: TObjectFactory;
private
procedure PrivateCreate;
procedure PrivateDestroy;
function CreateInstanceWithRtti(AClass: TClass): TObject;
public
class ... |
unit UnitResultCode;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.ComCtrls,
hrdutils, Strutils, Types, Filemanip, TypeConfigurer;
type
TFormResultCode = class(TForm)
Pa... |
unit projects;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls, Data.DB,
Data.Win.ADODB, Vcl.Menus, Vcl.Buttons, Vcl.ExtCtrls, Vcl.ToolWin;
type
TfrmProjects = class(TForm)
pnl... |
unit uStateList;
interface
uses
System.SysUtils,
System.JSON;
function Itens: TJSONArray;
implementation
Const
cDataState =
'[{"id":1,"name":"Acre","Abbreviation":"AC"},{"id":2,"name":"Alagoas","Abbreviation":"AL"},'+
'{"id":3,"name":"Amapá","Abbreviation":"AP"},{"id":4,"name":"Amazonas","Abbreviation... |
unit CatListEditor;
{
Catarinka TCatListEditor
A fork of super.pas (TSuperList 1.7) with enhancements
Copyright (c) 2003-2017 Felipe Daragon
License: 4-clause BSD, same license as the original code by Spanware Inc.
Original Author: David Koretzky
Copyright (c) 1999 Spanware Inc.
}
interface
{$I Catarinka.inc... |
unit uData;
interface
uses
System.SysUtils, System.Classes, Vcl.Forms, 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.VCLUI.Wait,
FireDAC.Phys.PGDef, FireDAC.Phys.PG, Data.DB, FireDA... |
unit Main;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, IniFiles;
type
TConfig=record
CfNbBlood, CfColor: Integer;
CfLength, CfSize, CfSpeed, CfGravity: Single;
end;
TBlood=record
X, Y, DX, DY, V: Single;
Size: Integer;
... |
unit SQLConverterPostoj;
interface
uses
Classes, SysUtils,
DatabaseDefinition, SQLConverter, SQLProducer,
RT_BaseTypes, RT_Postoj;
type
TSQLConverterPostoj = class (TInterfacedObject, ISQLConverter)
private
FTable: TTable;
FSQLProducer: TSQLProducer;
property
SQLProducer: TSQLP... |
unit WriterIntf;
interface
uses
Classes, Types;
type
IWriter = interface
['{EB297938-AE6F-47D7-9A25-F5A02507BEF4}']
procedure Write(ALine: string);
procedure WriteList(AList: TStrings);
procedure AddMapping(AElement: TObject; AOffset: Integer = 0; AHideName: Boolean = False);
end;
... |
unit uDataExchange;
interface
uses
Classes, Windows, Messages;
const
sDataExchangeWindow = 'DataExchangeWindow';
iID = 123456;
type
TOnNewData=procedure(Sender:TObject;const Data:string) of object;
TDataExchange=class
private
FWindowHandle:HWND;
FOnNewData:TOnNewData;
procedure WndProc(var M... |
{█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█}
{█ Модуль для записи файла в формате BMP █}
{█───────────────────────────────────────────█}
{█ Copyright (C) 2003 Георгий Земцов █}
{█ e-mail: george_grg@mail.ru █}
{█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█}
unit
BMPWrite;
interface
{ ... |
namespace Moshine.Web.MVC;
interface
uses
System.Collections.Generic,
System.Linq,
System.Text,
System.Collections.Generic,
System.IO,
System.IO.Compression,
System.Linq,
System.Net,
System.Text,
System.Threading.Tasks,
Microsoft.AspNetCore.Mvc;
type
HttpWebResponseResult = public class(Act... |
unit MenuForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, TopicSelectForm, ProgramInfoForm,
SavedQuestionsForm, QuestionClass, UserClass, FeedbackForm, VclTee.TeeGDIPlus,... |
unit Bip0122Processor;
{$ifdef fpc}{$mode delphi}{$endif}{$H+}
interface
uses
Classes, SysUtils,
fpjson, jsonparser, jsonscanner, httpprotocol,
Generics.Collections,
Bip0122Uriparser;
const
BitcoinMainNet = '000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f';
type
TBlockExplorer = record... |
unit DBUtil;
interface
uses ActiveX, ComObj, Variants, IniFiles, SysUtils, Classes, myADO;
function WriteDB(const SQL :string): boolean;
function XMLlist(Fields:TStrings):string;
function XMLPhoto(const Fields:Tstrings):string;
implementation
uses main, utilites;
function WriteDB(const SQL :string): boolean;
var... |
unit UInventaire;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.Bind.EngExt, Vcl.Bind.DBEngExt,
Vcl.Bind.ControlList, System.Rtti, System.Bindings.Outputs, Vcl.Bind.Editors,
Vcl.ControlList, Da... |
unit uRoof;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
FMX.Objects, FMX.Layouts, FMX.ImgList,
uFrame, FullScreenTabs;
type
TRoofFrame = class(TGFrame)
Main: TLayout;
Hom... |
unit D16Writer;
interface
uses
Classes, Types, Generics.Collections, UncountedInterfacedObject, LineMapping, VarMapping, WriterIntf,
VarDeclaration, CodeELement, RoutineMapping, ProcDeclaration;
type
TD16Writer = class(TUncountedInterfacedObject, IWriter)
private
FLineMapping: TObjectList<TLin... |
unit UCloudPathInfoXml;
interface
uses UChangeInfo, xmldom, XMLIntf, msxmldom, XMLDoc, Classes, UMyUtil, SysUtils;
type
{$Region ' 云信息 修改 ' }
{$Region ' 云路径 修改 ' }
// 修改
TCloudPathChangeXml = class( TChangeInfo )
protected
CloudPath : string;
protected
CloudPathNode : IXMLNode;
public
co... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.