Calling an unbound variable is an error, then I think the doc attempts to clarify that instead something like this can be done
?- X=member(A,[1,2,3]),Y=writeln(A),call((X,Y)).
1
X = member(1, [1, 2, 3]),
A = 1,
Y = writeln(1) ;
2
X = member(2, [1, 2, 3]),
A = 2,
Y = writeln(2) ;
3
X = member(3, [1, 2, 3]),
A = 3,
Y = writeln(3).