Returns the text stored in a .txt file packaged in a VLX
(vl-get-resource text-file)
Arguments
A string naming a .txt file packaged with the VLX. Do not include the .txt extension when specifying the file name.
Return Values
A string containing the text in text-file.
Examples
print-readme, and a text file named readme.txt. The print-readme function is defined as follows:
Assume the getres.vlx file contains a LISP program defining a function named(defun print-readme ()
(princ (vl-get-resource "readme"))
(princ)
)
print-readme:
After loading getres.vlx, invoke_$ (print-readme)
Product Readme text
Product Readme text 2