SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Jun 2002
    Location
    Skokie, IL, 60076
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Missing libraries/Corrupted installation?

    Hi,
    I see some really strange things happening to my SilkTest. When I'm trying to use regular syntactic expression straight out of help like for or foreach or even array declarations Silk keeps throwing errors. So i'm wondering there's such thing in Silk as library that's missing or maybe there are some global variables i need to set. It looks really silly but why would this not work:
    testcase MatchStrExample ()
    String Test
    INTEGER i // loop counter
    STRING sTest = "TestMenu"
    ARRAY[50] OF STRING StringList
    StringList = {...}
    "Beenie"
    "Cecil"
    for each Test in StringList
    Print()
    for (i=1; i<51;++i)
    Print()

    -neither of loops work

    Please let me know if you'll have a suggestion.

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

  2. #2
    Senior Member
    Join Date
    Nov 1999
    Location
    Eagle, ID,USA
    Posts
    1,035
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Missing libraries/Corrupted installation?

    What errors are you getting?

    ------------------
    Have you ever noticed? Anybody going slower than you is an idiot, and anyone going faster than you is a maniac.

  3. #3
    Senior Member
    Join Date
    Dec 2001
    Location
    San Jose, CA
    Posts
    102
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Missing libraries/Corrupted installation?

    Ok, one problem is you need to add this.
    testcase MatchStrExample() appstate none

    The other problem is you are incrementing "i" before printing.

    You will get "*** Error: Variable has not been set" at i = 50, "++i" incremented to i = 51.

    Michael

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

 

 

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 10:49 AM.

Copyright BetaSoft Inc.