Rebol 编程/保存
外观
< Rebol 编程
SAVE where value /header header-data /bmp /png /all
将值或块保存到文件或 URL。
SAVE 是一个原生值。
- where -- 保存的位置。 (类型:文件 URL 二进制)
- value -- 要保存的值。 (类型:任何)
- /header -- 保存带有标题
- header-data -- 标题块或对象 (类型:块 对象)
- /bmp -- 保存为 .BMP 格式
- /png -- 保存为 .PNG 格式
- /all -- 保存为序列化格式
save: native[
"Saves a value or a block to a file or url."
where [file! url! binary!] "Where to save it."
value "Value to save."
/header "Save it with a header"
header-data [block! object!] "Header block or object"
/bmp "Save in .BMP format"
/png "Save in .PNG format"
/all "Save in serialized format"
]