Xref: utzoo comp.sys.amiga:75785 comp.sys.amiga.tech:17443 Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!agate!shelby!portia.stanford.edu!mmaston From: mmaston@portia.Stanford.EDU (Michael Maston) Newsgroups: comp.sys.amiga,comp.sys.amiga.tech Subject: Re: "chip" in SAS C Message-ID: <1991Jan5.153432.28253@portia.Stanford.EDU> Date: 5 Jan 91 15:34:32 GMT References: <1991Jan4.031246.20044@cs.uoregon.edu> Organization: AIR, Stanford University Lines: 38 In article sie@fulcrum.bt.co.uk (Simon Raybould) writes: >In article <1991Jan4.031246.20044@cs.uoregon.edu> rlittle@comix.cs.uoregon.edu (Robert A. Little) writes: >> >> >>Q: Why does the following not work? >>USHORT chip Image={0xF700,0xF700}; > >I think you have to put the double underscore before it, I have certainly >done it in the past without trouble. > >I.E. > >USHORT __chip Image={0xF700,0xF700}; > >Hope that works > Actually you can say chip or __chip and the compiler will accept it. I believe the solution to the problem can be had by changing the line to the following (Worked for me!): USHORT chip Image[]={0xF700,0xF700); The error I got on the original program line was that a close bracket was expected. I have also read (in a recent Amigawhirled) that by selecting the option in the SAS options program to ALLOW chip/near/far keywords that it will actually DISALLOW their use. I do NOT have that box checked in my options and the compiler is allowing me to use the chip keyword so I assume this report is true. The person originating this question might check into that being the cause of his problem as well. Michael Maston GTE Government Systems Mt. View, CA 94043 "Gawd I LOVE my Amiga!" "MB bites it!"