Assuming the 'other Dict types' are the ( 10 line ) 'A' correlatives

OPEN 'DICT',filename TO dfile ELSE STOP 201,'DICT ':filename
OPEN filename TO file ELSE STOP 201,filename

READ ditem FROM dfile,dictdef ELSE STOP 202,dictdef
READ item FROM file,@ID ELSE STOP 202,@ID

result = OCONV(item,ditem<8>)

On Nov 4, 8:56 pm, waman swamy <[email protected]> wrote:
> thank you!
>
> it was hard to fund the documentation on this function but i did so.
>
> READ dictitem FROM dictfile,dictdef ELSE ....
>
> @ID = 'Itemid'
> READ record FROM file,@ID ELSE ......
> @RECORD = record
>
> result = ITYPE(dictitem)
>
> is there function to do same with other dict types?
>
> waman
>
> On Sat, Nov 5, 2011 at 12:48 AM, Bruce Willmore
> <[email protected]>wrote:
>
> >   Look at the function ITYPE
>
> >  *From:* waman swamy <[email protected]>
> > *Sent:* Thursday, November 03, 2011 3:54 PM
> > *To:* [email protected]
> > *Subject:* is it possible to use an i-type in jbc program?
>
> >  hello friends,
>
> > please can you help me?
>
> > i know how to use i-type dictionary in JQL but how do i get the same
> > result in jbase program?
>
> > e.g.
>
> >  FULLDESC
>
> > 0001 I
> > 0002 SUBR("GETFULLDESC",DESCI,1)
> > 0003
> > 0004 Desc
> > 0005 120L
> > 0006
> > 0007
> > 0008
> > 0009
> > 0010
> > 0011
> > 0012
> > 0013
> > 0014 SUBR("GETFULLDESC",DESCI,1)
>
> >  list stock FULLDESC
>
> > stock.  test1
> > Desc.. full description test 1 via reference
> > stock. test2
> > Desc.. full description test 2 via reference
>
> > thank you
>
> > my test system is running jbase 4.1 windows XP

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

Reply via email to