bobjee
Newbie level 5
Hello All,
Can some one please help me with this issue.
I have 3 different projects A1, A2, A3 and i am using ifdefs. Can someone tell me a way to avoid such scenario
ifdef A1
<code1>
elsif A2
<code2>
elseif A3
<code3>
endif
code1 and code2 are same, i dont want to use ifndef . So can someone suggest me a mechanism which looks like (the reason i dont want to use ifndef is if a new project comes up I have to change my logic again, i cant use shared code logic)
ifdef (A1 or A2)
<code>
elseif A3
<code3>
endif
Please help me with this issue.
Thank you
Can some one please help me with this issue.
I have 3 different projects A1, A2, A3 and i am using ifdefs. Can someone tell me a way to avoid such scenario
ifdef A1
<code1>
elsif A2
<code2>
elseif A3
<code3>
endif
code1 and code2 are same, i dont want to use ifndef . So can someone suggest me a mechanism which looks like (the reason i dont want to use ifndef is if a new project comes up I have to change my logic again, i cant use shared code logic)
ifdef (A1 or A2)
<code>
elseif A3
<code3>
endif
Please help me with this issue.
Thank you