open "filename.txt" for output as 1
print #1, xx,xy,xz
Notice in the QBASIC Help (Press "F1" or "Shift+F1" to access) that there are other modes, such as APPEND, INPUT, and BINARY. Note that opening FOR OUTPUT will erase the previous contents of the file.
Was this question specifically related to 3d graphics? If not, it would have been better to post in the main forum:
|Response Title||Author and Date|
|Print to file||on May 7, 12:35 AM|