<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'Trying to figure out what went wrong' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'Trying to figure out what went wrong' posted on the 'Pascal' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Sat, 25 May 2013 21:26:06 -0700</pubDate>
    <lastBuildDate>Sat, 25 May 2013 21:26:06 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Trying to figure out what went wrong</title>
      <link>http://www.programmersheaven.com/mb/pasprog/427445/427445/trying-to-figure-out-what-went-wrong/</link>
      <description>hello fellow pascal programmers. &lt;br /&gt;
I come to ask you about your coding knowledge.&lt;br /&gt;
currently working on a program in pascal.&lt;br /&gt;
Got a chunk of code done, then compiled it. Didn't work properly unfortunately.&lt;br /&gt;
Narrowed down the problem to this unit:&lt;br /&gt;
unit Unit1;&lt;br /&gt;
&lt;br /&gt;
interface&lt;br /&gt;
&lt;br /&gt;
uses&lt;br /&gt;
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,&lt;br /&gt;
Dialogs, jpeg, ExtCtrls;&lt;br /&gt;
&lt;br /&gt;
type&lt;br /&gt;
TForm1 = class(TForm)&lt;br /&gt;
Panel1: TPanel;&lt;br /&gt;
Timer1: TTimer;&lt;br /&gt;
Image1: TImage;&lt;br /&gt;
procedure Timer1Timer(Sender: TObject);&lt;br /&gt;
private&lt;br /&gt;
{ Private declarations }&lt;br /&gt;
public&lt;br /&gt;
{ Public declarations }&lt;br /&gt;
end;&lt;br /&gt;
&lt;br /&gt;
var&lt;br /&gt;
Form1: TForm1;&lt;br /&gt;
&lt;br /&gt;
implementation&lt;br /&gt;
&lt;br /&gt;
{$R *.dfm}&lt;br /&gt;
Var&lt;br /&gt;
i : Integer = 1 ;&lt;br /&gt;
&lt;br /&gt;
procedure TForm1.Timer1Timer(Sender: TObject);&lt;br /&gt;
Var&lt;br /&gt;
Bitmap: TBitmap;&lt;br /&gt;
begin&lt;br /&gt;
Bitmap := TBitmap.Create;&lt;br /&gt;
Bitmap.LoadFromFile&lt;br /&gt;
('pictures\Pic'+IntToStr(i)+'.bmp');&lt;br /&gt;
Image1.Picture.Bitmap := Bitmap;&lt;br /&gt;
Image1.Stretch := True;&lt;br /&gt;
Bitmap.Free;&lt;br /&gt;
i:=i+1;&lt;br /&gt;
If i = 3&lt;br /&gt;
Then i := 1;&lt;br /&gt;
&lt;br /&gt;
end;&lt;br /&gt;
&lt;br /&gt;
end.&lt;br /&gt;
I have image files with the associated names, as well as a form that has all the relevant items. &lt;br /&gt;
Any obvious problems you can spot?&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/427445/427445/trying-to-figure-out-what-went-wrong/</guid>
      <pubDate>Thu, 16 Feb 2012 05:48:59 -0700</pubDate>
      <category>Pascal</category>
    </item>
  </channel>
</rss>