Pascal
Pascal is an influential imperative and procedural programming language, intended to encourage good programming practices using so called structured programming and data structuring.
Forum Post
Forum Post

Re: Const parameter

U will not be able to change the value of the const variable again... Const declaration takes the assigned value of it the first time a value is assigned... I've never seen a declaration like...
Forum Post

Re: I need help with my code.

program Lab1LivaBrege; uses crt; const n=10; m=n*(n+1) div 2; type matrix=array of real; vector=array of real; var B:Vector; A:Matrix; tkey: integer; option, i,...
Forum Post

Re: Help, could be very easy.

sorry for two equal topics, it showed some error, but made the topic anyway. TC this topic so there's just one topic.
Forum Post

Algorithm and Pascal

Hi please help Any help would be appreciated. write and algorithm and pascal program to determine whether an applicant is approved for allocation of a home in a named housing community. The...
Forum Post

2Dimensional Array Error

Hi guys; I am new to the programming world, just beginning to study in my A Levels so hopefully this shouldn't be a problem for you guys For my homework assignment I need to devise a 2Dimensional...
Forum Post

Re: determine the winner

highest THEN BEGIN highest:= data END END; writeln; writeln(' Winner(s):'); FOR count:= 1 TO data_amt DO IF data=highest THEN writeln(' Student ', count, ' with score, ', highest, '!');...
Forum Post

Re: Free Pascal - Window Resize

OK, which seems appropriate), to no avail; the app constantly opens up the small window. Unfortunately, I think I am cursed to forever manually re-size the 4x7" screen when using Free Pascal....
Forum Post

Re: Free Pascal - Window Resize

Ok, right before you close out the Properties, you want to click on the Apply button in the lower right-hand corner, then click the OK button. That's suppose to save the settings so that when you...
Forum Post

Re: How to create function that will raise x to y (x^y=z)

That's because Exp is a real function and not integer. So change function PowerFn (number, exponent: integer): real;or change PowerFn := Trunc( Exp(exponent*Ln(number)) )
Forum Post

How to create function that will raise x to y (x^y=z)

This code is not working: program hw13; uses crt; var number,exponent:integer; function PowerFn (number, exponent: integer): integer; begin PowerFn := Exp(exponent*Ln(number)); end; begin...
Forum Post

stuck on number generation

); combi.x := -1; if (i mod C_GROUPS) = 0 then s := s + #13#10 end; // Show result ShowMessage(s); end.
Forum Post

Re: Free Pascal - Window Resize

When I resized my window from 800x600 to 1024x768 things got smaller but easier for some websites to see everything. I suggest that you do a right mouse click on the Free Pascal IDE icon then do a...
Forum Post

Free Pascal - Window Resize

I just downloaded Free Pascal (2.4.2) and am eager to use it after many years with an older version. In the early exploring stage I have found that I cannot expand the 4 x 7.5” default window (???)....
Forum Post

Re: need reply

As part of the procedure there are 2 calls to itself as part of the else condition. When the procedure goes through all of the recursive calls to the procedure, the numbers are decreased for the...
Forum Post

need reply

i have a cut of program like this: procedure Bingo(t); begin if(t
Forum Post

need FAST reply !please

=1)then A:=j else a:=-1 end; the question says when the program called A(4,7) why the answer is 509 explain the way! i don't know solving the problem when i found this A:=(i-1,4(i,j-1)+1)and...
Forum Post

Please Help with my programming

I would like some help with this pascal programming language please im totally new to pascal. im just the "Free PASCAL Compiler" T.J Limited pays its operational staff weekly wages at a rate...
Forum Post

Re: Blank space after access to record field ?

':=' is used to assign value into variable/ record.....its same like assigning value into variable...e.g var num : integer; num:= 10; in above example u r assigning value 10 to variable..in...
Forum Post

Blank space after access to record field ?

Can anyone please help me understand this part of the code unit lab5un; interface uses LAB5IO; type MyRec= record name1 : STR39; name2 : STR39; end; type Myfiletype =...
 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.