re declared a global, they are considered by HyperTalk as local which means that they may only be used within a single script. If they are global, they may be carried to other scripts. Variables must be identified before they are used in order for them to become global. </p>

<pre>
-- allow access to globals
global var1, var2, ..
answer "hello " & var1 & "."
</pre>

<h3>Summary</h3>

<pre>
-- Let's put it altogether now
on mouseUp
  put random of 100 into n
  repeat 6
    ask "please input number(1-100)?"
 