version() function

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

I'm now wishing there was some obvious way of telling at runtime
which version of Euphoria I'm running with.

Currently I'm doing this, but I'm open to suggestions...


include machine.e
global function eu_version()
if routine_id("crash_routine") = -1 then
  return 2.4
else
  return 2.5
end if
end function

-- 
Derek Parnell
Melbourne, Australia

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

Search



Quick Links

User menu

Not signed in.

Misc Menu