Re: eg

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

> One, can eudir take a string as input?

Yes, just make sure you use double back-slashes like any other string.
"C:\\EUPHORIA"
 
> Two, can eudir be used in an if statement?

As of yet, no. But I'm looking into eudir and include working in any
level of code, if, for, while, procedure, function, type, etc..

> Three, another enhancement asked for was for object(o) to return zero for
> unitialized vars.  Any plans?

This was actually my suggestion, so yes. I actually forgot about it.
It will be in the next release.

> Four, your routine_list() and variable_list() functions say they "Return a
> list of all routines registered with routine_id() or variable_id()".  Does that
> mean you have to have used routine_id() or variable_id() for a variable before it
> shows up, or will it return a list of all identifiers?  What about scope?

You must explicitly call, or have called routine_id() or variable_id()
at one time. The reason is that the routine id list and variable id
list are not the same as the symbol table. routine_id() adds your
routine to its internal list and returns the index (starting from 1),
and the same for variable_id().

Scope is not affected. You can call variable_id() inside a procedure
or in another include file. You just won't be able to read/write the
variable once it no longer exists. I am working on a way to determine
if a variable_id() is valid or not.

> PS -- it looks like you're 'it' for trying out new stuff...  I still want to
> study the interpreter but I'm still not very good at reading and understanding
> long programs.

I'm still learning... there's a few things I don't understand about
the interpreter yet. I'm sure my variable_id() will cause some issues
with variables that are no longer used and such, but I'm getting
there. The more features I add, the more easier it gets. And yes,
"more easier" is a technical term.  :)

Truthfully, this all comes out of my own selfishness. I wasn't going
to share my new interpreter at first, but I figured why not? Somebody
needs to give everyone the features they want!

~Greg

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

Search



Quick Links

User menu

Not signed in.

Misc Menu