Well I did it! (variable_id, etc..)

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

Here's the moment everyone's been waiting for:

I've alted eu.ex to include the following features:

      s = routine_name( i )   -- returns a routine name given an id
      s = routine_list()      -- all routines registered with routine_id()
      i = variable_id( s )    -- returns a unique variable id
      s = variable_name( i )  -- returns a varable name given an id
      s = variable_list()     -- all variables registerd with variable_id()
      i = variable_type( i )  -- returns a variable's type given an id
      o = read( i )           -- reads a variable's value
      write( i, o )           -- writes a variable's value


I hope all of you are happy. I'm still looking into routine ids for
built-in routines. Like Rob said, its a little difficult to implement.
I'm not including source code at this point, just a translated
executable and a demo program. I'll be updating these features with
the beta and official releases of 2.5, or giving them to RDS.

Go here to download:
http://www.merkur.000k2.com/euw.zip


~Greg

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

Search



Quick Links

User menu

Not signed in.

Misc Menu