Search found 24 matches
- Jun 26th, '18, 13:43
- Forum: Requests
- Topic: Do in Parallel Block?
- Replies: 3
- Views: 15242
Re: Do in Parallel Block?
Technically, it's not a new block. Jens merely added the functionality of having blocks look like https://u.cubeupload.com/bharvey/4223.png (Source: https://scratch.mit.edu/discuss/topic/4455/?page=202#post-3151745, scroll down a bit). I think he means the black arrows, specifically. As for the actu...
- Aug 9th, '17, 11:16
- Forum: Working with GP
- Topic: differents between ARRAYS and LISTS?
- Replies: 2
- Views: 12015
Re: differents between ARRAYS and LISTS?
Here's what John said about them on a different thread: Array is a low-level, fixed size data structure that's needed to implement lists, dictionaries, tasks, and other things, but it doesn't need to be visible until the user digs deeper into the implementation of the system. I'll fix map and filter...
- Aug 7th, '17, 08:46
- Forum: Working with GP
- Topic: find a string within another string
- Replies: 1
- Views: 11223
Re: find a string within another string
Hey,
While I couldn't find a way to get this to work with Strings directly, I found a way to make this work by using the following blocks:
The "contains"-Block can check if an item exists in an array (NOT a list!). Using it the way I did in the attached image returns "true".
While I couldn't find a way to get this to work with Strings directly, I found a way to make this work by using the following blocks:
The "contains"-Block can check if an item exists in an array (NOT a list!). Using it the way I did in the attached image returns "true".
- Aug 7th, '17, 08:40
- Forum: Bugs
- Topic: Unusable class name "list"
- Replies: 4
- Views: 13983
Re: Unusable class name "list"
Hey John, just downloaded a fresh install of GP on both Windows and Ubuntu 16.04, and both of them show the same behavior: 1) Create new (empty) project 2) Create a new class named "list" (without quotation marks) 3) Debugger opens up and complains about List index being out of range. It also does t...
- Aug 5th, '17, 13:19
- Forum: Working with GP
- Topic: [Suggestion]Merge Drawing and Pixels categories
- Replies: 6
- Views: 14342
Re: [Suggestion]Merge Drawing and Pixels categories
From an educational standpoint, I can really appreciate the separate categories. Pixel and vector graphics are a very common subject to introduce to students in order to help them understand information and its representation. The split of these two categories of blocks in GP perfectly mimics the tw...
- Aug 2nd, '17, 13:36
- Forum: Bugs
- Topic: Unusable class name "list"
- Replies: 4
- Views: 13983
Unusable class name "list"
Just a tiny bug report:
Creating a new class named "list" causes the debugger to open upon selection of the class (screenshot attached).
This also occurs when an existing class is renamed to "list", and then selecting it (obviously only works in projects with more than one class).
Creating a new class named "list" causes the debugger to open upon selection of the class (screenshot attached).
This also occurs when an existing class is renamed to "list", and then selecting it (obviously only works in projects with more than one class).
- Jul 16th, '17, 19:11
- Forum: Working with GP
- Topic: Class/instance/prototypes
- Replies: 1
- Views: 13326
Re: Class/instance/prototypes
Assumption: Scratch and its cloning mechanism are a form of prototyping If this is true and GP wants to use the Class/Instance model instead then I don't think it should have default instances of classes - all instantiation should be done at program run-time or by manual addition by use of a + butt...
- Jul 16th, '17, 09:38
- Forum: Getting started
- Topic: [Advanced tutorial] First-class objects and higher order functions - and nice artwork
- Replies: 5
- Views: 2083317
Re: [Tutorial] First-class objects and higher order functions - and nice artwork
That's true. Good point!
- Jul 15th, '17, 20:30
- Forum: Getting started
- Topic: [Advanced tutorial] First-class objects and higher order functions - and nice artwork
- Replies: 5
- Views: 2083317
- Jul 15th, '17, 13:09
- Forum: Getting started
- Topic: [Advanced tutorial] First-class objects and higher order functions - and nice artwork
- Replies: 5
- Views: 2083317
[Advanced tutorial] First-class objects and higher order functions - and nice artwork
Hey everyone! This is a tutorial I have put together which will show you how first-class structures work in GP. There is a good chance that this could turn into a series of tutorials showing you many of the new concepts of GP, and how to use them yourself. This being said, this is not exactly aimed ...