How do I get the functionality of the 3.0.2 function allegro:read-lisp-line?
A 2.6-3) Use the following function. which mostly replicates the action of that function. The stream argument is required (rather than optional) and it returns :eof when the end of the file is reached (rather than nil). If an actual line is read, nil or a non-empty list is returned so testing whether the result is listp distinguishes between reading a line and reading an end-of-file. The function here is named my-read-lisp-line.
A 2.6-3) Although the symbol aclwin:read-lisp-line exists (some symbols in the 3.0.2 allegro package are in the aclwin package in 6.0, and allegro is now a nickname of the common-graphics package), it has no function binding. (In ACL 3.0.2, that function read a line of the optional stream argument and returned a list of the lisp objects on that line. It returned nil for blank lines and also when the end of the file was reached.) This code mostly replicates the action of that function. The stream argument is required (rather than optional) and it returns :eof when the end of the file is reached (rather than nil). If an actual line is read, nil or a non-empty list is returned so testing whether the result is listp distinguishes between reading a line and reading an end-of-file. The function here is named my-read-lisp-line. While we do not usually recommend this, you can define aclwin:read-lisp-line by changing the function name to aclwin:read-lisp-line and wrapping the form in excl:witho
A 2.6-3) Although the symbol aclwin:read-lisp-line exists (some symbols in the 3.0.2 allegro package are in the aclwin package in 6.1, and allegro is now a nickname of the common-graphics package), it has no function binding. (In ACL 3.0.2, that function read a line of the optional stream argument and returned a list of the lisp objects on that line. It returned nil for blank lines and also when the end of the file was reached.) This code mostly replicates the action of that function. The stream argument is required (rather than optional) and it returns :eof when the end of the file is reached (rather than nil). If an actual line is read, nil or a non-empty list is returned so testing whether the result is listp distinguishes between reading a line and reading an end-of-file. The function here is named my-read-lisp-line. While we do not usually recommend this, you can define aclwin:read-lisp-line by changing the function name to aclwin:read-lisp-line and wrapping the form in excl:witho
Related Questions
- If I want to include a specific function that is not part of the existing QTMS, can ReliaSoft provide this functionality on a custom basis?
- Does the transactivation function of the ligand binding domain interfere with functionality?
- How do I get the functionality of the 3.0.2 function allegro:read-lisp-line?