[progress Communities] [progress Openedge Abl] Forum Post: Re: Issue With...

  • Thread starter Thread starter ntwatkins
  • Start date Start date
Status
Not open for further replies.
N

ntwatkins

Guest
After doing some more debugging, the code at line 98 is the following: do iLoop = 1 to iMax: oArray:Add(new OpenEdge.Core.String(entry(iLoop, poValue:Value, pcDelimiter))). end. The issue appears to be with the constructors in the String class. This can be replicated by trying to create a String using the entry function like above. using OpenEdge.Core.String. define variable obString as String no-undo. define variable pcDelimiter as character no-undo. define variable obNewString as String no-undo. assign obString = new String("this is a test.") pcDelimiter = ",". obNewString = new String(entry(1,obString:Value,pcDelimiter)). The above code causes the error. The weird thing is that doing the entry function to a longchar and using that longchar to create the string works.

Continue reading...
 
Status
Not open for further replies.
Back
Top