Re: Suggestion for dir()

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hello aku saya:

> Wow, thanks very much Greg and Jbrown!
> I didn't realize that dir() 
> is not a built-in routine.

You can do that trick below 
with *built-in routines* too.

You can not rename this way *just key words*:
for, to, global, function ... etc - blue words,
not magenta - about 30 English words.

See for example my "Russian Toolkit"
in The Archive.
 
There are all Russian analogs for
built-in and standard RDS lib routines
for those interpreters with non-limited
alphabet. In that package, there is ed.ex
rewrote in Russian. Try that mumbo/jumbo,
works ok for me.

I asked Rob for the loading keywords 
(Russian, Malay, Chinese ...) years ago, 
he doesn't want, exquisite English boy blink

Regards,
Igor Kachan
kinz at peterlink.ru

> G> you wouldn't even need to alter file.e, 
> G> just remake the functions, like
> G> this:
> 
> G> function old_dir(sequence path)
> G>     return dir(path)
> G> end function
> 
> G> function dir(sequence path)
> G> object dd
> G>     dd = old_dir(path)
> G>     if atom(dd) then
> G>         return {}
> G>     else
> G>         return dd
> G>     end if
> G> end function
> 
> G> ~Greg

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu