Ken Kundert
|
Nishtha, If you want people to help you you should try to make it easy for them to do so. Posting a large, poorly formatted block of code that has no comments or explanation and is incomplete makes it very difficult to help. Kudos to Geoffrey for at least trying. I stared at your post for about 15 minutes and gave up.
When asking questions about code you should: 1. Try to boil down your code so that it is as small and simple as possible to make it easy to others to understand it. 2. Use the # (code) tag so that formatting is retained. 3. Properly format you code. 4. Send the complete model so that someone could copy and paste into a file and try it if need by. When you leave stuff out, you may just leave out the real problem. Remember, you don't understand what is going on, that is why you are asking questions, and so you may not have the best judgment of what can be safely left out. 5. Explain your code.
If you do all that, you just might find that you can answer your question yourself. If not, you are much more likely to get a helpful response.
-Ken
|