SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3
  1. #1
    Senior Member
    Join Date
    Apr 2003
    Posts
    388
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Calling a Function from a string variable- dynamic function call

    Ah, I fondly remember that lovely functionality, Alas, I have not found it yet in robot. In the mean time I have been calling a wrapper function and passing the "function name" as one of the parameters.
    So it would look like
    Call wrapper(temp, parms)

    The function would include a case statement that tested for temp = fillactivity.

    From your notes I am guessing you know how to fill in the blanks.
    Like you, I am looking for a more elegant solution.

  2. #2
    Junior Member
    Join Date
    Jun 2003
    Posts
    4
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Calling a Function from a string variable- dynamic function call

    Thanks cupal. I currently have something like it too. But it would be better if we can call dynamically.

  3. #3
    Junior Member
    Join Date
    Jun 2003
    Posts
    4
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Calling a Function from a string variable- dynamic function call

    Hi,

    How can you call a function from a string. Let's say there is a string "Temp" whose value is "FillActivity". Now I need to call fillactivity through Temp. If I say call Temp, I am getting a call syntax error. I am trying to do this in library file. In Silk "@" symbol is used. I am not sure what is it in Robot. Any Idea, any one.

    Thanks
    Thiru.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.11%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin 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 05:09 PM.

Copyright BetaSoft Inc.