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 Mike Lewis 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. ShadowZA

    String report

    I got it sorted thank you. Redid the code differently and was more successful..
  2. ShadowZA

    String report

    Hi Bong Please need your help. Another issue is bugging me. With my existing code i only get to read the first string and segment. ########### Data: String Segment Direction # Points 2d Len 3d Len Area X Min X Max Y Min Y Max Z Min Z Max 1 1 Clockwise 7 911.8 911.8 31743.3 -72.8...
  3. ShadowZA

    String report

    Thanks a lot Bong it works as requested. I only made one change but don't know if its the correct place to make it but after this it gave me the correct result. change made: for {set i 1} to for {set i 0} Before: #####String and Segment missing##### String 1 Segment 1 is open String 2...
  4. ShadowZA

    String report

    Thanks Bob for the help but not the correct result. Result Now: There are 5 line segments string open, segment 1 is string open, segment 2 is closed string open, segment 3 is string open, segment 4 is closed string open, segment 5 is closed Result Needed: There are 6 line segments string 1...
  5. ShadowZA

    String report

    Hi Guys Thx yet again for the help Bong and now thx to you mikrom. But there still is a problem.Sorry that it seems that you need to write the code for me,but from your code i have learnt alot,and it made my first code smaller and more precise in every sence. Result from Bong's code: There...
  6. ShadowZA

    String report

    Thnx bong. But somewhere is a missing close brace. And i tried to close were i thought it should be but then syntax error occurs
  7. ShadowZA

    String report

    Hi Bob Thanks for the reply. I'm not a programmer and only try to get into the feel for things so that it can help me with my mine design program to ease the work.Also i enjoy it a lot and like to learn it more. Thanks for the notes so far. Just to maybe clear things up on what a string and...
  8. ShadowZA

    String report

    Hi Guys Need some help on the following please. I use a mine design program called SURPAC. In this i have a string file. I want to see if the first and last point of each segment correspond thus puts "CLOSED" if not puts "OPEN" Attached find example of string data and code thus far: String...

Part and Inventory Search

Back
Top