<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Rizq Technology - Exploring Your iDea. &#187; if else</title>
	<atom:link href="http://rizqtech.net/tag/if-else/feed/" rel="self" type="application/rss+xml" />
	<link>http://rizqtech.net</link>
	<description>All about My Experiences, Knowledge and Thoughts.</description>
	<lastBuildDate>Mon, 26 Jul 2010 07:00:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Delphi Basic#2</title>
		<link>http://rizqtech.net/2009/04/19/delphi-basic2/</link>
		<comments>http://rizqtech.net/2009/04/19/delphi-basic2/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 08:04:53 +0000</pubDate>
		<dc:creator>Rizky</dc:creator>
				<category><![CDATA[Delphi]]></category>
		<category><![CDATA[if else]]></category>

		<guid isPermaLink="false">http://rizqtech.net/?p=518</guid>
		<description><![CDATA[Bagaimana mencari atau selection pada Delphi, berikut contoh di bawah ini menggunakan ekspresi &#8220;IF ELSE&#8221; Case-nya : Bagaimana menentukan Hari Berdasarkan Bilangan yang di input ? unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Label1: TLabel; Label2: TLabel; nilai: TEdit; Button1: TButton; procedure Button1Click(Sender: TObject); [...]]]></description>
			<content:encoded><![CDATA[<p>Bagaimana mencari atau selection pada Delphi, berikut contoh di bawah ini menggunakan ekspresi &#8220;IF ELSE&#8221;</p>
<p>Case-nya : Bagaimana menentukan Hari Berdasarkan Bilangan yang di input ?</p>
<pre name="code" class="delphi">
unit Unit1;

interface

uses

Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,

Dialogs, StdCtrls;

type

TForm1 = class(TForm)

Label1: TLabel;

Label2: TLabel;

nilai: TEdit;

Button1: TButton;

procedure Button1Click(Sender: TObject);

private

{ Private declarations }

public

{ Public declarations }

end;

var

Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.Button1Click(Sender: TObject);

begin

if nilai.text=’1? then

begin

label2.Caption:=’Senin’;

end

else if nilai.text=’2? then

begin

label2.Caption:=’Selasa’;

end

else if nilai.text=’3? then

begin

label2.Caption:=’Rabu’;

end

else if nilai.text=’4? then

begin

label2.Caption:=’Kamis’;

end

else if nilai.text=’5? then

begin

label2.Caption:=’Jumat’;

end

else if nilai.text=’6? then

begin

label2.Caption:=’Sabtu’;

end

else if nilai.text=’7? then

begin

label2.Caption:=’Minggu’;

end else

label2.Caption:=’Inputan anda Salah !’;

end;

end.
</pre>
<p class="MsoNormal">SCREENSHOOT BELOW :</p>
<p class="MsoNormal"><img class="size-full wp-image-519 alignleft" title="hari-if" src="http://rizqtech.net/wp-content/uploads/2009/04/hari-if.jpg" alt="hari-if" width="563" height="332" /></p>
]]></content:encoded>
			<wfw:commentRss>http://rizqtech.net/2009/04/19/delphi-basic2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
