home *** CD-ROM | disk | FTP | other *** search
- /* ------------------------------------------------------ */
- /* FILE2.C */
- /* (c) 1990 Borland International */
- /* All rights reserved. */
- /* ------------------------------------------------------ */
- /* veröffentlicht in: DOS toolbox 2'92 */
- /* ------------------------------------------------------ */
-
- extern int gi; // Global int reference.
- // It's in a different file.
- static int si; // Localized global, can't be shared.
- int ei; // Global int reference
- // That can be shared between files.
-
- void f(void)
- int i; // Local int that is on the stack.
- static int ii; // Scope is local, stored in data segment
-
- gi = 10;
- si = 20;
- ei = 30;
- } // end of f()
- /* ------------------------------------------------------ */
- /* Ende von FILE2.C */
-
-