[Omake] The % variable

Aleksey Nogin anogin at hrl.com
Wed Dec 5 13:03:59 PST 2007


On 05.12.2007 10:02, Jason Hickey wrote:

> It is intended, but it may or may not be wrong.  The % is really a 
> variable, and it acts like one too.
> 
>    # Have to use setvar for syntactical reasons
>    osh> setvar($'%', Hello)
>    - : "Hello" : Sequence
>    osh> echo %World
>    HelloWorld

Right, but shouldn't this variable be statically scoped? Currently % is 
interpreted as public.%, but most of these issues would go away if we 
change it to private.%

Aleksey

-- 
Aleksey Nogin, Research Scientist
Advanced Technologies Department, Information & System Sciences Lab
HRL Laboratories, LLC, Malibu, CA


More information about the Omake mailing list