Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!m.cs.uiuc.edu!ibma0.cs.uiuc.edu!ux1.cso.uiuc.edu!jsivier From: jsivier@ux1.cso.uiuc.edu (Jonathon Sivier ) Newsgroups: comp.sys.amiga.multimedia Subject: Re: CanDo vs. HyperBook vs. Foundation? Message-ID: <1991Mar7.145635.22878@ux1.cso.uiuc.edu> Date: 7 Mar 91 14:56:35 GMT References: <1991Mar6.214232.721@engin.umich.edu> Distribution: comp Organization: University of Illinois at Urbana Lines: 27 baronz@caen.engin.umich.edu (Aaron L Richards) writes: > Does anyone know what the meaning of the error code > 20 is as returned from AmigaVisions AREXX port. Yes, finally a question I know the answer to. All the functions in ARexx return values, i.e. the open function returns a value indicating whether or not it was successful. If you don't assign that return value to a variable it gets sent to the currently set command address. There it is processed as a command and is probably garbage as far as the addressed process is concerned. The process returns a command failed return value of 20 which ARexx echoes to the screen telling you that this command you didn't intend to send has failed. If you make sure that all ARexx functions have their return values assigned to some variable, use something like DUMMY if you don't intend to use this value, then the problem will go away. Jonathan ------------------------------------------------------------------- | Jonathan Sivier | Ballo ergo sum. | | jsivier@ux1.cso.uiuc.edu | (I dance therefore I am.) | | Flight Simulation Lab | - des Cartwright | | Beckman Institute | | | 405 N. Mathews | | | Urbana, IL 61801 | | -------------------------------------------------------------------