Navigation: Developing Apps > BINETIX® AGE™ API > The Node > Toolkits > age_tools
term_to_file/2
Description
term_to_file/2 is an Erlang function exported by "age_tools" module.
Converts Erlang terms into a string and then saves this string into a file.
References
•file_to_term/1
Parameters
Name
Type
Terms
any()
Any Erlang terms
FileName
string()
Fully qualified file name.
Result
Value or Type
ok | {error, Reason}
Returns ok on success.