SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 10 of 10

Thread: script times

  1. #1
    Junior Member
    Join Date
    Oct 2004
    Location
    china
    Posts
    14
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    script times

    i have a realone soft.
    now i need to statistic it have playing error times in 24 hour.
    i need to know how many the error times ?
    i can't write TSL in my funtion.
    who can help me !thank you

  2. #2
    Member
    Join Date
    Aug 2004
    Posts
    374
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: script times

    Not 100% sure what you want but:

    I think you want to record when a failure happens to the log. I would add the time in your checking function.
    </font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">if(MyStr==&quot;This is a test&quot
    {
    report_msg(&quot;All is well&quot;
    }
    else
    {
    tim = time_str();
    report_msg(&quot;All is not well &quot; &amp; tim);

    }# if</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">I think you will have to manipualte the time but this is in the help. Hope this is what you meant
    Richard Hunter

  3. #3
    Junior Member
    Join Date
    Oct 2004
    Location
    china
    Posts
    14
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: script times

    thank you for rich197803
    i come from china ,i know a little english!
    I want to record when a failure happens to the log in my realone soft.how can i know my soft have many wrong times.i need the times!
    can i use 'for' function.
    you can use 'for' or ther funtion.
    for (i=1,i<n,i++)

    [ 11-19-2004, 06:56 AM: Message edited by: sentboy ]

  4. #4
    Moderator
    Join Date
    Mar 2002
    Location
    Tampa Bay
    Posts
    7,673
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: script times

    I accept that your English is limited. Maybe others can figure out what you want, but I don't understand at all.

  5. #5
    Member
    Join Date
    Aug 2004
    Posts
    374
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: script times

    sorry you have lost me there as well. As my chinese is going to be worse then your english can you type the question into this site then translate from Chinese to English, http://world.altavista.com/
    then post back here?

    Thanks
    Richard Hunter

  6. #6
    Member
    Join Date
    Jul 2004
    Location
    San Diego, CA
    Posts
    147
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: script times

    SentBoy:
    What I understood from your message is:
    You want to check how many times the error occured while running your script.
    I don't think "for" is a good option in this case. I don't know what would be the best option.
    If this is what you are looking for, say YES & I believe then either Richard or Peter or may be myself would be able to find a decent solution for your problem.

    Prashant

  7. #7
    Member
    Join Date
    Mar 2004
    Location
    Reston, VA
    Posts
    94
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: script times

    I'm a Chinese, write to me at: li_yiru@yahoo.com in Chinese if you want to. Thanks.

  8. #8
    Moderator
    Join Date
    Mar 2002
    Location
    Tampa Bay
    Posts
    7,673
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: script times

    Go for it, klee. You've got the con!

  9. #9
    Junior Member
    Join Date
    Oct 2004
    Location
    china
    Posts
    14
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: script times

    SORRY!

    [ 11-20-2004, 06:47 AM: Message edited by: sentboy ]

  10. #10
    Moderator
    Join Date
    Mar 2002
    Location
    Tampa Bay
    Posts
    7,673
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: script times

    Hmm. Sentboy, I think you have more problems than just language.

    Klee wanted you to EMAIL him, not post the Chinese here.

 

 

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 10.00%
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 12:11 AM.

Copyright BetaSoft Inc.