Simplicty and flexibility!


Is there a way of using system variables (eg %homepath%) in DE7.2 or 8.5


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

Is there a way of using system variables (eg %homepath%) in DE7.2 or 8.5

Written by Neil Barnes 12/08/17 at 13:24:36 DataEase 8.5 Runtime

Re:Is there a way of using system variables (eg %homepath%) in DE7.2 or 8.5

In 7.2, only if you create a CDF.

In 8.5 you have a new function called GetCurrent() which give you a lot of features like this.

GetCurrent() and DEOS() is being expanded all the time.

In 8.5 the closest you get to %homepath% is getcurrent("MyDocuments") which will return the path to your MyDocuments.

To get %homepath% you only need to do this.

StringTo(GetCurrent("MyDocuments"),"Documents") it should return your homepath.

See here for further reference.
http://www.dataease.com/dg3_HelpView/?PageID=10314&field1=*GetCurrent**


Written by DataEase 12/08/17 at 13:45:36 Dataease [{8}]FIVE
DG3_ForumList