Implemented range and range-step outside an enumerator context.
Fixed loc comparisons.