Well, Bruce, I have to tell you, I do read the documentation and quite a bit 
more. But sometimes, there is things I dont get or can't find. I thought that 
was what the list could be used for. Besides, as I stated in my initial, I had 
already been trying a certain call, and got an error message thrown at me. I 
then went on the list, to check if I had misunderstood anything, and maybe 
things were not directly supported. Sorry for the inconvenience.

  ----- Original Message ----- 
  From: BT 
  To: [email protected] 
  Sent: Tuesday, April 10, 2012 11:06 PM
  Subject: Re: Queued subs and parameters



  Hi David,

      I think you should get use to reading the documentation in the help menu 
on the app development link under objects. Most of them are within 2 locations, 
application or script. Also under controls. The trick is to connect them all.
       Your questions are answered there with examples. But some examples are 
lacking in explanation and good examples, but so is Microsoft MSDN library 
stuff.

      In some respects you have to go to both, note the examples such as 
wscript in one language is script inside of the WE system. Where no mention of 
the word is needed, which at times can be confusing when you do not need the 
beginning of them.

      I think trying both, looking up Microsoft then the app development and 
you may get a better idea of what is going on.

      Just a suggestion,
          Bruce

    Sent: Tuesday, April 10, 2012 4:39 PM
    Subject: Queued subs and parameters


    Can I in any way, pass a parameter to a Qeued sub?

    I.e, I have a sub named ReadFile. I know I can do things like

    Queue "ReadFile"

    Sub ReadFile()
    ' do whatever
    End Sub 'ReadFile.

    But can I do anything like:

    FN = "C:\test.txt"
    Queue "ReadFile( FN )"

    Sub ReadFile( Filename )
    ' do whatever
    End Sub 'ReadFile.

    When I tried the above approach, I had an error thrown at me. So 
apparently, I cannot do it exactly that way. My question is, if there is 
another easy work around, Except from setting a Global variable, and have the 
ReadFile sub handle that one.



Reply via email to