Hi,
yes, you can: the way I know is with the *MSG APDL command:
in the example below:
*MSG,UI,ciclo_num,F_agenti(1),F_agenti(2)
Calculating and applying gradients for cycle num. %I ... &
Force on level 1 is %G N; &
Force on level 2 is %G N.
*MSG starts the command, UI means that you want it appear in a message window popup, the three subsequent fields are numerical variables which will be recalled inside the message; the message text starts on next row: "Calculating... etc"; symbol % introduces the numerical variables, and the letter immediately after identifies it as an integer (I), a real (G) a string or whatsoever, using the Fortran notation; symbol & at the end of a line signifies that the message continues on next row.
More info is in the help file: not extremely easy nor clear on this point, but it should help...
Regards