HDTenEightyP/NetNews huggingface dataset:
From: d88-jwa@dront.nada.kth.se (Jon Wtte)
Newsgroups: comp.sys.mac.programmer
Subject: Re: How to find fRefNum?
Keywords: fRefNum file reference number AIFF
Date: 4 Jan 93 20:53:11 GMT
Organization: Royal Institute of Technology, Stockholm, Sweden

In <1993Jan4.175435.5894@nosc.mil> frantzen@nosc.mil (Louise E. Frantzen) writes:

>Could someone please tell me exactly what an fRefNum is and how one
>obtains this mysterious number? I am looking at Inside Mac VI page 22-100

It's the reference number you get back from HOpen or FSpOpenDF
and use everytime you FSRead or FSWrite or ...

>reference number is.  Please forgive me if this is blazingly obvious.

You are forgiven.

-- 
 -- Jon W{tte, h+@nada.kth.se, Mac Hacker Deluxe --

   Speed is arbitrary. Don't believe me? Try a PowerBook 180 running
   System 7 against a 486 laptop running Windows 3.1.
From: mellon@ncd.com (Ted Lemon)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Why the Piracy? Here's why...
Date: 6 Jan 93 07:42:01 GMT
	<C0D9q1.H6r@news.udel.edu> <C0E0Kr.34p@world.std.com>
Organization: Network Computing Devices, Inc.
In-reply-to: siegel@world.std.com's message of 5 Jan 93 15:34:03 GMT


>By way of example a simple piece of molded plastic may only cost a few
>cents to produce, but the cost to design and produce the tool to make
>it can (and often does) run into the tens of thousands of dollars.

Another fallacy.   The cost of the plastic part may be only ten cents,
but you'd have to steal the mold in order to make copies of it.
Again, by contrast, there is no expensive mold that is required to
make a piece of software - it's just bits, and they're easy to copy -
you don't steal anything from the software vendor except the
opportunity to sell to you.   I'm not saying that that's right, but I
am saying that the two concepts you're trying to equate are in fact
distinct.

			       _MelloN_
--
mellon@ncd.com						uunet!lupine!mellon
Member of the League for Programming Freedom.   To find out how software
patents may cost you your right to program, contact lpf@uunet.uu.net
Newsgroups: comp.sys.mac.programmer
From: niko@iastate.edu (Nikolaus E Schuessler)
Subject: Re: YACC again
Organization: Iowa State University, Ames, IA
Date: Fri, 8 Jan 1993 13:35:48 GMT

In article <1993Jan7.204625.316@physc1.byu.edu> neilsend@physc1.byu.edu writes:
>Thanks for those who gave me the suggestions on a YACC compilier for
>the MAC.  I really can't afford the commercial compilier and when
>I found BISON I discovered it ran under MPW and not Think-C.  I
>found a file called POSIX that contains various libraries used to
>convert the GNU stuff.  I then found the GNU BISON and am planning
>to try and compile the thing.  I am sure that it will not be as
>easy as all that.  So I am wondering if there is a BISON that 
>runs with Think-C or something equivalent.  Alternative suggestions
>also accepted.
>
 There is a lex/yacc/bison package compiled for think-c already
 check archive sites like wuarchive.wustl.edu or ftp.apple.com
 I forget where I got it... if you can't find it I might
 be able to scrounge it up off one of my disks...


-- 
Niko Schuessler               
Project Vincent Systems Manager              email: niko@iastate.edu
Iowa State University Computation Center     voice: (515) 294-1672
Ames IA 50011                                snail: 272 Durham
From: brad@wendel.jpl.nasa.gov (Brad Pickering)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Cross-platform editing, MPW
Date: 11 Jan 93 11:41:01
Organization: Jet Propulsion Laboratory, Pasadena, CA
NNTP-Posting-Host: wendel.jpl.nasa.gov
In-reply-to: d88-jwa@dront.nada.kth.se's message of 8 Jan 93 17:05:06 GMT

In article <1993Jan8.170506.28204@kth.se> d88-jwa@dront.nada.kth.se (Jon Wtte) writes:

   >Does anyone know of text editor that has these features?
   >  1) Open files with CRLF line endings, without displaying the LFs, and
   >     save the file with CRLF line endings.
   >  2) Convert spaces to tabs and tabs to spaces on opening and saving.
   >  3) Apple Event aware so that it can be told from MPW to open a file
   >     and go to a particular line number.

   Alpha, version 5.1. Pick it up from titan.cs.edu or any good
   FTP site. $25 shareware - pay it; I did!

I believe BBEdit can do these things also, and as far as I can tell
its freeware.  Let me know if I'm wrong here.

Brad

Newsgroups: comp.sys.mac.programmer
From: jpugh@apple.com (Jon Pugh)
Newsgroups: comp.sys.mac.programmer
Subject: Re: How does my app know that its document was double clicked?
Date: 5 Jan 93 07:21:30 GMT
Followup-To: comp.sys.mac.programmer
Organization: Apple Computer, Inc.

In article <1993Jan1.013518.2550@nwnexus.WA.COM>, phaedrus@halcyon.com
(Mark Phaedrus) wrote:
> 
>      Well, if you support AppleEvents then you'll get the "odoc" event.  If
> not, then the system software has to get creative. :)  It sends you the 
> appropriate events as if the user chose "Open..." or "Open" from the File
> menu.  When your application calls the Standard File package to let the user
> choose what file to open, Standard File doesn't display the Open dialog; 
> instead it just returns the data for the document the user double-clicked.
>      If you don't have an "Open" or "Open..." command on the File menu, the
> Finder displays the "Some files could not be opened." dialog.  You can get
> around this by putting two 'mstr' resources in your application; 'mstr' 102
> should hold the name of the menu that has your application's open-file command,
> and 'mstr' 103 should have the name of the open-file command itself.
>      On a related note, if the user tries to shut down the Mac while your
> application is open, and you don't support Apple events, the System will use
> the "Quit" command on your application's File menu; you can tell it to use a
> different command name instead by putting the menu name to use in 'mstr' 100
> and the menu item to use in 'mstr' 101.

The System is even more studly.  If you send an odoc Apple Event to an
application which doesn't support AE, it will convert the AE to these same
"puppet strings" magically.

Jon
Newsgroups: comp.sys.mac.programmer
From: jmunkki@vipunen.hut.fi (Juri Munkki)
Subject: Re: MPW stuff on ftp.apple.com
Reply-To: jmunkki@vipunen.hut.fi (Juri Munkki)
Organization: Helsinki University of Technology
Date: Wed, 13 Jan 1993 02:41:50 GMT

In article <BRAD.93Jan12142754@wendel.jpl.nasa.gov> brad@wendel.jpl.nasa.gov (Brad Pickering) writes:
>The reason I ask is because if we successfully get a free C compiler
>working that was compatable with the c includes and the libraries, we
>could use these files from ftp.apple.com instead of having to create
>our own.  Doesn't this bother Apple?

As far as I understand, Apple is not in the compiler/development tools
business. They do it only to support developers so that their real
customers would have software to run on the machines that they buy from
Apple.

They might loose some money that they would otherwise make from selling
MPW C, but they'll gain it back by selling more machines.

-- 
  Juri Munkki					       Windsurf: fast sailing
 jmunkki@hut.fi					      Macintosh: fast software
From: bf795@cleveland.Freenet.Edu (James Abendschan)
Newsgroups: comp.sys.mac.programmer
Subject: Apple ][ Emulator for Mac?
Date: 9 Jan 1993 07:17:26 GMT
Organization: Case Western Reserve University, Cleveland, Ohio (USA)
NNTP-Posting-Host: hela.ins.cwru.edu


Has there been any success in writing a basic ][ or ][e emulator
for the Macintosh?  Is anyone in the process of writing one?
Any and all help would be appreciated.  I personally think it
would be *quite* cool to run // programs in a little window
on my Mac.

-- 
Copyright (c) 1993 AT&T All rights reserved
THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T
Newsgroups: comp.sys.mac.programmer
From: d88-jwa@dront.nada.kth.se (Jon Wtte)
Subject: Re: How do I make my windows handle a multiple-monitor system?
Organization: Royal Institute of Technology, Stockholm, Sweden
Date: Tue, 5 Jan 1993 20:48:18 GMT

In <1993Jan5.193034.19490@netcom.com> bskendig@netcom.com (Brian Kendig) writes:

>To drag the window, I just set up a drag rect with
>	dragRect = screenBits.bounds;

That should be

	dragRect = ( * GetGrayRgn ( ) ) -> rgnBBox ;

>either.  (I don't know exactly what's happening, because I don't have
>multiple monitors; my beta-testers are the ones reporting the problems.)

Well, get.

1) You'll be able to catch some cute bugs in your own programs
2) You'll work much faster with more screen real estate (like, one
   screen with the debugger windows on, and one with the app on...)
3) It's not expensive.
4) You'll be able to catch OYTHER people's bugs :-) DeskPicture
   for instance doesn't like pictures positioned to the left of
   the origin... They come out all blue-negative...

-- 
 -- Jon W{tte, h+@nada.kth.se, Mac Hacker Deluxe --
   This signature is kept shorter than 4 lines in the interests of UseNet
   S/N ratio.
Newsgroups: comp.sys.mac.programmer
From: howard@netcom.com (Howard Berkey)
Subject: Re: Why does BinHex exist?
Organization: Netcom Online Communications Services (408-241-9760 login: guest)
Date: Thu, 7 Jan 1993 23:59:49 GMT

In article <1993Jan7.215843.3868@reed.edu> bowman@reed.edu (BoBolicious) writes:
>In article <1993Jan7.210159.26183@netcom.com> howard@netcom.com (Howard Berkey) writes:
>>Periodically people post asking what BinHex is, or where to get it,
>>etc... What I want to know is, Why is it really necessary?  It:
>>
>>A.  Makes the files larger than a binary format
>
>True.
>
>>B.  Is annoying to have to convert
>
>False.  Stuffit Converter makes it very easy.
>

Assuming you have it.  I just got stuffit lite (but I use mcvert
anyway so it doesn't really matter for me anyway ;)

>>C.  Doesn't seem to do anything
>
>False.
>
>>I claim C because I have had many mac files stored on a UNIX file
>>system for long periods of time, in MacBinary II, with no ill effects.
>>This has proven true on various Suns, 2 RS-6000's, and 2 HP-9000's.
>>It may be that some machines will damage mac files if they aren't
>>binhexed, and thus it would be neccecary in that case.  It just
>>occured to me that it may be neccary for uucp or bulkmail, but I'm not
>>sure.  Can someone enlighten me on this subject?  I know I'm missing
>>something. 
>
>Mail on the internet, at least in the u.s., can only handle 7-bit bytes.
>Binhex converts 8 bit bytes to 7 bit bytes.  Thus it makes the files slightly
>larger...in principle, 1/8 bigger.
>

Doesn't uuencode do this?  Or can MacBinary files not be uuencoded?

-Howard

-- 
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Howard Berkey                                   	   howard@netcom.com
"These check boxes actually function as check boxes." - from a SW spec
... .. ...   ... .. ...   ... .. ...    ... .. ...   ... .. ...   ... .. ...
Newsgroups: comp.sys.mac.programmer
From: brunner@crchh447.bnr.ca (James Brunner)
Subject: Re: SFGetFile's directory after an Open Event
Date: Wed, 6 Jan 1993 18:54:19 GMT
Reply-To: brunner@crchh447.bnr.ca (James Brunner)
Organization: BNR, Inc.

In article <NEERI.93Jan6142745@iis.ethz.ch>, neeri@iis.ethz.ch (Matthias Neeracher) writes:
|> In article <1993Jan5.135459.8834@cujo.curtin.edu.au>, peter@cujo.curtin.edu.au (Peter N Lewis) writes:
|> 
|> >>But what about when the user makes a change to the open document
|> >>and then chooses Save As...?  Standard File continues to point to
|> >>somewhere irrelevant (for most Apple event-aware apps, anyway.)
|> 
|> > IMHO, Save As should ALWAYS set the StandardFile
|> > location to the folder that the file previously existed in (assuming
|> > it had a name/folder location beforehand of course).
|> 
|> Unless this ALWAYS is restricted to odoc started documents, I disagree. I often
|> find myself performing the sequence:
|> 
|> - Open File A in folder X
|> - Open File B in folder X
|> - Open File C in folder X
|> - Save File A in folder Y
|> - Save File B in folder Y
|> - Save File C in folder Y

What makes more sense is to set the standard file directory to something
relevant ONCE when the first doc is opened.  If the first doc is opened using
standard file, this is already done by the user; let the user manage what
folder standard file is in.  If the first doc is opened by dropping, I think
that the current standard file folder should be set to where the doc was
dropped from - but only the first time - the user can manage it from there.
-- 
---------------------------------------------------------------------------
Jim Brunner - (brunner@bnr.ca)
All opinions are my own and have nothing whatsoever to do with BNR, NT,
NTI, Bell Canada, or any of the BCE corporations or affiliates.
From: noah@apple.com (Noah Price)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Locating someone on AppleLink (from the Internet)
Date: 8 Jan 93 01:11:32 GMT
Followup-To: comp.sys.mac.programmer
Organization: (not the opinions of) Apple Computer, Inc.

In article <lsr-060193100446@lsr.taligent.com>, lsr@taligent.com (Larry
Rosenstein) wrote:
> 
> In article <1993Jan6.132738.28176@prz.tu-berlin.de>,
> pcastine@tubkom.prz.tu-berlin.de (Peter Castine) wrote:
> > 
> > sure if this was some special service provided by the QuickMail<->AppleLInk
> > gateway, or if the mail was simply sent on to AppleLink. On the assumption
> 
> My impression was that this function was provided by the gateway.  It would
> take your request, call up AppleLink and do the find using the AppleLink
> service.

This is correct.  The QM-Link software logs in as you (or as the AppleLink
account configured for your QM account), performs the search, and sends you
the result via QuickMail.

In article <1993Jan6.132738.28176@prz.tu-berlin.de>,
pcastine@tubkom.prz.tu-berlin.de (Peter Castine) wrote:
> 
>... let me pass on the following tidbit: Subject
> line 'UserID Search*' (with the asterisk, without the qoutes), content
> of the message was the search string.

That subject allows the QuickMail MailCenter to recognize the form, but it
has no meaning to AppleLink.

noah

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
noah@apple.com                                 Macintosh Hardware Design
...!{sun,decwrl}!apple!noah   (not the opinions of) Apple Computer, Inc.
From: jpugh@apple.com (Jon Pugh)
Newsgroups: comp.sys.mac.programmer
Subject: Re: How does my app know that its document was double clicked?
Date: 8 Jan 93 07:59:01 GMT
Followup-To: comp.sys.mac.programmer
Organization: Apple Computer, Inc.

In article <1993Jan7.121808.5075@informatik.uni-bremen.de>,
g16m@alf.zfn.uni-bremen.de (Mick Schmidt) wrote:
> 
> Now I have a short question! ;-)
> Does this work under Sys 6 too?
> Normally it won't work to "pass" a document to a running application by
> double-clicking it in the (Multi-)Finder Window. The Finder only says
> something like the above.
> 
> However there are a few applications that can be used like this, for example
> MS Word 5.0, and i always wondered how it works. I didn't find anything on
> that subject in IM I to V nor in the Spinside Mac Stack.

There's a Tech Note on MultiFinder that explains this stuff.

Basically, the puppet strings (the name of the hack that patches SFGetFile
and then yanks your Open... menu item) were written for MultiFinder under
System 6 and work there, however no other applications can cause them to
occur, unlike under System 7.

Jon
Newsgroups: comp.sys.mac.programmer
From: isc30366@nusunix1.nus.sg (HO TUCK CHIUN)
Subject: Re: GUSI.sit.bin
Organization: National University of Singapore
X-Newsreader: TIN [version 1.1 PL6]
Date: Tue, 12 Jan 1993 06:16:57 GMT

Thomas R. Kimpton (tom@dtint.uucp) wrote:
: 
: I ftp-ed to nic.switch.ch last week and got GUSI_10.sit.bin.
: Am I correct in assuming that the .bin means it is a
: MacBinary file?  I tried everything I could think of to
: convert this file, but to no avail.  The MacBinary converter
: in StuffIt failed with an eof error.  Has anyone else
: downloaded this and gotten it converted?  Could you tell
: me what you did?

   I've managed to get this file.  Did you remember to specify binary
when you were ftp'g the file from nic.switch.ch to your host?  If you
are ftp'g the file directly onto the mac, then remember to enable
MacBinary, if you're using NCSA's telnet.

   Hope this helps.

: Thanks.
: Tom
: 
: Tom Kimpton                            tom@dtint.dtint.com
: Digital Technology Int.                (801)226-2984	
: 500 W. 1200 South, Orem UT, 84057      FAX (801) 226-8438

Rodney Ho

hotuckch@iscs.nus.sg
isc30366@nusunix1.nus.sg
From: bowman@reed.edu (BoBolicious)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Why does BinHex exist?
Date: 7 Jan 93 22:00:23 GMT
Organization: Reed College, Portland, OR

In article <1993Jan7.215843.3868@reed.edu> I called it:
>Stuffit Converter makes it very easy.

It is, of course, Stuffit Expander.

>chores,
>bobo              In seeking the unattainable,
>bowman@reed.edu            simplicity only gets in the way.
>"On Monday, numbers floated everywhere, and the world was full of 
>approximations."  -- Spencer Heinz, _The Oregonian_, 1/5/93
From: mxmora@unix.SRI.COM (Matt Mora)
Newsgroups: comp.sys.mac.programmer
Subject: Re: Help, PBHCopyFile..
Date: 4 Jan 93 16:53:39 GMT
Distribution: usa
Organization: SRI International, Menlo Park, California

In article <1993Jan3.081158.3294@mcs.drexel.edu> udsugar@mcs.drexel.edu (David Sugar) writes:

>I am trying to copy a file with PBHCopyFile, and it seems like it 
>should be simple enough, but I keep getting the error -50, Error In
>User Parameter List (which isn't helping to much).

Are you sure your volume supports PBHCopyFile? I seem to recall that 
PBHCF only works on appleshare volumes. You need to check the volume and see
if it supports that call.


Xavier










-- 
___________________________________________________________
Matthew Mora                |   my Mac  Matt_Mora@sri.com
SRI International           |  my unix  mxmora@unix.sri.com
___________________________________________________________
From: Sproul@sproul.sproul.com (Mark Sproul)
Newsgroups: comp.sys.mac.programmer
Subject: Q: Source for BinHex?
Date: 11 Jan 93 08:39:15 GMT
Reply-To: Sproul@sproul.sproul.com (Mark Sproul)
Organization: Sproul Consulting
X-Mailer: uAccess - Macintosh Release: 1.6v1

Does anyone know were I can get source to BinHex, preferably in C.
If not the source, how about the formating so I can write it.
I want to include it in a comm package I am writting.

-----------------------------------------------------
Mark Sproul - KB2ICI - New Jersey
sproul@sproul.com
Newsgroups: comp.sys.mac.programmer
From: povlphp@uts.uni-c.dk (Povl H. Pedersen)
Subject: Re: back issues of Develop
Organization: UNI-C, Danish Computing Centre for Research and Education
Distribution: comp
Date: Thu, 7 Jan 1993 17:50:30 GMT

In <ksand-060193225233@wintermute.apple.com> ksand@apple.com (Kent Sandvik ) writes:

>In article <TMORROW.93Jan4210513@af4hp.oracle.com>, tmorrow@oracle.com
>(Thomas Morrow) wrote:
>> 
>> I need to get ahold of an issue from an issue of Develop from a little
>> while back that had an article on how to use the SoundManager to make
>> an Echo box.  If you can send me a Xerox of the article I will
>> compensate you whatever you feel is reasonable.  Or please give me the
>> phone number for Develop mag customer service if you know it.

>Developer CDs have all the issues in printable form.

ftp.apple.com has all the earlier issues, or at least issues 1-11 which
includes the echo box. It is hypercard stacks, but is designed for printing
too. look in /dts/mac/develop
-- 
Povl H. Pedersen   -   Macintosh specialist. Knows some DOS and UNIX too.
pope@imv.aau.dk    -   povlphp@uts.uni-c.dk
Newsgroups: comp.sys.mac.programmer
From: d88-jwa@byse.nada.kth.se (Jon Wtte)
Subject: Re: TCL: Bizzare Behavior Time
Organization: Royal Institute of Technology, Stockholm, Sweden
Date: Mon, 11 Jan 1993 22:01:37 GMT

In <1993Jan11.170231.17969@fsl.noaa.gov> urban@yoda.fsl.noaa.gov (Art Urban) writes:

>Swatch reports that my application's heap has gone BAD BAD BAD BAD
>(Swatch's words, not mine). I followed the source code until this condition
>occured, and it happens right after a call to new ( anObject ). My TRY,
>CATCH, ENDTRY doesn't blow up, so the call must've worked, yet my heap is

Well, you might get memory movement, and then assign a
member variable of an object that moves? Something like:

class CFoo {

	CBar * theBar ;

	DoFoo ( ) ;
} ;


class CBar {

	IBar ( ) ;

} ;

CFoo :: DoFoo ( )
{
	theBar = new CBar ;
}


The call to new is risky unless you have locked the
object doing the call; try an intermediate temp variable:

CFoo :: DoFoo ( )
{
	CBar * aBar = new CBar ;

	theBar = aBar ;
}


Also, you might have already trashed the stack before that,
and thus trashed the implicit "this" parameter. Or you
might be executing in /referencing a disposed object.

You _can_ trace "new" by adding the source for oops-library
instead of the library (you have to fight to make it
compile though)

Try MacsBug Heap Scramble, and Step Spy on the stack
right after the call to the function that calls new.

Cheers,

						/ h+
-- 
 -- Jon W{tte, h+@nada.kth.se, Mac Hacker Deluxe --
   This signature is kept shorter than 4 lines in the interests of UseNet
   S/N ratio.
From: ksand@apple.com (Kent Sandvik )
Newsgroups: comp.sys.mac.programmer
Subject: Re: back issues of Develop
Date: 7 Jan 93 06:52:38 GMT
Followup-To: comp.sys.mac.programmer
Distribution: comp
Organization: (Evil Eye Creature from Mars, Inc.)

In article <TMORROW.93Jan4210513@af4hp.oracle.com>, tmorrow@oracle.com
(Thomas Morrow) wrote:
> 
> I need to get ahold of an issue from an issue of Develop from a little
> while back that had an article on how to use the SoundManager to make
> an Echo box.  If you can send me a Xerox of the article I will
> compensate you whatever you feel is reasonable.  Or please give me the
> phone number for Develop mag customer service if you know it.

Developer CDs have all the issues in printable form.

Kent
-------------------
Kent Sandvik (UUCP: ....!apple!ksand; INTERNET: ksand@apple.com)
DISCLAIMER: Private activities on the Net.		
Predictions: Soon moving to Newton DTS, bye bye.
Newsgroups: comp.sys.mac.programmer
Subject: gnu c mpw clibraries v3.1 how to get??
From: chergr@lure.latrobe.edu.au
Date: Tue, 12 Jan 1993 09:48:44 GMT
Organization: VAX Cluster, Computer Centre, La Trobe University 

I would like to try out the gnu c in ftp.apple.com. 

But it requires the version 3.1 clibraries as far as I can tell
. The version 3.1 cincludes are in ftp.apple.com and I have 
downloaded those. 

So how to I obtain a copy of the version 3.1 libraries?

Regards Richard Rothwell


Newsgroups: comp.sys.mac.programmer
From: jbk@world.std.com (Jeffrey B Kane)
Subject: Re: THINK Reference comments wanted.
Keywords: THINK Reference comments
Organization: The World Public Access UNIX, Brookline, MA
Date: Wed, 13 Jan 1993 03:11:56 GMT

Very simple.  Tell your friend to invest in the product.  They just came out
with a new version (last week).  It has all of inside Mac and lots of example
code.  They will still need some books, but it is indispensible while you
are coding.
      Jeffrey

Newsgroups: comp.sys.mac.programmer
From: UC525655@mizzou1.missouri.edu (Mark Eaton)
Subject: assigning a StringPtr to an array of Str255s?
Organization: University of Missouri
Date: Fri, 08 Jan 93 18:04:02 CST

I have a struct declared as:
 
struct someStuff
    {
    ...
    str255  contents[99];
    }
 
this struct is global.
 
from within a function I:
 
    PBGetCatInfo(myCInfoPBRec)
    someStuff.contents[myCInfoPBRec.hFileParam.ioFDirIndex] =
        myCInfoPBRec.hFileParam.ioNamePtr;
 
when I do this, I get the error 'cant assign to array'
when I try to dereference ioNamePtr I get 'syntax error'
 
I know this will knock me on the head, but can someone tell me what Im doing
wrong?
 
mark
 
btw Im using ThinkC 5
Newsgroups: comp.windows.ms.programmer,comp.sys.mac.programmer