how can I know if two pointers are equal??

  • Follow


only a simple question...

how can I know if two pointers are equal?? .. if it doesn't accept some
thing like that :
if (previous == curr) then
head => curr
end if

and I don't want  to verify the values in what it is associated as
previous%ii0

Type node
   integer::ii0,ii1,ii2,ii3,ii4
   type(node),pointer::next
End type node

Type(node),pointer::head,new_head,curr,previous

thanks
millena

0
Reply millena.villar (7) 11/25/2005 2:40:23 PM

Millena wrote:
| only a simple question...
| 
| how can I know if two pointers are equal?? .. if it doesn't accept some
| thing like that :
| if (previous == curr) then

if (associated(previous,curr)) then

-- 
 Jugoslav
___________
www.xeffort.com

Please reply to the newsgroup.
You can find my real e-mail on my home page above.
0
Reply jdujic (694) 11/25/2005 2:43:23 PM


Millena wrote in message <1132929623.314349.201440@g47g2000cwa.googlegroups.com>...
>only a simple question...
>
>how can I know if two pointers are equal?? ..

'associated' springs to mind.


0
Reply robin_v (2738) 11/25/2005 11:09:22 PM

2 Replies
62 Views

(page loaded in 0.079 seconds)


Reply: