Re: Some problems with EuServer

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

Hello all,

Derek Parnell wrote:
>   s = win32lib.reverse(s)
>   r = misc.reverse(r)
>
>or even
>   alias reverse in win32lib.e as w32reverse
>   alias reverse in misc.e as miscReverse
>   s = w32reverse(s)
>   r = miscReverse(r)
>
>or even
>   use win32lib.e
>   s = reverse(s)
>   use misc.e
>   r = reverse(r)


Concerning namespace syntax...
I seem to remember someone suggesting at one time a
solution that made sense to me. It's sort of a
combination of the first two solutions mentioned by
Derek. An example would be:

  include win32lib.ew as w32 -- includes can be aliased
  include misc.e             -- but don't have to be.
  s = w32.reverse (s)    -- use win32lib's reverse ()
  r = reverse (r)        -- use misc.e's reverse ()
  r = misc.reverse (r)   -- also legal

All the globals in aliased includes must be prefixed with
with the alias. Globals in non-aliased includes can be
called/used normally or with a prefix of the include file
name (without extension).

later,
Lewis Townsend
.     __       _____  __    __    __    __    _____
.    /\ \     /\    \|\ \  /\ \  /\ \  /\ \  /\    \
.   /  \_\   /  \____\ \_\/  \_\/  \_\/  \_\/  \____\
.  /   / /  /   / ___/ |  |  / |   / /   / /\  /  __ \
. /   / /  /   / /_\ | |  | /  |  / /   / /\_\/  /_ \/
./   / /\ /   / ___/ | |  |/   | / /   / /\ \ \__  \
.\  / /__\\  / /__\  \ |    /| |/ /\  / /  \/\_\/  /
. \/_____/ \/_____/   \|___/\|___/  \/_/    \_____/
keroltarr at hotmail.com  http://geocities.com/keroltarr/

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu