Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. stable-x

    How to set/define a variable from two variables?

    another little edit on the way to production: execute(StrLineElements(0) + " = " + StrLineElements(1))
  2. stable-x

    How to set/define a variable from two variables?

    Well, that had been too fast, but here's the /real/ solution: Dim StrLine Dim FSO Dim TSO Dim StrLineElements Dim Index Dim i Dim Delimiter Set FSO = CreateObject("Scripting.FileSystemObject") Set TSO = FSO.OpenTextFile(".\test.ini") Delimiter="=" Index = 1 Do While TSO.AtEndOfStream = False...
  3. stable-x

    How to set/define a variable from two variables?

    [SOLVED] Ooops, never ask: the solution is around the corner ;-) While TSO.AtEndOfStream = False StrLine = TSO.ReadLine StrLineElements = Split(StrLine, Delimiter) For i = LBound(StrLineElements) To UBound(StrLineElements) next ' WScript.Echo (StrLineElements(0) & "=" &...
  4. stable-x

    How to set/define a variable from two variables?

    Hello! I am looking for help with setting a variable from two other variables. Here my current test.vbs (the attachment upload failed); the commented 'WScript.Echo' in line 28 works fine, but in line 29, I fail to set the variable - I assume because of a quoting or escaping mistake...

Part and Inventory Search

Back
Top