Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. sharook

    Not sure

    Just found it. One minor change. if strfind sLine "RDTx]: " strtok s1 sLine "Node " 1 strtok sNode sLine "RDTx]: " 1 endif Thanks again for catching my goofups. By the way, how do you do the code insert? I'll post the final when it is...
  2. sharook

    Not sure

    I changed the sType to sLine as you suggested earlier and also found that I ran into the redundant instances of "POTS". So, I had already changed that to "POTS-" as you have mentioned and it is working better now. I also tried adding the if statement as you said and it doesn't work. I do a...
  3. sharook

    Not sure

    Great catch kodr. The only thing left is to figure out how to grab sNode. Any ideas? I am back working on this again and will post if I find a solution.
  4. sharook

    Not sure

    ...UVG\R, 7 - COIN ]1 Node [CDT, RDTx]: cdt Shelf# [*, 1-15]: * CDT 06-11-14 17:37:18 M 1016 COMPLD CDT Aid BTC FrD Cmp Gn Imp ------------------ --- --- --- -- ---...
  5. sharook

    Not sure

    Gents, This one seems to be giving me some trouble and I was wondering if anyone could give me a hand. I wrote a different script than the one below that goes into a system and gathers all kinds of specific data on a lot of different items. After I have gathered that data, I want to go back...
  6. sharook

    Format Float

    Ya, that is why I thought it couldn't be done because I read the same thing in the good old purple book. However, I created a workaround and it works: ftoa TelPassword TelPassFinal strfmt UserNameStr "**********^M" strfmt PassWordStr "%5.5s^M" TelPassFinal
  7. sharook

    Format Float

    Well, I'm not sure this can be done, but I'll throw it out there and see what you guys think. I have a float value that is something like 58483.97. I format it as follows %5.0f. However, when I do this, it rounds up to 58484. I don't want this to happen. I need it to clip the two digits after...
  8. sharook

    How do I convert this equation for use in aspect?

    ...I didn't bother doing any real checking to see if they are logged in already because if they are logged in, they don't really need the script. ;*************************************************************** ;* * ;* PROCEDURE Main * ;* *...
  9. sharook

    How do I convert this equation for use in aspect?

    Figured it out, I will post the final here in a sec.
  10. sharook

    How do I convert this equation for use in aspect?

    Almost there, I just need to figure out how to drop the two digits after the decimal.
  11. sharook

    How do I convert this equation for use in aspect?

    Ok, I finally got it to grab the date/time string: while done == 0 transmit "^[" ; escape back to the beginnig comread InputStr 50 1 termmsg InputStr if strfind InputStr "Logon" transmit "^T^M" InputStr = ""...
  12. sharook

    How do I convert this equation for use in aspect?

    No worries on the time. I just appreciate the help. So far, I have tried termgets, comread, and a couple of other things and I can't seem to read the date in. I have been using the usermsg to see what I am getting. I can get it to read the word Logon, but that's it. I think if I can read the...
  13. sharook

    How do I convert this equation for use in aspect?

    ...this activity on line 42. Here's what I came up with so far today. I'm still a rookie with aspect, so please forgive me for any newb errors. ;***global vars*** integer check_msg ;*************************************************************** ;* * ;* PROCEDURE Main...
  14. sharook

    How do I convert this equation for use in aspect?

    Tel needs to be an int. An example of the end result would be 79603.
  15. sharook

    How do I convert this equation for use in aspect?

    unsigned int uiMonth; unsigned int uiDay; unsigned int uiYear; unsigned int uiHours; unsigned int Tel; float Temp;
  16. sharook

    How do I convert this equation for use in aspect?

    duh...here it is. Temp = ( (float) uiYear / 7.0 ) / (float) (uiMonth + uiDay + uiHours); Tel = (unsigned int) (Temp * 10000.0);
  17. sharook

    How do I convert this equation for use in aspect?

    I have this calculation that I use in this little C prog that I wrote and want to use it in aspect. Any suggestions? Thank you
  18. sharook

    PWMENU IDs

    I got it. disable pwmenu 300. Thank you anyway.
  19. sharook

    PWMENU IDs

    Can anyone tell me what the IDs are for the pwmenu items? I would like to disable the start/stop script button until I finish running my script so that the user cannot kill the script inadverdently. Thank you!
  20. sharook

    Hiding received characters from a transmit...

    Hey Knob, I gave this a run and it doesn't seem to work that well. However, I was able to get it to work in a few areas with a little tweaking. Thank you very much for the help!!

Part and Inventory Search

Back
Top