VA 8.02 Migration FYI about EsString>>#subStrings:

VA Smalltalk is a "100% VisualAge compatible" IDE that includes the original VisualAge technology and the popular VA Assist and WidgetKit add-ons.

Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig

VA 8.02 Migration FYI about EsString>>#subStrings:

Postby mpeters » Tue Jun 15, 2010 11:43 am

As part of the changes on 8.02 EsString>>#subStrings: was made ANSI-compliant.
This caused many of our unit tests to break. The difference is that the new version does not return leading or trailing separators. To fix this we implemented a new method with the old behavior and changed all of our code to use the new method. As we write new code, our plan is to switch to the ANSI-compliant version of subStrings:
Mark Petersen
Posts: 6
Joined: Thu Jun 10, 2010 6:25 am

Re: VA 8.02 Migration FYI about EsString>>#subStrings:

Postby wembley » Tue Jun 15, 2010 1:37 pm

Mark -

This change was covered in the Migration Guide (see ... ra812.html). We provide a new method -- EsString>>#allSubStrings: -- with the old behavior for those who need it.
John O'Keefe [|], Principal Smalltalk Architect, Instantiations Inc.
Posts: 405
Joined: Mon Oct 16, 2006 3:01 am
Location: Durham, NC

Return to VA Smalltalk 7.0, 7.5 & 8.0

Who is online

Users browsing this forum: No registered users and 1 guest