Article View: comp.sys.amiga.tech
Article #12207Re: Programming multiple Menu Selections
From: William J. Murphy
Date: Wed, 12 Apr 1989 13:53
Date: Wed, 12 Apr 1989 13:53
18 lines
1109 bytes
1109 bytes
In article <172S26aXLs10100WHNE@amdahl.uts.amdahl.com> kevin@amdahl.uts.amdahl.com (Kevin Clague) writes:
>In article <2124@pur-phy> murphy@newton.physics.purdue.edu (William J. Murphy) writes:
>>
>>if ((number = ItemAddress(main_menu[0], number)-NextSelect) == NULL)
>Could this be your problem? ^^^
Kevin found my problem, I should be sending an address to the function
and not a value. The correct statement is
number = ItemAddress( &main_menu[0], number)->NextSelect);
if (number == NULL)
{
number = MENUNULL;
}
This seems to work fine now.
Thanks,
Bill Murphy
Technical Details
Message-ID:
<2136@pur-phy>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!mentor.cc.purdue.edu!j.cc.purdue.edu!pur-ee!pur-phy!murphyReferences:
<2124@pur-phy> <172S26aXLs10100WHNE@amdahl.uts.amdahl.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!mentor.cc.purdue.edu!j.cc.purdue.edu!pur-ee!pur-phy!murphy From: murphy@pur-phy (William J. Murphy) Newsgroups: comp.sys.amiga.tech Subject: Re: Programming multiple Menu Selections Message-ID: <2136@pur-phy> Date: 12 Apr 89 13:53:47 GMT References: <2124@pur-phy> <172S26aXLs10100WHNE@amdahl.uts.amdahl.com> Reply-To: murphy@newton.physics.purdue.edu (William J. Murphy) Organization: Purdue Univ. Physics Dept., W. Lafayette, IN Lines: 18