Re: General Questions about Euphoria..exe file size minimum

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

On 17 Oct 2001, at 19:32, Martin Stachon wrote:

> 
> > > I disagree with the no limits to what euphoria can do....
> > > 
> > > 1. We cant have Multiple threads in Windows.
> > 
> > 2. Can't execute strings either.
> > 
> > Kat,
> > not mentioning #3: no goto.
> 
> I don't think executing strings is important.
> And Eu isn't the only language lacking it.
> Using such fuction could be also security risk
> Consider this example code
> name = gets(0)
> exec("parse(\"" & name & "\")")
> 
> what if somebody enters name "Martin") call(#EVIL_CODE) ?

Mirc and lua can exec strings, and i use it to do dynamic coding. If others 
will be using your program, simply filter what is in the string before it 
executes.

> I personally hate gotos from my calculator : the programs
> are absolutely unreadable, but this has been discussed before.

Yeas, you are free to not use the goto. On the other hand,....

Kat

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

Search



Quick Links

User menu

Not signed in.

Misc Menu