text stringlengths 14 6.51M |
|---|
{-----------------------------------------------------------------------------
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/MPL-1.1.html... |
(* SvBindings.Converters.pas
* Created: 2011-12-28 16:57:49
* Copyright (c) 2011, Linas Naginionis
* Contacts: lnaginionis@gmail.com or support@soundvibe.net or linas@vikarina.lt
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided t... |
{
FPCRes - Free Pascal Resource Converter
Part of the Free Pascal distribution
Copyright (C) 2008 by Giulio Bernardi
Source files handling
See the file COPYING, included in this distribution,
for details about the copyright.
This program is distributed in the hope that it will be useful,... |
unit uAddEditRESForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, sBitBtn, Grids, DBGrids, DBCtrls, ExtCtrls, sPanel,
sSkinProvider, sSkinManager, sComboBox, sEdit, sLabel, sGroupBox, sBevel,
sDBNavigator;
type
TAddEditRESForm = clas... |
unit f3;
interface
uses typetubes2018;
procedure startSimulasi(var i : integer; var S : inventoriSimulasi; var isSimulasi: boolean);
{I.S isSimulasi, inventor simulasi pada S, dan indeks I terdefinisi}
{F.S Mengeluarkan pilihan2 yang akan dilakukan user dalam program }
implementation
procedure s... |
unit DW.VCL.ScriptParams;
interface
uses Classes, DW.JSON.JsonData;
type
TDWScriptParams = class(TStringList)
private
function GetJson(const Name: string): TJsonObject;
procedure SetJson(const Name: string; const Value: TJsonObject);
public
constructor Create;
property JSON[const Name: string]... |
{ program 11.4
conversion to postfix form }
program postfix(input,output);
var ch : char ;
procedure find;
begin repeat read(ch)
until (ch<> ' ') and not eoln(input)
end ;
procedure expression;
var op : char;
procedure term;
procedure factor;
begin if ch = '(' then
begin fin... |
(***************************************************************************)
(* *)
(* xGreed - Source port of the game "In Pursuit of Greed" *)
(* Copyright (C) 2020-2021 by Jim Valavanis *)
(* ... |
{*******************************************************}
{ }
{ Audorra Digital Audio Library }
{ Copyright (c) Andreas Stöckel, 2009 }
{ Audorra is an "Andorra Suite" Project }
{ ... |
unit UnitRus;
interface
uses SysUtils, Classes, UConverter;
const slovaRU1_20:array[1..20]of string=('ноль', 'один', 'два', 'три', 'четыре', 'пять', 'шесть', 'семь',
'восемь', 'девять', 'десять', 'одиннадцать', 'двенадцать', 'тринадцать', 'четырнадцать',
'пятнадцать', 'шестнадцать', 'семнадцать', 'восемна... |
unit unit_frame_raport;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, ExtCtrls, Grids, Buttons,
ActnList, StdCtrls, ComCtrls, Dialogs, Graphics, frameCad, framePaint,
typePaspProp, typePaspBranch, unit_types_and_const, unit_m_data, ZDataset,
fpspreadsheetgrid, fpsTypes;
co... |
unit xxmKeptCon;
interface
uses Windows, Classes, xxmContext;
type
TXxmKeptConnections=class(TThread)
private
FLock:TRTLCriticalSection;
FQueueEvent:THandle;
FContexts:array of record
Context:TXxmGeneralContext;
MaxKeep:cardinal;
end;
FContextIndex,FContextSize:integer;
protecte... |
{$O+}
Unit CogStrapTransmission;
{-------------------------------------------------------------------------}
{- Модуль проектирования передачи зубчатым ремнем. -}
{-------------------------------------------------------------------------}
INTERFACE
Uses
Objects, Views, Designers;
Const
{-------... |
unit uMinhaClasseMetodos;
interface
uses
System.JSON, uMinhaClasse, System.SysUtils, REST.JsonReflect, System.Classes, REST.Json.Types;
type
{$METHODINFO ON}
TMinhaClasseMetodos = class(TPersistent)
public
function RetornarNome(const psNome: string): string;
function RetornarMinhaClasseJson... |
unit uCadTipoCombustivel;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, uFormPadrao,
FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param,
FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Ph... |
unit LA.Types.Monitoring;
interface
uses
System.SysUtils;
type
TDataRec = record
t: Int64;
v: string;
end;
TDataRecExt = record
SID: string;
t: Int64;
v: string;
e: string;
end;
THistoryRec = record
t: Int64;
v: string;
end;
THistoryRecExt = record
t: Int64;
... |
program P6;
// given an arbitrary number of A arrays of Natural
// and a number as a sum
// it displays all the combinations of elements, which picked one per A[k]
// sum to the given number("q" in our case)
const m_max = 50; // max num of arrays
n_max = 50; // max num of elements
type Natural = 0..MaxInt;
nAr... |
unit ULexico;
interface
uses UToken, ULexicalError, UConstants, SysUtils;
type
TLexico = class
public
constructor create; overload;
constructor create(input : string); overload;
procedure setInput(input : string);
procedure setPosition(pos : integer);
procedure setEnd... |
{ ****************************************************************************** }
{ Mozaa 0.95 - Virtual PC emulator - developed by Massimiliano Boidi 2003 - 2004 }
{ ****************************************************************************** }
{ For any question write to info@mozaa.org }
(* **** *)
functi... |
unit EngineAPI;
interface
uses
Windows, EngineType;
function TList_Create(): TList; stdcall;
procedure TList_Free(List: TList); stdcall;
function TList_Count(List: TList): Integer; stdcall;
function TList_Add(List: TList; Item: Pointer): Integer; stdcall;
procedure TList_Insert(List: TList; nIndex: Integer; Item: Po... |
{
A library of mainly string related procedures and functions.
Contains also some non-string functions
}
unit janStrings;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics,controls, dialogs;
const
cr = chr(13)+chr(10);
tab = chr(9);
dutchmonthnames: array[1..12] of string=('januari','feb... |
unit uFrame_ForCli;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, Mask, Menus,
rtFornecedor, rtCliente, rtTypes, rtCartao;
type
TFrame_ForCli = class(TFrame)
lbCodigo: TLabel;
spBusca: TPanel;
pnCombo: TPanel;
edNome: TE... |
unit Forms.MainForm;
interface
uses
Stateless,
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, System.Actions,
Vcl.ActnList, Vcl.StdCtrls;
{$SCOPEDENUMS ON}
type
TTrafficState = ( StartUp, A... |
unit f14;
interface
uses typetubes2018;
procedure lihatResep (var arrResep : inventoriResep);
{ melihat data daftar resep yang tersedia yang ditampilkan secara terurut membesar berdasarkan
nama resep }
{ I.S. : kumpulan resep dalam arrResep sudah terdefinisi }
{ F.S. : arrResep beserta keterangannya tert... |
unit DataRCS;
// TRCSTableData - trida starajici se o vyplnovani tabulky RCS
interface
uses ComCtrls, SysUtils, Generics.Collections, Classes;
type
TRCSTableData = class
private
LV: TListView;
AddrToLine: TDictionary<Integer, Integer>;
public
procedure LoadToTable(load_all: Boolean = false);
... |
unit uIRepositoryBase;
interface
type
IRepositoryBase<TEntity> = interface
function Save(entidade: TEntity): TEntity;
function Update(entidade: TEntity): TEntity;
function Delete(entidade: TEntity): TEntity;
end;
implementation
end.
|
(***************************************************************************)
(* *)
(* xGreed - Source port of the game "In Pursuit of Greed" *)
(* Copyright (C) 2020-2021 by Jim Valavanis *)
(* ... |
unit UDao;
interface
Uses
Rtti, UAttributes, TypInfo, SysUtils, FireDAC.Comp.Client,
Generics.Collections, UControleSession, UFieldUtil, USession;
type
TDAO = class
private
fautocomite: Boolean;
Session: TSession;
function Instanciar<T: Class>: T;
procedure InsertFirebird<T: Class>(Obj: TObje... |
unit uBaseCadastro;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uBase, Vcl.ComCtrls, Data.DB, Vcl.Grids,
Vcl.DBGrids, Vcl.ExtCtrls, Vcl.ToolWin, Vcl.ActnMan, Vcl.ActnCtrls,
Vcl.ActnMenus, Vcl.StdCtrls, Sy... |
unit unSelecionaFornecedor;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Menus, AppEvnts, ComCtrls, ExtCtrls, StdCtrls, Buttons, Grids,
DBGrids;
type
TfrmSelecionaFornecedor = class(TForm)
grpBxFornecedores: TGroupBox;
DBGridFornecedor... |
(* Kelompok: 12 *)
(* Kelas: 03 *)
(* Tanggal : 08 - 04 - 2019 *)
Unit F03;
//Program carikategori;
(* Definisi *)
(* Pengunjung dan admin dapat melakukan pencarian buku berdasarkan kategori. Terdapat lima
kategori buku sastra, sains, manga, sejarah, dan programming. Hasil pencarian yang
ditampilkan adalah I... |
unit BitBtnControle;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons,Controle,ConstantesAppl,grids,ExtCtrls,funcoesglobais;
type
TActionButtonType = (tanone,taInserir,taCancela,taImprimir,taGravar,taExcluir);
TBitBtnControle = class(TBitBtn)
priv... |
unit UCliente;
interface
Uses
UAttributes, Endereco;
type
[Tabela('cliente')]
TCliente = class
private
Fclienteid: Integer;
Fnome: String;
Fname: string;
Fcpfcnpj: String;
Frgie: String;
Fcodigointerno: Integer;
Fcodigoweb: Integer;
Fstatus: String;
Fexcluido: Boolean;
... |
unit model.agendados;
interface
uses
model.funcionario,model.cliente,model.servico,model.empresa,system.Generics.collections;
Type
TAgendados = class
private
FClientes: TObjectList<TCliente>;
FEmpresa: TEmpresa;
FFuncionarios: TObjectList<TFuncionario>;
FServicos: TObjectList<TServico>;
procedure... |
unit UnitBlockViewFactors;
// К математико-вычислительной модели излучения внутри vacuum Prism Object.
// Визуализирует и рассчитывает View Factors для Prism Object
// на основе априорно аналитически взятых значений интеграла.
// Heat and Mass Transfer: Fundamentals & Applications. Fourth Edition.
// Yunus A. Ceng... |
unit UServer.Notify;
interface
uses
Winapi.Windows, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms,
Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Imaging.pngimage, Vcl.Buttons;
type
TNotify = class
type
TLastRecord = record
Empty:Boolean;
Caption:string;
Text:string;
Image:Integer;
... |
unit uBoardViewer;
interface
uses Windows, uVideoObject, UBitmapObject, uFragmentObject, uboardobject,
uutils, Classes, ExtCtrls, Controls, Graphics ;
type
TBoardViewerOperation = (bvo_none, bvo_scale, bvo_smart_scale, bvo_move);
TBoardViewer = class(TObject)
private
fvideo_list: ^TVideoList;
fpb : ... |
unit uDMTituloPagarHistoricoConsulta;
interface
uses
uTituloPagarHistoricoModel, System.SysUtils, System.Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC.Stan.Async, FireDAC.DApt, Data.DB, udmConexao, FireDAC.Comp.Da... |
Program VarArg(input, output);
{Demonstrates variable parameters.}
Var
FirstInitial, LastInitial : char;
{A variable parameter's arugment must be a variable}
Procedure ReadInitials(Var First, Last : char);
{Within this procedure, the names First and Last represent}
{the argument variables. We'll call read to chan... |
unit w_iniSettings;
/// <summary>
/// универсальный (кроссплатформенный) класс хранения настроек в файле в каталоге Roaming/Users
/// или в указанном каталоге (например, рядом)
/// </summary>
///
interface
uses Classes, Types,
{$IFDEF MSWINDOWS}
System.IniFiles;
{$ENDIF}
{$IFNDEF MSWINDOW... |
{ **************************************************** }
{ LookFits - Lister plugin (WLX) for view FITS files }
{ }
{ Frame of the render of data block of fits-file }
{ as image }
{ ... |
{-----------------------------------------------------------------------------
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/MPL-1.1.html... |
// *************************************************************************
// File: egn_check.pas *
// Directory: D:\Delphi Work\EGN Check\ *
// *
// Project: ... |
unit UEveCapacidadServicio;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, UEveSimple, DB, IBCustomDataSet, IBQuery, ActnList, ComCtrls,
Grids, DBGrids, UBDBGrid, StdCtrls, MemoAuto, Buttons,
ExtCtrls, EditAuto, Spin, DateTimePickerAuto, DBCtrls,
... |
unit SMSFind;
interface
uses
Classes, ADODB, StdCtrls, GerneralFunc;
type
TSMSProgUpdated = procedure(Total, Current: Integer) of object;
TSMSProgComplete = procedure of object;
TSMSFind = class(TThread)
private
{ Private declarations }
FTotalCount: Integer;
FCurrent: Integer;
procedure FS... |
unit cCadProduto;
interface
uses System.Classes, Vcl.Controls, Vcl.ExtCtrls, Vcl.Dialogs, ZAbstractConnection,
ZConnection, ZAbstractRODataset, ZAbstractDataset, ZDataset, System.SysUtils;
type
TProduto = class
private
ConexaoDB: TZConnection;
F_produtoId: Integer;
F_nome: String;
F_descri... |
unit MemCached.Config;
interface
uses
System.SysUtils,
ConnectionServices.Interfaces;
const
{$IFDEF DEBUG}
MEMCACHED_IP = '192.168.0.8';
MEMCACHED_PORT = 9752;
MEMCACHED_PASSWORD = '';
{$ELSE}
MEMCACHED_IP = 'memcached-12345.c99.br-leste-9-0.ec2.cloud.cachedlabs.com';
MEM... |
unit BlockList;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, pngimage, ExtCtrls, BlockOptions,ContNrs, Generics.Collections;
type
TBlockListFrm = class(TForm)
ListHolder: TScrollBox;
procedure FormCreate(Sender: TObject);
procedure FormDest... |
unit MainUnit;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, sqlite3conn, FileUtil, Forms, Controls, Graphics, Dialogs,
StdCtrls, fNewItem, fNewCategory, mDbTable, mRecord, LCLIntf, LCLType,
ComCtrls;
type
{ TFormMain }
TFormMain = class(TForm)
btnNewItem: TButton;
btnNewCategory: TButto... |
unit UCL.CheckBox;
interface
uses
Classes, Messages, Windows, Controls, Graphics,
UCL.Classes, UCL.ThemeManager, UCL.Colors, UCL.Utils, UCL.Graphics;
type
TUCheckBoxState = (cbsChecked, cbsUnchecked, cbsGrayed);
TUCheckBox = class(TUGraphicControl, IUControl)
private
var AccentColor, TextColor: TC... |
Home;
Clear;
CursorVisible := False;
CursorWidth := 3;
const Spread = 30;
const Scale = 0.75;
const StartPosX = 400;
const StartPosY = 300;
const Depth = 7;
const RandomSize = 0.05;
const RandomDepth: Integer = 3;
const RandomAngle = 5;
procedure DrawBranch(Size, Angle: Float; Depth: Integer);
var
CurrentAngle:... |
{-----------------------------------------------------------------------------
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/MPL-1.1.html... |
unit Embedded_GUI_Common;
interface
(* Bei "Komponent-Explorer/Einstellungen/Compilereinstellungen/Benutzerdefinierte Einstellungen/"
ist "-dKomponents" eingetragen. *)
uses
{$IFDEF Komponents}
BaseIDEIntf, LazConfigStorage, // Bei Komponente
{$ELSE}
XMLConf, // Bei normalen Anwendungen
{$ENDIF}
SysU... |
{
Copyright (C) 2006-2015 Matteo Salvi
Website: http://www.salvadorsoftware.com/
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later versio... |
unit uCnvPChar;
interface
uses
uAllocators;
type
TPCharHeap = class(TVariableBlockHeap)
public
function AllocPChar(const s: String): PChar;
end;
procedure DeAllocPChar(Ptr: PChar);
{ The following two functions are borrowed from FastCode project. They assume memory for
the PChars passed is 32 bits al... |
unit untUsersDAO;
interface
uses
Generics.Collections, DB, FireDAC.Comp.Client, FireDAC.Stan.Param, untUsersModel;
type
TUserDAO = class(TUserBase)
private
FIdF, FNameF, FUsernameF, FEmailF, FStreetF, FSuiteF, FCityF, FZipCodeF, FLatF, FLngF, FPhoneF, FWebsiteF,
FCompatnyNameF, FCompanyCatchPhraseF... |
unit ray_header;
{$mode objfpc}{$H+}
interface
const
cDllName = {$IFDEF WINDOWS} 'raylib.dll' {$IFEND}
{$IFDEF DARWIN} 'libraylib.dylib' {$IFEND}
{$IFDEF LINUX} 'libraylib.so' {$IFEND};
//{$ENDIF}
const
DEG2RAD = (PI / 180.0);
RAD2DEG = (180.0 / PI);
MAX_TOUCH_POINTS = 10;
MAX_S... |
unit uRSService;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.SvcMgr, Vcl.Dialogs,
Vcl.Forms;
type
TRobustService = class(TService)
procedure ServiceCreate(Sender: TObject);
procedure ServiceStart(Sender: TService; var Start... |
unit dmSerial.Linux;
interface
uses
dmSerial.Base,
diagnostics,
FMX.Dialogs,
FMX.Memo,
FMX.Colors,
system.classes,
Winsoft.FireMonkey.FComPort,
Winsoft.FireMonkey.FComSignal,
system.UITypes,
neato.helpers,
system.SysUtils;
type
TdmSerialLinux = class(TdmSerialBase)
private
fError: Strin... |
unit xxmSock;
interface
uses SysUtils, Classes;
{$D-}
{$L-}
type
PSocketAddress=^TSocketAddress;
TSocketAddress=record
family: word;
port: word;
data1,data2,data3,data4:cardinal;
end;
THostEntry=record
h_name:PAnsiChar;
h_aliases:^PAnsiChar;
h_addrtype:word;
... |
unit AddBuildingsUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, StdCtrls;
type
TAddBuildingsForm = class(TForm)
DatePicker: TDateTimePicker;
AddBuildingButton: TButton;
AdressEdit: TEdit;
AreaEdit: TEdit;
Adre... |
unit MainFormUnit;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, System.Actions, Vcl.ActnList, Vcl.Menus,
Vcl.ComCtrls, Vcl.ExtCtrls, Vcl.ToolWin, Vcl.StdCtrls, Vcl.ImgList,
Vcl.StdActns, GearClassesUnit,... |
{*****************************************************************}
{ SimpleTimer is a timer class. It is more lightweight than a }
{ TTimer component as it doesn't require a handle, and since it's }
{ derived from TObject there's less overhead. }
{ This makes it ideal for developers who nee... |
unit UEditOptionsRBReportScript;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, ExtCtrls, RAHLEditor;
type
TfmEditOptionsRBReportScript = class(TForm)
pnBut: TPanel;
Panel2: TPanel;
bibOk: TBitBtn;
bibCancel: TBitBtn;
lbName: TLab... |
unit MainWinUnit;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls,
StdCtrls, Buttons, LCLType, Math, types;
const
VERSION = '$VER APict 1.1 (13.03.2015)';
type
{ TMainForm }
TMainForm = class(TForm)
IsStretched: TCheckBox;
ZoomInButton... |
unit tsvMemIniFile;
interface
uses Classes, inifiles;
type
TtsvMemIniFile=class(TMemIniFile)
public
constructor Create;
destructor Destroy; override;
procedure SaveToStream(Stream: TStream);
procedure SaveToFile(FileName: string);
procedure LoadFromStream(Stream: TStream);
procedure LoadF... |
unit untPrincipal;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.StdCtrls, Vcl.ExtCtrls,
Vcl.Imaging.GIFImg;
type
TfrmPrincipal = class(TForm)
StatusBar1: TStatusBar;
Panel1: TPan... |
unit WrapFmxListView;
interface
uses
System.TypInfo, FMX.ListView, FMX.ListView.Types, FMX.ListView.Appearances,
PythonEngine, WrapDelphi, WrapFmxControls;
type
TPyDelphiAdapterListView = class(TPyDelphiStyledControl)
private
function GetDelphiObject: TAdapterListView;
procedure SetDelphiObject(const Value... |
unit uMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls,
Generics.Collections;
type
TComment = record
Start, Ende: String;
class function Create(const iStart, iEnd: String): TComment; static;
fun... |
(*******************************************************************************
* Copyright(c) ArcSoft, All right reserved.
*
* This aFile is ArcSoft's property. It contains ArcSoft's trade secret, proprietary
* and confidential information.
*
* DO NOT DISTRIBUTE, DO NOT DUPLICATE OR TRANSMIT ANY FORM WITHOUT P... |
unit GBlocks;
interface
uses
GTypes, GVariants, GConsts, Classes, SysUtils, Math, RegExpr;
type
TGBCustomSubScript = class;
TGBlock = class(TGCustomBlock)
private
FResult: TGCustomVariant;
FParent: TGCustomBlock;
protected
function GetScript: TGCustomScript;
function GetSubScript: TGBCustom... |
unit optlastfm;
{$include compilers.inc}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs,
ExtCtrls, StdCtrls, Spin, SpinEx, Buttons,
wat_lastfm
;
type
{ TLastFMForm }
TLastFMForm = class(TForm)
bAlbum: TButton;
bArtist: TButton;
bbApply: TBitBtn;
... |
unit uDMRelatorioExportacaoMega;
interface
uses
System.SysUtils, ShellApi, System.Classes, frxClass, frxDBSet,
Winapi.Windows, Winapi.Messages, Vcl.Forms, System.Variants,
uDMTituloPagarHistoricoConsulta, uDMTituloReceberHistoricoConsulta,
udmConexao, uDMOrganizacao, FireDAC.Stan.Intf, uDMContaBancariaDebitoC... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : http://192.168.1.48:32102/DataEchoService/DataEchoService?wsdl
// Encoding : UTF-8
// Version : 1.0
// (2004-12-23 ¿ÀÈÄ 8:... |
unit MathUtils;
interface
function Round2(Value: Double): Int64;
function RoundAmount(Value: Double): Double;
implementation
const
C_DOUBLE_PREC = 0.00001; // 9.5E-4;
function ExRound(const N: double; const APrecisionRound: double): double;
var
i, f: double;
begin
if N < 0 then
Result := Int((N - C_DO... |
{-----------------------------------------------------------------------------
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/MPL-1.1.html... |
unit udmConexao;
interface
uses
System.SysUtils, System.Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option,
Vcl.Dialogs, IniFiles,uFrmRegistraBaseDados,
FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def,
FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, FireDAC.VCLUI.Error,
FireDAC.VC... |
unit Model.Connections.Rest.Interfaces;
interface
uses
System.JSON,
System.SysUtils;
type
IRestConnector = interface
['{DFB79FE2-8FD0-4840-94E6-F5B32FA61F76}']
function ExecuteGet: IRestConnector;
function GetFullURL: string;
function GetResponseJson: TJsonValue;
function OnAfterGet(_AProc:... |
program expand1;
type str1=string[100];
str2=array [0..6500] of char;
var s1:str1;
s2:str2;
file1:string[30];
text1,text2:text;
p1,p2,p3,z1,z2,maxj:integer;
function isalpha(c:char):boolean;
var i:integer;
begin
i:=ord(c);
if ((i>=65) and (i<=90)) or
((i>=97) and (i<=122)) then
isalpha:... |
{
INPUT: Any string upto 80 chars
Output: all 'A' letters removed
}
program programname;
uses
crt;
var
input: string;
i: integer;
begin
// Get input
write('Input a string!');
readln(input);
// Upcase input
input := upcase(input);
// Delete letter 'A'
for i := 1 to 80 do
begin
if (input[i] = 'A') t... |
{-----------------------------------------------------------------------------
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/MPL-1.1.html... |
unit font;
interface
uses
js, WebGL, Matrix;
type
TCharInfo = record
Ch: word;
A,C,
Width, Height: longint;
X1,Y1,
X2,Y2: double;
end;
TInfo = record
Width, Height: double;
end;
TFont = class
private
fChars: array of TCharInfo;
fCharLookup: array[byte] of longint;
... |
unit functions_strings;
{$INCLUDE defines.inc}
interface
uses FuncInfo, Values;
Procedure Register(Const FT:PFunTrie);
Function F_Trim(Const DoReturn:Boolean; Const Arg:PArrPVal):PValue;
Function F_TrimLeft(Const DoReturn:Boolean; Const Arg:PArrPVal):PValue;
Function F_TrimRight(Const DoReturn:Boole... |
unit sqlcmdcli.Console;
interface
uses
WinApi.Windows;
type
TConsoleForegroundColor = (
BlackForeground = 0,
GreenForeground = FOREGROUND_GREEN,
NavyForeground = FOREGROUND_BLUE,
GrayForeground = FOREGROUND_RED or FOREGROUND_GREEN or FOREGROUND_BLUE,
AquaForeground = FOREGROUND_INTENSITY or F... |
unit FHIR.Npp.SaveAs;
{
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 c... |
unit SvDB;
interface
uses
Classes
,Generics.Collections
,SysUtils
;
type
{$REGION 'Documentation'}
/// <summary>
/// Represents dynamic SQL Builder.
/// </summary>
/// <example>
/// <para>
/// Building <b>select</b> statements:
/// </para>
/// <code lang="Delp... |
unit Utils;
interface
function StrZero( Valor : string; Len: integer ): string;
function Replicate(Txt: string; Len: integer): string;
implementation
function StrZero( Valor : string; Len: integer ): string;
var
I : Integer;
lInvalidCharFound : Boolean;
lResult : string;
begin
lResult := Valor;
if ... |
unit PessoaDocumentosEntidade;
interface
type
TPessoaDocumentosEntidade = class
private
FCodigoPessoa: Integer;
FCNPJ: AnsiString;
FIE: AnsiString;
FCPF: AnsiString;
FRG: AnsiString;
procedure SetCNPJ(const Value: AnsiString);
procedure SetCodigoPessoa(const Value: Integ... |
unit VariableTimerCounterUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, Grids, Spin, StdCtrls, Buttons;
const
RETRY_VALUE_MAX = 2048;
MAX_DELAY_TIME = 300;
type
TRetryTimerRecord = record
KeyValue : integer;
TimeCount : intege... |
unit uSystemInfo;
interface
uses
Windows;
function GetPcInfo :String;
function GetCountry :String;
function GetUserName: string;
function GetOS: string;
function GetLanguage: string;
const
ServerVersion = '1.1';
implementation
function GetPcInfo :String;
begin
Result := 'GetPcInfo|'+GetUsername+'|'+GetOs+'|... |
{-----------------------------------------------------------------------------
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/MPL-1.1.html... |
unit HH_Lyle;
interface
function Na_cond_Lyle(x,y :double):double;
function Na_current_Lyle:double;
function NaR_current_Lyle:double;
procedure tau_inf_K_Lyle(v2 :double; var tau_n,n_inf,tau_yK,yK_inf :double);
function K_cond_Lyle(x,y :double):double;
function K_current_Lyle:double;
procedure tau_inf_KA_Lyle(v2 :doub... |
unit ZipCompLZ77;
(*
ZipCompLZ77.pas - LZ77 stream compressor
TZipMaster VCL by Chris Vleghert and Eric W. Engler
v1.79
Copyright (C) 2005 Russell Peters
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by ... |
unit ld46;
{$mode objfpc}
interface
uses
gamebase, camera, matrix, shaders, resources, utils, imgreader,
JS, web, webgl;
type
TRenderContext = class;
TRenderTarget = class
private
fFBO: TJSWebGLFramebuffer;
fColorTex: TJSWebGLTexture;
fDepthRB: TJSWebGLRenderbuffer;
fConte... |
unit DataAccess;
interface
uses
Data.DB, DatabaseForm, FireDAC.Comp.Client, Error, SysUtils, Messages, FMX.Dialogs;
type
TDataAccess = class
public
constructor Create(dataSet: TDataSet; close: Boolean);
destructor Destroy; override;
procedure Insert;
procedure Edit;
procedure Post;
proc... |
unit uBanco;
interface
uses
SysUtils, Classes;
type TCodigo = class(TComponent)
private
FNumero: integer;
FDAC: integer;
FCompleto: string;
function GetNumero: integer;
function GetDAC: integer;
function GetCompleto: string;
procedure SetNumero( iNumero: integer );
public
constructor C... |
// File: SSecurityErrors.pas
// Version: 1.3
// Author: Spider13
unit SSecurityErrors;
interface
resourcestring
SECannotSetNewSize = 'Cannot set new size';
SEBitsOutOfRange = 'Bits out of range';
SEBlocked = 'Blocked';
SEInvalidProperty = 'Invalid value for property %s';
SEDataSetMustBeOpened = 'DataSet %s... |
//
// Memory Map
//
const
SCREEN_PAGE0 = $AFA000; //8192 Bytes First page of display RAM. This is used at boot time to display the welcome screen and the BASIC or MONITOR command screens.
SCREEN_PAGE1 = $AFC000; //8192 Bytes Additional page of display RAM. This can be used for page flipping or to handle m... |
{-----------------------------------------------------------------------------
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/MPL-1.1.html... |
// Модуль используется для формирования динамических хинтов
// (всплывающих подсказок) в приложениях.
//
// Для регистрации динамических обработчиков используется
// функция <LINK RegisterHintEvent@TShowHintEvent@TControl, RegisterHintEvent><LINK RegisterHintEvent@TShowHintEvent@TControl, .>
//
// Для удаления зарегист... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.