Delphi XML-Beispiel-Code

Size: px
Start display at page:

Download "Delphi XML-Beispiel-Code"

Transcription

1 XML-Beispiel-Code program DomCreate; uses Forms, CreateForm in 'CreateForm.pas' {Form1}; {$R *.RES} Application.Initialize; Application.CreateForm(TForm1, Form1); Application.Run;. CreateForm.pas unit CreateForm; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, xmldom, XMLIntf, msxmldom, XMLDoc, DB, DBTables, ComCtrls, StdCtrls, TypInfo, ExtCtrls, Menus; type TForm1 = class(tform) btnsimple: TButton; Memo1: TMemo; btntable: TButton; btnobject: TButton; Table1: TTable; TreeView1: TTreeView; btntree: TButton; XMLDoc: TXMLDocument; Button1: TButton; btnrtti: TButton; Panel1: TPanel; Panel2: TPanel; Splitter1: TSplitter; procedure btnsimpleclick(ser: TObject); procedure btntableclick(ser: TObject); procedure btnobjectclick(ser: TObject); procedure btntreeclick(ser: TObject); Seite 1 / 9

2 procedure btnrtticlick(ser: TObject); private procedure DomToTree(XmlNode: IXMLNode; TreeNode: TTreeNode); { Private declarations } public { Public declarations } Form1: TForm1; implementation {$R *.DFM} procedure TForm1.btnSimpleClick(Ser: TObject); ixml: IDOMDocument; iroot, inode, inode2, ichild, iattribute: IDOMNode; // empty the document XMLDoc.Active := False; XMLDoc.XML.Text := ''; XMLDoc.Active := True; // root ixml := XmlDoc.DOMDocument; iroot := ixml.appchild (ixml.createelement ('xml')); // node "test" inode := iroot.appchild (ixml.createelement ('test')); inode.appchild (ixml.createelement ('test2')); ichild := inode.appchild (ixml.createelement ('test3')); ichild.appchild (ixml.createtextnode('simple value')); inode.insertbefore (ixml.createelement ('test4'), ichild); // node replication inode2 := inode.clonenode (True); iroot.appchild (inode2); // add an attribute iattribute := ixml.createattribute ('color'); iattribute.nodevalue := 'red'; inode2.attributes.setnameditem (iattribute); // show XML in memo Memo1.Lines.Text := FormatXMLData (XMLDoc.XML.Text); procedure DataSetToDOM (RootName, RecordName: string; Seite 2 / 9

3 XMLDoc: TXmlDocument; DataSet: TDataSet); inode, ichild: IXMLNode; i: Integer; DataSet.Open; DataSet.First; // root XMLDoc.DocumentElement := XMLDoc.CreateNode (RootName); // add table data while not DataSet.EOF do // add a node for each record inode := XMLDoc.DocumentElement.AddChild (RecordName); for I := 0 to DataSet.FieldCount - 1 do // add an element for each field ichild := inode.addchild (DataSet.Fields[i].FieldName); ichild.text := DataSet.Fields[i].AsString; DataSet.Next; procedure TForm1.btnTableClick(Ser: TObject); // empty the document XMLDoc.Active := False; XMLDoc.XML.Text := ''; XMLDoc.Active := True; // add the table to the DOM DataSetToDOM ('customers', 'customer', XMLDoc, Table1); // show XML in memo Memo1.Lines := XmlDoc.XML; procedure AddAttr (inode: IDOMNode; Name, Value: string); iattr: IDOMNode; iattr := inode.ownerdocument.createattribute (name); iattr.nodevalue := Value; inode.attributes.setnameditem (iattr); procedure TForm1.btnObjectClick(Ser: TObject); Seite 3 / 9

4 ixml: IDOMDocument; iroot: IDOMNode; // empty the document XMLDoc.Active := False; XMLDoc.XML.Text := ''; XMLDoc.Active := True; Delphi // root ixml := XmlDoc.DOMDocument; iroot := ixml.appchild ( ixml.createelement ('Button1')); // a few properties as attributes (might also be nodes) AddAttr (iroot, 'Name', Button1.Name); AddAttr (iroot, 'Caption', Button1.Caption); AddAttr (iroot, 'Font.Name', Button1.Font.Name); // sub-elements? AddAttr (iroot, 'Left', IntToStr (Button1.Left)); AddAttr (iroot, 'Hint', Button1.Hint); // show XML in memo Memo1.Lines := XmlDoc.XML; procedure TForm1.DomToTree (XmlNode: IXMLNode; TreeNode: TTreeNode); I: Integer; NewTreeNode: TTreeNode; NodeText: string; AttrNode: IXMLNode; // skip text nodes and other special cases if not (XmlNode.NodeType = ntelement) then Exit; // add the node itself NodeText := XmlNode.NodeName; if XmlNode.IsTextElement then NodeText := NodeText + ' = ' + XmlNode.Text; NewTreeNode := TreeView1.Items.AddChild(TreeNode, NodeText); // add attributes for I := 0 to xmlnode.attributenodes.count - 1 do AttrNode := xmlnode.attributenodes.nodes[i]; TreeView1.Items.AddChild(NewTreeNode, '[' + AttrNode.NodeName + ' = "' + AttrNode.Text + '"]'); // add each child node if XmlNode.HasChildNodes then Seite 4 / 9

5 for I := 0 to xmlnode.childnodes.count - 1 do DomToTree (xmlnode.childnodes.nodes [I], NewTreeNode); procedure TForm1.btnTreeClick(Ser: TObject); TreeView1.Items.BeginUpdate; try TreeView1.Items.Clear; DomToTree (XmlDoc.DocumentElement, nil); TreeView1.FullExpand; finally TreeView1.Items.EndUpdate; procedure ComponentToDOM (inode: IXmlNode; Comp: TPersistent); nprops, i: Integer; PropList: PPropList; Value: Variant; newnode: IXmlNode; // get list of properties nprops := GetTypeData (Comp.ClassInfo)^.PropCount; GetMem (PropList, nprops * SizeOf(Pointer)); try GetPropInfos (Comp.ClassInfo, PropList); // shortcut: use iants... for i := 0 to nprops - 1 do Value := GetPropValue (Comp, PropList [i].name); NewNode := inode.addchild(proplist [i].name); NewNode.Text := Value; if (PropList [i].proptype^.kind = tkclass) and (Value 0) then if TObject (Integer(Value)) is TComponent then NewNode.Text := TComponent (Integer(Value)).Name else // TPersistent but not TComponent: recurse ComponentToDOM (newnode, TObject (Integer(Value)) as TPersistent); finally FreeMem (PropList); procedure TForm1.btnRTTIClick(Ser: TObject); Seite 5 / 9

6 // empty the document XMLDoc.Active := False; XMLDoc.XML.Text := ''; XMLDoc.Active := True; Delphi // create the root for the object and adds its properties XMLDoc.DocumentElement := XMLDoc.CreateNode(self.ClassName); ComponentToDOM (XMLDoc.DocumentElement, self); // show XML in memo Memo1.Lines := XmlDoc.XML;. CreateForm.dfm object Form1: TForm1 Left = 192 Top = 107 Width = 571 Height = 412 Caption = 'DomCreate' Color = clbtnface Font.Charset = DEFAULT_CHARSET Font.Color = clwindowtext Font.Height = -11 Font.Name = 'MS Sans Serif' Font.Style = [] OldCreateOrder = False PixelsPerInch = 96 TextHeight = 13 object Panel1: TPanel Left = 0 Top = 0 Width = 97 Height = 385 Align = alleft TabOrder = 0 object btnobject: TButton Top = 72 Caption = 'Object' TabOrder = 0 OnClick = btnobjectclick Seite 6 / 9

7 object btnsimple: TButton Top = 8 Caption = 'Simple' TabOrder = 1 OnClick = btnsimpleclick object btntable: TButton Top = 40 Caption = 'Table' TabOrder = 2 OnClick = btntableclick object btntree: TButton Top = 184 Caption = 'Tree' TabOrder = 3 OnClick = btntreeclick object Button1: TButton Top = 216 Caption = 'Button1' TabOrder = 4 object btnrtti: TButton Top = 104 Caption = 'RTTI' TabOrder = 5 OnClick = btnrtticlick object Panel2: TPanel Left = 97 Top = 0 Delphi Seite 7 / 9

8 Width = 466 Height = 385 Align = alclient BevelOuter = bvnone TabOrder = 1 object Splitter1: TSplitter Left = 0 Top = 185 Width = 466 Height = 3 Cursor = crvsplit Align = altop object TreeView1: TTreeView Left = 0 Top = 188 Width = 466 Height = 197 Align = alclient Indent = 19 TabOrder = 0 object Memo1: TMemo Left = 0 Top = 0 Width = 466 Height = 185 Align = altop TabOrder = 1 object Table1: TTable DatabaseName = 'DBDEMOS' TableName = 'customer.db' Left = 232 Top = 72 object XMLDoc: TXMLDocument Active = True NodeIndentStr = ' ' Options = [donodeautocreate, donodeautoindent, doattrnull, doautoprefix, donamespaced ecl] Left = 296 Top = 72 DOMVorDesc = 'MSXML' Seite 8 / 9

9 Powered by TCPDF ( Delphi Eindeutige ID: #0 Verfasser: Markus Stein Letzte Änderung der FAQ: :22 Seite 9 / 9

judul : dump mysql with delphi - opensource

judul : dump mysql with delphi - opensource judul : dump mysql with delphi - opensource header : hmm...ini sebenernya dah pernah tak tanyain dalam thread tapi lom ada jawaban yang memuaskan, aq coba ekplor terus dan akhirnya 3 bulan yang lalu bisa

More information

Image. uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls ;

Image. uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls ; B 71 11 Image Image Image Image 11.1 11.1.1 Amida AmidaU.pas AmidaP.dpr 11.1.2 Form Name FormAmida Caption Position poscreencenter HorzScrollBar.Visible False VertScrollBar.Visible False 11.1.3 11.2 Image

More information

3 Combining Widgets to create Graphical User Interfaces

3 Combining Widgets to create Graphical User Interfaces (Graphical User Interfaces - 41) 3 Combining Widgets to create Graphical User Interfaces 3.1 The Ressource Concept Goal: How to compose widgets to create complete user interfaces Problem: Composition has

More information

DELPHI FOR ELECTRONIC ENGINEERS. Part 2 Programming a calculator COURSE

DELPHI FOR ELECTRONIC ENGINEERS. Part 2 Programming a calculator COURSE COURSE DELPHI FOR ELECTRONIC ENGINEERS Part 2 Programming a calculator Herman Bulle with thanks to Anton Vogelaar In the first instalment of this series, we introduced the Delphi programming environment

More information

LAMPIRAN Listing Program

LAMPIRAN Listing Program LAMPIRAN Listing Program unit umain; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls, StdCtrls, ExtCtrls, ExtDlgs, DCPcrypt2, DCPrc4, DCPsha1,

More information

(1) Trump (1) Trump (2) (1) Trump ExampleU ExampleP (2) Caption. TrumpU (2) Caption. (3) Image FormTrump. Top 0 Left 0.

(1) Trump (1) Trump (2) (1) Trump ExampleU ExampleP (2) Caption. TrumpU (2) Caption. (3) Image FormTrump. Top 0 Left 0. B 114 18 (1) 18.1 52 54 Trump http://www.ss.u-tokai.ac.jp/~ooya/jugyou/joronb/trumpbmp.exe (1) (2) Trump 18.2 (1) Trump ExampleU ExampleP (2) Name Caption FormMain 18.3 (1) TrumpU (2) Name Caption FormTrump

More information

GRADE 12 SEPTEMBER 2012 INFORMATION TECHNOLOGY P1 MEMORANDUM

GRADE 12 SEPTEMBER 2012 INFORMATION TECHNOLOGY P1 MEMORANDUM Province of the EASTERN CAPE EDUCATION NATIONAL SENIOR CERTIFICATE GRADE 12 SEPTEMBER 2012 INFORMATION TECHNOLOGY P1 MEMORANDUM MARKS: 120 This memorandum consists of 11 pages. 2 INFORMATION TECHNOLOGY

More information

APPLICATION NOTE: KONSTANTER LSP32K Interface Protocol

APPLICATION NOTE: KONSTANTER LSP32K Interface Protocol APPLICATION NOTE: KONSTANTER LSP32K Interface Protocol 1 Interface Type At the DB9 connector the LSP32K Power Supply device offers a serial data interface with TTL logic level for remote control and readout

More information

Eastern Mediterranean University School of Computing and Technology. ITEC319 Rapid Application Development

Eastern Mediterranean University School of Computing and Technology. ITEC319 Rapid Application Development Eastern Mediterranean University School of Computing and Technology ITEC319 Rapid Application Development Database Operations The simplest type of database is the local database. A local database is a

More information

2. Design and Development

2. Design and Development Postage Calculator 1. The task Design and implement a program for employees of a travel agency who send out documents to the UK and EU only; the program will calculate the cost of postage. Each envelope

More information

Macros and User Forms

Macros and User Forms Macros and User Forms INTRODUCTION Toad Data Modeler supports macros. You can create a macro in Package Explorer or Script Explorer and modify its properties to display the macro either in main menu or

More information

GRADE 11 NOVEMBER 2012 INFORMATION TECHNOLOGY P1 INLIGTINGSTEGNOLOGIE V1 MEMORANDUM

GRADE 11 NOVEMBER 2012 INFORMATION TECHNOLOGY P1 INLIGTINGSTEGNOLOGIE V1 MEMORANDUM Province of the EASTERN CAPE EDUCATION NATIONAL SENIOR CERTIFICATE GRADE 11 NOVEMBER 2012 INFORMATION TECHNOLOGY P1 INLIGTINGSTEGNOLOGIE V1 MEMORANDUM MARKS/PUNTE: 120 This memorandum consists of 10 pages.

More information

Windows. mine sweeper Jirai JiraiU.pas JiraiP.dpr. Form Name FormJirai Caption Position podesktopcenter 16.3

Windows. mine sweeper Jirai JiraiU.pas JiraiP.dpr. Form Name FormJirai Caption Position podesktopcenter 16.3 B 103 16 Windows mine sweeper 16.1 n 16.2 Jirai JiraiU.pas JiraiP.dpr Form Name FormJirai Caption Position podesktopcenter 16.3 3 B 104 16.3.1 RadioGroup Algn altop Name RadioGroupSize Caption Columns

More information

Some Considerations on Using Data Structures Combined with TreeView Control

Some Considerations on Using Data Structures Combined with TreeView Control Economy Informatics, 2003 63 Some Considerations on Using Data Structures Combined with TreeView Control Professor, Ph.D. Mihaela MUNTEAN, lecturer, Ph.D. Mirela VOICU West University of Timisoara, ROMANIA

More information

NATIONAL SENIOR CERTIFICATE GRADE12

NATIONAL SENIOR CERTIFICATE GRADE12 NATIONAL SENIOR CERTIFICATE GRADE12 INFORMATION TECHNOLOGY P1 FEBRUARY/MARCH 2018 MARKING GUIDELINES MARKS: 150 These marking guidelines consist of 21 pages. Information Technology/P1 2 DBE/Feb. Mar. 2018

More information

Today s Topics. Program Realisation 2. How code and configuration data of forms are organized.

Today s Topics. Program Realisation 2. How code and configuration data of forms are organized. Program Realisation Today s Topics http://www.win.tue.nl/ hemerik/ip0/ Lecture 9 Kees Hemerik Tom Verhoeff Technische Universiteit Eindhoven Faculteit Wiskunde en Informatica Software Engineering & Technology

More information

Chapter 20: Binary Trees

Chapter 20: Binary Trees Chapter 20: Binary Trees 20.1 Definition and Application of Binary Trees Definition and Application of Binary Trees Binary tree: a nonlinear linked list in which each node may point to 0, 1, or two other

More information

LAMPIRAN A. Listing Program. Program pada Borland Delphi 7.0 A-1 Program pada CodeVisionAVR C Compiler A-6

LAMPIRAN A. Listing Program. Program pada Borland Delphi 7.0 A-1 Program pada CodeVisionAVR C Compiler A-6 A Listing Program Program pada Borland Delphi 7.0 A-1 Program pada CodeVisionAVR C Compiler A-6 LISTING PROGRAM BORLAND DELPHI 7.0 Inisialisasi ==========================================================

More information

Source code for simulations: 1 of 11

Source code for simulations: 1 of 11 The following is the source code for the simulations reported in Clinchy, Haydon and Smith (Pattern process: what does patch occupancy really tell us about metapopulation dynamics). unit Main; interface

More information

Delphi Generics.Collections

Delphi Generics.Collections Delphi Generics.Collections Copyright(C) 2008 Embarcadero Technologies, Inc. All Rights Reserved. Delphi Generics.Collections Table of Contents Generics.Collections.TCollectionNotification 1 Generics.Collections.TCollectionNotifyEvent

More information

NATIONAL SENIOR CERTIFICATE GRADE12

NATIONAL SENIOR CERTIFICATE GRADE12 NATIONAL SENIOR CERTIFICATE GRADE12 INFORMATION TECHNOLOGY P1 NOVEMBER 2017 MARKING GUIDELINES MARKS: 150 These marking guidelines consist of 26 pages. Information Technology/P1 2 DBE/November 2017 GENERAL

More information

Использование ассиметричных алгоритмов криптографического преобразования информации в приложениях Windows

Использование ассиметричных алгоритмов криптографического преобразования информации в приложениях Windows Государственное образовательное учреждение высшего профессионального образования «Петербургский государственный университет путей сообщения» Кафедра «Информационные и вычислительные системы» Лабораторная

More information

A method is a procedure that is always associated with an object and defines the behavior of that object.

A method is a procedure that is always associated with an object and defines the behavior of that object. Using Form Components Old Content - visit altium.com/documentation Modified by Rob Evans on 15-Feb-2017 Parent page: VBScript Using Components in VBScript Forms Although Forms and Components are based

More information

var Form1: TForm1; implementation {$R *.dfm} procedure TForm1.Button1Click(Sender: TObject); begin ListBox1.Items.LoadFromFile('d:\brojevi.

var Form1: TForm1; implementation {$R *.dfm} procedure TForm1.Button1Click(Sender: TObject); begin ListBox1.Items.LoadFromFile('d:\brojevi. 1 PANEL komponenta kontejnerska, slična GropBox. Roditeljska komponenta za komp. postavljene na nju. Zajedno se pomeraju. Caption svojstvo za naziv; Alighment pomera svojstvo Caption levo i desno; Align

More information

Introduction to the DLL for the USB Interface Board K8061

Introduction to the DLL for the USB Interface Board K8061 K8061.DLL 1 Introduction to the DLL for the USB Interface Board K8061 The K8061 interface board has 8 digital input channels and 8 digital output channels. In addition, there are 8 analogue inputs, 8 analogue

More information

For more detailed information on the differences between DelphiScript and Object Pascal, refer to the DelphiScript Reference document.

For more detailed information on the differences between DelphiScript and Object Pascal, refer to the DelphiScript Reference document. Writing Scripts Old Content - visit altium.com/documentation Modified by on 13-Sep-2017 Related pages Script Editor Tools Scripting System Panels Parent page: Scripting Writing Scripts There a number of

More information

The scripting system handles two types of components: Visual and Non-visual components.

The scripting system handles two types of components: Visual and Non-visual components. Forms and Components Old Content - visit altium.com/documentation Modified by on 13-Sep-2017 Parent page: DelphiScript Overview of Graphical Components The scripting system handles two types of components:

More information

NATIONAL SENIOR CERTIFICATE GRADE 12

NATIONAL SENIOR CERTIFICATE GRADE 12 NATIONAL SENIOR CERTIFICATE GRADE 12 INFORMATION TECHNOLOGY P1 NOVEMBER 2014 MEMORANDUM MARKS: 150 This memorandum consists of 28 pages. Information Technology/P1 2 DBE/November 2014 GENERAL INFORMATION:

More information

Object Pascal Language Guide

Object Pascal Language Guide Object Pascal Language Guide Borland Object Pascal Borland Software Corporation 100 Enterprise Way, Scotts Valley, CA 95066-3249 www.borland.com Borland Software Corporation may have patents and/or pending

More information

GRADE/GRAAD 11 NOVEMBER 2013 INFORMATION TECHNOLOGY P1 INLIGTINGSTEGNOLOGIE V1 MEMORANDUM

GRADE/GRAAD 11 NOVEMBER 2013 INFORMATION TECHNOLOGY P1 INLIGTINGSTEGNOLOGIE V1 MEMORANDUM NATIONAL SENIOR CERTIFICATE NASIONALE SENIOR SERTIFIKAAT GRADE/GRAAD 11 NOVEMBER 2013 INFORMATION TECHNOLOGY P1 INLIGTINGSTEGNOLOGIE V1 MEMORANDUM MARKS/PUNTE: 150 This memorandum consists of 6 pages.

More information

uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, ImgList, StdCtrls, Buttons, MPlayer;

uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, ImgList, StdCtrls, Buttons, MPlayer; unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls, ImgList, StdCtrls, Buttons, MPlayer; type TForm1 = class(tform) Cenario: TImage;

More information

NATIONAL SENIOR CERTIFICATE GRADE12

NATIONAL SENIOR CERTIFICATE GRADE12 NATIONAL SENIOR CERTIFICATE GRADE12 INFORMATION TECHNOLOGY P1 FEBRUARY/MARCH 2017 MEMORANDUM MARKS: 150 This memorandum consists of 29 pages. Information Technology/P1 2 DBE/Feb. Mar. 2017 GENERAL INFORMATION:

More information

Getting started with Lazarus

Getting started with Lazarus Getting started with Lazarus Michaël Van Canneyt March 4, 2006 Abstract Lazarus is a cross-platform 2-way RAD tool which can be used to develop almost any kind of program for Windows, Linux, Solaris or

More information

Part 1 The first steps

Part 1 The first steps course DELPHI FOR ELECTRONIC ENGINEERS Part 1 The first steps Detlef Overbeek & Anton Vogelaar This article is the first part in a series about programming in Delphi, which concentrates on the practical

More information

THREE. Multiple windows

THREE. Multiple windows THREE Multiple windows Often in a Windows application it is convenient to have more than one window in use. This provides a natural way of breaking down a large and complex project into a number of simpler

More information

unit Unit3; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,

unit Unit3; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, unit Unit3; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, CPort, LPComponent, SLCommonGen, SLSignalGen, Menus, SLComponentCollection, LPDrawLayers,

More information

TMS WEB Core DEVELOPERS GUIDE. TMS SOFTWARE TMS WEB Core DEVELOPERS GUIDE

TMS WEB Core DEVELOPERS GUIDE. TMS SOFTWARE TMS WEB Core DEVELOPERS GUIDE Aug 2018 Copyright 2018 by tmssoftware.com bvba Web: http://www.tmssoftware.com Email: info@tmssoftware.com 1 Index Introduction...10 Scope and architecture...10 Getting started...11 Configuring settings...17

More information

Writing Delphi Custom Components

Writing Delphi Custom Components Writing Delphi Custom Components CHAPTER 21 IN THIS CHAPTER Component Building Basics 930 Sample Components 958 TddgButtonEdit Container Components 976 Component Packages 987 Add-In Packages 998 Summary

More information

Remobjects for Webservices

Remobjects for Webservices Remobjects for Webservices Michaël Van Canneyt December 6, 2008 Abstract The RemObjects SDK is a versatile tool which is likely to provide a solution for all your remoting needs: it implements a complete

More information

LAMPIRAN 1 TATA CARA PENGGUNAAN SOFTWARE ALGORITMA GENETIKA

LAMPIRAN 1 TATA CARA PENGGUNAAN SOFTWARE ALGORITMA GENETIKA LAMPIRAN 1 TATA CARA PENGGUNAAN SOFTWARE ALGORITMA GENETIKA Langkah-langkah penggunaan Software Algoritma Genetika Job Shop : 1. Buka program Algoritma Genetika Job Shop 2. Masukkan data-data yang dibutuhkan

More information

Delphi Language Guide

Delphi Language Guide Delphi Language Guide Borland Delphi Borland Software Corporation 100 Enterprise Way, Scotts Valley, CA 95066-3249 http://www.borland.com Refer to the DEPLOY document located in the root directory of your

More information

The Multiple Document Interface

The Multiple Document Interface Tips and techniques for Delphi April 1997 Vol. 3 No. 4 US $7.50 Simulate MDI without Multiple Document Interface overhead 1.0 2.0 by Brendan Delumpa Because of space considerations, the full source listings

More information

Kada se pokrene forma da bude plave boje. Dugme Crtaj krugove da iscrtava slučajan broj N krugova istog poluprečnika r (1/4 visine forme) čiji su

Kada se pokrene forma da bude plave boje. Dugme Crtaj krugove da iscrtava slučajan broj N krugova istog poluprečnika r (1/4 visine forme) čiji su Kada se pokrene forma da bude plave boje. Dugme Crtaj krugove da iscrtava slučajan broj N krugova istog poluprečnika r (1/4 visine forme) čiji su centri na neiscrtanom krugu poluprečnika r. Dugme Boji

More information

UJIAN AKHIR SEMESTER TEKNIK INFORMATIKA SEKOLAH TINGGI TEKNOLOGI DUTA BANGSA

UJIAN AKHIR SEMESTER TEKNIK INFORMATIKA SEKOLAH TINGGI TEKNOLOGI DUTA BANGSA UJIAN AKHIR SEMESTER TEKNIK INFORMATIKA SEKOLAH TINGGI TEKNOLOGI DUTA BANGSA Dosen Pembimbing : Dedi W ST,. MM Nama : Elly Sunandy NIM : 13158279 Pemrograman Terstruktur Membuat program dengan Delphi 7

More information

TMS FNC TreeView. TMS SOFTWARE TMS FNC TreeView DEVELOPERS GUIDE

TMS FNC TreeView. TMS SOFTWARE TMS FNC TreeView DEVELOPERS GUIDE June 2016 Copyright 2016 by tmssoftware.com bvba Web: http://www.tmssoftware.com Email: info@tmssoftware.com 1 Index Introduction... 3 Organization... 4 Modes... 6 Virtual... 6 Collection-based... 9 Columns...

More information

Finale 2007 Full Version Download ->>>

Finale 2007 Full Version Download ->>> Finale 2007 Full Version Download ->>> http://bit.ly/2w36kfj 1 / 5 2 / 5 CONS:...Could...have...a...nicer...interface.Copyright...SOFTONIC...INTERNATIONAL...S.AApps..Games..Features..Videos..Deals..Windows..iPhone..Android..Windows..Phone..BlackBerry..Mac..Web..Apps..w

More information

Delphi by Design. One-Step ActiveX - Part 2

Delphi by Design. One-Step ActiveX - Part 2 Delphi by Design Introduction Past Articles Source Code One-Step ActiveX - Part 2 by Ray Konopka April/May 1998, Vol. 9, No. 1 -- Download Source Code: Click Here It takes only one step to make a working

More information

LAMPIRAN A. Foto Alat

LAMPIRAN A. Foto Alat LAMPIRAN A Foto Alat A-1 A-2 Rangkaian Skematik PCB Sistem Monitoring Infus A-3 LAMPIRAN B Program pada Mikrokontroller AVR Atmega16...B-1 Program pada Borlan Delhpi 7.0...B-9 PROGRAM UTAMA /*****************************************************

More information

Let s start with the document tree

Let s start with the document tree CSS INHERITANCE Let s start with the document tree Before we explore inheritance, we need to understand the document tree. All HTML documents are trees. Document trees are made from HTML elements. The

More information

Mathematical Modeling in Delphi

Mathematical Modeling in Delphi Mathematical Modeling in Delphi Andreï V. Serghienko Yaroslavl P.G. Demidov State University Yaroslavl, Russia The literature on Delphi [1] numbers many manuals. However among them there are few books,

More information

NATIONAL SENIOR CERTIFICATE GRADE12

NATIONAL SENIOR CERTIFICATE GRADE12 NATIONAL SENIOR CERTIFICATE GRADE12 INFORMATION TECHNOLOGY P1 NOVEMBER 2016 MEMORANDUM MARKS: 150 This memorandum consists of 32 pages. Information Technology/P1 2 DBE/November 2016 GENERAL INFORMATION:

More information

NATIONAL SENIOR CERTIFICATE GRADE12

NATIONAL SENIOR CERTIFICATE GRADE12 NATIONAL SENIOR CERTIFICATE GRADE12 INFORMATION TECHNOLOGY P1 NOVEMBER 2015 MEMORANDUM MARKS: 150 This memorandum consists of 32 pages. Information Technology/P1 2 DBE/November 2015 GENERAL INFORMATION:

More information

AxoNet Software GmbH. Introduction. Using the VCL client components for asanetwork

AxoNet Software GmbH. Introduction. Using the VCL client components for asanetwork Introduction Using the VCL client components for asanetwork Edition 1.1, 23.11.2001, Copyright, all rights reserved Contents Contents... 2 Overview... 2 Installation... 2 Before you start... 3 Building

More information

LAMPIRAN A: DDL DATABASE

LAMPIRAN A: DDL DATABASE LAMPIRAN A: DDL DATABASE MySQL-Front 5.1 (Build 2.7) Host: localhost Database: mobil ------------------------------------------------------ Server version 5.0.41-community-nt USE `mobil`; Source for table

More information

LAMPIRAN A: LIST PROGRAM

LAMPIRAN A: LIST PROGRAM LAMPIRAN A: LIST PROGRAM Form Login unit ULogin; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, DB, IBQuery, IBDatabase, IBCustomDataSet, IBTable,

More information

CS 173 [A]: Discrete Structures, Fall 2012 Homework 8 Solutions

CS 173 [A]: Discrete Structures, Fall 2012 Homework 8 Solutions CS 173 [A]: Discrete Structures, Fall 01 Homework 8 Solutions This homework contains 4 problems worth a total of 35 points. It is due on Wednesday, November 14th, at 5pm. 1 Induction Proofs With Inequalities

More information

Combining kbmmw and kbmwabd for kbmwabd v and kbmmw v

Combining kbmmw and kbmwabd for kbmwabd v and kbmmw v Combining kbmmw and kbmwabd for kbmwabd v. 2.44+ and kbmmw v. 1.00+ The combination of kbmwabd and kbmmw gives a very powerful web application setup with advanced database handling and separation of business

More information

Creating a Webserver in 5 minutes using kbmmw!

Creating a Webserver in 5 minutes using kbmmw! Creating a Webserver in 5 minutes using kbmmw! kbmmw is a complete framework for building middleware/n-tier systems typically consisting of application servers and clients. One of the many advantages of

More information

Also, recursive methods are usually declared private, and require a public non-recursive method to initiate them.

Also, recursive methods are usually declared private, and require a public non-recursive method to initiate them. Laboratory 11: Expression Trees and Binary Search Trees Introduction Trees are nonlinear objects that link nodes together in a hierarchical fashion. Each node contains a reference to the data object, a

More information

LAMPIRAN. uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Menus, XPMan, ExtCtrls, jpeg;

LAMPIRAN. uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Menus, XPMan, ExtCtrls, jpeg; LAMPIRAN Lampiran A. Listing Program 1. Unit Utama unit UnUtama; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, Menus, XPMan, ExtCtrls, jpeg; type Tfrmutama

More information

&'()*+,-./0&(1& $ :;

&'()*+,-./0&(1& $ :; &'()*+,-./0&(1& $234567859:; raek@etteam.com %!"# $%# &#$ ' (!) * %#+,-./0$1"# 22(3 45416 (! 57 5 71 " *7 *7 ( 89:9-,- 8;:< 16 *! =)5> 7# &$%# 45?"16 * @! (! 5 *) 8,:A;B9- C;D.E

More information

Pdf Download Chrome Ios Download ->>->>->>

Pdf Download Chrome Ios Download ->>->>->> Pdf Download Chrome Ios Download ->>->>->> http://tinyurl.com/ycwsjaek 1 / 5 2 / 5 Google,,,,Chrome,,,,is,,,,a,,,,fast,,,,,free,,,,web,,,,browser.,,,,Before,,,,you,,,,download,,,,,you,,,,can,,,,c heck,,,,if,,,,chrome,,,,supports,,,,your,,,,operating,,,,system,,,,and,,,,you,,,,have,,,,all,,,,the,,,,other,,,,s

More information

! Tree: set of nodes and directed edges. ! Parent: source node of directed edge. ! Child: terminal node of directed edge

! Tree: set of nodes and directed edges. ! Parent: source node of directed edge. ! Child: terminal node of directed edge Trees (& Heaps) Week 12 Gaddis: 20 Weiss: 21.1-3 CS 5301 Spring 2015 Jill Seaman 1 Tree: non-recursive definition! Tree: set of nodes and directed edges - root: one node is distinguished as the root -

More information

Interdisciplinary relations in teaching of programming

Interdisciplinary relations in teaching of programming Interdisciplinary relations in teaching of programming VLADIMÍR JEHLIČKA Department of Informatics Faculty of Education University of Hradec Králové Rokitanského 62, 500 03 Hradec Králové 3 CZECH REPUBLIC

More information

Algorithms and Data Structures

Algorithms and Data Structures Algorithms and Data Structures PD Dr. rer. nat. habil. Ralf Peter Mundani Computation in Engineering / BGU Scientific Computing in Computer Science / INF Summer Term 2018 Part 2: Data Structures PD Dr.

More information

555 Timer Pin Configuration Pdf Download ->>> DOWNLOAD

555 Timer Pin Configuration Pdf Download ->>> DOWNLOAD 555 Timer Pin Configuration Pdf Download ->>> DOWNLOAD 1 / 5 2 / 5 Summary,PDF,Book:,Timer,Ic,555,Circuit,Diagram,.The,555-Timer,&,Pulse,Width,Modulation,.,of,a,55 5,Timer,in,Astable,Multivibrator,configuration,both,.,is,attached,to,the,555-timer,chips,pin,3,.The,,,75

More information

Data Structures and Algorithms

Data Structures and Algorithms Data Structures and Algorithms CS245-2008S-19 B-Trees David Galles Department of Computer Science University of San Francisco 19-0: Indexing Operations: Add an element Remove an element Find an element,

More information

EXAMINATIONS 2015 COMP103 INTRODUCTION TO DATA STRUCTURES AND ALGORITHMS

EXAMINATIONS 2015 COMP103 INTRODUCTION TO DATA STRUCTURES AND ALGORITHMS T E W H A R E W Ā N A N G A O T E Student ID:....................... Ū P O K O O T E I K A A M Ā U I VUW VICTORIA U N I V E R S I T Y O F W E L L I N G T O N EXAMINATIONS 2015 TRIMESTER 2 COMP103 INTRODUCTION

More information

COMP 250 Fall Homework #4

COMP 250 Fall Homework #4 COMP 250 Fall 2006 - Homework #4 1) (35 points) Manipulation of symbolic expressions See http://www.mcb.mcgill.ca/~blanchem/250/hw4/treenodesolution.java 2) (10 points) Binary search trees Consider a binary

More information

DATABASE AUTOMATION USING VBA (ADVANCED MICROSOFT ACCESS, X405.6)

DATABASE AUTOMATION USING VBA (ADVANCED MICROSOFT ACCESS, X405.6) Technology & Information Management Instructor: Michael Kremer, Ph.D. Database Program: Microsoft Access Series DATABASE AUTOMATION USING VBA (ADVANCED MICROSOFT ACCESS, X405.6) AGENDA 3. Executing VBA

More information

Teach Yourself Borland Delphi 4 in 21 Days

Teach Yourself Borland Delphi 4 in 21 Days Teach Yourself Borland Delphi 4 in 21 Days Introduction Day 1 - Getting Started with Delphi Day 2 - More on Pascal Table of Contents: Day 3 - Classes and Object-Oriented Programming Day 4 - The Delphi

More information

TMS Advanced Smooth Mega Menu

TMS Advanced Smooth Mega Menu TMS Advanced Smooth Mega Menu June 2009 Copyright 2009 by tmssoftware.com bvba Web: http://www.tmssoftware.com Email: info@tmssoftware.com 1 Index TAdvSmoothMegaMenu... 3 TAdvSmoothMegaMenu description...

More information

Example Final Questions Instructions

Example Final Questions Instructions Example Final Questions Instructions This exam paper contains a set of sample final exam questions. It is for practice purposes only. You ll most likely need longer than three hours to answer all the questions.

More information

Binary Tree. Binary tree terminology. Binary tree terminology Definition and Applications of Binary Trees

Binary Tree. Binary tree terminology. Binary tree terminology Definition and Applications of Binary Trees Binary Tree (Chapter 0. Starting Out with C++: From Control structures through Objects, Tony Gaddis) Le Thanh Huong School of Information and Communication Technology Hanoi University of Technology 11.1

More information

Coding Standards Document

Coding Standards Document CHAPTER IN THIS CHAPTER Introduction 218 General Source Code Formatting Rules 218 Object Pascal 219 Files 228 Forms and Data Modules 231 Packages 233 Components 234 Coding Standards Document Updates 235

More information

BRONX COMMUNITY COLLEGE of the City University of New York DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE

BRONX COMMUNITY COLLEGE of the City University of New York DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE BRONX COMMUNITY COLLEGE of the City University of New York DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE CSI Section E01 AVL Trees AVL Property While BST structures have average performance of Θ(log(n))

More information

AVL Tree. Idea. The performance (Search, Insertion, Deletion):

AVL Tree. Idea. The performance (Search, Insertion, Deletion): AVL Tree 4 Idea The performance (Search, Insertion, Deletion): of binary tree depends on the balance Indeed it is possible to build a nearly balanced tree if all the nodes are available at the beginning.

More information

Annales UMCS Informatica AI 1 (2003) UMCS. Concurrent programming and futures. Andrzej Daniluk

Annales UMCS Informatica AI 1 (2003) UMCS. Concurrent programming and futures. Andrzej Daniluk Annales Informatica AI 1 (2003) 303-308 Concurrent programming and futures Andrzej Daniluk Institute of Physics, Maria Curie-Skłodowska University, Pl. M.Curie-Skłodowskiej 1, 20-031 Lublin, Poland Annales

More information

CS 231 Data Structures and Algorithms Fall Binary Search Trees Lecture 23 October 29, Prof. Zadia Codabux

CS 231 Data Structures and Algorithms Fall Binary Search Trees Lecture 23 October 29, Prof. Zadia Codabux CS 231 Data Structures and Algorithms Fall 2018 Binary Search Trees Lecture 23 October 29, 2018 Prof. Zadia Codabux 1 Agenda Ternary Operator Binary Search Tree Node based implementation Complexity 2 Administrative

More information

SOFTWARE PRODUCT. GEOINFORMATION SYSTEM «PANORAMA» (GIS Panorama) Applied tasks. Database. Part 2 PARB pages

SOFTWARE PRODUCT. GEOINFORMATION SYSTEM «PANORAMA» (GIS Panorama) Applied tasks. Database. Part 2 PARB pages APPROVED -AS Orig. Inv. No. Signature and date Repl. inv. No. Copy inv. No. Signature and date SOFTWARE PRODUCT GEOINFORMATION SYSTEM «PANORAMA» (GIS Panorama) Applied tasks. Database. Part 2 45 pages

More information

Topic 7: Algebraic Data Types

Topic 7: Algebraic Data Types Topic 7: Algebraic Data Types 1 Recommended Exercises and Readings From Haskell: The craft of functional programming (3 rd Ed.) Exercises: 5.5, 5.7, 5.8, 5.10, 5.11, 5.12, 5.14 14.4, 14.5, 14.6 14.9, 14.11,

More information

CSC/MAT-220: Lab 6. Due: 11/26/2018

CSC/MAT-220: Lab 6. Due: 11/26/2018 CSC/MAT-220: Lab 6 Due: 11/26/2018 In Lab 2 we discussed value and type bindings. Recall, value bindings bind a value to a variable and are intended to be static for the life of a program. Type bindings

More information

Dale Carnegie Books In Urdu Download ->->->-> DOWNLOAD

Dale Carnegie Books In Urdu Download ->->->-> DOWNLOAD Dale Carnegie Books In Urdu Download ->->->-> DOWNLOAD 1 / 5 2 / 5 39...Baray...Aadmi...by...Dale...Carnegie...Free...download...or...read...online...another...useful...Ur du...book..."39...baray...aadmi"...and...read...about...the...greate...western...personalities...free...do

More information

Methods and Properties Reference

Methods and Properties Reference www.equality.ru/en equality Lotus Notes ActiveX Grid Control Methods and Properties Reference Properties of the table in general: Name Data type Def Type Description AllowDraw Boolean True R/W Allow redrawing

More information

Adobe Pdf Download For Windows Xp >>>

Adobe Pdf Download For Windows Xp >>> Adobe Pdf Download For Windows Xp >>> http://shurll.com/aiu5b 1 / 5 2 / 5 About,,,UsSoftonic,,,InfoHelp,,,&,,,SupportJobsCompany,,,NewsLegal,,,InformationCookie,,,PolicyDeve loperssoftonic,,,developer,,,centerupload,,,and,,,manage,,,your,,,softwaresoftware,,,policypartnersa

More information

SPARK. User Manual Ver ITLAQ Technologies

SPARK. User Manual Ver ITLAQ Technologies SPARK Forms Builder for Office 365 User Manual Ver. 3.5.50.102 0 ITLAQ Technologies www.itlaq.com Table of Contents 1 The Form Designer Workspace... 3 1.1 Form Toolbox... 3 1.1.1 Hiding/ Unhiding/ Minimizing

More information

Homework Assignment #3

Homework Assignment #3 CISC 2200 Data Structure Spring, 2016 Homework Assignment #3 1 Which of these formulas gives the maximum total number of nodes in a binary tree that has N levels? (Remember that the root is Level 0.) Explain

More information

Download Pdf From Url Ipad Covers ->>->>->>

Download Pdf From Url Ipad Covers ->>->>->> Download Pdf From Url Ipad Covers ->>->>->> http://tinyurl.com/y83bfzoo 1 / 5 2 / 5 Importing...Images...into...the...iPad...Using...Dropbox...Introduction...iPad...supports...Saving...ima ges...to...the...ipad...photo...library...case...you...will...need...to...download...use..ibooks..on..your..iphone,..ipad,...to..download..and..buy..books..from..the..ibooks..store,...and..pdf..files..that..you..save..to..ibooks.read...online...and...download...pdf...ebook...my...ipad...covers...ios...7...for...ipad...2...ipad...3rd4th...generation...and...ipad...mini...my.pdf...ipad...secrets...covers...ipad...ipad...2...a

More information

Deccansoft Software Services

Deccansoft Software Services Deccansoft Software Services (A Microsoft Learning Partner) HTML and CSS COURSE SYLLABUS Module 1: Web Programming Introduction In this module you will learn basic introduction to web development. Module

More information

Printing in Delphi 5 IN THIS CHAPTER CHAPTER. The TPrinter Object 420. TPrinter.Canvas 421. Simple Printing 422. Printing a Form 425

Printing in Delphi 5 IN THIS CHAPTER CHAPTER. The TPrinter Object 420. TPrinter.Canvas 421. Simple Printing 422. Printing a Form 425 Printing in Delphi 5 CHAPTER 10 IN THIS CHAPTER The TPrinter Object 420 TPrinter.Canvas 421 Simple Printing 422 Printing a Form 425 Advanced Printing 425 Miscellaneous Printing Tasks 450 Obtaining Printer

More information

DelphiScript Keywords

DelphiScript Keywords DelphiScript Keywords Old Content - visit altium.com/documentation Modified by on 13-Sep-2017 This reference covers the DelphiScript keywords used for the Scripting System in Altium Designer. The scripting

More information

Building Java Programs

Building Java Programs Building Java Programs Binary Trees reading: 17.1 17.3 2 Trees in computer science TreeMap and TreeSet implementations folders/files on a computer family genealogy; organizational charts AI: decision trees

More information

DataSnap 2009 Overview

DataSnap 2009 Overview http:edn.embarcadero.com/print/38682 1 z 7 10.7.2009 15:01 DataSnap 2009 Overview By: Steven Shaughnessy Abstract: This is an introduction to the new component based DataSnap technology included in Delphi

More information

SCHEME 7. 1 Introduction. 2 Primitives COMPUTER SCIENCE 61A. October 29, 2015

SCHEME 7. 1 Introduction. 2 Primitives COMPUTER SCIENCE 61A. October 29, 2015 SCHEME 7 COMPUTER SCIENCE 61A October 29, 2015 1 Introduction In the next part of the course, we will be working with the Scheme programming language. In addition to learning how to write Scheme programs,

More information

Characteristics Of Least Developed Countries Pdf Download ->>->>->> DOWNLOAD

Characteristics Of Least Developed Countries Pdf Download ->>->>->> DOWNLOAD 1 / 6 Characteristics Of Least Developed Countries Pdf Download ->>->>->> DOWNLOAD 2 / 6 3 / 6 PDF,,.,,Least,,Developed,,Countries,,,.,,A,,similar,,complaint,,can,,also,,be,,levelled,,at,,the,,third,,cha

More information

NATIONAL SENIOR CERTIFICATE GRADE 12

NATIONAL SENIOR CERTIFICATE GRADE 12 NATIONAL SENIOR CERTIFICATE GRADE 12 INFORMATION TECHNOLOGY P1 NOVEMBER 2014 MARKS: 150 TIME: 3 hours This question paper consists of 22 pages. Information Technology/P1 2 DBE/November 2014 NSC INSTRUCTIONS

More information

Trees. Eric McCreath

Trees. Eric McCreath Trees Eric McCreath 2 Overview In this lecture we will explore: general trees, binary trees, binary search trees, and AVL and B-Trees. 3 Trees Trees are recursive data structures. They are useful for:

More information

ECE 242 Data Structures and Algorithms. Heaps I. Lecture 22. Prof. Eric Polizzi

ECE 242 Data Structures and Algorithms.  Heaps I. Lecture 22. Prof. Eric Polizzi ECE 242 Data Structures and Algorithms http://www.ecs.umass.edu/~polizzi/teaching/ece242/ Heaps I Lecture 22 Prof. Eric Polizzi Motivations Review of priority queue Input F E D B A Output Input Data structure

More information

NATIONAL SENIOR CERTIFICATE GRADE 12

NATIONAL SENIOR CERTIFICATE GRADE 12 NATIONAL SENIOR CERTIFICATE GRADE 12 INFORMATION TECHNOLOGY P1 FEBRUARY/MARCH 2015 MEMORANDUM MARKS: 150 This memorandum consists of 32 pages. Information Technology/P1 2 DBE/Feb. Mar. 2015 GENERAL INFORMATION:

More information

FastReport 3.0. User manual

FastReport 3.0. User manual FastReport 3.0 User manual Edition 1.01 Copyright (c) 1998-2004, Fast Reports, Inc. 2 Table of Contents Designer... 5 Control keys... 6 Mouse control... 6 Toolbars... 7 Designer mode bar... 7 Standard

More information