help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to wrap "lighting phong;" with a mock funtion?


From: David Bateman
Subject: Re: How to wrap "lighting phong;" with a mock funtion?
Date: Mon, 14 May 2007 16:32:32 +0200
User-agent: Thunderbird 1.5.0.7 (X11/20060921)

Andreas Romeyke wrote:
> Hello Carlo,
> 
> Carlo de Falco schrieb:
>>> probably you can use mark_as_command:
>>>
> The problem is, that mark_as_command only works outside of a function.
> But I need it to define inside, because the testsuite is designed as
> set of various functions.
> 
> If I try "mark_as_command" I got: warning: mark_as_command: invalid
> use inside function body
> and "iscommand lighting" returns 0 instead.
> 
> Do you have any additional hints?
> 
> Bye Andreas
> 


evalin ('base', 'mark_as_command("lighting")')

D.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]