Mindstorms: Level 4

Mindstorms: Level 4 — page 3
(cid:53)(cid:46)(cid:47)(cid:38)(cid:38)(cid:41)(cid:35)(cid:41)(cid:33)(cid:44)(cid:0) GUIDES Simplifying the Programming Process If you ever decide to start learning about other programming languages you will find that they all have features similar to the blocks in Mindstorms In other languages these are called functions routines or methods It is very common to put code that is used more than once into a function This function can then be called from elsewhere in the program This eliminates the need to write duplicate code in a program Functions are also used to group together code that performs a certain task just like blocks Occasionally when you are downloading and run ning a lot of different programs you might get an error message stating that you are out of memory When this happens you can use the Memory Browser to remove programs from the EV3 brick This won’t delete them forever from your computer However it will create free space on the EV3 for new programs If you ever need to use the old programs just open them in the EV3 software and load them onto your brick again In the Memory Browser select the program you want to remove by clicking on its name It will then highlight the things that you can do with that program The option we are interested in is Delete You will have to select each program you want to remove and then select Delete to get rid of them Notice that there 6