Re: HyperCard for GEOS and more oddities

GWRepNate@aol.com
Fri, 1 Nov 1996 10:43:38 -0500

In a message dated 96-10-31 23:18:29 EST, edwdig@bergen.org (Edward Di
Geronimo Jr.) writes:
> First, I found two interesting files: include\objects\hc.goh and
> include\objects\hcbutton.goh. They're HyperCard headers. And they are
> copyright by Claris. I glanced at the files and they look like they're for
a
> port of the Mac program. What ever happened to it? They're dated mid 92,
> over 4 years ago. Even though HyperCard isn't that good, it's a worthwhile
> program to have as you can design your own programs. Even though it isn't
> capable of much, it's enough to get more people interested in GEOS.

I doubt anyone's looked at that code in a long time. I'm pretty sure the
API for that library hasn't been documented either. It's not really a
priority so I'm afraid it might never get finished.

> Next thing I saw...GenSystemClass. The .def file defines it's instances,
and
> the Objects book defines them using GOC code. But the .goh file says it
was
> intentionally not defined. A little mental lapse there? Also, it says it
> can't be subclassed. How else do you work with it? I did a search through
> Routines for GenSystem and didn't find anything.

What do you want to do? The thing most people would do is talk to the
parent of the GenApplication object, which is the GenField object. You can do
some things using the GenField, but not much.

> Another thing...threed.def. Include for a 3D Graphics Library. Any chance
of
> seeing that?

Same as the HyperCard stuff you saw, doubt anything will happen with it. I
believe it is an unfinished training project that was never documented or
tested. Again, not a priority so I doubt anything will happen with it.

> Next, one of the doc books, I think Concepts during the introduction to
the
> system, mentions there is a cdrom library that provides access to the
MSCDEX
> functions. Any way to use the library?

What do you want to do? I would think you'd want to traverse directories
and read files and you do that with File.. routines.

> Last thing I discovered today...the documentation in the Concepts book for
> Chunk Arrays is wrong. It says ChunkArrayCreate takes 3 parameters, a
> MemHandle to an LMem heap, the size of the array elements, and the size of
> the header. By looking in the chunkarr.h file, I found out that it
actually
> needs a forth parameter, which is some kind of flags that I couldn't find
> defined anywhere. I just put in a 0 and it worked. But what are those
flags
> for?

I'm sure that's been fixed by now. Have you downloaded the latest docs from
our web site? http://www.geoworks.com/htmpages/devrel/docs.htm

Nathan