Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Ansi -iso > Re: Unit namesp...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 203 of 219
Post > Topic >>

Re: Unit namespace

by CBFalconer <cbfalconer@[EMAIL PROTECTED] > Feb 3, 2008 at 12:08 AM

Il Razziatore wrote:
> 
> I have a question about ansi-iso pascal.
> I have 2 unit and a main file
> 
> === file a.pas: ===
> Unit A;
> 
> Interface
> 
>      Var X : Byte;
> End;
> 
> === file b.pas: ===
> Unit B;
> 
> Interface
> 
>      Var X : Byte;
> End;
> 
> === file main.pas ===
> Program main;
> 
> uses A, B
> 
> begin
>      A.X := B.X;
> end;
> 
> the istruction A.X := B.X; is standard or it came with borland
> dialet? Standard Pascal have "unit namespace"?

Try reading the Extended Pascal Standard ISO10206.txt.  You can get
it bzip2 compressed from:

   <http://cbfalconer.home.att.net/download/iso10206.bz2>

Scott Moore has listing of ISO7185 available (unextended Pascal)

Your assignment statement is standard.  The units etc. vary.

-- 
 [mail]: Chuck F (cbfalconer at maineline dot net) 
 [page]: <http://cbfalconer.home.att.net>
            Try the download section.



-- 
Posted via a free Usenet account from http://www.teranews.com
 




 2 Posts in Topic:
Unit namespace
Il Razziatore <ilrazzi  2008-02-03 01:21:29 
Re: Unit namespace
CBFalconer <cbfalconer  2008-02-03 00:08:02 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 6:44:16 CST 2008.