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

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.
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.

(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.
mehranAuthor Commented:
Are these documented by Borland Co.(Inprise) or a standardization organization? If so, where can I find these documents?
mehranAuthor Commented:
VIBESPRO, I need documented answer.
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.

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

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

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


  go to this URL: ... and there you'll find the answer.
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

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.
ok.  I hope you get the full answer later
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

From novice to tech pro — start learning today.