added Integer>>priorTo:do:by:
changed the index of Integer>>bitAt: and stix_bitatint() to be 0 based. added Error>>asCharacter allowed underscores in integer literals
This commit is contained in:
		@ -151,8 +151,8 @@
 | 
			
		||||
 | 
			
		||||
	#method == anObject
 | 
			
		||||
	{
 | 
			
		||||
		"check if the receiver is identical to anObject.
 | 
			
		||||
		 this doesn't compare the contents"
 | 
			
		||||
		(* check if the receiver is identical to anObject.
 | 
			
		||||
		 * this doesn't compare the contents *)
 | 
			
		||||
		<primitive: #_identical>
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
@ -164,8 +164,8 @@
 | 
			
		||||
 | 
			
		||||
	#method(#class) == anObject
 | 
			
		||||
	{
 | 
			
		||||
		"check if the receiver is identical to anObject.
 | 
			
		||||
		 this doesn't compare the contents"
 | 
			
		||||
		(* check if the receiver is identical to anObject.
 | 
			
		||||
		 * this doesn't compare the contents *)
 | 
			
		||||
		<primitive: #_identical>
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
@ -234,10 +234,10 @@
 | 
			
		||||
 | 
			
		||||
	#method(#class) isMemberOf: aClass
 | 
			
		||||
	{
 | 
			
		||||
		## a class object is an instance of Class
 | 
			
		||||
		## but Class inherits from Apex. On the other hand,
 | 
			
		||||
		## most of ordinary classes are under Object again under Apex.
 | 
			
		||||
		## special consideration is required here.
 | 
			
		||||
		(* a class object is an instance of Class
 | 
			
		||||
		 * but Class inherits from Apex. On the other hand,
 | 
			
		||||
		 * most of ordinary classes are under Object again under Apex.
 | 
			
		||||
		 * special consideration is required here. *)
 | 
			
		||||
		^aClass == Class
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
@ -362,6 +362,11 @@
 | 
			
		||||
	{
 | 
			
		||||
		<primitive: #_error_as_integer>
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
	#method asCharacter
 | 
			
		||||
	{
 | 
			
		||||
		<primitive: #_error_as_character>
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	#method asString
 | 
			
		||||
	{
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user