[Newbies] Re: Unknown error

ParadoxMachine sergiofpmachado at gmail.com
Fri Jun 6 17:22:35 UTC 2014


No, they were supposed to appear as raw text (using raw tags). At least they
do for me.

Anyway, here's the code:

a := 0. 
b := 1. 
10 timesRepeat: [
	a timesRepeat: [b = b*2].
	Transcript show: '2^a = '.
	Transcript show: b ;cr.
	a = a+1.
	b = 1].

And this is the result:

2^a = 1

UndefinedObject>>DoIt (a is Undeclared) 
UndefinedObject>>DoIt (b is Undeclared) 
UndefinedObject>>DoIt (a is Undeclared) 
UndefinedObject>>DoIt (b is Undeclared) 
UndefinedObject>>DoIt (b is Undeclared) 
UndefinedObject>>DoIt (b is Undeclared) 
UndefinedObject>>DoIt (a is Undeclared) 
UndefinedObject>>DoIt (a is Undeclared) 
UndefinedObject>>DoIt (b is Undeclared) 



--
View this message in context: http://forum.world.st/apparently-Undeclared-variables-tp4761926p4761938.html
Sent from the Squeak - Beginners mailing list archive at Nabble.com.


More information about the Beginners mailing list