<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'Help at making a tree trunk' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'Help at making a tree trunk' posted on the 'Pascal' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Tue, 18 Jun 2013 18:41:31 -0700</pubDate>
    <lastBuildDate>Tue, 18 Jun 2013 18:41:31 -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>Help at making a tree trunk</title>
      <link>http://www.programmersheaven.com/mb/pasprog/431080/431080/help-at-making-a-tree-trunk/</link>
      <description>Hello to all&lt;br /&gt;
I am a beginner is pascal and i am trying to make a tree trunk that grows acording to the rest of the tree.&lt;br /&gt;
I already made the tree itself (here it is):&lt;br /&gt;
&lt;br /&gt;
program Isosceles;&lt;br /&gt;
Uses Crt;&lt;br /&gt;
var num_lines, line:Integer;&lt;br /&gt;
procedure printline (num_esp, num_ast:Integer);&lt;br /&gt;
const aster='*';&lt;br /&gt;
      esp=' ';&lt;br /&gt;
var counter:Integer;&lt;br /&gt;
begin&lt;br /&gt;
     for counter:=1 to num_esp do&lt;br /&gt;
         write(esp);&lt;br /&gt;
     for counter:=1 to num_ast do&lt;br /&gt;
         write(aster);&lt;br /&gt;
     writeln&lt;br /&gt;
end;&lt;br /&gt;
begin         (*Main program*)&lt;br /&gt;
     writeln ('Height of the tree= ');&lt;br /&gt;
     readln(num_lines);&lt;br /&gt;
     for line:=1 to num_lines do&lt;br /&gt;
         printline(num_lines-line,2*line-1);&lt;br /&gt;
     readln;&lt;br /&gt;
end.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
But now i am stuck and cant figure out how to make the tree trunk &lt;br /&gt;
&lt;br /&gt;
I &amp;lt;------This part i want it to grow as the tree gets bigger(this part needs to be added at the bottom of the tree).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Help would be much appreciated &lt;br /&gt;
&lt;br /&gt;
ps:I am usig Dev-Pascal 1.9.2.&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/431080/431080/help-at-making-a-tree-trunk/</guid>
      <pubDate>Fri, 25 Jan 2013 15:44:10 -0700</pubDate>
      <category>Pascal</category>
    </item>
    <item>
      <title>Re: Help at making a tree trunk</title>
      <link>http://www.programmersheaven.com/mb/pasprog/431080/431122/re-help-at-making-a-tree-trunk/#431122</link>
      <description>I altered your program so that your subroutine could be a little more flexible. I dont know how you wanted to do the trunk so I made some assumptions.&lt;br /&gt;
&lt;pre class="sourcecode"&gt;program Isosceles;

  Uses Crt;

  var
    num_lines, line : Integer;
    trnk_spcs : integer;

  procedure printline ( num_esp, num_ast : Integer; tt : char );

    const
      esp = ' ';

    var
      counter : Integer;

    begin

      for counter := 1 to num_esp do
        write( esp );

      for counter := 1 to num_ast do
        write( tt );

      writeln
    end;

  begin (* Main program *)
    writeln( 'Height of the tree= ' );
    readln( num_lines );

    for line := 1 to num_lines do
      printline( num_lines - line, 2 * line - 1, '*' );

    trnk_spcs := num_lines - 1;

    for line := 1 to 4 do
      printline( trnk_spcs, 2, '|' );

    readln
  end.
&lt;/pre&gt;&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/431080/431122/re-help-at-making-a-tree-trunk/#431122</guid>
      <pubDate>Wed, 30 Jan 2013 13:33:56 -0700</pubDate>
      <category>Pascal</category>
    </item>
    <item>
      <title>Re: Help at making a tree trunk</title>
      <link>http://www.programmersheaven.com/mb/pasprog/431080/431308/re-help-at-making-a-tree-trunk/#431308</link>
      <description>Sorry but on my initial post i didnt explain myself to well, my bad.&lt;br /&gt;
quikcarlx i want the tree trunk to grow as the tree gets bigger i have made some progress:&lt;br /&gt;
&lt;br /&gt;
program Isosceles;&lt;br /&gt;
Uses Crt;&lt;br /&gt;
var num_lines, line, temp:Integer;&lt;br /&gt;
procedure printline (num_space, num_ast:Integer);&lt;br /&gt;
const aster='*';&lt;br /&gt;
      esp=' ';&lt;br /&gt;
var counter:Integer;&lt;br /&gt;
begin&lt;br /&gt;
     for counter:=1 to num_space do&lt;br /&gt;
         write(esp);&lt;br /&gt;
     for counter:=1 to num_ast do&lt;br /&gt;
         write(aster);&lt;br /&gt;
     writeln&lt;br /&gt;
end;&lt;br /&gt;
Procedure trunk1;&lt;br /&gt;
const esp=' ';&lt;br /&gt;
      trunk='I';&lt;br /&gt;
Var counter:Integer;&lt;br /&gt;
begin&lt;br /&gt;
     for counter:=1 to num_lines-1 do&lt;br /&gt;
         write(esp);&lt;br /&gt;
         writeln(trunk);&lt;br /&gt;
end;&lt;br /&gt;
begin         (*main program*)&lt;br /&gt;
     writeln ('Height of the tree= ');&lt;br /&gt;
     readln(num_lines);&lt;br /&gt;
     for line:=1 to num_lines do&lt;br /&gt;
         printline(num_lines-line,2*line-1);&lt;br /&gt;
     for temp:=1 to num_lines do&lt;br /&gt;
         trunk1;&lt;br /&gt;
         readln;&lt;br /&gt;
&lt;br /&gt;
end.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
But i still havent figured out how to make the tree trunk get thicker as the tree gets bigger.&lt;br /&gt;
&lt;br /&gt;
Sorry taking so long to reply</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/431080/431308/re-help-at-making-a-tree-trunk/#431308</guid>
      <pubDate>Sat, 16 Feb 2013 08:14:08 -0700</pubDate>
      <category>Pascal</category>
    </item>
    <item>
      <title>Re: Help at making a tree trunk</title>
      <link>http://www.programmersheaven.com/mb/pasprog/431080/432376/re-help-at-making-a-tree-trunk/#432376</link>
      <description>quickcartx could you please contact me regarding a pascal bug I need help with?  dennis dot lamb at gmail&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/431080/432376/re-help-at-making-a-tree-trunk/#432376</guid>
      <pubDate>Mon, 17 Jun 2013 13:06:33 -0700</pubDate>
      <category>Pascal</category>
    </item>
    <item>
      <title>Re: Help at making a tree trunk</title>
      <link>http://www.programmersheaven.com/mb/pasprog/431080/432377/re-help-at-making-a-tree-trunk/#432377</link>
      <description>quickcartx could you please contact me regarding a pascal bug I need help with?  dennis dot lamb at gmail&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/431080/432377/re-help-at-making-a-tree-trunk/#432377</guid>
      <pubDate>Mon, 17 Jun 2013 13:08:24 -0700</pubDate>
      <category>Pascal</category>
    </item>
    <item>
      <title>Re: Help at making a tree trunk</title>
      <link>http://www.programmersheaven.com/mb/pasprog/431080/432378/re-help-at-making-a-tree-trunk/#432378</link>
      <description>quikcartx could you please contact me regarding a bug in a piece of Pascal code I am experiencing?  dennis dot lamb at gmail</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/431080/432378/re-help-at-making-a-tree-trunk/#432378</guid>
      <pubDate>Mon, 17 Jun 2013 13:12:45 -0700</pubDate>
      <category>Pascal</category>
    </item>
  </channel>
</rss>