On 15/04/15 15:24, Sven Schreiber wrote:
Am 15.04.2015 um 09:48 schrieb Ignacio Diaz-Emparanza:
> On 14/04/15 02:22, oleg_komashko(a)ukr.net wrote:
>> In GUI for a function package I had to do like this
>>
>>
>>
>> then the function read "-1"
>> and computes 12*($nobs/100)^1/4
>>
>> How to make the default value to make the function to show computed
>> value of 12*($nobs/100)^1/4, for example 10, as adf GUI do in this
>> window?
>>
>
> Good question !!
> I don't know and I am also interested in a response.
>
I don't even know whether I know the answer (probably not) because I
haven't really understood the question...
The question is: I want to put as a parameter default value in a
function a value that depends on some condition.
--
Ignacio Díaz-Emparanza
Departamento de Economía Aplicada III (Econometría y Estadística)
Universidad del País Vasco, UPV/EHU
http://www.ehu.eus/ea3