
Accessing Vars in Group Passed by Address
Hi Brad,
Sorry about that, I just re-read your post and realized you're in DOS 3.x.
Can't help you there...
Regards,
Jim
Quote:
> Tried that but it doesn't work. It interprets the period as an
> end-of-control structure and gives the error Unknown Procedure Label on the
> NDX.
> Thanks,
> Brad
> > Hi Brad,
> > You should be using dot notation here, not the old prefix/colon i.e.
> > LVars.NDX
> > HTH
> > Jim
> > > Clarion DOS 3.x
> > > Is there a way for a Procedure to access the individual variables in a
> > > Group structure that was passed to it by address?
> > > For instance a Procedure defined:
> > > MYPROC PROCEDURE(*GROUP)
> > > and a group defined as:
> > > LISTVARS GROUP
> > > NDX LONG
> > > END
> > > Then the call to MYPROC(LISTVARS)
> > > MYPROC(LVARS)
> > > CODE
> > > LVARS:NDX = 1
> > > RETURN
> > > LVARS:NDX generates the error: Unknown Label
> > > Thanks,
> > > Brad Kunkel
> > --
> > ! Jim Katz
> > ! Certified Clarion Developer
> > ! Author: ABC DLL Toolkit Maintainer: DEF for ABC,DET for Legacy
> > ! Web Site: http://www.iag.net/~jimkatz/
> > ! Company: iTradeZone,Inc.
> > ! Using Clarion for Windows - Always looking for the simpler solution.
--
! Jim Katz
! Certified Clarion Developer
! Author: ABC DLL Toolkit Maintainer: DEF for ABC,DET for Legacy
! Web Site: http://www.iag.net/~jimkatz/
! Company: iTradeZone,Inc.
! Using Clarion for Windows - Always looking for the simpler solution.