Re: Converting timeticks
From: Dr John Stockton (spam_at_merlyn.demon.co.uk)
Date: 03/26/05
- Next message: Al Dunbar [MS-MVP]: "Re: Recommend a VBScript Editor"
- Previous message: TDM: "Re: Recommend a VBScript Editor"
- In reply to: Michael Riggio: "Converting timeticks"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 26 Mar 2005 14:45:11 +0000
JRS: In article <OjuncOXMFHA.2136@TK2MSFTNGP14.phx.gbl>, dated Fri, 25
Mar 2005 14:48:24, seen in news:microsoft.public.scripting.vbscript,
Michael Riggio <spam.michael.spam.riggio@spam.unisys.spam.com.spam>
posted :
> I need to convert some old Java code that performs timeticks
>conversions to vbscript.
An explanation in English would be more understandable than one in Java.
If your need is for 0..+2147483647 -2147483648..-1
to become 0..+2147483647 +2147483648..+4294967295
then the easiest way should be one based on
result = timeticks xor 0x8000000 ;
-- © John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 © <URL:http://www.jibbering.com/faq/> JL/RC: FAQ of news:comp.lang.javascript <URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources. <URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.
- Next message: Al Dunbar [MS-MVP]: "Re: Recommend a VBScript Editor"
- Previous message: TDM: "Re: Recommend a VBScript Editor"
- In reply to: Michael Riggio: "Converting timeticks"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|