Interfaces https://makecode.calliope.cc/javascript/interfaces
The easiest way to see how interfaces work is to start with a simple example:
this interface like we might have to in other languages.
The easiest way to see how interfaces work is to start with a simple example:
this interface like we might have to in other languages.
Keep running part of a program in the background.
basic.forever(() => { }) You can have part of a program continuously by placing
Traditional JavaScript focuses on functions and prototype-based inheritance as the basic means of building up reusable components, but this may feel a bit awkward to programmers more comfortable with an object-oriented approach, where classes inherit functionality and objects are built from these classes.
If you’re familiar with classes in other languages, you may have noticed in the
For programs to be useful, we need to be able to work with some of the simplest units of data: numbers, strings, structures, boolean values, and the like.
octal: number = 0o744; Floating point: numbers with a fractional part Numbers can have
MakeCode is typically accessed at https://makecode.calliope.cc/ where create, modify, and run your projects while you’re online. You can can use MakeCode when you’re offline too. Here are some ways you can work with MakeCode offline:
After the web app has loaded you will have everything you need to continue working
Get a character (letter, number, or symbol) from a place in the text string.
You might have text thats says "Hello there!".
Get the code for a character (letter, number, or symbol) from a place in a text string.
only the 5 characters of “ABCDE�, then ‘A’, as the first character, would have
The name, arguments, and code for a function.
function square(side: number) { return side * side } A function can have multiple
Return a result value from a function back to the program.
It’s considered good programming style if you can arrange to have your return statement
There are a few different methods to share your MakeCode projects and for places to share your projects to.
If you lose the link, then there’s no way to get it back – you will have to share