Simplicty and flexibility!


SETVAR in DATAEASE 8.5


Started by Jeyarajah Arulrajah
Search
You will need to Sign In to be able to add or comment on the forum!

SETVAR in DATAEASE 8.5

What is the limit on the string you can pass onto this variable?


Written by Jeyarajah Arulrajah 11/11/17 at 19:24:47 Dataease [{8}]FIVE

SetVar()/GetVar() and Strings in <=8.5 vs >=8.6

Funny you ask the question just now.

The limit is and has been for any string in DataEase 255 from 1.0 through to 8.5

We have a function that is MemoSetGlobal() and MemoGetGlobal() but the limitation on that is that you need a memo to be as the "Host" to be able to populate it.

Even though we have had memos (long) fields "forever" there has been no way really to shift them about until 8.5 with the Memo functions.

However there is a big paradigm change in 8.6 where all string functions have been converted to LargeText(Memo) and which in 8.5 terms would have meant 4Mb up from 64kb in 7.0-8.2.


But we have also overhauled the Memo so it not only more effective and secure but it is also now able to store up to 4GB!

So the limit on SetVar()/GetVar() in 8.5 is 255 but in 8.6 it is 4GB

That is 16 842 009 times more storage in a text string in 8.6 compared to any previous version of DataEase!

You have also got the GLOBAL option which means you can exchange global variables between different DataEase 8.6 sessions on your computer as well as with other programs via BusTalk and BusTalk API.

But this limitation is not just broken for SetVar()/GetVar().

All string functions has been updated so you can no concatenate Memos and the return value will not be measly 255 but whatever you have concatenated with the function up to 4GB!

This will simply change how and what you can do with DataEase forever.

And this is just a small portion of the news in 8.6 ;-)


Written by DataEase 12/11/17 at 13:26:21 Dataease [{8}]FIVE
DG3_ForumList