Heenan, Lambert
Lambert.Heenan at chartisinsurance.com
Wed Apr 7 10:26:30 CDT 2010
Nope. Those are C family operators. Try IntPtr = IntPtr * 2 for << And IntPtr = IntPtr \ 2 for >> But are you aware of the impact of these operators on signed integers? See http://en.wikipedia.org/wiki/Arithmetic_shift Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, April 07, 2010 9:56 AM To: Access Developers discussion and problem solving Subject: [AccessD] Left and right shift I thought we have a >> and << operator in Access - shift left and shift right. When I try to use it I get a compile error. IntPtr = IntPtr >> 2 Do we not have this operator? I can't find it listed in an operator in help. -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com