# Old blocks

**URL:** <https://forum.snap.berkeley.edu/t/old-blocks/22586>\
**Category:** Share your Projects\
**Tags:** old-snap\
**Created:** [October 17, 2026, 1:45pm UTC](https://forum.snap.berkeley.edu/t/old-blocks/22586 "2026-10-17T13:45:58Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![henhen123](https://forum.snap.berkeley.edu/user_avatar/forum.snap.berkeley.edu/henhen123/32/46159_2.png) [@henhen123](https://forum.snap.berkeley.edu/u/henhen123)\
**Post date:** [October 17, 2026, 1:45pm UTC](https://forum.snap.berkeley.edu/t/old-blocks/22586/1 "2026-10-17T13:45:59Z")

</div>

Here is an old block museum where I brought old blocks back from older versions:

[The museum](https://snap.berkeley.edu/snap/snap.html#present:Username=henhen123&ProjectName=OLD%20BLOCKS)

---

<div class="post-metadata">

**Author:** ![gplb2718](https://forum.snap.berkeley.edu/user_avatar/forum.snap.berkeley.edu/gplb2718/32/45673_2.png) [@gplb2718](https://forum.snap.berkeley.edu/u/gplb2718)\
**Post date:** [October 17, 2026, 3:25pm UTC](https://forum.snap.berkeley.edu/t/old-blocks/22586/2 "2026-10-17T15:25:58Z")

</div>

the “cases” block seems interesting: its like a very convoluted else-if:

 ![OLD BLOCKS script pic](https://cdn.forum.snap.berkeley.edu/original/3X/d/0/d05776089124ced1bcd67f032ac0bce702a81355.png)

it is a little broken, however.

---

<div class="post-metadata">

**Author:** ![mark4sisb](https://forum.snap.berkeley.edu/user_avatar/forum.snap.berkeley.edu/mark4sisb/32/32632_2.png) [@mark4sisb](https://forum.snap.berkeley.edu/u/mark4sisb)\
**Post date:** [October 17, 2026, 5:59pm UTC](https://forum.snap.berkeley.edu/t/old-blocks/22586/3 "2026-10-17T17:59:51Z")

</div>

Yes, it was a library block back when variadic if-else didn’t exist. The report issue you described is because of the “context” of the report block. That report block is causing the “else if” predicate to report `"hello"` instead of the typical true that tells the cases block not to keep moving through the cases, and instead of causing the outer call to report `"hello"`.

---

<div class="post-metadata">

**Author:** ![sathvikrias](https://forum.snap.berkeley.edu/user_avatar/forum.snap.berkeley.edu/sathvikrias/32/46818_2.png) [@sathvikrias](https://forum.snap.berkeley.edu/u/sathvikrias)\
**Post date:** [October 17, 2026, 7:04pm UTC](https://forum.snap.berkeley.edu/t/old-blocks/22586/4 "2026-10-17T19:04:59Z")

</div>

I’m pretty sure you could still get the undefined one today, no?

---

<div class="post-metadata">

**Author:** ![henhen123](https://forum.snap.berkeley.edu/user_avatar/forum.snap.berkeley.edu/henhen123/32/46159_2.png) [@henhen123](https://forum.snap.berkeley.edu/u/henhen123)\
**Post date:** [October 17, 2026, 9:22pm UTC](https://forum.snap.berkeley.edu/t/old-blocks/22586/5 "2026-10-17T21:22:35Z")

</div>

Do you like the project

---

<div class="post-metadata">

**Author:** ![henhen123](https://forum.snap.berkeley.edu/user_avatar/forum.snap.berkeley.edu/henhen123/32/46159_2.png) [@henhen123](https://forum.snap.berkeley.edu/u/henhen123)\
**Post date:** [October 17, 2026, 9:28pm UTC](https://forum.snap.berkeley.edu/t/old-blocks/22586/6 "2026-10-17T21:28:14Z")

</div>

It was very hard to implement though. Script pics from older versions didn’t import very well into the newest version

---

<div class="post-metadata">

**Author:** ![redgeographysnap](https://forum.snap.berkeley.edu/user_avatar/forum.snap.berkeley.edu/redgeographysnap/32/46547_2.png) [@redgeographysnap](https://forum.snap.berkeley.edu/u/redgeographysnap)\
**Post date:** [October 17, 2026, 9:50pm UTC](https://forum.snap.berkeley.edu/t/old-blocks/22586/7 "2026-10-17T21:50:37Z")

</div>

The undefined! one is probably a block which failed importation

Edit: NVM

---

<div class="post-metadata">

**Author:** ![henhen123](https://forum.snap.berkeley.edu/user_avatar/forum.snap.berkeley.edu/henhen123/32/46159_2.png) [@henhen123](https://forum.snap.berkeley.edu/u/henhen123)\
**Post date:** [November 17, 2026, 2:52pm UTC](https://forum.snap.berkeley.edu/t/old-blocks/22586/9 "2026-11-17T14:52:08Z")

</div>

Well, not really. If you import a block that fails importation nowadays, it’ll put the block in your costumes and then there will be no “get blocks” option.

---

<div class="post-metadata">

**Author:** ![mark4sisb](https://forum.snap.berkeley.edu/user_avatar/forum.snap.berkeley.edu/mark4sisb/32/32632_2.png) [@mark4sisb](https://forum.snap.berkeley.edu/u/mark4sisb)\
**Post date:** [November 17, 2026, 3:17pm UTC](https://forum.snap.berkeley.edu/t/old-blocks/22586/10 "2026-11-17T15:17:06Z")

</div>

You could also try using “export script”, which doesn’t include an image and so wouldn’t show up in the costumes tab.

---

<div class="post-metadata">

**Author:** ![sathvikrias](https://forum.snap.berkeley.edu/user_avatar/forum.snap.berkeley.edu/sathvikrias/32/46818_2.png) [@sathvikrias](https://forum.snap.berkeley.edu/u/sathvikrias)\
**Post date:** [November 17, 2026, 3:40pm UTC](https://forum.snap.berkeley.edu/t/old-blocks/22586/11 "2026-11-17T15:40:47Z")

</div>

> [@henhen123](#):
>
> it’ll put the block in your costumes and then there will be no “get blocks” option.

you can still get it without.

---

<div class="post-metadata">

**Author:** ![henhen123](https://forum.snap.berkeley.edu/user_avatar/forum.snap.berkeley.edu/henhen123/32/46159_2.png) [@henhen123](https://forum.snap.berkeley.edu/u/henhen123)\
**Post date:** [November 22, 2026, 3:39pm UTC](https://forum.snap.berkeley.edu/t/old-blocks/22586/12 "2026-11-22T15:39:37Z")

</div>

Well, some blocks in the project I made weren’t imported. You see, while projects made in newer versions are unable to run in older versions, projects made in older versions can run in newer versions. I used what I call the trap method to get some blocks. I made a project in an older version, then ran that same project in a newer version to retrieve the block. In some older versions, there was no “export script” or “script pic,” so, I had to use the trap method.

---

<div class="post-metadata">

**Author:** ![henhen123](https://forum.snap.berkeley.edu/user_avatar/forum.snap.berkeley.edu/henhen123/32/46159_2.png) [@henhen123](https://forum.snap.berkeley.edu/u/henhen123)\
**Post date:** [November 22, 2026, 3:43pm UTC](https://forum.snap.berkeley.edu/t/old-blocks/22586/13 "2026-11-22T15:43:54Z")

</div>

And yes, in some older versions, there was a “script pic” option. But after importation into a new version, it would look like this:

 ![IMG_2162](https://cdn.forum.snap.berkeley.edu/original/3X/3/2/32f987e73442c50c69874274c4e8fc7f64d2bb54.jpeg)

---

<div class="post-metadata">

**Author:** ![vecehectillion](https://forum.snap.berkeley.edu/user_avatar/forum.snap.berkeley.edu/vecehectillion/32/46814_2.png) [@vecehectillion](https://forum.snap.berkeley.edu/u/vecehectillion)\
**Post date:** [November 22, 2026, 4:04pm UTC](https://forum.snap.berkeley.edu/t/old-blocks/22586/14 "2026-11-22T16:04:55Z")

</div>

Here’s something to know about the ones you don’t know, since the first time I used Snap_!_ is in late 2021.

The four bottommost blocks, the “cases” C block, “throw” block, “else if then” boolean block and “else” boolean block have the following definition:

- **“cases” C block** : It’s like the current “if” block that can be extended, but with cases stored as booleans as in older versions it’s not possible to make grouped multi-inputs like now.
- **“throw” block** : when put inside a “catch” block, running the block will exit the script inside the “catch” block early.
- **else if boolean block** : Used in the “cases” C block for the 2nd, 3rd, 4th… conditions. It is actually a boolean block that stores the action. You put a condition and the case inside the condition will run when the condition is met.
- **else boolean block** : Used in the last condition of the “cases” C block when none of the previous conditions are true.

## Replies to some posts (all in one!)

(bruh the 2-user mention limit)

### to gplb2718

> [@gplb2718](#):
>
> the “cases” block seems interesting: its like a very convoluted else-if:
> 
> ![OLD BLOCKS script pic](https://cdn.forum.snap.berkeley.edu/original/3X/d/0/d05776089124ced1bcd67f032ac0bce702a81355.png)
> 
> it is a little broken, however.

“Cases” block does not work in the “call” block because of how the “report” block works in cases. It seems a bit buggy so I can’t explain it too internally. It should work without using call, so you may try to do it in a custom block manually without having to use the “call” block. Sorry if this post was a month ago though…

### to sathvikrias

> [@sathvikrias](#):
>
> I’m pretty sure you could still get the undefined one today, no?

I don’t think there is any evidence of the unobtainability of the “undefined” block. It is always obtainable through various obscure glitches.

### to henhen123

> [@henhen123](#):
>
> And yes, in some older versions, there was a “script pic” option. But after importation into a new version, it would look like this:
> 
> ![IMG_2162](https://cdn.forum.snap.berkeley.edu/original/3X/3/2/32f987e73442c50c69874274c4e8fc7f64d2bb54.jpeg)

That’s because older versions of Snap_!_ do not embed the script XML in the image when exporting script pics, so that’s why this happens.

---

<div class="post-metadata">

**Author:** ![henhen123](https://forum.snap.berkeley.edu/user_avatar/forum.snap.berkeley.edu/henhen123/32/46159_2.png) [@henhen123](https://forum.snap.berkeley.edu/u/henhen123)\
**Post date:** [November 22, 2026, 4:06pm UTC](https://forum.snap.berkeley.edu/t/old-blocks/22586/15 "2026-11-22T16:06:26Z")

</div>

> [@vecehectillion](#):
>
> older versions of Snap! do not embed the script XML in the image when exporting script pics, so that’s why this happens.

I’m aware, that is why I used the trap method for those blocks.

---

<div class="post-metadata">

**Author:** ![sathvikrias](https://forum.snap.berkeley.edu/user_avatar/forum.snap.berkeley.edu/sathvikrias/32/46818_2.png) [@sathvikrias](https://forum.snap.berkeley.edu/u/sathvikrias)\
**Post date:** [November 22, 2026, 5:30pm UTC](https://forum.snap.berkeley.edu/t/old-blocks/22586/16 "2026-11-22T17:30:28Z")

</div>

> [@henhen123](#):
>
> n some older versions, there was no “export script” or “script pic,”

How old were you getting? Even in snap 4.2, you could do this:

 ![image](https://cdn.forum.snap.berkeley.edu/original/3X/a/e/ae10334aa228a2d87eb7e0aaf8935d00fdb0973c.png)  
which is the same as export script.

---

<div class="post-metadata">

**Author:** ![mark4sisb](https://forum.snap.berkeley.edu/user_avatar/forum.snap.berkeley.edu/mark4sisb/32/32632_2.png) [@mark4sisb](https://forum.snap.berkeley.edu/u/mark4sisb)\
**Post date:** [November 22, 2026, 9:44pm UTC](https://forum.snap.berkeley.edu/t/old-blocks/22586/17 "2026-11-22T21:44:53Z")

</div>

The reason it doesn’t report in the outer call is because the report block in the c-shape causes the else predicate to report:  
 ![untitled script pic](https://cdn.forum.snap.berkeley.edu/original/3X/c/9/c9dcd36229f450654795fa8fbad6f24c321e742d.png)  
If you look at the definition:

 ![untitled script pic (1)](https://cdn.forum.snap.berkeley.edu/original/3X/5/f/5f023a6e7d22d0087e0b6bffb8a2763fa5dd3609.png)  
This works the same as  
 ![untitled script pic (2)](https://cdn.forum.snap.berkeley.edu/original/3X/8/3/83d0bb839c357728a708160e4a0114f79b2291af.png)  
Which you would expect to cause the else statement to report “error” instead of “True”.

---

<div class="post-metadata">

**Author:** ![ego-lay\_atman-bay](https://forum.snap.berkeley.edu/user_avatar/forum.snap.berkeley.edu/ego-lay_atman-bay/32/1395_2.png) [@ego-lay\_atman-bay](https://forum.snap.berkeley.edu/u/ego-lay_atman-bay)\
**Post date:** [November 22, 2026, 10:22pm UTC](https://forum.snap.berkeley.edu/t/old-blocks/22586/18 "2026-11-22T22:22:31Z")

</div>

Sure the smart script pics were relatively new (can’t remember when they were added), but the export script and export blocks features have been available from the beginning. You can shift+click a script and a hidden “download script” or “export script” option will appear (it was renamed in v7). It wasn’t until v8 when that option was properly exposed without holding shift.

The ezport blocks option in the file menu has always been around, and is used to export custom blocks, which you can select the blocks you want to export.
