Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 2
    One question per Question please, as per the Tour. Please do not post code as a screenshot. Doing so forces anyone who wants to test your code to retype all of it. Commented Sep 29 at 13:37
  • @Vince thanks for the information, I kept 1 question only. Commented Sep 29 at 13:41
  • 2
    Provide a complete script in text, not screenshot. In particular, include where ‘roi’ is declared. Commented Sep 29 at 15:37
  • 1
    Please do not use screenshots for code. Edit your question and include your code as text with code formatting. Commented Sep 30 at 5:06
  • I added the script as you said. thanks! Commented Oct 1 at 6:54