text stringlengths 14 6.51M |
|---|
{
Exercicio 26:Escreva um algoritmo que receba o nome e a idade de um atleta para uma competição. No final, exibir um
boletim constando o nome do atleta e sua respectiva categoria, baseando-se na tabela abaixo:
Idade Categoria
Abaixo de 08 anos Não pode participar!
Entre 08 e 10 anos P... |
unit eInterestSimulator.Model.Interfaces;
interface
uses
System.Generics.Collections;
type
TTypeSistema = (tpAlemao, tpAmericano, tpAmortizacaoConstante,
tpAmortizacaoMisto, tpPagamentoUnico, tpPagamentoVariavel, tpPrice);
iSimulador = interface
['{3A7BC019-4141-4BA4-A54B-816C49D8194D}']
function... |
{
Clever Internet Suite
Copyright (C) 2013 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clEncoder;
interface
{$I clVer.inc}
{$IFDEF DELPHI7}
{$WARN UNSAFE_CODE OFF}
{$WARN UNSAFE_TYPE OFF}
{$ENDIF}
uses
{$IFNDEF DELPHIXE2}
Classes, SysUtils,{$IFDEF DEMO} Windows, Forms,{$ENDIF... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
{$I ok_sklad.inc}
unit EditDB;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, dxCntner, dxEditor, StdCtrls,
ActnList, ssBaseTypes, ssFormStorage, cxCheckBox, cxControls,
cxContainer, cxEdit, cxTextEdit, cxLookAndFeelPainters, cxButtons, ss... |
unit SetOpc;
interface
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
ExtCtrls, Grids, ValEdit, Menus, ActnMan, variants, AdoDb, Db;
type
TSetOpcDlg = class(TForm)
OKBtn: TButton;
CancelBtn: TButton;
Bevel1: TBevel;
Label1: TLabel;
edOpera: TEdit;
Datos: TValueListE... |
unit WindowsWlanGetter;
interface
uses nduWlanAPI, System.Types, System.SysUtils, System.Classes, nduWlanTypes,
FIWClasses, System.Generics.Collections;
type
TWinNetworkInfo = class
class function GetNetworkInfo: TObjectList<TWlanInfo>;
end;
implementation
class function TWinNetworkInfo.GetNetworkInfo: TObj... |
unit adxolBDSFormCreator;
{$I adxolDefs.inc}
interface
uses
Windows,
ToolsAPI;
{$IFDEF DELPHI_9_UP}
type
TadxOlFormImplementationFile = class(TInterfacedObject, IOTAFile)
private
fModuleName : String;
fAncestorIdent: String;
fAncestorClass: TClass;
fFormIdent: String;
public
constructo... |
unit MainWindow;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
DDraw, Menus, ExtDlgs;
type
TMainForm =
class(TForm)
OpenPictureDialog: TOpenPictureDialog;
MainMenu: TMainMenu;
File1: TMenuItem;
Load: TMenuItem;
... |
unit ServerHorse.Routers.Users;
interface
uses
System.JSON,
Horse,
Horse.Jhonson,
Horse.OctetStream,
Horse.CORS,
ServerHorse.Controller;
procedure Registry;
implementation
uses
System.Classes,
ServerHorse.Controller.Interfaces,
ServerHorse.Model.Entity.USERS,
System.SysUtils,
ServerHorse.Util... |
//Ghetto-sphere breach && cleanse the brains of war?
unit socket;
interface
{$IFDEF FPC}
{$PACKRECORDS C}
{$ENDIF}
//in.h
const
INADDR_ANY = $00000000;
INADDR_BROADCAST = $FFFFFFFF;
INADDR_NONE = $FFFFFFFF;
INET_ADDRSTRLEN = 16;
{#define IPPROTO_IP ??? }
{#define IPPRO... |
unit EuroConvConst;
interface
uses
ConvUtils;
var
// Euro Currency Conversion Units
// basic unit of measurement is Euro
cbEuroCurrency: TConvFamily;
cuEUR: TConvType;
cuDEM: TConvType; // Germany
cuESP: TConvType; // Spain
cuFRF: TConvType; // France
cuIEP: TConvType; // Ireland
cuITL: TConvTyp... |
unit HeapSort;
interface
uses
StrategyInterface,
ArraySubroutines;
type
THeapSort = class(TInterfacedObject, ISorter)
procedure Sort(var A : Array of Integer);
destructor Destroy; override;
private
procedure BuildHeap(var A : Array of Integer);
procedure Heapify(var A : Arr... |
{
Clever Internet Suite
Copyright (C) 2013 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clSmtpFileHandler;
interface
{$I clVer.inc}
{$IFDEF DELPHI6}
{$WARN SYMBOL_PLATFORM OFF}
{$ENDIF}
{$IFDEF DELPHI7}
{$WARN UNSAFE_CODE OFF}
{$WARN UNSAFE_TYPE OFF}
{$WARN UNSAFE_CAST OFF}
... |
unit arSearch;
{$Include l3Define.inc}
{ $Id: arSearch.pas,v 1.51 2016/10/17 10:58:22 lukyanets Exp $ }
interface
{$INCLUDE ProjectDefine.inc}
uses
WinTypes,
Classes,
l3RegEx,
l3Types,
l3Base,
l3Interfaces,
l3Variant,
l3LongintList,
k2Base,
evTypes,
evIntf,
evSearch,
evInternalInter... |
//Exercício 5: Escreva um algoritmo que receba o salário de um funcionário, calcule e exiba o quanto ele ganha por dia.
{ Solução em Portugol
Algoritmo Exercicio;
Var
salario: inteiro;
salario_diario: real;
Inicio
exiba("Programa que calcula o salário diário de um funcionário.");
exiba("Digite ... |
{ Date Created: 5/25/00 5:01:02 PM }
unit InfoSETTCODETable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TInfoSETTCODERecord = record
PCode: String[4];
PDescription: String[30];
PActive: Boolean;
End;
TInfoSETTCODEBuffer = class(TDataBuf)
prot... |
unit IdDsnPropEdBindingNET;
interface
uses
Classes,
System.Drawing, System.Collections, System.ComponentModel,
System.Windows.Forms, System.Data, IdSocketHandle;
type
TIdDsnPropEdBindingNET = class(System.Windows.Forms.Form)
{$REGION 'Designer Managed Code'}
strict private
/// <summary>
... |
unit Customer;
interface
uses
ObjectsMappers;
type
TBaseBO = class
private
FID: Integer;
procedure SetID(const Value: Integer);
public
procedure CheckInsert; virtual;
procedure CheckUpdate; virtual;
procedure CheckDelete; virtual;
property ID: Integer read FID write SetID;
end;
[... |
{!DOCTOPIC}{
Numeric functions
}
{!DOCREF} {
@method: function se.SumTBA(const Arr: TByteArray): Int64;
@desc: Returns the total sum of the array
}
function SimbaExt.SumTBA(const Arr: TByteArray): Int64;
begin
Result := exp_SumTBA(Arr);
end;
{!DOCREF} {
@method: function se.SumTIA(const... |
{
$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 uExportaExcel;
interface
uses
DB, ComObj, Graphics, Variants;
type
TExportaExcel = class
private
fArquivoExcel: string;
fNomeArquivo: string;
fDirArquivo: string;
fDataset: TDataSet;
FNomePlanilha: string;
procedure SetDirArquivo(const Value: string);
public
property Dataset:... |
/// Utilities to load or save text delimited files.
unit tmsUTextDelim;
{$INCLUDE ..\FLXCOMPILER.INC}
interface
uses Classes, SysUtils, tmsUExcelAdapter, tmsUFlxNumberFormat, tmsUFlxMessages;
type
/// <summary>
/// Handles how to convert a column from text when importing a text file.
/// </summary>
XLSColum... |
{ *************************************************************************** }
{ }
{ NLDPicture - www.nldelphi.com Open Source designtime component }
{ ... |
unit LoanView;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Readhtml, FramView, FramBrwz, Htmlview, Buttons, LMDCustomControl,
LMDCustomPanel, LMDCustomBevelPanel, LMDCustomParentPanel, LMDBackPanel,
FFSDataBackground, ComCtrls, ToolWin, PreviewForm, sDia... |
{VESA.PAS - version 4.0 (beta)}
{XMS}
{$A+,B-,D+,E+,F+,G-,I+,L+,N-,O-,P+,Q-,R-,S+,T-,V+,X+}
{$M 16384,0,655360}
Unit VESA;
Interface
Const
{Графические режимы}
M640x400=$100;
M640x480=$101;
M800x600=$103;
M1024x768=$105;
M1280x1024=$107;
{Режимы вывода изображения}
Normal... |
unit K332563400;
{* [RequestLink:332563400] }
// Модуль: "w:\common\components\rtl\Garant\Daily\K332563400.pas"
// Стереотип: "TestCase"
// Элемент модели: "K332563400" MUID: (4F2694F901CD)
// Имя типа: "TK332563400"
{$Include w:\common\components\rtl\Garant\Daily\TestDefine.inc.pas}
interface
{$If Defined(nsTest)... |
unit Service;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.SvcMgr, Vcl.Dialogs,
Vcl.ExtCtrls, XSuperObject, IdGlobal, System.DateUtils, Forms, IniFiles, Constants, IdStack;
type
TRCore = class(TDataModule)
TimerWDog: TTimer;
TimerStar... |
unit RetroClock;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs,
DrawnControl;
type
TClockScaleLineIndex = 0..59;
{ TClockScaleLines }
TClockScaleLines = class(TDrawing)
private
FCenter: TPoint;
FBaseLineLength: Integer;
FRadius: Integ... |
{ Date Created: 5/30/00 3:28:18 PM }
unit InfoGRUPEVNTTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TInfoGRUPEVNTRecord = record
PGroup: String[6];
PEventCode: String[6];
End;
TInfoGRUPEVNTBuffer = class(TDataBuf)
protected
function PtrIn... |
unit FrameDataViewer;
interface
uses
Windows, Messages, SysUtils, Classes, Controls, Forms,
BaseApp, BaseForm, VirtualTrees, ExtCtrls,
define_dealItem,
define_price,
define_datasrc,
db_dealItem,
BaseRule, Rule_CYHT, Rule_BDZX, Rule_Boll, Rule_Std, Rule_MA,
StockDayDataAcce... |
unit CapitolTownsSheet;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, VisualControls, ObjectInspectorInterfaces, PercentEdit,
GradientBox, FramedButton, SheetHandlers, ExtCtrls, ComCtrls,
InternationalizerComponent, ImgList;
const
tidTownName = 'To... |
// the main code formatter engine, combines the parser and formatter do do the work
// Original Author: Egbert van Nes (http://www.dow.wau.nl/aew/People/Egbert_van_Nes.html)
// Contributors: Thomas Mueller (http://www.dummzeuch.de)
// Jens Borrisholt (Jens@borrisholt.dk) - Cleaning up... |
unit BackupInterfaces;
interface
uses
SysUtils, Classes, SyncObjs;
const
NULLPROC : TMethod =
(
Code : nil;
Data : nil
);
const
IgnoredBufferSize = -1;
type
IBackupObject =
interface
procedure Lock;
procedure Unlock;
function GetPos... |
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Author: François PIETTE
Description: Delphi encapsulation for SSLEAY32.DLL (OpenSSL)
This is only the subset needed by ICS.
Creation: Jan 12, 2003
Version: 1.09
EMail: francois.piette@overbyte.be h... |
unit MainForm;
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.TMSBaseControl,
FMX.TMSMemo, FMX.Controls.Presentation, FMX.Menus, FMX.Edit, FMX.Layouts, FMX.Objects,
FMX.TMSMemoStyle... |
unit VariantMatrixLib;
interface
uses streaming_class_lib,variants,TypInfo,SysUtils,classes;
function VarMatrix: TVarType;
type
TMatrix=class(TStreamingClass)
private
fRows,fCols: Integer;
fData: array of Real; //одномерный как-то надежнее, можно ускорить выполнение
fTolerance: Real;
procedure SetData(i,j: ... |
unit NewTabSet;
{
Inno Setup
Copyright (C) 1997-2004 Jordan Russell
Portions by Martijn Laan
For conditions of distribution and use, see LICENSE.TXT.
TNewTabSet - modern VS.NET-style tabs
$jrsoftware: issrc/Components/NewTabSet.pas,v 1.3 2010/08/18 03:36:36 jr Exp $
}
interface
uses
Windows, Messages... |
unit Model.Clientes;
interface
uses Common.ENum, FireDAC.Comp.Client;
type
TClientes = class
private
FCodigo: Integer;
FNome: String;
FOS: Integer;
FAcao: TAcao;
FVerba: Double;
FCliente: Integer;
public
property Cliente: Integer read FCliente write FCliente;
property Codigo... |
unit HGM.Controls.Labels;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls,
Vcl.ExtCtrls, System.UITypes, Vcl.Direct2D, Winapi.D2D1, HGM.Common, HGM.Common.Utils;
type
ThLink = class(TLabel)
p... |
unit MultiplexList;
interface
uses Classes, SplitSocket, SysUtils, {$ifdef Lazarus}TCPSocket_Lazarus{$else}TCPSocket{$endif}, StatusThread;
type
TSocketMultiplexListOnOpeningTunnel = procedure(Sender: TObject;
SMulti: TSocketMultiplex; Tunnel: TSplitSocket;
var Accept: Boolean) of object;
TSock... |
unit AddNewUserResponseUnit;
interface
uses
REST.Json.Types,
GenericParametersUnit;
type
TAddNewUserResponse = class(TGenericParameters)
private
[JSONName('member_id')]
FMemberId: integer;
public
property MemberId: integer read FMemberId write FMemberId;
end;
implementation
end.
|
unit Unit2;
interface
uses
System.Classes, StdCtrls, SysUtils, SyncObjs, IdGlobal, IdBaseComponent,
IdComponent, IdTCPConnection, IdTCPClient, IdExplicitTLSClientServerBase, IdFTPCommon,
IdFTP;
type
TUploadProgress = procedure(Current, Max: Int64) of object;
TUploadStatus = procedure(const AStatusText: Str... |
unit wProjExemplo;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TForm44 = class(TForm)
Memo1: TMemo;
Button1: TButton;
CheckBox1: TCheckBox;
procedure Button1Click(Sende... |
unit dcDateEditBtn;
interface
{$I RX.INC}
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Mask, ToolEdit, DateUtil, datacontroller, db, FFSUtils, ffstypes;
type
TFFSPopupWindow = class(TPopupWindow);
TDateStorageFormat = (dsfMMDDYYYY, dsfYYYYMMDD);
T... |
{$I ok_sklad.inc}
unit EditAtt;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ssBaseDlg, cxLookAndFeelPainters, ssFormStorage, ActnList,
StdCtrls, cxButtons, ExtCtrls, cxControls, cxContainer, cxEdit,
cxTextEdit, cxMaskEdit, cxSpinEdit, cxTimeEdit,... |
unit UnitSipka;
interface
uses
Classes, Vcl.Controls, Vcl.Graphics;
type
TDruhTvaru = (tvSipkaDole, tvSipkaHore, tvSipkaDolava, tvSipkaDoprava);
TSipka = class(TGraphicControl)
private
FPen: TPen;
FBrush: TBrush;
FDruhTvaru: TDruhTvaru;
procedure SetBrush(Value: TBrush);
... |
{ Subroutine SST_W_C_DECLARE (DECL)
*
* Write the implicit declaration indicated by DECL. DECL must be one of the
* constants of name DECL_xxx_K.
}
module sst_w_c_DECLARE;
define sst_w_c_declare;
%include 'sst_w_c.ins.pas';
procedure sst_w_c_declare ( {write out one of the implicit declarations}
in... |
unit cAcaoAcesso;
interface
uses System.Classes, Vcl.Controls,
Vcl.ExtCtrls, Vcl.Dialogs, FireDAC.Comp.Client, System.SysUtils, Vcl.Forms,
Vcl.Buttons;
type
TAcaoAcesso = class
private
ConexaoDB: TFDConnection;
F_cod_acao_acesso: Integer;
F_descricao: string;
F_chave: string;
class proc... |
unit Acme.Robot.Core.CleanBot;
interface
uses
System.Rtti,
System.SysUtils,
Acme.Robot.Core.Bot,
Acme.Robot.Core.Communications;
function NewCleanBot(const AName: string; ACommunicator: ICommunicator): ITalkingBot;
implementation
resourcestring
StrDone = 'Done.';
StrTurningOff = 'I am t... |
unit System.Console;
interface
type
TConsole = class
public
function ReadKey: Word;
end;
implementation
{$IFDEF MSWINDOWS}
uses
Winapi.Windows;
function IsSystemKey(VirtualKeyCode: Word): Boolean;
begin
Result:=VirtualKeyCode in [VK_LWIN,VK_RWIN,VK_APPS,VK_SHIFT,VK_CONTROL,VK_MENU... |
unit AppHandler;
interface
uses
VoyagerInterfaces, Forms, Controls;
type
TAppHandler =
class( TInterfacedObject, IMetaURLHandler, IURLHandler )
public
constructor Create( anAppWindow : TForm );
private
fAppWindow : TForm;
// IMetaURLHandler
privat... |
unit UNetProtocolVersion;
interface
{
Net Protocol:
3 different types: Request,Response or Auto-send
Request: <Magic Net Identification (4b)><request (2b)><operation (2b)><0x0000 (2b)><request_id(4b)><protocol info(4b)><data_length(4b)><request_data (data_length bytes)>
Response: <Magic Net Identificatio... |
unit uGeral;
interface
uses uDM, System.SysUtils, 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, FireDAC.Comp.DataSet,
FireDAC.Comp.Client;
type
TGeral = class
private
public
... |
unit View.LancamentosExtratos;
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,
dxSkinsDefaultPainters, cxClasses, dxLayoutContainer, d... |
unit nscSimpleEditor;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "Nemesis$Tails"
// Модуль: "w:/common/components/gui/Garant/Nemesis/nscSimpleEditor.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML model, root e... |
{ 2020/05/11 5.01 Move tests from unit flcTests into seperate units. }
{$INCLUDE flcTCPTest.inc}
unit flcTCPTest_Buffer;
interface
{ }
{ Test }
{ ... |
unit fTransparentForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, AppEvnts;
type
TfrmTransparent = class(TForm)
Panel1: TPanel;
ApplicationEvents1: TApplicationEvents;
procedure FormCreate(Sender: TObject);
procedure... |
{***********************************************************************************************************************
*
* TERRA Game Engine
* ==========================================
*
* Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com)
*
***************************************************... |
unit utc_localtz;
interface
uses windows, sysutils;
function UtcToLocalDateTime(aUTC : TDateTime) : TDateTime;
function LocalDateTimeToUtc(aLocalTime : TDateTime) : TDateTime;
// This Function is missing in the "windows"-api-header from Delphi
// can be removed when this bug is fixed
function TzSpecificL... |
{ Subroutine SST_R_PAS_SMENT_MODULE (STR_MOD_H)
*
* Process MODULE_STATEMENT syntax. We assume we stay in this module until
* a new MODULE statement. STR_MOD_H is the string handle to the MODULE_STATEMENT
* syntax.
}
module sst_r_pas_SMENT_MODULE;
define sst_r_pas_sment_module;
%include 'sst_r_pas.ins.pas';
... |
unit uCadastraAcoes;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, DBGrids, JvExDBGrids, JvDBGrid, JvDBUltimGrid, ExtCtrls,
JvExControls, JvNavigationPane, ComCtrls, JvExComCtrls, JvDBTreeView, DB,
DBClient, ZAbstractRODataset, ZDataset, ImgList, fun... |
unit ntvPixelGrids;
{**
* This file is part of the "Mini Library"
*
* @url http://www.sourceforge.net/projects/minilib
* @license modifiedLGPL (modified of http://www.gnu.org/licenses/lgpl.html)
* See the file COPYING.MLGPL, included in this distribution,
* @author Zaher Dirkey
*
... |
unit nsProgressDialog;
interface
uses
Windows,
SysUtils,
nsDownloaderInterfaces,
nscSystemProgressDialog;
type
TnsDownloadProgressDialog = class(TInterfacedObject, InsDownloadProgressDialog, InsDownloaderStateObserver)
private
FDialog: IProgressDialog;
FDownloader: Pointer;
procedure InitDialog;
constr... |
unit GetTeamActivitiesUnit;
interface
uses SysUtils, BaseExampleUnit;
type
TGetTeamActivities = class(TBaseExample)
public
procedure Execute(RouteId: String; Limit, Offset: integer);
end;
implementation
uses ActivityUnit;
procedure TGetTeamActivities.Execute(RouteId: String; Limit, Offset: integer)... |
unit CsNotifier;
{ $Id: CsNotifier.pas,v 1.12 2013/04/24 09:35:37 lulin Exp $ }
// $Log: CsNotifier.pas,v $
// Revision 1.12 2013/04/24 09:35:37 lulin
// - портируем.
//
// Revision 1.11 2013/04/19 13:09:32 lulin
// - портируем.
//
// Revision 1.10 2009/07/22 08:20:23 narry
// - новая процедура KeepAlive
// - c... |
{***********************************************************}
{ }
{ Ace Reporter - Export Filter Extensions }
{ }
{ Copyright © 2000-2004 Gnostice Information Technologies }
{ htt... |
//
// opus_multistream.h header binding for the Free Pascal Compiler aka FPC
//
// Binaries and demos available at http://www.djmaster.com/
//
(* Copyright (c) 2011 Xiph.Org Foundation
Written by Jean-Marc Valin *)
(*
Redistribution and use in source and binary forms, with or without
modification, are permitt... |
unit UClasses;
interface
uses SysUtils, Dialogs;
const
TabLinhas :integer = 22;
TabColunas :integer = 22;
type
TTipoObj = (toAgenteP, toAgenteV, toCasaP, toCasaV);
TTabuleiro = class(TObject)
private
tTab:array [1..22,1..22] of integer; // codigoPeca = ocupado; 0 = vazio;
public
const... |
unit uFrmListaContasReceber;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uFrmLista, Data.DB, Vcl.Menus,
JvComponentBase, JvEnterTab, Vcl.Grids, Vcl.DBGrids, JvExDBGrids, JvDBGrid,
Vcl.StdCtrls, Vcl.ExtCtr... |
program demo1;
uses
glr_render,
glr_render2d,
glr_scene,
glr_core,
glr_filesystem,
glr_math,
glr_utils,
glr_resload;
type
{ TGame }
TGame = class(TglrGame)
protected
dx, dy: Integer;
Camera, CameraHud: TglrCamera;
Material: TglrMaterial;
meshData: array of TglrVertexP3T2C4;
... |
unit ColorTbl;
{ Exports type TColorTable and a few subroutines that work
on/with it.
The TColorTable is meant to be used for palette like data structures
of max. 256 entries, which are used in GIF files and BMP files.
The entries in the TColorTable (TColorItem) are three bytes
with r,g,b values.
Reinier Sterk... |
unit UFormViewToolbar;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ComCtrls, Menus, ATxToolbarList;
type
TFormViewToolbar = class(TForm)
ListAvail: TListView;
labAvail: TLabel;
btnOk: TButton;
btnCancel: TButton;
ListCurrent: TListView;... |
unit uvFrmTileFolder;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, Buttons, StdCtrls, uvITileView;
type
TFrameTileFolder = class(TFrame, ITileView)
pnlTile: TPanel;
lblNameText: TLabel;
imgFolder: TImage;
imgClose: TImage;
proc... |
{$IfNDef HyperlinkProcessor_imp}
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\HyperlinkProcessor.imp.pas"
// Стереотип: "VCMForm"
// Элемент модели: "HyperlinkProcessor" MUID: (4A815C200111)
// Имя типа: "_HyperlinkProcessor_"
{$Define HyperlinkProcessor_imp}
{$If NOT Defined(Admin) AND NOT Defined(... |
unit fb2iSilo_dispatch;
{$WARN SYMBOL_PLATFORM OFF}
interface
uses
ComObj, ActiveX, FB2_to_iSilo_TLB, StdVcl,fb2iSilo_engine,MSXML2_TLB,Windows;
type
TFB2iSiloExport = class(TAutoObject, IFB2iSiloExport)
procedure BeforeDestruction; override;
private
ConverterVar:TFB2iSiloConverter;
Function GetCo... |
unit viewer_thtmlcomp;
{$mode delphi}
interface
uses
Classes, SysUtils,
//
browserviewer,
//
HtmlMisc, HTMLsubs, Htmlview, HTMLun2;
type
{ THtmlCompViewer }
THtmlCompViewer = class(TBrowserViewer)
private
Viewer: THTMLViewer;
FoundObject: TImageObj;
procedure ViewerMouseMove(Sender: TO... |
unit https;
interface
{$I DelphiDefs.inc}
{$IFDEF MSWINDOWS}
uses MSXML2_TLB, sysutils, variants, typex, commandprocessor, classes, debug, IdSSLOpenSSL, systemx, IdSSLOpenSSLHeaders, betterobject, helpers_stream;
const
DEFAULT_CONTENT_TYPE = 'application/x-www-form-urlencoded';
type
TExtraHeader = record
nam... |
unit uMain;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, DPF.iOS.BaseControl,
System.Math,
System.DateUtils,
DPF.iOS.Common,
DPF.iOS.UIFont,
DPF.iOS.UITableView,
DPF.iOS.UITableViewItems,
DPF.iOS.UILab... |
unit ServiceReceiverU;
interface
uses
FMX.Types,
Androidapi.JNIBridge,
Androidapi.JNI.GraphicsContentViewText,
ServiceU;
type
JServiceReceiverClass = interface(JBroadcastReceiverClass)
['{177320F8-F933-4E10-8106-7A5119603383}']
{Methods}
// function init: JServiceReceiver; cdecl;
end;
[JavaSi... |
unit LogisticsBreakdown;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, History,DB, CopyFile;
type
TLogisticsBreakdown_Form = class(TForm)
OK_Button: TButton;
Hist: THistory;
CopyFile: TCopyFile;
procedure FormShow(Sende... |
unit BaseRuleData;
interface
type
(*//
PArrayDoubleNode = ^TArrayDoubleNode;
TArrayDoubleNode = packed record
Size : Byte;
Length : Byte;
NodeIndex : Byte;
Status : Byte;
PrevSibling : PArrayDoubleNode;
NextSibling : PArrayDoubleNode... |
unit ConversionForm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ComCtrls, ExtCtrls;
type
TFormConversion = class(TForm)
rgADCRange: TRadioGroup;
GroupBoxDst: TGroupBox;
edXa: TEdit;
edXb: TEdit;
Label6: TLabel;
Label7: TLabel;
... |
{ Copyright (C) <2005> <Andrew Haines> chmls.lpr
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 version.
This progra... |
{ Tyler Galske }
program Main;
Uses sysutils;
var
strIn: string;
numShifts, MIN_CHAR, MAX_CHAR : integer;
procedure encrypt(strIn: string; numShifts: integer);
var
i: integer;
begin
strIn := AnsiUpperCase(strIn);
writeln('ENCRYPT');
writeln(strIn);
for i := 0 to Length(strIn) do
if (ord(strIn... |
////////////////////////////////////////////////////////////////////////////////
// MTBusb.pas
// MTB communication library
// Main MTB technology
// (c) Petr Travnik (petr.travnik@kmz-brno.cz),
// Jan Horacek (jan.horacek@kmz-brno.cz),
// Michal Petrilak (engineercz@gmail.com)
////////////////////////////... |
unit UPaths;
interface
function DataFolder: string;
implementation
uses
System.SysUtils;
function DataFolder: string;
begin
{$IFDEF MSWINDOWS}
Result := IncludeTrailingPathDelimiter(ExtractFilePath(ParamStr(0))) + '..\..\';
{$ELSE}
Result := IncludeTrailingPathDelimiter(ExtractFilePath(ParamStr(0)));
{$ENDIF}... |
unit eInterestSimulator.Model.Sistema;
interface
uses
eInterestSimulator.Model.Interfaces;
type
TModelSistema = class(TInterfacedObject, iSistema)
private
FDescricao: String;
FHabilitado: Boolean;
FTipoSistema: TTypeSistema;
function Descricao(Value: String): iSistema; overload;
function De... |
unit SplashDesigner;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, SpeedImage, ComCtrls, ExtDlgs;
type
TfmSplashDesigner =
class( TForm )
btOK: TButton;
pcExpertContainer: TPageControl;
tsExpertPage1: TTabSheet;
llIntro: TLabel;... |
unit Unit_drawing_with_firemonkey;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.UIConsts,
System.Classes,
System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.Controls.Presentation, FMX.StdCtrls, FMX.Objects, System.Math.Vectors;
type
T... |
{!DOCTOPIC}{
Type » TIntArray
}
{!DOCREF} {
@method: function TIntArray.Len(): Int32;
@desc: Returns the length of the array. Same as 'Length(arr)'
}
function TIntArray.Len(): Int32;
begin
Result := Length(Self);
end;
{!DOCREF} {
@method: function TIntArray.IsEmpty(): Boolean;
@desc: Returns True if th... |
unit evToolPanel;
// Модуль: "w:\common\components\gui\Garant\Everest\evToolPanel.pas"
// Стереотип: "UtilityPack"
// Элемент модели: "evToolPanel" MUID: (547CB3B5032B)
{$Include w:\common\components\gui\Garant\Everest\evDefine.inc}
interface
uses
l3IntfUses
, vtPanel
, evVisualInterfaces
, l3Interfaces
;
type... |
unit NewNotebookReg;
{
Inno Setup
Copyright (C) 1997-2005 Jordan Russell
Portions by Martijn Laan
For conditions of distribution and use, see LICENSE.TXT.
TNewNotebook design-time registration
$jrsoftware: issrc/Components/NewNotebookReg.pas,v 1.3 2005/10/11 18:23:37 jr Exp $
}
interface
uses
Classes... |
Unit MultiLinePanel;
Interface
uses
Windows, Messages, SysUtils, Classes, Controls, Forms, Dialogs,
StdCtrls,ExtCtrls, WinTypes, Graphics;
Type
THeightAlign = (taTop, taCenter, taBottom);
TGradientStyle = (gsLeft, gsTop, gsRight, gsBottom, gsLRCenter, gsTBCenter);
TGradientColors = 2..255;
//TComponentSta... |
unit nsPrimeSettings;
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\Data\Settings\nsPrimeSettings.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TnsPrimeSettings" MUID: (4C99AEBC01B3)
{$Include w:\garant6x\implementation\Garant\nsDefine.inc}
interface
{$If Defined(nsWithoutLogin)}
uses
l3IntfUses
... |
unit UserParametersUnit;
interface
uses
REST.Json.Types, System.Generics.Collections, SysUtils, Classes,
JSONNullableAttributeUnit,
NullableBasicTypesUnit, GenericParametersUnit, EnumsUnit;
type
TUserParameters = class(TGenericParameters)
private
[JSONName('member_id')]
[Nullable]
FMemberId: Nu... |
{
Clever Internet Suite
Copyright (C) 2013 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clFormChooser;
interface
{$I ..\common\clVer.inc}
uses
{$IFNDEF DELPHIXE2}
Forms, Classes, Controls, StdCtrls, Windows, Messages,
{$ELSE}
Vcl.Forms, System.Classes, Vcl.Controls, Vcl.StdCtrls... |
unit Benjamim.Header.Interfaces;
interface
uses
{$IF DEFINED(FPC)}
fpjson,
{$ELSE}
System.JSON,
{$ENDIF}
Benjamim.Utils;
Type
iHeader = interface
['{A14B0231-CAB9-40BF-A0D1-91552D33FEA6}']
function Algorithm: string; overload;
function Algorithm(const aAlgorithm: TJwtAlgorithm): iHeader; ov... |
program Ch1;
{$mode objfpc}
uses
SysUtils,Types,Math;
procedure QuickSort(var A:TIntegerDynArray;Left,Right:Integer);
var
I,J:Integer;
Pivot,Temp:Integer;
begin
I := Left;
J := Right;
Pivot := A[(Left + Right) div 2];
repeat
while Pivot > A[I] do Inc(I);
while Pivot < A[J] do Dec(J);
if I <... |
unit InfoBBALTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TInfoBBALRecord = record
PLender: String[4];
PTranDate: String[8];
PModCount: String[1];
PTotalBalance: Currency;
PIndirectBalance: Currency;
End;
TInfoBBALClass2 = class
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.