text stringlengths 14 6.51M |
|---|
unit OverlayMainWindow;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
DDraw, Menus, ExtDlgs;
type
TOverlayMainForm =
class(TForm)
OpenPictureDialog: TOpenPictureDialog;
MainMenu: TMainMenu;
File1: TMenuItem;
Load... |
{******************************************************************************}
{ }
{ Delphi FB4D Library }
{ Copyright (c) 2018-2023 Christoph Schneider ... |
unit wardner_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
nz80,main_engine,controls_engine,gfx_engine,tms32010,ym_3812,
rom_engine,pal_engine,sound_engine;
function iniciar_wardnerhw:boolean;
implementation
const
wardner_rom:array[0..3] of tipo_roms=(
(n:'wardner.17';l:$8000;p:0;crc:$c5... |
{ Subroutine SST_R_SYO_EXPRESSION (JTARG, SYM_MFLAG)
*
* Process EXPRESSION syntax.
}
module sst_r_syo_expression;
define sst_r_syo_expression;
%include 'sst_r_syo.ins.pas';
procedure sst_r_syo_expression ( {process EXPRESSION syntax}
in out jtarg: jump_targets_t; {execution block jump targets info}... |
unit csMisspellCorrectTask;
interface
uses
csProcessTask, Classes, DT_Types;
type
TcsMisspellCorrectTask = class(TddProcessTask)
private
f_SABStream: TStream;
protected
procedure Cleanup; override;
function GetDescription: AnsiString; override;
procedure LoadFrom(aStream: TStream; aIsPipe: Boolean); ove... |
//Exercício 6: Escreva um algoritmo que receba o nome de uma pessoa e o ano de seu nascimento. Calcule e exiba a idade
//e o nome.
{ Solução em Portugol
Algoritmo Exercicio6;
Const
ano = 2020; // Basta atualizar para o ano atual. Exemplificando o uso de constantes.
Var
ano_nascimento, idade: inteiro;
... |
unit Globals;
interface
uses SysUtils, Data.DB, FIBDataSet, pFIBDataSet;
function DatePart(ADate: TDateTime; APart: Char): Word;
function DatePartStr(ADate: TDateTime; APart: Char): String;
function FieldByName(ADataSet: TpFIBDataSet; AFieldName: string): string;
function DSisEOF(ADataSet: TpFIBDataSet): Bool... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls;
type
{ TForm1 }
TForm1 = class(TForm)
Panel1: TPanel;
procedure FormCreate(Sender: TObject);
procedure FormPaint(Sender: TObject);
private
procedure DoOut(c: TCanvas; c... |
unit QRNewXLSXFilt;
////////////////////////////////////////////////////////////////////////////
// Unit : QRNewXLSXFilt
//
// TQRNewXMLSSAbstractExportFilter -> TQRXLSXDocumentFilter
//
// The XLSX Export document for XL spreadsheet -
//
// (c) 2014 QBS Software
//
//
// 19/05/2016 increased field width... |
unit RequestFilterForma;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DBGridEh, DBCtrlsEh, StdCtrls, Mask, DBLookupEh, DB,
FIBDataSet, pFIBDataSet, Buttons, ExtCtrls, ActnList, DBCtrls, PrjConst, System.Actions, MemTableEh,
Vcl.ComCtrls, PropFilerEh, Prop... |
unit RegisterProc;
interface
type
TLicType = (
licNonCom,
licPersonal,
licBusiness,
licSite
);
const
cLicName: array[TLicType] of string = (
'Non-commercial license',
'Personal license',
'Business license (7 computers)',
'Site license (unlim. num of computers)'
);
const
... |
unit DAO.AssinantesJornal;
interface
uses DAO.Base, Generics.Collections, System.Classes, Model.AssinaturaJornal;
type
TAssinantesJornalDAO = class(TDAO)
public
function Insert(aAssinaturas: Model.AssinaturaJornal.TAssinaturaJornal): Boolean;
function Update(aAssinaturas: Model.AssinaturaJornal.TAssi... |
unit test1;
interface
// ***********************************
// classes for test1.proto
// generated by ProtoBufGenerator
// kami-soft 2016-2017
// ***********************************
uses
SysUtils,
Classes,
Generics.Collections,
pbInput,
pbOutput,
pbPublic,
uAbstractProtoBufClasses,
Te... |
unit Unit10;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TForm10 = class(TForm)
Memo1: TMemo;
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
publ... |
unit CompStartup;
{
Inno Setup
Copyright (C) 1997-2004 Jordan Russell
Portions by Martijn Laan
For conditions of distribution and use, see LICENSE.TXT.
Compiler Startup form
$jrsoftware: issrc/Projects/CompStartup.pas,v 1.11 2004/07/22 19:49:39 jr Exp $
}
interface
uses
Windows, Messages, SysUtils, C... |
unit CustomPngImageListEditor;
interface
uses
Windows, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls,
ExtDlgs, pngimage, PngFunctions, PngBitBtn, PngImageList, Buttons;
type
TCustomPngImageListEditorDlg = class(TForm)
cmbBackgroundColor: TComboBox;
cmbPreviewBackground: TComboBox;
... |
unit uSceneAbout;
interface
uses uScene, Graphics, uGraph, uResFont, uButton;
type
TSceneAbout = class(TSceneCustom)
private
FLogo: TBitmap;
FIsLoad: Boolean;
FGraph: TGraph;
FFont: TResFont;
FButton: TButton;
procedure Load;
public
//** Конструктор.
constructor... |
unit GX_MacroLibraryConfig;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, GX_BaseForm;
type
TfmGxMacroLibraryConfig = class(TfmBaseForm)
chk_AutoPrompt: TCheckBox;
b_Ok: TButton;
b_Cancel: TButton;
private
public
... |
unit Script.Engine;
interface
uses
Script.Interfaces
;
type
TscriptEngine = class
public
class procedure RunScript(const aFileName: String; const aLog: IscriptLog);
end;//TscriptEngine
implementation
uses
System.SysUtils,
Script.Parser,
Testing.Engine,
Script.Code,
Script.WordsInterfaces
;
class p... |
unit wwStarMind;
interface
uses
Types, Contnrs,
wwTypes, wwMinds;
type
TwwNode = class (TObject)
private
FCostFromStart: Integer;
FCostToFinish: Integer;
FFinish: TPoint;
FParent: TPoint;
FPosition: TPoint;
FStart: TPoint;
function GetCost: Integer;
public
constructor Create... |
unit Animations;
interface
uses
Windows, SpriteImages;
type
TAnimation =
class
public
constructor Create(Image : TFrameImage; x, y : integer);
destructor Destroy; override;
public
procedure Tick;
private
fImage : TFrameImage... |
unit tablefrm;
interface
uses
Classes, Forms, Buttons, SysUtils,
vg_grid, vg_layouts, vg_scene, Controls,
vg_controls,
ImgList, vg_actions,
Grids;
type
TfrmTableDemo = class(TForm)
vgScene1: TvgScene;
Root1: TvgBackground;
Table1... |
unit Unit8;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
System.LogEvents.Progress,
System.LogEvents,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Samples.Spin;
type
TForm8 = class(TForm)
Button1: TButton;
SpinEdit1: TS... |
unit DW.Macapi.Helpers;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-Platform Library }... |
{
VOLATILE FOLLOWERS
Volatile Followers Patcher by dragonjet
MOD: http://www.nexusmods.com/skyrim/mods/71998/
SOURCE: https://github.com/dragonjet/skyrim-volatilefollowers
Credit for more util functions:
https://github.com/matortheeternal/TES5EditScripts/blob/58b52d21baab82181ec13c9a22beccb6eb50e3ac/Edit%20Scri... |
{ Bens Simple CSV Format v1.0.0
This is a very basic csv readeer and writer that I needed for a basic program
//See below for features:
Return RecordCount
OpenCsv
SaveCsv Allows saveing to other filenames.
Update saves the current csv opened file.
Read field values
Write field values
Add new records
... |
unit l3ProtoObjectComparable;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "L3"
// Автор: Люлин А.В.
// Модуль: "w:/common/components/rtl/Garant/L3/l3ProtoObjectComparable.pas"
// Начат: 16.02.2011 19:17
// Родные Delphi интер... |
unit uMain;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls,
Buttons,httpsend, ComCtrls, Utils, xmlread,dom, EditBtn, FileUtil,
XMLPropStorage,Clipbrd;
type
{ TfWikiHelp }
TfWikiHelp = class(TForm)
bSearch: TButton;
bCreate: TButton;... |
{
$Project$
$Workfile$
$Revision$
$DateUTC$
$Id$
This file is part of the Indy (Internet Direct) project, and is offered
under the dual-licensing agreement described on the Indy website.
(http://www.indyproject.org/)
Copyright:
(c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r... |
program ultiboimgconv;
{$mode objfpc}{$H+}
{ Raspberry Pi 3 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. }
{ ... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
{
lzRichEdit
Copyright (C) 2010 Elson Junio elsonjunio@yahoo.com.br
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your
option) any later ver... |
unit mp_types;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
TStat = record
attempts,tAttempts,status,loses:integer;
ms: double;
end;
{ TPingItem }
TPingItem = class(TCollectionItem)
public
//stored
IP: string;
Name: string;
Melody: string;
PlaySound: integer;
... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit uSettingsForm;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, LazUTF8, IDEWindowIntf, Forms, Controls, Graphics, Dialogs, IniPropStorage, ValEdit, StdCtrls,
XMLPropStorage;
type
{ TsettingsForm }
TsettingsForm = class(TForm)
Button1: TButton;
edFilemanagerCmd: TEdit;
edCo... |
Program locate;
{$mode objfpc}{$H+}
Uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes, SysUtils, uMainDataModule, uTools, CustApp
{ you can add units after this };
Type
{ locate }
{ TLocate }
TLocate = Class(TCustomApplication)
private
FAnnexOpen: String;
Procedur... |
{******************************************************************************}
{ }
{ Delphi FB4D Library }
{ Copyright (c) 2018-2022 Christoph Schneider ... |
unit TTSSemTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TTTSSemRecord = record
PUserName: String[10];
PSemNum: Integer;
End;
TTTSSemBuffer = class(TDataBuf)
protected
function PtrIndex(Index:integer):Pointer;override;
public
Data:... |
unit FindUnit.FormMessage;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Types, TransparentCanvas, ExtCtrls;
type
TfrmMessage = class(TForm)
tmrClose: TTimer;
procedure FormClose(Sender: TObject; var Action: TCloseAction);
procedure FormCreate(Se... |
{*******************************************************}
{ Проект: Repository }
{ Модуль: uInterfaceListExt.pas }
{ Описание: Дополненная реализация списка интерфейсов }
{ Copyright (C) 2015 Боборыкин В.В. (bpost@yandex.ru) }
{ ... |
unit Interval;
interface
uses
System.Classes, System.SysUtils,
Patterns.Observable;
type
TInterval = class(TObservable)
private
FMinValue: Integer;
FMaxValue: Integer;
FLength: Integer;
procedure calculateLength;
procedure calculateMaxValue;
protected
procedure SetMinValue(Value: In... |
{
$Project$
$Workfile$
$Revision$
$DateUTC$
$Id$
This file is part of the Indy (Internet Direct) project, and is offered
under the dual-licensing agreement described on the Indy website.
(http://www.indyproject.org/)
Copyright:
(c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r... |
unit Unbound.Game.WorldFeatures;
interface
uses
Pengine.IntMaths,
Pengine.Vector,
Pengine.Noise,
Pengine.ICollections,
Pengine.Interfaces,
Pengine.Random,
Unbound.Game,
Unbound.Game.Serialization;
type
TNoise2 = class(TInterfaceBase, IGradientSource2, ISerializable)
private
FPerlinNoise: TP... |
unit clLacres;
interface
uses clConexao;
type
TLacre = Class(TObject)
private
function getBase: Integer;
function getNumero: String;
function getStatus: Integer;
procedure setBse(const Value: Integer);
procedure setNumero(const Value: String);
procedure setStatus(const Value: Integer);
... |
unit OfficeLike_Result_Controls;
{* Результат диалога }
// Модуль: "w:\common\components\gui\Garant\VCM\UserInteraction\OfficeLike_Result_Controls.pas"
// Стереотип: "VCMControls"
// Элемент модели: "Result" MUID: (4A8AD3C70195)
{$Include w:\common\components\gui\sdoDefine.inc}
interface
{$If NOT Defined(NoVCM)}
u... |
unit CleanArch_EmbrConf.Infra.Repository.Memory;
interface
uses
CleanArch_EmbrConf.Core.Entity.Interfaces,
System.JSON, CleanArch_EmbrConf.Core.Entity.Impl.ParkingLot,
CleanArch_EmbrConf.Adapter.Impl.ParkingLotAdapter,
CleanArch_EmbrConf.Core.Repository.Interfaces;
type
TParkingLotRepositoryMemory = class(... |
unit UTriangle;
interface
uses
UFigure, URectangle, SysUtils, Graphics, ExtCtrls, Windows;
type
TTriangle = class(TRectangle)
private
FThirdPoint: TPoint;
public
constructor Create(APoint: TPoint; AColor:TColor; ASecondPoint:TPoint;
AThirdPoint:TPoint);
function Area:re... |
unit clServicos;
interface
uses clConexao;
type
TServicos = Class(TObject)
private
function getCodigo: Integer;
procedure setCodigo(const Value: Integer);
function getDescricao: String;
procedure setDescricao(const Value: String);
function getAgregacao: String;
procedure setAgregacao(con... |
{$mode objfpc}{$H+}
{ Implements the game logic, independent from mobile / standalone. }
unit Game;
interface
uses CastleWindow;
var
Window: TCastleWindowCustom;
implementation
uses SysUtils,
CastleFilesUtils, CastleKeysMouse, CastleTimeUtils, CastleControls,
CastleImages, CastleGLImages, CastleVectors, Cas... |
unit fmBarChart;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, TeEngine, Series, TeeProcs, Chart, uEventAgg, uEvents, uModel;
type
TfrmBarChart = class(TForm)
Chart1: TChart;
Series1: TBarSeries;
pnlFooter: TPanel;
btnClos... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons;
type
TfrmFahrenheit_na_Grade = class(TForm)
bmbReset: TBitBtn;
bmbClose: TBitBtn;
btnBereken: TButton;
lblFahrenheit: TLabel;
lblAfvoer: TLabel;
edtFahrenhei... |
unit GX_Debug;
{$I GX_CondDefine.inc}
{$IFDEF GX_DEBUGLOG}
interface
uses SysUtils;
procedure GxAddToDebugLog(const Msg: string);
procedure GxAddExceptionToLog(const E: Exception; const Msg: string);
implementation
uses Classes, Windows,
// This requires the JCL 1.11: http://delphi-jedi.org/COD... |
unit Main9_1;
(************************************************************************
Copyright (C) 2009, 2010 by Russell J. Peters, Roger Aelbrecht,
Eric W. Engler and Chris Vleghert.
This file is part of TZipMaster Version 1.9.
TZipMaster is free software: you can redistribute it and/or modi... |
Class Jabatan
index()
try
select all data from table jabatan
show to view
catch
get exception
create()
try
show view add data
catch
get exception
store()
try
get Kode Jabatan
get Nama Jabatan
get Jumlah Pegawai
if Kode Jabatan are exists
show alert "Data dengan Kode Jabat... |
inherited dmCtasBancarias: TdmCtasBancarias
OldCreateOrder = True
inherited qryManutencao: TIBCQuery
SQLInsert.Strings = (
'INSERT INTO STWCPGTCTA'
' (BANCO, AGENCIA, CONTA, NOME_AGENCIA, NOME_CONTA, ENDERECO, CT' +
'A_CONTABIL, BAIRRO, CIDADE, ESTADO, CEP, TELEFONE, CONTATO, NR_C'... |
unit InfoESOANOTSTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TInfoESOANOTSRecord = record
PEntId: String[8];
PModCount: Integer;
End;
TInfoESOANOTSClass2 = class
public
PEntId: String[8];
PModCount: Integer;
End;
// functio... |
unit task_2;
interface
{ Дерево, базовый Класс}
type
TTree=class
private
fLeft: TTree;
fRight: TTree;
fParent: TTree;
fValue: Variant;
fItems: TArray<TTree>;
fRightCout: Integer;
fLeftCout: Integer;
function get_right: T... |
{
MIT License
Copyright (c) 2017 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, copy, mo... |
unit Project.Interfaces;
interface
type
iEndereco<T> = interface;
iEndereco<T> = interface
function Rua ( aValue : String ) : iEndereco<T>; overload;
function Rua : String; overload;
function Numero ( aValue : Integer ) : iEndereco<T>; overload;
function Numero : Integer; overload;
... |
unit udmResposta;
interface
uses
Windows, System.UITypes,Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, udmPadrao, DBAccess, IBC, DB, MemDS,
uMatVars;
type
TdmResposta = class(TdmPadrao)
qryManutencaoIDRESP: TIntegerField;
qryManutencaoFILIAL: TStringField;
qryManuten... |
unit uMVCAuthorization;
interface
uses
System.SysUtils, System.Classes, Forms,
ufmMain, uUtils, uRemoteDM, uTypes, Data.DB, FIBDataSet, pFIBDataSet,
PaxCompiler, PaxRunner, PaxProgram, PaxEval,
PAXCOMP_CONSTANTS,
IMPORT_COMMON,
Generics.Collections,
System.Variants,
uDMConfig;
type
T... |
unit DSoundUtils;
interface
uses
Windows, mmSystem, SysUtils,
DirectSound;
type
EDSound = class(Exception);
procedure FillPCMFormat(const aSampligRate, aBits, aChannels : integer; out aFormat : TWaveFormatEx);
function CreateHelperDSound : IDirectSound;
procedure DSoundCheck(aResult : hResult)... |
program controlRepeat;
var x, y : integer;
begin
x := 0;
y := 50;
writeln('value of x before repeat-statement:', x);
writeln('value of y before repeat-statement:', y);
repeat
x := x + 1;
y := y + 100;
until x >= 10;
writeln('value of x after repeat-statement:', x);
wr... |
unit TTSGUARTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TTTSGUARRecord = record
PLenderNum: String[4];
PLoanNum: String[20];
PCifNum: String[20];
PModCount: Integer;
PCifY: String[1];
PCifN: String[1];
End;
TTTSGUARBuffer = c... |
unit AsymSoftKeys;
interface
type
T2x2Matrix = array[0..1,0..1] of single;
TSoftKeyType = (skt64, skt128, skt256);
procedure GenPair(var M, IM : T2x2Matrix; res : integer);
function MultPair(A, B : T2x2Matrix) : T2x2Matrix;
function GenSoftAsymKeys(var pubKey, privKey : string; kType : TSoftKeyTy... |
{ *************************************************************************** }
{ }
{ }
{ Copyright (C) Amarildo Lacerda }
{ }
{ https://github.com/amarildolacerda }
{ }
{ }
{ *************************************************************************** }
{ }
{ Licensed under the Apache License, Version 2.0 (the "License... |
unit uProspectEmailVO;
interface
uses
System.Generics.Collections;
type
TProspectEmailVO = class
private
FEmail: string;
FIdProspect: Integer;
FDescricao: string;
FId: Integer;
procedure SetDescricao(const Value: string);
procedure SetEmail(const Value: string);
procedure SetId(cons... |
unit main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, frame.pianoroll, midi.output,
Vcl.StdCtrls;
type
TMainForm = class(TForm)
PianoRollFrame: TPianoRollFrame;
DevicesBtn: TButton;
procedur... |
unit MColorText;
interface
uses Windows, Graphics;
procedure DrawPCodeText(canvas:TCanvas; rect : TRect; text:string);
implementation
uses SysUtils;
{***************************************************************
§+B = fett (B steht für Bold)
§-B = fett aus
§+I = kursiv (I steht für I... |
{
Copyright (c) 2017 Pascal Riekenberg
LazProfiler: Core unit
See the file COPYING.modifiedLGPL.txt, included in this distribution,
for details about the license.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warran... |
unit WPRTEFormatBase;
{ -----------------------------------------------------------------------------
Copyright (C) 2002-2013 by wpcubed GmbH - Author: Julian Ziersch
info: http://www.wptools.de mailto:support@wptools.de
__ __ ___ _____ _ _____
/... |
unit TestuRedisClusterHandle;
{
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, uRedisCommand, Str... |
unit k053251;
interface
const
K053251_CI0=0;
K053251_CI1=1;
K053251_CI2=2;
K053251_CI3=3;
K053251_CI4=4;
type
k053251_chip=class
constructor Create;
destructor free;
public
dirty_tmap:array[0..4] of boolean;
procedure reset;
procedure lsb_w(direccion,valor:w... |
{$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}
{********************... |
{
Steam Utilities
Copyright (C) 2016, Simon J Stuart, All Rights Reserved
Original Source Location: https://github.com/LaKraven/SteamUtils
License:
- You may use this library as you see fit, including use within commercial applications.
- You may modify this library to suit your needs, without the requ... |
unit rsEMC_TLB;
interface
uses
Winapi.ActiveX;
const
rsEMCMajorVersion = 1;
rsEMCMinorVersion = 0;
LIBID_rsEMC: TGUID = '{073DCFC8-9A65-49E0-858D-45D4A4BC7904}';
// IID constants
IID_IrsEMCAntenna: TGUID = '{554CFF64-EC3E-488E-8F63-0C3E3CB3C712}';
IID_IrsFreqMaskList: TGUID = '{9C601EF2-0768-4C1B-BAB... |
{ CSI 1101-X, Winter 1999, A6q1 }
{ Mark Sattolo, student# 428500 }
{* The Bracket Matching Algorithm used in this program
---------------------------------------------------------
This follows very closely what was described in class. It is implemented in three
procedures; the names are not the ones used in cl... |
{
Faça um algoritmo utilizando sub-rotinas que leia um vetor de registros com os campos: nome, idade e sexo de N
(N<=20) pessoas. Após a leitura faça:
a) Imprima o Nome, idade e sexo das pessoas cuja idade seja maior que a idade da primeira pessoa.
b) Imprima o Nome e idade de todas as mulheres.
c) Imprima o Nome dos ... |
{******************************************************************************}
{ }
{ Library: Fundamentals 5.00 }
{ File name: flcCryptoRandom.pas ... |
unit SettingsUnit; {$Z4}
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "GblAdapterLib"
// Модуль: "w:/garant6x/implementation/Garant/GblAdapterLib/SettingsUnit.pas"
// Delphi интерфейсы для адаптера (.pas)
// Generated from UML... |
unit Thermostat.Classes;
interface
uses
SysUtils, Generics.Collections;
type
TThermostatState = class;
TThermostat = class;
TWaterLevel = (waterlevelOk, waterlevelLow);
TThermostatStateList = class(TObjectList<TThermostatState>)
end;
TThermostatStateClass = class of TThermostatState;
TThermostatS... |
unit TestMarshalNullableUnit;
interface
uses
TestFramework, REST.Json.Types, SysUtils,
JSONNullableAttributeUnit,
GenericParametersUnit,
NullableBasicTypesUnit, TestBaseJsonMarshalUnit;
type
TTestNullableBooleanClass = class(TGenericParameters)
private
[JSONName('boolean_null')]
[Nullable(True)]
... |
unit Esp32.Form.Main;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, System.Bluetooth, System.Math.Vectors, FMX.Controls3D, FMX.Layers3D, FMX.Layouts, System.Bluetooth.Components, FMX.ListBox,
FMX.Cont... |
unit UAccessSimple;
interface
uses Classes, UAccessClient;
type
TSimpleClient = class(TObject)
private
FCaption: string;
FLogin: string;
FPassword: string;
FDNS: string;
FAuthorized: Boolean;
FDateTime: TDateTime;
FUID: string;
FThread: Pointer;
procedure SetCapti... |
(* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Softwa... |
{ Subroutine SST_SYMBOL_LOOKUP_NAME (NAME, SYM_P, STAT)
*
* Look up an existing symbol in the currently active name spaces.
* SYM_P is returned pointing to the symbol data block.
* STAT is returned with an error if the symbol was not found, in which
* case SYM_P is returned NIL.
}
module sst_symbol_lookup_nam... |
unit UTreeNode;
interface
uses
SysUtils,
ComCtrls;
Type
TIndex = 'a'..'z';
PtrTrieTree = ^TNode;
TNode = class
private
Ptrs: array [TIndex] of TNode;
eow: boolean;
public
Constructor Create;
procedure Push (s: string; i:byte);
procedure delete (var count:Integer;var Arr:ar... |
unit GX_eAlign;
{$I GX_CondDefine.inc}
// Original author: Stefan Pettersson <stefpet@gmail.com>
interface
uses
Classes, Controls, StdCtrls, Forms, Menus, GX_BaseForm;
type
TfmAlign = class(TfmBaseForm)
btnOK: TButton;
btnCancel: TButton;
lstTokens: TListBox;
lblToken: TLabel;
... |
unit dmdMatFat75;
interface
uses
Windows, System.UITypes,Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, udmPadrao, DB, DBClient, ComCtrls, Bde.DBTables;
type
TdmodMatFat75 = class(TDataModule)
qryRelatorioRec: TQuery;
qryRelatorioOrd: TQuery;
qryRelatorioRecFIL_ORIG: TS... |
unit DockForm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, Menus;
type
TForm1 = class(TForm)
PopupMenu1: TPopupMenu;
menuToggleFloating: TMenuItem;
Panel1: TPanel;
Memo1: TMemo;
Panel2: TPanel;
Button2: TButton;
Button... |
////////////////////////////////////////////////////////////////////////////////
//
//
// FileName : SUIGrid.pas
// Creator : Shen Min
// Date : 2003-04-03 V1-V3
// 3003-07-04 V4
// Comment :
//
// Copyright (c) 2002-2003 Sunisoft
// http://www.sunisoft.com
// Email: supp... |
{$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 Enigma;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
/// <summary>
/// Removes the specified item from the collection
/// </summary>
/// <param name="Item">The item to remove
///
/// </param>
/// <param name="Collection">T... |
unit ShellUtils;
interface
uses
StrUtils, RegUtils, SysUtils, Windows, ShellAPI , classes;
type
TRegExtensionInfo =
record
Caption : string;
Description : string;
IconPath : string;
IconIndex : integer;
NeedsIcon : boolean;
DefaultIcon : TH... |
program HashCalc;
{$mode delphi}
uses
SysUtils,
CalcAll;
begin
try
if ParamCount = 1 then begin
Writeln('File: ', ParamStr(1));
Writeln;
CalcHash(ParamStr(1));
end
else begin
Writeln('Usage: > HashCalc filename');
Writeln('File: ', ExtractFileName(Para... |
unit Lisp;
interface
uses
System.StrUtils,
NativeFunctions,
Classes,
SysUtils,
System.Generics.Collections,
System.RegularExpressions,
Data,
Common,
Modules,
UserData,
Collections;
type
/// <summary>
/// DLisp interpreter. Provides everything needed for executing and loading
/// DLisp co... |
unit fileutilwin;
{ FileUtilWin Version 1.0.0 Copyright (C) 2018 by James O. Dreher
License: https://opensource.org/licenses/MIT
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 r... |
unit History;
{ The History unit contains all history list constants used in the FreeVision
Library. }
interface
const
hiConfig = 1;
hiDirectories = 2; { non-specific }
hiDesktop = 3;
hiCurrentDirectories = 1;
hiFiles = 4;
implementation
end. |
unit family_of_curves_lib;
interface
uses table_func_lib,streaming_class_lib,classes;
type
TFamilyMember=class(table_func)
private
fparam: Real;
published
property param: Real read fparam write fparam;
end;
TFamilyOfCurves=class(TStreamingClass)
private
fCount: Integer;
fTolerance: Real;
fZeroBou... |
unit xpr.bytecode;
{
Author: Jarl K. Holta
License: GNU Lesser GPL (http://www.gnu.org/licenses/lgpl.html)
stuff
}
{$I express.inc}
interface
uses
Classes, SysUtils,
xpr.express,
xpr.dictionary,
xpr.opcodes,
xpr.mmgr,
xpr.utils,
xpr.objbase;
type
TObjectArray = array of TEpObject;
TLoopIn... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.