About 51 results
Open links in new tab
  1. index Of [makecode.microbit.org]

    Get the index (position) of the first element in the array that matches a search item.

  2. Microsoft MakeCode for micro:bit

    A Blocks / JavaScript code editor for the micro:bit powered by Microsoft MakeCode.

  3. Arrays - Microsoft MakeCode for micro:bit

    See also index of, push, pop, shift, unshift, insert at, remove at, reverse Edit this page on GitHub Edit template of this page on GitHub Edit template of this page on GitHub

  4. Array - Microsoft MakeCode for micro:bit

    Items in an array When an item is added to an array it becomes an element of the array. Array elements are found using an index. This is the position in the array of the element, or the element’s order in the …

  5. Introduction - Microsoft MakeCode for micro:bit

    Every spot in an array can be identified by its index, which is a number that corresponds to its location in the array. The first slot in an array is index 0, just like our rock collection pictured above.

  6. Arrays - Microsoft MakeCode for micro:bit

    Learn common Array operations such as setting and getting values by index. Demonstrate understanding and apply skills by creating a musical instrument that uses a micro:bit and a program …

  7. Introduction - Microsoft MakeCode for micro:bit

    Every spot in an array can be identified by its index, which is a number that corresponds to its location in the array. The first slot in an array is index 0, just like our rock collection above.

  8. Lessons - Microsoft MakeCode for micro:bit

    Looper, display a series of numbers with a for loop index Strobe Light, develop shapes with a nested for loops Temperature, get the ambient temperature (degree Celsius °C) Digi Yoyo, create a counter …

  9. Coding Activity 1: Headband charades - Microsoft MakeCode for …

    We’ll use the index of the array to keep track of what word to display at any given time, so you’ll need to create an ‘index’ variable using the Make a Variable button in the Variables Toolbox drawer. Now, we …

  10. set - Microsoft MakeCode for micro:bit

    When an item exists in the array at the index you’ve chosen, it is replaced with a new value. If you use an index that is past the length of the array, the array is expanded to put the value at the location you …