ControlExample.d
Ty Tower
tytower at hotmail.com.au
Wed Mar 5 22:10:34 PST 2008
I am still looking for a compile of this and the recent update to include "DateTime.d" is jumping out at line 596.
Now the section of code does not look right
void commitCurrentField() {
if (characterCount > 0) {
characterCount = 0;
int fieldName = fieldNames[currentField];
int start = fieldIndices[currentField].x;
int end = fieldIndices[currentField].y;
char[] value = text.getText(start, end - 1);
int s = value.lastIndexOf(' ');<-------------------------here ! This sets it at null doesn't it ?
if (s !is -1) value = value.substring(s + 1);
int newValue = unformattedIntValue(fieldName, value, characterCount is 0,
More information about the Digitalmars-d
mailing list