- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - NonStop OS
- >
- Re: What is the purpose of the External.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2011 12:01 AM
07-26-2011 12:01 AM
What is the purpose of the External.
Hi,
When i use TAL programing . If i use External to "source-in2 file" the program and i am using the call from some other "source- in1 file".
Whether two file are compiled separately and it can be binded through BIND utility.or we can compile only one file and we get the one object.
And what is the difference between the two object.
ashwin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2011 06:30 PM
08-04-2011 06:30 PM
Re: What is the purpose of the External.
I don't know that I understand your question. EXTERNAL is a keyword that tells the TAL compiler that a procedure definition will be found either a link time or at runtime. For example, all the procedures in EXTDECS are marked EXTERNAL. In other words, EXTERNAL is equivalent to the C/C++ ";" after a function declarations. For example, these two are semantically equivalent:
-- TAL declaration
int foo (p1);
int p1;
external;
/* C declaration */
short FOO (short p1);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2011 09:01 PM
08-05-2011 09:01 PM
Re: What is the purpose of the External.
>these two are semantically equivalent:
Except it would be better to actually use extern keyword for the C case:
extern short FOO(short p1);
(And probably nobody would use short for C parms and returns. :-)