lør, 06 09 2008 kl. 17:05 +0200, skrev Thomas Weber:
> I guess the best way is to get rid of the global sound_play_utility
> variable and let the sound.m check for the existence of 'ofsndplay' or
> 'play' respectively. We can still check for the global variable, such
> that the user can override the checks; but we shouldn't set it
> ourselves.

I think the "standard" way of doing this is using a persistent variable
in sound.m. So the user would call

  sound ("ofsndplay")

to set the value of the variable. That way you don't need a global
variable at all.

Søren


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to