PHP Code:
function onCreated()
{
this.string = new TStaticVar();
this.string.t = "1-0";
this.string.savevars( "docu/test.arc", 0 );
this.ss.loadvars( "docu/test.arc" );
echo( this.ss.t );
}
this.ss.t = 1
Summary: When saved by savevars, strings which compose only of numbers and a hypen, the string before the hyphen is what returns.
"1000-1" => "1000", "2-3" => 2, ... ...