Download - variables
Transcript
![Page 1: variables](https://reader036.vdocumento.com/reader036/viewer/2022082811/559331401a28ab06648b4709/html5/thumbnails/1.jpg)
VARIABLES-SCRATH
Juan Felipe Ahumada C.
806
![Page 2: variables](https://reader036.vdocumento.com/reader036/viewer/2022082811/559331401a28ab06648b4709/html5/thumbnails/2.jpg)
VARIABLES
• yo aprendí a crear variables y como cambiarle de valor por ejemplo un dado
Los bloques de variables permiten crear variables y usarlos en programas, las variables pueden almacenar números o strings (cadenas de caracteres).
Scrath respalda variables tanto globales como especificas s un objeto
![Page 3: variables](https://reader036.vdocumento.com/reader036/viewer/2022082811/559331401a28ab06648b4709/html5/thumbnails/3.jpg)
CREAR OBJETOS Y DISFRACES
Creamos un objeto y lo duplicamos 6 veces y creamos un dado
![Page 4: variables](https://reader036.vdocumento.com/reader036/viewer/2022082811/559331401a28ab06648b4709/html5/thumbnails/4.jpg)
DECLARAR VARIABLE
CREAMOS UNA VARIABLE EN EL QUE LE PUSIMOS EL NOMBRE DE VALOR