Your SlideShare is downloading. ×
Variables
Variables
Variables
Variables
Variables
Variables
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Variables

155

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
155
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1.  loopsvar nombre="nabucodonosor";var i=0;while(i<nombre.length){ trace(nombre.charAt(i));i++;}Chart: Es una propiedad que escribe cada uno de los elementos de una cadenaMientras ase se escriba la opción y sale el nombre
  • 2. var i=0;while(i<=100){trace("este es el} número "+i);i++;}var i=0;do{ trace("este es el numero ",i);}while(i++<=10);for(var i=0;i<=10;i++){trace("el siguiente es el numero "+i);}for(var i=2;i<=10;i++){trace("el siguiente es el numero "+i);}
  • 3. var i=1;var j=10;while(i<=10){ trace("subiendo "+i); trace("najando "+j); i++;
  • 4. ejercicioFor: se significa el nombre de una variableIn:es una variabe nombre de ñla variable in y el objetovar bola=new Object();bola.radius=12;bola.color="red";bola.style="beach";for(var prop in bola){trace("böla."+prop+ " es "+bola[prop]);}explicación crear un objeto llamado bola hay dos formas el 1 seria en elesenari y elñ 2 poprogramacióncomo
  • 5. var myArr=[123,345,456,789];for(var elem in myArr){trace(myArr[elem]);}

×