DEFORMAT(String[,picture]) fails when string is longer than 255 chars


#1
  PROGRAM
  MAP
  END
PhoneNumber STRING(256) !<--- fails, but STRING(255) (and smaller) works
myLong   LONG,AUTO
myULong ULONG,AUTO
myStr10 STRING(10)
myStr20 STRING(20)
  CODE
 PhoneNumber = '(707) 641-5794'
  myLong  = DEFORMAT(PhoneNumber)
  myULong = DEFORMAT(PhoneNumber)
  myStr20 = DEFORMAT(PhoneNumber)
  myStr10 = DEFORMAT(PhoneNumber)
  MESSAGE('The answer is ['&  DEFORMAT(PhoneNumber)  &']' & |
       '|MyLong['& MyLong   &']' & | -1513518798
         '|MyULong['& MyULong &']' & |  2781448498
         '|MyStr10['& MyStr10 &']' & |  7076415794
         '|MyStr20['& MyStr20 &']' & |  7076415794
     '')

#2

PTSS # 41102 links to this topic.