VEX – Get attribute from another point

//
//
//
//Get attribute from another point

vector p = point(0, "P", @ptnum-1); // get pos from prev point