Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

instrrev kix 3.63 how?

Thread Tools
 
Search this Thread
 
Old Apr 24, 2002 | 04:17 PM
  #1  
David_Wallis's Avatar
David_Wallis
Thread Starter
Scooby Regular
 
Joined: Nov 2001
Posts: 15,239
Likes: 1
From: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Post

How can I do an Instrrev in kix without upgrading to newer versions??

I dont really want to have to work out the length of the string then do an a check on every counter and store position and then work out from that..

Any Ideas... Damn script... why cant this one run in wsh.

David
Reply
Old Apr 24, 2002 | 11:58 PM
  #2  
David_Wallis's Avatar
David_Wallis
Thread Starter
Scooby Regular
 
Joined: Nov 2001
Posts: 15,239
Likes: 1
From: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Post

Big F off BTTT
Reply
Old Apr 25, 2002 | 11:00 AM
  #3  
David_Wallis's Avatar
David_Wallis
Thread Starter
Scooby Regular
 
Joined: Nov 2001
Posts: 15,239
Likes: 1
From: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Post

seen as you lot are useless I have had to write something myself.. it is to do dynamic registry imports and exports to and from a file that is delimited with commas but the data needs to be able to contain commas... so I did the following... bit messy, will tidy later.. yeah right...

$strTest="HKEY_CURRENT_USER\Software\Test\test\tes t,TestKey,DataValues,AnotherValue,and another,blah,blah,blah,REG_DWORD"
$iDelim1Pos=Instr($strTest,",")
$iDelim2Pos=Instr(Substr($strTest,$iDelim1Pos + 1, Len($strTest)),",")
$iStrDataLen = $iDelim2Pos
$iDelim2Pos = $iDelim2Pos + $iDelim1Pos
$iDelim3Pos = $iDelim2Pos + Instr(Substr($strTest,$iDelim2Pos + 1,Len($strTest)),"REG") -1

$strKeyName = Substr($strTest,1,$iDelim1Pos -1)
$strValueName = Substr($strTest,$iDelim1Pos + 1,($iStrDataLen -1))
$strData = Substr($strTest,$iDelim2Pos + 1,( $iDelim3Pos - $iDelim2Pos - 1))
$strRegType = Substr($strTest,$iDelim3Pos + 1,(Len($strTest) - $iDelim3Pos + 1))

? $strKeyName
? $strValueName
? $strData
? $strRegType

David
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
ChefDude
Computer & Technology Related
4
Dec 24, 2007 11:56 PM
ulsterscooby
Ireland & Northern Ireland
4
Nov 6, 2007 08:27 AM
darlodge
Computer & Technology Related
3
Jul 14, 2006 12:36 PM
David_Wallis
Computer & Technology Related
5
Sep 26, 2005 10:21 AM




All times are GMT +1. The time now is 06:30 PM.