Re: User Input Question



At 2008-07-25 11:10AM, "Dukie91191" wrote:
[...]
Thank you for you reply. I am relatively new to Tcl/Expect, so bear
with me, but where would I need to insert that code? just before the
point where the user will gain control? or at the beginning of the
script? Also, there are a few more options after that which would need
user input, would i follow the same formula as above? or would that
need changing.

Without knowing the structure of your code, hard to say. Clearly, you'd
need to populate a variable before you use it. Is your program supposed
to loop to handle configuration for multiple machines? If yes, you'd
need to ask your questions inside the loop.

For other variables, you could use the same formula, or you could use
the simpler method suggested by Cameron.

I apologize for my ignorance on this subject.

"The only stupid question is the one you don't ask."

--
Glenn Jackman
Write a wise saying and your name will live forever. -- Anonymous
.



Relevant Pages

  • Re: Simple loop question
    ... Hope this is not too simple or a stupid question: ... I have a slight problem with a loop. ... It is a simple numbers guessing game. ...
    (perl.beginners)
  • Re: New fella saying hi.
    ... That's good advice about the lap time/UPD count Cathwood. ... I'll have to start taking that into consideration on my loop. ... My girlfriend, Pinwheel, is always telling me to try and gain control ... So I'm trying to mantain balance, even if it is going slower than a ...
    (rec.sport.unicycling)
  • Re: Loop doesnt behave the way its supposed to.
    ... > Hi folks, ... A loop doesn't behave the way I'd like to (namely, ... Probably stupid question, since I was too lazy to work out the ...
    (comp.lang.c)
  • Simple loop question
    ... Hope this is not too simple or a stupid question: ... I have a slight problem with a loop. ... It is a simple numbers guessing game. ...
    (perl.beginners)
  • Re: Find And Replace Text String VBA
    ... This might be a stupid question, but given that the Table name is ADDRESS and ... the Field name is STREETNAME. ... I'm sure it relates to the strOriginalValue portion, ...
    (microsoft.public.access.modulesdaovba)