www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/14/03:31:03

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Does register variable still work?
Date: Sun, 14 Jun 1998 00:04:16 -0700
Organization: Alcyone Systems
Lines: 20
Message-ID: <358375F0.59C3D419@alcyone.com>
References: <35828E29 DOT 3F87AA27 AT ms1 DOT accmail DOT com DOT tw>
NNTP-Posting-Host: kamali.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

VAMPYR wrote:

> Does DJGPP still able to use register variable?
> Because it can speed up program running(usually loop).

Of course it does.  The `register' keyword is ANSI C.

> I knew is, it was cancelled far and near.

It didn't "cancel" any such thing.  Near and far pointers are a DOS-ism,
and are meaningless for a 32-bit clean compiler like DJGPP.  `far' and
`near' are not a standard part of the C language.

-- 
         Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com
                       Alcyone Systems / http://www.alcyone.com/max/
  San Jose, California, United States / icbm:+37.20.07/-121.53.38
                                     \
           She glanced at her watch / . . . It was 9:23.
                                   / James Clavell

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019