public function getScalarAt($i, $default=null)
    {
        $name = $this->getNameAt($i);
        if(!is_null($name))
        {
            return $this->getScalar($name, $default);
        }
        return new ScalarProperty($default);
    }
public function getScalarAt($i, $default=null)
    {
        $name = $this->getNameAt($i);
        if(!is_null($name))
        {
            return $this->getScalar($name, $default);
        }
        return new ScalarProperty($default);
    }
public function getScalarAt ( $ i , $ default = null ) { $ name = $ this -> getNameAt ( $ i ) ; if ( ! is_null ( $ name ) ) { return $ this -> getScalar ( $ name , $ default ) ; } return new ScalarProperty ( $ default ) ; }
Get field value as scalar by index
@param int $i
@param mixed $default
@return \PerrysLambda\ScalarProperty
Get field value as scalar by index