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 24 April 2002, 04:17 PM
  #1  
David_Wallis
Scooby Regular
Thread Starter
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
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
Old 24 April 2002, 11:58 PM
  #2  
David_Wallis
Scooby Regular
Thread Starter
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
Post

Big F off BTTT
Old 25 April 2002, 11:00 AM
  #3  
David_Wallis
Scooby Regular
Thread Starter
 
David_Wallis's Avatar
 
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like on 1 Post
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
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
ChefDude
Computer & Technology Related
4
24 December 2007 11:56 PM
ulsterscooby
Ireland & Northern Ireland
4
06 November 2007 08:27 AM
darlodge
Computer & Technology Related
3
14 July 2006 12:36 PM
David_Wallis
Computer & Technology Related
5
26 September 2005 10:21 AM



Quick Reply: instrrev kix 3.63 how?



All times are GMT +1. The time now is 07:54 PM.