🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #535

far struct - how to do it ?

#535
From: Peter Revesz
Date: Wed, 29 Jul 1992 12:58
37 lines
1021 bytes
Hi, Netters,

My global data is basicly in structures. To avoid
compile-time error message (global data >64 Kb) I have
to make all global far.

How to make a struct far?

This way:

struct one {
    int far a[100];
    double far b[2000];
} one;

or this way:

struct two {
    int a[100];
    double b[2000];
} far two;


or this way?

struct three {
    int far a[100];
    double far b[2000];
} far three;


Which the proper way to create far structs?
Any help will be appreciated.

Peter Revesz

revesz@msc.cornell.edu
Technical Details
Message-ID: <1992Jul29.125835.14342@msc.cornell.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!uakari.primate.wisc.edu!usenet.coe.montana.edu!rpi!batcomputer!lynx.msc.cornell.edu!revesz

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!ames!uakari.primate.wisc.edu!usenet.coe.montana.edu!rpi!batcomputer!lynx.msc.cornell.edu!revesz
From: revesz@msc.cornell.edu (Peter Revesz)
Newsgroups: comp.os.msdos.programmer
Subject: far struct - how to do it ?
Message-ID: <1992Jul29.125835.14342@msc.cornell.edu>
Date: 29 Jul 92 12:58:35 GMT
Sender: news@msc.cornell.edu
Distribution: comp.os.msdos.programmer
Organization: Cornell-Materials-Science-Center
Lines: 37