text stringlengths 14 6.51M |
|---|
{
ID: ndchiph1
PROG: frac1
LANG: PASCAL
}
uses math;
const
LM = 30000;
type
mang1 = array[1..LM] of integer;
mang2 = array[0..LM] of real;
var
fi,fo: text;
n,m: integer;
a,b: mang1;
c: mang2;
procedure input;
begin
readln(fi,n);
end;
function gcd(x,y: integer): integer;
begin
if (x = 0) or (y = ... |
unit U_Principal;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, REST.Types, REST.Client,
REST.Authenticator.Basic, Data.Bind.Components, Data.Bind.ObjectScope,
Vcl.StdCtrls;
type
TF_Principal = class(TFo... |
(******************************************************************************
* PasVulkan *
******************************************************************************
* Version see PasVulkan.Framework.pas ... |
{$REGION 'documentation'}
{
Copyright (c) 2018, Vencejo Software
Distributed under the terms of the Modified BSD License
The full license is distributed with this software
}
{
RGB convert to hexadecimal and viceversa
@created(21/03/2018)
@author Vencejo Software <www.vencejosoft.com>
}
{$ENDREGION}
unit RGB... |
(*
@abstract(Contient une classe "TBZRandomGenerator". Cette classe permet de générer
des nombres aléatoires rapides, personnalisés et sécurisé pour une utilisation avec des "Threads")
La génération des nombres aléatoire est basé sur l'algorithme XorShift.
(Ce code source est basé sur une fonctionnalité de C... |
unit ftrscanapi;
interface
uses
Windows, Messages, SysUtils, Variants, Classes;
{/*
Copyright (c) 2003-2006 Futronic Technology Company Ltd. All rights reserved.
Abstract:
Definitions and prototypes for the Futronic Scanner API.
*/ }
{$ifndef __FUTRONIC_SCAN_API_H__}
{$define __FUTRONIC_SCAN_API_H__}
{$endif... |
(*
@abstract(Prise en charge des images au format JPEG en lecture et écriture.)
Spécifications : @br
@unorderedList(
@item(Méthode de compression :
@item(Nombre de couleurs : 24 bits
@item(Supporte plusieurs images : Non
@item(Format des nombres : Big-endian
@item(Auteur ... |
// Copyright 2014 Asbjørn Heid
//
// 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 applicable law or ... |
unit Model.ProSu.Interfaces;
interface
uses
Model.ProSu.InterfaceActions;
type
INotificationClass = interface['{81BFF4B4-2035-4E4E-B1BB-2331E3339361}']
end;
TUpdateSubscriberMethod = procedure (const notifyClass: INotificationClass) of object;
ISubscriberInterface = interface['{2BA39097-CD0A-4A... |
unit uGenericObserver;
interface
uses
Spring.DesignPatterns
, uGameInfo
, uGenericDisplays
, System.SysUtils
;
type
TBaseballGame = class(TObservable<IDisplay>)
private
FGameInfo: TGameInfo;
protected
procedure DoNotify(const observer: IDisplay); override;
public
procedure ... |
{
Convert OBJ file to NIF
This is a very simple converter which supports limited number of features.
For demonstration purposes only.
Tested on free mesh
https://free3d.com/download-page.php?url=low-poly-cow-75171
}
unit ConvertObjToNif;
const
// default file names and format
sObjFileName = '';
s... |
program P2;
type
a = array[1..20] of integer;
b = integer;
var
a1: array [1..20] of integer; // Array for first array values
a2: array [1..20] of integer; // Array for second array values
a3: array [1..20] of integer; // Array for merged values
input: integer; // variable for user input... |
unit GraphWin;
interface
procedure SetBrushStyle(style:integer);
procedure DrawOblong(x1,y1,x2,y2:integer);
procedure EraseOblong(x1,y1,x2,y2:integer);
procedure SetPenColour(r,g,b:byte);
procedure SetBrushColour(r,g,b:byte);
procedure DrawText(x,y:integer; s:string);
procedure EraseText(x,y:integer; s:string);
proce... |
unit LuaBinary;
{$mode delphi}
interface
uses
Classes, SysUtils, lua;
procedure initializeLuaBinary;
implementation
uses luahandler;
function bOr(L: PLua_state): integer; cdecl;
begin
result:=1;
if lua_gettop(L)=2 then
lua_pushinteger(L, lua_tointeger(L, 1) or lua_tointeger(L,2))
... |
unit TBGFiredacDriver.View.Driver;
interface
uses
TBGConnection.Model.Interfaces, System.Classes, TBGConnection.Model.Conexao.Parametros,
FireDAC.Comp.Client, System.Generics.Collections, FireDAC.DApt,
TBGConnection.Model.DataSet.Interfaces;
Type
TBGFiredacDriverConexao = class(TComponent, iDriver)
private... |
unit Cert;
interface
type
HCkPublicKey = Pointer;
HCkBinData = Pointer;
HCkDateTime = Pointer;
HCkPrivateKey = Pointer;
HCkTask = Pointer;
HCkByteData = Pointer;
HCkString = Pointer;
HCkXmlCertVault = Pointer;
HCkCertChain = Pointer;
HCkCert = Pointer;
function CkCert_Create: HCkCert; stdcall;
procedure CkCert_Dis... |
{*******************************************************}
{ }
{ Gospel Built-in Routine Library }
{ }
{ Copyright (C) 1999 Voltus Corporation }
{ ... |
unit uGlobal;
interface
uses
Windows, Messages, System.SysUtils, Generics.Collections, System.Classes,
uJsonClass, QLog
;
const
RetOK = 1;
RetErr = 0;
const
//控制台
WM_ADD_LOG = WM_USER + 1001;
//--注入:
WM_HOOK_ON = WM_USER + 1006;
WM_ADD_SEND_MACHINE = WM_USER + 2001... |
program compilefail39(output);
{enumerated type with more than 255 values}
type fruit = (apple, pear, banana, cherry,
a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,
a1,b1,c1,d1,e1,f1,g1,h1,i1,j1,k1,l1,m1,n1,o1,p1,q1,r1,s1,t1,u1,v1,w1,x1,y1,z1,
a2,b2,c2,d2,e2,f2,g2,h2,i2,j2,k2,l2,m2,n2,o2,p2,q2,r2,s2,t2,u2,v2,... |
// GLExtrusion
{: Egg<p>
Extrusion objects for GLScene. Extrusion objects are solids defined by the
surface described by a moving curve.<p>
<b>Historique : </b><font size=-1><ul>
<li>26/02/01 - Egg - Minor update to RenderSides by Michael Schuricht
<li>21/02/01 - Egg - New RenderSides code by... |
unit Aurelius.Json.DataSnap;
{$I Aurelius.Inc}
interface
uses
TypInfo, DbxJson,
Aurelius.Json.Interfaces,
Aurelius.Json.Serializer,
Aurelius.Json.Deserializer;
type
TDataSnapJsonSerializer = class(TTypedJsonSerializer<TJsonValue>)
protected
function CreateJsonFactory: IJsonFactory; over... |
unit TaskChain;
interface
type
HCkTask = Pointer;
HCkTaskChain = Pointer;
HCkString = Pointer;
function CkTaskChain_Create: HCkTaskChain; stdcall;
procedure CkTaskChain_Dispose(handle: HCkTaskChain); stdcall;
procedure CkTaskChain_getDebugLogFilePath(objHandle: HCkTaskChain; outPropVal: HCkString); stdcall;
proce... |
unit mouse;
interface
uses dos;
function initmouse:word;
(*initializes mouse returns no. buttons: and if mouse is intalied:*)
procedure ShowMouseCursor;
(*turns mouse cursor on*)
procedure HideMouseCursor;
(*turns mouse cursor off*)
procedure GetMousePostion(var status:byte;var x:word;var y:word);
... |
{
*
* Copyright (C) 2005-2009 UDW-SOFTWARE <http://udw.altervista.org/>
*
* 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 2 of the License, or
* (at your option) any later ... |
{
* Copyright 2007 ZXing authors
*
* 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 applicable law or... |
{------------------------------------
功能说明:平台主窗体
创建日期:2008/11/17
作者:wzw
版权:wzw
-------------------------------------}
unit uMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, MainFormIntf, Menus, ExtCtrls, ComCtrls, ToolWin, Buttons, SvcInfoIntf,
Im... |
unit JsonAttributeSource;
interface
type
JsonAttribute = class(TCustomAttribute)
private
FName: String;
public
constructor Create(const AName: String);
property Name: String read FName;
end;
implementation
constructor JsonAttribute.Create(const AName: String);
begin
FName := AName;
end;
end.... |
unit uDAO;
interface
uses SqlExpr, DBClient, IniFiles,
JvComponentBase, JvCipher;
type TDao = class
private
FcdsConfiguracoes: TClientDataSet;
FJvVigenereCipher: TJvVigenereCipher;
protected
function Tabelas_Empresa ( empresa :Integer; tabela :String ) :Integer;
function Generators(Generator : Strin... |
unit newPageControl;
{$mode objfpc}{$H+}
interface
uses
jwawindows, windows, Classes, SysUtils, Controls, StdCtrls, Forms, ComCtrls,LCLType;
type
TNewPageControl=class(TPageControl)
private
procedure DrawItem(var msg: TMessage); message WM_DRAWITEM;
protected
procedure CreateParams(var Params: TCrea... |
unit unit_type;
{Unit ini berisi kumpulan tipe-tipe pada csv}
interface
uses
unit_csv;
{Kumpulan tipe pada csv}
type
tbuku = record
id_buku : integer;
judul_buku,author : string;
jumlah_buku, tahun_penerbit : integer;
kategori : string;
end;
tuser = record
nama, alamat, username, pa... |
unit ucRegNow; // utility code - interface to RegNow affiliate system
{ ---------------------------------------------------------------------------- }
{ * The function regGetBuyURL was provided in swp_lite.zip from RegNow.com * }
{ * There was no copyright claimed on that example. HREF Tools Corp. is NOT * }
... |
unit ServerModuleGLight;
interface
uses
System.JSON, DBXJSONReflect, SysUtils, Classes, DSServer, DB, DBClient,
GlobalsUnit, FTPConn, Datasnap.DSProviderDataModuleAdapter,
Provider;
type
TDSServerModuleRFIDPanel = class(TDSServerModule)
CDSAlerts: TClientDataSet;
CDSCustomers: TClientDataSet;
CDS... |
unit lgui.consts;
interface
uses
System.UITypes, SynCommons2;
const
LOG_COLORS: array[Boolean,TSynLogInfo] of TColor = (
(TColors.White,$DCC0C0,$D0D0D0, $DCDCDC, $D0D0C0, $D0D0E0, TColors.Silver,$8080C0,$8080FF,$C0DCC0,$DCDCC0,
// sllNone, sllInfo, sllEvent, sllDebug, sllIOWrite, sllOIRead, sllTrace, sllW... |
unit About;
/////////////////////////////////////////////////////////////////////
//
// Hi-Files Version 2
// Copyright (c) 1997-2004 Dmitry Liman [2:461/79]
//
// http://hi-files.narod.ru
//
/////////////////////////////////////////////////////////////////////
interface
procedure ShowAbout;
{ ======... |
unit SpeechBubble;
{** A Very basic Speech Bubble component with 2 styles.
SpeechBox and Think Cloud. It needs a bit of tweaking to get things
perfect but I think it should be a good starting point for someone
who needs such a component. I only put it together because I hadn't
written a component from... |
unit UObjectFunctions;
interface
type
TObjectFunctions = class
published
class procedure SetPrimitiveTypeProperty(Obj: TObject; const PropertyName: string; Value: Variant);
class procedure SetObjectProperty(Obj: TObject; const PropertyName: string; Value: TObject);
end;
implementation
uses TypInfo;
{... |
unit ufrmConfiguracao;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters,
cxContainer, cxEdit, dxLayoutcxEditAdapters, dxLayoutControl, cxLabel,
cxTextEdit, cxMaskEdit, cxButtonEdit, Menus, StdCtrls,... |
unit LuaCalendar;
{$mode delphi}
interface
uses
Classes, SysUtils, lua, lualib, lauxlib, LuaHandler,
pluginexports, controls, ComCtrls, betterControls;
procedure initializeLuaCalendar;
implementation
uses luaclass, LuaWinControl, Calendar;
function createCalendar(L: Plua_State): integer; cd... |
(*******************************************************)
(* *)
(* Engine Paulovich DirectX *)
(* Win32-DirectX API Unit *)
(* *)
(* Copyright (c) 20... |
unit fmAbout;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, jpeg, ExtCtrls, ImgList,
ActnList;
type
TfrmAbout = class(TForm)
Image1: TImage;
Label2: TLabel;
laVersion: TLabel;
laDebugInfo: TLabel;
sbMemLeasktest:... |
unit DbIntfSample.Domain.Providers.FireDAC.Implementations;
interface
uses
Data.DB,
System.Classes, System.TypInfo, System.SysUtils,
DbIntfSample.Domain.Interfaces.DatabaseComponents,
FireDAC.Comp.Client, FireDAC.Comp.UI, FireDAC.Comp.DataSet,
FireDAC.Stan.Intf, FireDAC.Stan.Def, FireDAC.Stan.Option, FireDA... |
program AlgLista2Ex2; // Algoritmo do exercício 2 da Lista 2. Autor: Henrique Colodetti Escanferla.
var
s, a, b: real;
i, f, g: integer; // s => soma dos termos; a=> um termo da sequência dada; b=> o termo, após ou antes de "a", da sequência dada; i => variavel utilizada para calculo de fatorial; g=> outra variavel u... |
unit aOPCImage5In;
interface
uses Classes,
aCustomOPCSource, aOPCDataObject, aOPCImage4In;
type
TaOPCImage5In = class(TaOPCImage4In)
private
FDataLink5: TaOPCDataLink;
FGraphicDataLink5: TaOPCGraphicDataLink;
function GetPhysID5: TPhysID;
procedure SetPhysID5(const Value: TPhysID);
function... |
unit VCLLogPanel;
interface
uses
Types,
SysUtils,
Classes,
SyncObjs,
Graphics,
Controls,
ExtCtrls,
UAdditionalTypes,
UAdditionalExceptions,
UCustomThread,
UMath,
ULockThis,
CustomLogMessage,
CustomLogMessageList,
VCLLogPanelItem,
CustomVCLLogPanelAttachable;
type
TLogViewPanel = ... |
{***************************************************************************}
{ }
{ DelphiWebDriver }
{ }
{ ... |
unit OC_InputBox;
interface
uses
Classes, Controls, Forms, StdCtrls, ExtCtrls, Buttons;
// Разбор полученного результата
procedure InputBoxExResult(const Result: string; var Value1, Value2: string);
// Диалог типа Логин-Пароль
function InputBoxEx(const ATitle, ACaption1, ACaption2: string;
const ADe... |
program transport;
const
nmax=3;
vide=-9999;
type
cellule=record
quantite,prix,indice,signe:integer
end;
tableau=array[1..nmax,1..nmax] of cellule;
vecteur=array[1..nmax] of integer;
matrice=array[1..nmax,1..nmax] of integer;
couple=record
ligne,colonne,signe:integer
end;
chemin=record
graphe:array[1.... |
unit uDataModule;
interface
uses
System.SysUtils, System.Classes, IniFiles, Forms, uMain, Winapi.Windows,
VCL.Graphics;
type
TDM = class(TDataModule)
private
{ Private declarations }
procedure Write(sPath: string);
public
{ Public declarations }
function ReadIni(const sPath: string): Boolea... |
{@unit RLHTMLFilter - Implementação do filtro para criação de páginas web. }
unit RLHTMLFilter;
interface
uses
SysUtils, Classes, Contnrs, Windows, Types, Graphics, RLMetaVCL,
RLMetaFile, RLConsts, RLFilters, RLUtils, RLTypes;
type
{@type TRLHTMLDocumentStyle - Estilo para geração de páginas html.
... |
unit Common;
interface
uses
Classes;
const
ProgName = 'ChannelDemo';
ComPortRatesCount = 13;
ComPortRates : array[0 .. ComPortRatesCount-1] of Integer = (
110,
300,
600,
1200,
2400,
... |
unit uAOPAttributes;
interface
uses
Spring.Interception,
Spring.Container,
Spring.Container.Common;
type
TInterceptor = class(TInterfacedObject, IInterceptor)
procedure Intercept(const invocation: IInvocation);
end;
IService = interface(IInvokable)
['{DA141445-02E8-4171-8B29-8F5583594772}']
... |
unit CaseInsensitiveArrayListTestCase;
interface
uses
TestFrameWork, HproseCommon;
type
TCaseInsensitiveArrayListTestCase = class(TTestCase)
published
procedure TestContains;
procedure TestIndexOf;
procedure TestLastIndexOf;
procedure TestRemove;
end;
implementation
uses... |
{**********************************************************
Copyright (C) 2012-2016
Zeljko Cvijanovic www.zeljus.com (cvzeljko@gmail.com) &
Miran Horjak usbdoo@gmail.com
***********************************************************}
unit DB;
{$mode objfpc}{$H+}
{$modeswitch unicodestrings}
{$namespace zeljus.com.units}... |
unit rcThemes;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, rcRecords;
type
{ TRCThemes }
TRCThemes = class
private
File1: string;
Themes1: array of TRCTheme;
function GetCount: Integer;
function GetTheme: TRCTheme;
public
procedure SetTheme(ATheme: TRCTheme);
function ... |
{*******************************************************************************
Title: T2Ti ERP
Description: Controller do lado Cliente relacionado à tabela [ESTOQUE_REAJUSTE_CABECALHO]
... |
unit Custhist;
{ ----------------------------------
WinWCP - Customise histogram plot
---------------------------------}
interface
uses
SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
Forms, Dialogs, StdCtrls, Spin, Global, Shared, ExtCtrls ;
type
TCustHistFrm = class(TForm)
XAxisG... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [ECF_VENDA_DETALHE]
The MIT License ... |
unit ChangeLasFileFrame;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, StdCtrls, ActnList, Facade, LasFile, Well, Area, BaseObjects, CurveDictForm;
type
TfrmAddChangeSaveLasFiles = class(TFrame)
pgcMain: TPageControl;
tsLink: TTabSheet;
... |
{
Author: Ali Mashatan
E-mail: ali.mashatan@gmail.com
website: https://github.com/Mashatan
Date: 2008-02-28
License: GNU Public License ( GPL3 ) [http://www.gnu.org/licenses/gpl-3.0.txt]
}
unit MSCommon;
interface
uses Forms, Classes, Graphics;
function ChangeBrightness(Color : ... |
unit DBScriptCreatorImpl;
interface
uses Classes,SysUtils,DataAccess,AdoDb,Db,SqlServerProvider,RzLstBox, RzGroupBar,
DataAccessProvider,DBScriptExecutorImpl,comobj,TntMenus,TntActnList;
type
EDBScriptCreatorError=class(Exception);
TAbstractDBScriptCreator=class(TComponent)
private
FLastError... |
unit MBRTURequestF6;
{$mode objfpc}{$H+}
interface
uses Classes, SysUtils,
MBRTURequestBase, MBRTUMasterDispatcherTypes;
type
{ TMBRTURequestF6 }
TMBRTURequestF6 = class(TMBRTURequestBase)
private
FRegister: Word;
FValue: Word;
procedure SetRagister(AValue: Word);
procedure SetValue(AVa... |
unit fmSelectStudios;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, hcAttribute, hcDeploymentStudio, hcDeploymentRegion, ActnList, ComCtrls, Menus, ImgList,
StdCtrls, hcDeployment, cxGraphics, cxControls, cxLookAndFeels,
cxLookAndFeelPainters, cxCon... |
unit parameter;
{$mode delphi}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls,
Grids, StdCtrls, stypes;
type
{ TFmParameter }
TFmParameter = class(TForm)
BtnOK: TButton;
BtnCancel: TButton;
BtnProcessVar: TButton;
PnTop: TPanel;
SgParameter: TS... |
unit TNT_Collisions;
// Gestion des collisions
// ----------------------
interface
uses
TNT_3D, TNT_Object;
function ObjectCollision(Obj1, Obj2: TObj): Boolean;
implementation
uses
TNT_Vector;
function ObjectCollision(Obj1, Obj2: TObj): Boolean;
var
r1, r2: Single;
begin
Result := Fa... |
{ Copyright (c) 2013 Jeroen Wiert Pluimers for BeSharp.net and Coding In Delphi.
Full BSD License is available at http://BeSharp.codeplex.com/license }
unit AnimalClassesUnit;
// modeled after http://en.wikipedia.org/wiki/Animal_locomotion#Swimming
// and based on http://en.wikipedia.org/wiki/Class_(biology)#An_examp... |
unit UCliente;
interface
uses
UEntidade
;
type
TCliente = class(TENTIDADE)
private
//Pessoal:
FNome : String;
FCPF : String;
FRG : String;
FDataNascimento : TDate;
//Contato:
FResidencia : String;
FComercial : String;
FCel... |
unit Unit1;
interface
uses e;
procedure DefineConstsCommandsAndDatatype1();
implementation
const Command1_Args: array[0..1] of ARG_INFO =
(
(m_szName:'num1'; m_szExplain:''; m_shtBitmapIndex:0; m_shtBitmapCount:0; m_dtDataType:SDT_INT; m_nDefault:0; m_dwState:0),
(m_szName:'num2'; m_szExpla... |
program ABasicProgram;
var
UserChoice : CHAR;
UserInput : REAL;
Answer : REAL;
procedure ShowTheMenu();
begin
writeln();
writeln(" A Basic Program");
writeln(" ---------------");
writeln(" a) Celcius to Fahrenheit");
writeln(" b) Fahrenheit to Celcius");
writeln(... |
{*******************************************************************************
作者: dmzn@163.com 2010-11-22
描述: 多道计数器管理
备注:
*.本单元实现了一机多端口,一端口多装车道的计数管理器.
*******************************************************************************}
unit UMultiJS;
interface
uses
Windows, Classes, CPort, CPort... |
{
Copyright (C) 2013-2018 Tim Sinaeve tim.sinaeve@gmail.com
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 applicable... |
(*
* Copyright (c) 2008, Susnea Andrei
* 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 of co... |
{
ID: a_zaky01
PROG: latin
LANG: PASCAL
}
const
fact:array[0..7] of int64 = (1,1,2,6,24,120,720,5040);
type
arr = array[1..7] of integer;
var
n,i,j,count:integer;
ans:int64;
row,col:array[1..8,1..8] of boolean;
a,used:arr;
tab:array[1..1000] of arr;
f:array[1..1000] of integer;
label
closefile;
f... |
unit Unit21;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls,
Buttons, sqldb, Unit1, Unit20, LR_Class, DbCtrls, db;
type
{ TForm21 }
TForm21 = class(TForm)
Button1: TButton;
Button2: TButton;
Button3: TButton;
ComboBox1: TComb... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [FOLHA_LANCAMENTO_DETALHE]
The MIT Li... |
unit TextCaptcha;
interface
uses
BaseCaptcha, System.SysUtils, IdMultipartFormData;
type
TTextCaptcha = class(TBaseCaptcha)
private
FLang: string;
FText: string;
public
constructor Create(const AText: string);
function BuildFormData: TIdMultiPartFormDataStream; override;
property Lang: st... |
program SumAndAverage;
const
total_no = 5;
var
no1, no2, no3, no4, no5 : integer;
sum : integer;
avg : real;
fileout : text;
begin
write('Enter the first number: ');
readln(no1);
write('Enter the second number: ');
readln(no2);
write('Enter the third number: ');
readln(no3... |
unit PluginForm;
interface
uses
Windows,
SysUtils,
Controls,
Forms,
PluginAPI;
type
TCreateMode = (cmDefault, cmStandalone, cmPopup, cmPopupTB, cmParented);
TForm = class(Forms.TForm)
private
FCore: ICore;
FWnds: IApplicationWindows;
FMode: TCreateMode;
FOwnerWnd: HWND;
procedure... |
{ PROGRAMME : FICHIER
BUT: Cette algorithme permet de rentrer les données demandées par le programme a un utilisateur et de les enregistrer dans un fichier texte
ENTREE: Les données entrées par l'utilisateur
SORTIE : Le fichier texte
TYPE data=ENREGISTREMENT
nom : CHAINE
prenom : CHAINE
adresse : CHAINE
cp : CHAI... |
unit ACBrAACDll;
interface
uses
SysUtils,
Classes,
ACBrPAFClass,
ACBrAAC,
ACBrUtil;
{ Ponteiros de função }
type TAntesArquivoCallback = function () : Boolean; cdecl;
type TNoArgumentsCallback = procedure(); cdecl;
type TCryptCallback = function(value : PChar) : PChar; cdecl;
type TGetChaveC... |
unit TestRSSFeedModel;
interface
uses
TestFramework, RSSModel;
type
TRSSFeedModelTest = class(TTestCase)
private
FFeed: TRSSFeed;
protected
procedure SetUp; override;
procedure TearDown; override;
published
procedure HasDescription;
procedure HasLink;
procedure HasTitle;
procedu... |
unit Classe.Calculadora;
interface
uses
Controls, System.Generics.Collections, Calculadora.Interfaces,
Calculadora.Helpers, Calculadora.Dividir, Calculadora.Multiplicar,
Calculadora.Soma, Calculadora.Subtrair;
type
TCalculadora = class(TInterfacedObject, iCalculadora)
private
FLista : TList<Double>;
... |
{*******************************************************************************
作者: dmzn@163.com 2012-3-6
描述: 远程服务调用单元
*******************************************************************************}
unit UROModule;
{$I Link.Inc}
interface
uses
SysUtils, Classes, SyncObjs, IdContext, uROClassFactorie... |
unit welcomepageview;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, IpHtml, Forms, Controls, StdCtrls, ExtCtrls,
welcomepageviewmodel, Dialogs;
type
{ TWelcomePageFrameView }
TWelcomePageFrameView = class(TFrame)
NewsLabel: TLabel;
WelcomeLabel: TLabel;
IntroductionText: TLab... |
unit ActiveBtnColor;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons;
type
TActiveBtnColor = class(TBitBtn)
private
fOrigColor: TColor;
protected
procedure MouseEnter(var Msg: TMessage);message cm_mouseEnter;
procedure Mou... |
unit ServiceBase;
interface
uses
System.SysUtils, UDataModuleConexao, FireDAC.Comp.Client;
type
TServiceBase = class
public
class var FDataModule: TFDataModuleConexao;
class function GetDataModule: TFDataModuleConexao;
end;
var
Query: TFDQuery;
UpdateSQL: TFDUpdateSQL;
implementation
{ TServi... |
//*******************************************************
//
// Delphi DataSnap Framework
//
// Copyright(c) 1995-2012 Embarcadero Technologies, Inc.
//
//*******************************************************
unit DSFPCCallbackChannelManager;
{$IFDEF FPC}
{$mode DELPHI}
{$modeswitch objectivec1}
{$cod... |
PROGRAM Drei_A_Algorithmus;
VAR
a,n : LongInt;
BEGIN
WriteLn;
WriteLn(' 3A - ALGORITHMUS ');
WriteLn(' ================ ');
WriteLn;
WriteLn(' Starte mit einem positiven, ganzzahligen a...');
WriteLn(' Wiederhole, solange a von eins verschieden ist:');
WriteLn(' Ist a durch 2 teilbar, so... |
unit EditSong;
interface
uses
Generics.Collections, System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Layouts, FMX.Objects,
FMX.Edit, FMX.ListBox,
EditSongController,
Song;
type
TfrmEditSong = class(TForm)
... |
unit LuaManualModuleLoader;
{$mode delphi}
interface
{$IFDEF windows}
uses
windows, Classes, SysUtils;
procedure initializeLuaModuleLoader;
{$ENDIF}
implementation
{$IFDEF windows}
uses ManualModuleLoader, lua, lauxlib, lualib, LuaClass, LuaHandler, LuaObject;
function moduleloader_createMo... |
unit SoAPreferences;
interface
uses
registryuserpreferences;
type
TSoAUserPreferences = class( TRegistryUserPreferences )
protected
function GetSection( const Index : Integer ) : string; override;
function GetIdentifier( const Index : Integer ) : string; override;
function GetDefaultBoolean( const ... |
// **************************************************************************************************
// Delphi Instruction Decode Library
// Unit InstDecode
// http://code.google.com/p/delphi-detours-library/
// The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License");
// ... |
unit u_cCliente;
interface
uses System.Classes, Vcl.Controls, Vcl.ExtCtrls, Vcl.Dialogs, u_dtm_conexao,
ZAbstractConnection, ZConnection,ZAbstractRODataset, ZAbstractDataset,
ZDataset, system.SysUtils;
type
TCliente = class
private
conexaoDb: TZConnection;
f_id: integer;
f_nome: String;
... |
{*******************************************************************************
Project : "YUV" ?
Date : 2005-10-26
Version : 1.1
Compiler Ver. : Delphi 7 Enterprise
Author : Denny Koberling
E-Mail : JasonVoorhees2k@arcor.com
Copyright : Copyright (c) 2005 Denny Koberling
... |
unit FCorrectRests;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
function GetCorrectRestValue(ProdName: string; RestDate: TDateTime;
OldValue: Currency; var NewValue: Currency): Boolean;
type
TfrmCorrectRests = class(TForm)
lblT... |
//---------------------------------------------------------------------------
// This software is Copyright (c) 2017 Embarcadero Technologies, Inc.
// You may only use this software if you are an authorized licensee
// of an Embarcadero developer tools product.
// This software is considered a Redistributable as defin... |
{******************************************************************************}
{ }
{ XML Data Binding }
{ ... |
unit PLAT_QuickLinker;
//这是一个VCL的控件,用于界面控制,不在设计文档中
interface
uses sysutils, stdctrls, Dialogs, menus, Messages, Pub_Message, extctrls,
Windows, Graphics, Classes, PLAT_Buttons, Controls, PLAT_QuickLink;
type
TQuickLinker = class(TPLATSpeedButton)
private
FLink: TQuickLink;
FImageIndex: Integer;... |
{*******************************************************************************
作者: dmzn@163.com 2011-5-29
描述: 数据库写入对象
*******************************************************************************}
unit UMgrDBWriter;
interface
uses
Windows, Classes, ComCtrls, SysUtils, SyncObjs, ADODB, DB, UWaitItem... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls;
type
{ TendeForm }
TendeForm = class(TForm)
Button1: TButton;
Button2: TButton;
Edit1: TEdit;
Image1: TImage;
Label1: TLabel;
Label3: TLabel;
Label4: TLabel;
... |
unit DialogCancelSalesFRMUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, cxControls, cxContainer, cxEdit, cxTextEdit,
cxDBEdit, cxMaskEdit, Spin, ComCtrls, math, cxGraphics, cxLookAndFeels,
cxLookAndFeelPainters;
type
TCancelSalesF... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.