Re: High-Res time and related functions

new topic     » goto parent     » topic index » view thread      » older message » newer message
Icy_Viking said...
Lnettnay said...

When did peek8u() get added? I'm running v 4.0.5 and I get an error that peek8u is not defined. Is this 64 bit only? It's not in the online manual but it is in the Wiki.

Lonny

peek8u() was probably added in Euphoria Beta 4.1.0 Beta 2. Also, everyone should be using the beta as its pretty stable for the most part and has the extra functions are very useful. Whenever the full release happens, it should have struct support too.

Yes, peek8u is and EU4.1 function. It can be replaced by following code in EU4.0 (source CChris):

constant p232=power(2,32) 
 
function peek8u(atom addr) 
  return peek4u(addr)+p232*peek4u(addr+4) 
end function 
 

Jean-Marc

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

Search



Quick Links

User menu

Not signed in.

Misc Menu