Hello,

I've been asked to make my own user defined type.

when we've got this on an imput stream (a+b+c$)

the a = ID
b = ID
c= ID

how can I say that when its not a reserve word assisn ID to the a,b,c?

I know this is a stupid question but I'm lost. I've got wrritten code but can't progress until I figure this bit out. Any ideas guys?

Recommended Answers

All 3 Replies

Member Avatar for iamthwee

Hello,

I've been asked to make my own user defined type.

when we've got this on an imput stream (a+b+c$)

the a = ID
b = ID
c= ID

how can I say that when its not a reserve word assisn ID to the a,b,c?

I know this is a stupid question but I'm lost. I've got wrritten code but can't progress until I figure this bit out. Any ideas guys?

Should be simple,just assign each id to each variable.

can you post an example, I knew that but I'm confused of how to do it?

Member Avatar for iamthwee

can you post an example, I knew that but I'm confused of how to do it?

There should be a lot of examples, here and on the internet. Go through the tutorials and then apply them to your problem.

Take it one step at a time.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.