Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!usc!apple!dlyons From: dlyons@Apple.COM (David A. Lyons) Newsgroups: comp.sys.apple Subject: Re: Gs/OS Error $0004 Message-ID: <38720@apple.Apple.COM> Date: 18 Feb 90 06:19:23 GMT References: <1990Feb18.043305.5349@ux1.cso.uiuc.edu> Organization: Apple Computer Inc, Cupertino, CA Lines: 22 In article <1990Feb18.043305.5349@ux1.cso.uiuc.edu> jb10320@uxa.cso.uiuc.edu (Jawaid Bazyar) writes: >Can anyone tell me what GS/OS error 4 is? I'm getting this trying to read >from a file (using ReadGS in Orca/c), but neither the ORCA manual nor my >outdated Prodos 16 manual list an error $04. It's in the GS/OS manual (APDA); just like under ProDOS 8, error $04 is an invalid parameter count. Under P8 there's a single correct parameter count for a given call (almost always), but with a class-1 GS/OS call (like ReadGS) there is a range of valid counts (that is, all the parameters after the first N of them are optional & have reasonable defaults/etc). If you don't have the GS/OS manual, you probably don't mean to be making the xxxGS calls (you can use the class-0 ProDOS 16-compatible calls instead, for most operations). -- David A. Lyons, Apple Computer, Inc. | DAL Systems Apple II Developer Technical Support | P.O. Box 875 America Online: Dave Lyons | Cupertino, CA 95015-0875 GEnie: D.LYONS2 or DAVE.LYONS CompuServe: 72177,3233 Internet/BITNET: dlyons@apple.com UUCP: ...!ames!apple!dlyons My opinions are my own, not Apple's.