SPONSORS:






User Tag List

Results 1 to 5 of 5

Thread: Timer function

  1. #1
    Junior Member
    Join Date
    Sep 2001
    Posts
    8
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Timer function

    Hi,

    Hope some one helps me.
    When I am using Timer function in Silk script, it says syntax error.

    HTIMER hT
    #hT = TimerCreate ()
    #TimerStart (hTimer)
    the lines with # marked with syntax errors. Do I need to alter any options in SilkTest.

    thanx,
    patric


    ------------------

  2. #2
    Senior Member
    Join Date
    Jul 1999
    Location
    Bellingham, WA USA
    Posts
    1,323
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Timer function

    Not sure why there is a syntax error, but the handle you are passing to TimerStart is not the handle you established in the previous lines.

    ------------------

  3. #3
    Junior Member
    Join Date
    Sep 2001
    Posts
    8
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Timer function

    Yes, I did a mistype here, not in the original script. Can I expect your help.

    ------------------

  4. #4
    Member
    Join Date
    Jan 2001
    Location
    Westborough, mA, USa
    Posts
    91
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Timer function

    I dont see any problem in the above code. I did a cut paste from the above code and had no problem. Just try shutting down silk and restarting/rebooting. Hope this helps.

    ------------------

  5. #5
    Senior Member
    Join Date
    Jul 1999
    Location
    Bellingham, WA USA
    Posts
    1,323
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Timer function

    Agreed. I see no syntax problems. I'd recommend looking for the problem elsewhere. Try the same script on a different machine.

    ------------------

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 07:28 PM.

Copyright BetaSoft Inc.