<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>killhha's Feed - Programmer's Heaven</title>
    <link>http://www.programmersheaven.com/feed/User/329626/RSS.aspx</link>
    <description>Events at Programmer's Heaven related to the user killhha.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Sat, 25 May 2013 13:45:31 -0700</pubDate>
    <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>
    <item>
      <title>Saving information</title>
      <link>http://www.programmersheaven.com/mb/pasprog/386825/386825/ReadMessage.aspx#386825</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/pasprog/386825/386825/ReadMessage.aspx#386825"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/pasprog/Board.aspx"&gt;Pascal&lt;/a&gt; forum.&lt;/p&gt;is it possible to save information in pascal? when i say this i mean you enter in information into a string for example and then when you close the program and reopen it the name will still be there and stored in the program. is it possible to do this?&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/386825/386825/ReadMessage.aspx#386825</guid>
      <pubDate>Thu, 05 Mar 2009 05:06:56 -0700</pubDate>
    </item>
    <item>
      <title>What program should i make?</title>
      <link>http://www.programmersheaven.com/mb/pasprog/386824/386824/ReadMessage.aspx#386824</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/pasprog/386824/386824/ReadMessage.aspx#386824"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/pasprog/Board.aspx"&gt;Pascal&lt;/a&gt; forum.&lt;/p&gt;im bored and i like pascal. i was wondering if any of you guys could give me an idea of a program to make? not too easy and not too hard. iv already done the one where you enter in 10 numbers and it tells you the largest, smallest and so on. the program needs to use crt because thats all iv learnt so far. looking forward to replies :)&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/386824/386824/ReadMessage.aspx#386824</guid>
      <pubDate>Thu, 05 Mar 2009 05:05:09 -0700</pubDate>
    </item>
    <item>
      <title>Calculator</title>
      <link>http://www.programmersheaven.com/mb/pasprog/386822/386822/ReadMessage.aspx#386822</link>
      <description>&lt;p&gt;Posted a '&lt;a href="http://www.programmersheaven.com/mb/pasprog/386822/386822/ReadMessage.aspx#386822"&gt;new message&lt;/a&gt; on the &lt;a href="http://www.programmersheaven.com/mb/pasprog/Board.aspx"&gt;Pascal&lt;/a&gt; forum.&lt;/p&gt;so i have this project for school to create a pascal program. i was thinking of making a calculator which can do stuff like cosine and all that stuff. like a scientific calculator. The program has to use crt because thats all weve learnt so far. im not an expert at pascal but i still understand some stuff like loops and menus and such. would the only way to make this be a menu saying stuff like 1) Plus, 2) Minus and so on? or is it possible to just enter in a whole line like 1+4 and then you get the answer? all i want is the basic layout of the program to start off with and then i can build it up.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/386822/386822/ReadMessage.aspx#386822</guid>
      <pubDate>Thu, 05 Mar 2009 04:57:22 -0700</pubDate>
    </item>
    <item>
      <title>Re: passwords</title>
      <link>http://www.programmersheaven.com/mb/pasprog/382551/382578/ReadMessage.aspx#382578</link>
      <description>&lt;p&gt;Posted the message '&lt;a href="http://www.programmersheaven.com/mb/pasprog/382551/382578/ReadMessage.aspx#382578"&gt;Re: passwords&lt;/a&gt;' on the &lt;a href="http://www.programmersheaven.com/mb/pasprog/Board.aspx"&gt;Pascal&lt;/a&gt; forum.&lt;/p&gt;: : thanks! it works. is it possible to make the letters horrizontal?&lt;br /&gt;
: : &lt;br /&gt;
: : &lt;br /&gt;
: Not with simple pascal commands. But it is possible to remap the &lt;br /&gt;
: whole VGA character set, even to have 512 characters on hand. If you &lt;br /&gt;
: good with assembly, I think I have some code somewhere... On the &lt;br /&gt;
: other hand it's easily done in graphics mode ( settextstyle ).&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
hah nevermind then. no problem&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/382551/382578/ReadMessage.aspx#382578</guid>
      <pubDate>Thu, 04 Dec 2008 01:53:43 -0700</pubDate>
    </item>
    <item>
      <title>Re: passwords</title>
      <link>http://www.programmersheaven.com/mb/pasprog/382551/382573/ReadMessage.aspx#382573</link>
      <description>&lt;p&gt;Posted the message '&lt;a href="http://www.programmersheaven.com/mb/pasprog/382551/382573/ReadMessage.aspx#382573"&gt;Re: passwords&lt;/a&gt;' on the &lt;a href="http://www.programmersheaven.com/mb/pasprog/Board.aspx"&gt;Pascal&lt;/a&gt; forum.&lt;/p&gt;thanks! it works. is it possible to make the letters horrizontal?&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/382551/382573/ReadMessage.aspx#382573</guid>
      <pubDate>Wed, 03 Dec 2008 23:53:41 -0700</pubDate>
    </item>
    <item>
      <title>turbo pascal on vista</title>
      <link>http://www.programmersheaven.com/mb/pasprog/382552/382552/ReadMessage.aspx#382552</link>
      <description>&lt;p&gt;Posted the message '&lt;a href="http://www.programmersheaven.com/mb/pasprog/382552/382552/ReadMessage.aspx#382552"&gt;turbo pascal on vista&lt;/a&gt;' on the &lt;a href="http://www.programmersheaven.com/mb/pasprog/Board.aspx"&gt;Pascal&lt;/a&gt; forum.&lt;/p&gt;does anyone know how to get turbo pascal to work on windows vista? when i try to run it it says something about a fullscreen error&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/382552/382552/ReadMessage.aspx#382552</guid>
      <pubDate>Wed, 03 Dec 2008 12:52:54 -0700</pubDate>
    </item>
    <item>
      <title>passwords</title>
      <link>http://www.programmersheaven.com/mb/pasprog/382551/382551/ReadMessage.aspx#382551</link>
      <description>&lt;p&gt;Posted the message '&lt;a href="http://www.programmersheaven.com/mb/pasprog/382551/382551/ReadMessage.aspx#382551"&gt;passwords&lt;/a&gt;' on the &lt;a href="http://www.programmersheaven.com/mb/pasprog/Board.aspx"&gt;Pascal&lt;/a&gt; forum.&lt;/p&gt;what i want to try and do is cover up the password with *. for instance when you are entering in the password insteaded of seeing 'program' you would see '*******'. is it possible to do it with only using crt? i havent learnt anything else yet. im a noob at pascal.&lt;br /&gt;
&lt;br /&gt;
this is my program:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
program password_program;
uses crt;
var
password:string;

label pass;
label correct;
label wrong;
label quit;

begin
pass:
clrscr;
writeln('please enter correct password:');
readln(password);

if password='program' then goto correct else goto wrong;

correct:
writeln('correct password! you may continue.');
readln;
goto quit;

wrong:
writeln('bad password! try again!');
readln;
goto pass;

quit:
end.
&lt;/pre&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/382551/382551/ReadMessage.aspx#382551</guid>
      <pubDate>Wed, 03 Dec 2008 12:03:35 -0700</pubDate>
    </item>
    <item>
      <title>Re: finding largest, smallest and average</title>
      <link>http://www.programmersheaven.com/mb/pasprog/382447/382469/ReadMessage.aspx#382469</link>
      <description>&lt;p&gt;Posted the message '&lt;a href="http://www.programmersheaven.com/mb/pasprog/382447/382469/ReadMessage.aspx#382469"&gt;Re: finding largest, smallest and average&lt;/a&gt;' on the &lt;a href="http://www.programmersheaven.com/mb/pasprog/Board.aspx"&gt;Pascal&lt;/a&gt; forum.&lt;/p&gt;: : ok so im trying to write a simple program that does the following:&lt;br /&gt;
: : &lt;br /&gt;
: : 1) asks user to enter in 10 numbers (i can do this with array)&lt;br /&gt;
: : 2) find the largest number entered and display it&lt;br /&gt;
: : 3) find smallest number and display it&lt;br /&gt;
: : 4) find average and display it&lt;br /&gt;
: : &lt;br /&gt;
: : i am a total noob at pascal and programming. i was close to figuring &lt;br /&gt;
: : out average but i couldnt manage. and i have no idea how to display &lt;br /&gt;
: : the largest and smallest. could you guys help me?&lt;br /&gt;
: : &lt;br /&gt;
: &lt;br /&gt;
: Hi, this will help to solve your problem:&lt;br /&gt;
: &lt;br /&gt;
: &lt;pre class="sourcecode"&gt;: &lt;span style="color: Blue;"&gt;
: program average;
: 
: const max_number=10;    {change this for array size}
: var number:array[1..max_number+1] of integer;  {can be byte,word,real...etc.}
:     i:byte;
: 
: 
: procedure sort_numbers;  {simple bubble sort algorythm}
:  var j:byte;             {can be slow for large arrays, but easy to implement}
:  begin
:   for j:=max_number downto 2 do
:    for i:=1 to j do
:     if number[j]&amp;lt;number[i] then begin
:      number[max_number+1]:=number[j];
:      number[j]:=number[i];
:      number[i]:=number[max_number+1];
:     end;
:  end;
: 
: procedure write_min_max; {because it's sorted is easy to see min. and max. }
:  begin
:   writeln(#13#10,'Minimum &amp;gt; ',number[1]); {#13#10 moves the cursor down a line}
:   writeln('Maximum &amp;gt; ',number[max_number]);
:  end;
: 
: procedure calculate_average;
:  begin
:   number[max_number+1]:=0;
:   for i:=1 to max_number do
:    inc(number[max_number+1],number[i]);
:   writeln('Average &amp;gt; ',number[max_number+1]/max_number:6:4);
:  { :6:4 formats the result to "xxxxxx.xxxx" instead of "x.xxxx...E+xxxx" }
:  end;
: 
: 
: 
: begin
:  writeln;                         {move cursor down 1 line}
:  for i:=1 to max_number do begin  {enter data}
:   write('Enter number ',i,' : ');
:   readln(number[i]);
:  end;
:  sort_numbers;
:  write_min_max;
:  calculate_average;
:  asm xor ax,ax;int 16h;end;       {waits for a keypress to exit}
: end.
: &lt;/span&gt;&lt;/pre&gt;: &lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
wow! thanks! works great! exept for the end where it says "asm xor ax,ax;int 16h;end;" it said that the compile failed so i just changed to readln no biggy. i also learnt about the 6:4 thing. that helped alot! thanks :)&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/382447/382469/ReadMessage.aspx#382469</guid>
      <pubDate>Tue, 02 Dec 2008 03:30:02 -0700</pubDate>
    </item>
    <item>
      <title>finding largest, smallest and average</title>
      <link>http://www.programmersheaven.com/mb/pasprog/382447/382447/ReadMessage.aspx#382447</link>
      <description>&lt;p&gt;Posted the message '&lt;a href="http://www.programmersheaven.com/mb/pasprog/382447/382447/ReadMessage.aspx#382447"&gt;finding largest, smallest and average&lt;/a&gt;' on the &lt;a href="http://www.programmersheaven.com/mb/pasprog/Board.aspx"&gt;Pascal&lt;/a&gt; forum.&lt;/p&gt;ok so im trying to write a simple program that does the following:&lt;br /&gt;
&lt;br /&gt;
1) asks user to enter in 10 numbers (i can do this with array)&lt;br /&gt;
2) find the largest number entered and display it&lt;br /&gt;
3) find smallest number and display it&lt;br /&gt;
4) find average and display it&lt;br /&gt;
&lt;br /&gt;
i am a total noob at pascal and programming. i was close to figuring out average but i couldnt manage. and i have no idea how to display the largest and smallest. could you guys help me?&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/382447/382447/ReadMessage.aspx#382447</guid>
      <pubDate>Mon, 01 Dec 2008 16:21:41 -0700</pubDate>
    </item>
  </channel>
</rss>