Simplicty and flexibility!


New Function in 8 - CHR() returns ASCII value for number. Long in comming.... (Ver 8.0.0.1143)

Started by DataEase
You will need to Sign In to be able to comment on the Blog!

New Function in 8 - CHR() returns ASCII value for number. Long in comming.... (Ver 8.0.0.1143)

We continue to extend the function library in 8, and one functions that has been missing for "ever", has been CHR. It might be a programmers function, but after we introduced the new exciting Memo manipulation class the lack of this function become even more evident. The problem most DataEase people have experienced, might be the one where you have to include a " in your string... """...no! Stop wondering any longer, now it is simply chr(34) ex. concat(chr(34),"Mr. DataEase",chr(34) will return "Mr.DataEase". Our problem was even more annoying. One of the most important new functions in the Memo Manipulation library is MemoCopy where you can for instance Append a String/Number etc to a Memo. Lovely, but to make it look good, you might also want to have the new value start on a new line...not so easy in traditional DataEase. Now there is. Simply use the function MemoAppend(MemoToAppend,chr(13),0) for a simple carriage return, or MemoAppend(MemoToAppend,concat(chr(13),FieldToAppend),0) to get the value on a new line. The rest we leave to your imagination.
Written by DataEase 11/10/12 at 07:07:45 Dataease [{8}]FIVE

Re:New Function in 8 - CHR() returns ASCII value for number. Long in comming.... (Ver 8.0.0.1143)

To be honest, there is two things I have been struggling with finding (I just thought it was down to me being stupid and bad documentation), and that is how to insert extended character and how to get "" around texts. I am glad that it wasn't me being stupid after all. Great!
Written by David Mills 01/11/12 at 16:25:44 Dataease [{8}]FIVE
DG3_BlogList