Now some examples of commands that give output: $x = ask "Please type something and press OK... thanks!" $r = random 1,100 The ask command takes a string as input, and outputs the number or string that is entered. As you can see, the output of ask is stored in the container x. The random command also gives output. In this case it outputs a number between 1 and 100. The output of the random is again stored in a container, named r. Note that the containers x and r are not used in the example code above.
Els exemples de ordres de sortida: x = inputwindow "Si us plau, premeu qualsevol tecla i feu Bé... gràcies!" r = random 1, 100 L' ordre inputwindow ho pren com a seqüència d' entrada. Com podeu comprovar, la sortida del inputwindow es desa en el valor x. L' ordre random dona la sortida. En aquest cas fa sortir un número entre 1 i el 100. La sortida es desa en r. Fixeu- vos que x i r no s' utilitzen en el codi anterior.