cLitteral() 'really' supports Vartype() $ 'CNYLDTX':
x == Eval(cLitteral(x))It mimics other types into a readable way, such as
'Object of name ..., class ...'
'General'
etc.
1-dim Arrays: native aLines()
2-dim Arrays: abArray.prg!aLinesCols()
Objects: we're working on a simple xml parsing supporting nested objects, inspired from awServer.prg!awAJAX.PVofObject() / .ObjectOfPV() - it requires using some regular expression.
awesome function. I was halfway thru writing something similar to use setsessiojvar for non strings.
Why can't you use this to solve your issue of saving and restoring the _screen properties?
What functions in abtxt put the array or object together again, EVAL will not do that.
with FIC you can use
Session.setSessionVal('myDate', cLitteral(date()))
myDate = Evaluate(Session.getSessionVar('myDate'))
I should have realized this, so in case anyone tries this:
x=date()
y=dtoc(x)
session.setsessionvar("mydate", y)
Y has slashes in it, and since setsessionvar ises XML, it will not save the string value correctly.
-- thn (FoxInCloud)