Skip to content
Back to formatted view

Raw Message

Message-ID: <9844D1C8-C99F-45B6-801E-B037D150ABA1@eva.mpg.de>
Date: 2006-08-15T08:39:29Z
From: Hans-Jörg Bibiko
Subject: Query the kind of calling a funcion
In-Reply-To: <D3E591E4-28D7-458C-BB95-860F1370824E@eva.mpg.de>

Dear all,


My question is concerned to the kind how a function is called.

Example A:

 > foo(1)

Example B:

 > a <- foo(1)


Is there any way for the function foo() to recognise whether the  
returned value of foo() is stored in a variable or not, i.e. to  
distinguish between Example A and B?


Any comments are welcomed.

Many thanks in advance

Hans