I should have checked this first.

on mouseUp
   put numToChar(0) into field "Test"
   put "Field Length: " & the length of field "Test" into field "Report"
   put numToChar(0) into test
   put "   Variable Length: " & the length of test after field "Report"
end mouseUp

This puts "Field Length: 0   Variable Length: 1" into field "Report".

The old C strings are terminated with a null, that is, 
numToChar(0).  Perhaps at 3 AM a sleepy programmer reverted back to 
C habits.

I don't know if this is the only problem with content in fields, 
but if so, the caveat is this:

    Fields may not behave as expected if any char is numToChar(0).

Dar Scott

_______________________________________________
improve-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/improve-revolution

Reply via email to