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 dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by sharook

  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

    Here a small snippet...As I mentioned, I need to grab the node, hold on to that and use it for all my POTS records and then when a new node shows up, begin using that one. Retrieve Circuit Settings... Circuit Type[ 1 - POTS, 2 - DDS...
  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?

    Here's the final. 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?

    Hello Knob, Thank you for your assistance so far. I started on that same path, so it looks like we were thinking about the same approach. If you don't mind, I kind of need to switch gears a bit as I can't seem to get termreads working properly. When the user logs in, the program will need to...
  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;

Part and Inventory Search

Back
Top