Question File Writing - EXPORT vs PUT

Haso KEric

New Member
What is the difference between using EXPORT vs PUT?

OUTPUT TO "\\DELL-T710\EpicorData\custom\HHPackoutPing".
EXPORT "ERROR_HAPPENED".
OUTPUT CLOSE.​

and

OUTPUT TO "\\DELL-T710\EpicorData\custom\HHPackoutPing".
PUT "ERROR_HAPPENED".
OUTPUT CLOSE.​
 

GregTomkins

Active Member
EXPORT is designed to work nicely with IMPORT, eg., 'EXPORT foo' followed by 'IMPORT foo' will work (assuming you round out a few other details).

PUT could be made to be compatible with IMPORT, but it doesn't happen "automagically", it's more (say) like 'printf' in C.
 
Top