Need for Documentation.

1.What is the value of 'i' variable after execution of the following program block compiled with "Turbo/Borland Pascal":

  for i := 1 to n do
    something;

2.Are "Global Variables" in "Turbo/Borland Pascal" initialized to zero at the beginning of a Pascal program execution.

Note: Please address official documents for both questions.
mehranAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

VIBESPROCommented:
(1):  for i:= 1 to n do  something

after this i = n
so n must = to a value

lets say n = 100 then
i = 100 after program execution
i is incremented from 1 to 100 which
n = 100...
you must substite a value for n

(2) sorry but not all the time.  

the pascal compiler's IDE executes programs in RAM which return different values in the global variables this is mainly done when you set 'compile' to memeory

the global variables have to be manually set to zero in the begining of the program.
0
mehranAuthor Commented:
Are these documented by Borland Co.(Inprise) or a standardization organization? If so, where can I find these documents?
0
mehranAuthor Commented:
VIBESPRO, I need documented answer.
0
HTML5 and CSS3 Fundamentals

Build a website from the ground up by first learning the fundamentals of HTML5 and CSS3, the two popular programming languages used to present content online. HTML deals with fonts, colors, graphics, and hyperlinks, while CSS describes how HTML elements are to be displayed.

VIBESPROCommented:
ok one moment
0
VIBESPROCommented:
try out this site!
it will be useful to you

http://members.netscapeonline.co.uk/pascaldelphi/


I have another site coming up as well
0
mehranAuthor Commented:
I am looking forward something like:

  look at page ... of Turbo Pascal 7.0's Reference book

or

  go to this URL: ... and there you'll find the answer.
0
ozoCommented:
The final value of the control variable isleft undefined upon normal exit from the statement.
pascal User Manual and Report, Seconbd Edition, User Manual §4.C.3
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mehranAuthor Commented:
Thanks to you, VIBESPRO and ozo.
I am not satisfied by these answers. But I give the points to ozo, because of his answer to one of my questions.
0
VIBESPROCommented:
ok
0
VIBESPROCommented:
ok.  I hope you get the full answer later
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Pascal

From novice to tech pro — start learning today.