This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2010-09-05 17:31:22

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Squeak code dump.

Basically, post some code that you wrote in a Workspace or a System Browser in Squeak. It doesn't matter if you're a novice or an expert to Squeak. Oh yeah, if any of the code doesn't work, try using the latest version of Squeak, or use an alpha version.
I'll start the dump.

Code:

| t1 t2 t3 |
t1 _ Date today dayOfMonth.
t2 _ Date today monthName.
t3 _ Date today year.
Transcript
    show: t2;
    show: ' ';
    show: t1;
    show: ', ';
    show: t3.

EDIT: You can post .IMAGE and .CHANGES files here, too.

Last edited by ThePCKid (2010-09-06 14:16:24)

Offline

 

#2 2010-09-05 17:43:57

ihaveamac
Scratcher
Registered: 2007-09-22
Posts: 1000+

Re: Squeak code dump.

Who started the F5 program!!!?


~ihaveamac - visit ihaveamac.net

Offline

 

#3 2010-09-05 19:46:12

antimonyarsenide
Scratcher
Registered: 2010-02-03
Posts: 1000+

Re: Squeak code dump.

Woah! 1 reply, and 13192 views? What?


http://myfastcounter.com/count.php?c_style=75&id=1284314427
No, I'm not back (yet  tongue ), so pretend this is invisible.

Offline

 

#4 2010-09-06 01:12:12

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: Squeak code dump.

Bump.
Updated to #10,490.

Offline

 

#5 2010-09-06 02:46:14

iCode-747
Scratcher
Registered: 2009-11-21
Posts: 1000+

Re: Squeak code dump.

Whats with all of the views...?

Oh, TPCK must have written a script that reloads the page every 1 second. :S


-End Transmission-

Offline

 

#6 2010-09-06 14:13:51

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: Squeak code dump.

Bump.
Updated to #10,491.

@iCode-747: Sorry. Last night I put my bouncy ball on the F5 key  tongue

Last edited by ThePCKid (2010-09-06 14:14:28)

Offline

 

#7 2010-09-06 14:40:22

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: Squeak code dump.

Bump.
I just got another update.

Offline

 

#8 2010-09-06 15:43:57

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: Squeak code dump.

Bump.
I just got another update.

Offline

 

#9 2010-09-06 16:38:44

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: Squeak code dump.

Bump.
#10,495

Offline

 

#10 2010-09-06 19:26:04

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: Squeak code dump.

Bump.
#10,497

Offline

 

#11 2010-09-06 20:03:31

antimonyarsenide
Scratcher
Registered: 2010-02-03
Posts: 1000+

Re: Squeak code dump.

What exactly are you talking about?  hmm


http://myfastcounter.com/count.php?c_style=75&id=1284314427
No, I'm not back (yet  tongue ), so pretend this is invisible.

Offline

 

#12 2010-09-07 18:25:45

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: Squeak code dump.

BUMP

Code:

Transcript open.
1000000 timesRepeat: [Transcript show: 'Squeak will now crash.'; cr]

Offline

 

#13 2010-09-15 08:12:34

majormax
Scratcher
Registered: 2008-04-06
Posts: 1000+

Re: Squeak code dump.

Code:

quitScratch
    Smalltalk snapshot: false andQuit: true

Will quit scratch without the save stuff. USE AT YOUR OWN RISK.

Last edited by majormax (2010-09-15 08:13:51)

Offline

 

#14 2010-09-15 09:08:10

08jackt
Scratcher
Registered: 2007-09-12
Posts: 1000+

Re: Squeak code dump.

Text based game + im pretty sure you aren't supposed to bump so much times in a row...lol xD


http://i39.tinypic.com/jgtswi.png

Offline

 

Board footer