19.0.0 released Nov 08, 2023 |
read-file <file> | ( file-id <file id> ) \ to [ define ] <content> \ [ position <position> ] \ [ length <length> ] \ [ status [ define ] <status> ]
read-file "/home/user/some_file" to define file_content status define st if (st>=0) { @Read: @<hr/> p-web file_content @<hr/> } else { @Could not read (<<pf-out "%lld" st>>) }
num st; char *file_content; read-file "/home/user/some_file" to file_content status st
read-file "/home/user/some_file" to file_content position 20 length 10