Re: no GOTO

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

Don Cole wrote:

> Igor Kachan wrote:
> > 
> 
> > I have some little experince about translation Basic to Euphoria.
> > Why not to keep the almost Basic's syntax for such the library?
> > 
> > Say,
> > 
> > }}}
<eucode>
> > global function VAL(sequence s)
> >   --  real code
> > end function
> > </eucode>
{{{

> > 
> > Then Basic user can just write almost Basic program
> > in Euphoria.
> > 
> 
> I thought of that but val,trim and other came up with conflict
> with other include files such as Win32lib.

No, I think. You can use VAL, VAl, vAL, VaL, vAl etc.
These all 'vals' are different for Euphoria but make
sense for Basic programmer.
And I do not think that someone will some time include
Win32lib into his program, which includes Basic/Euphoria
library.
Then, we can use 'include as' form of inclusion
to avoid conflicts.

Regards,
Igor Kachan
kinz at peterlink.ru

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

Search



Quick Links

User menu

Not signed in.

Misc Menu