From: ··········@my-dejanews.com
Subject: simply a quicky!
Date: 
Message-ID: <7g7gqn$g4p$1@nnrp1.dejanews.com>
Hi there,
For the simple CLIPS code below.....

(open "input.dat" input "r")

....what does the "r" mean?

Thanx.

Joe

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    
From: Reini Urban
Subject: Re: simply a quicky!
Date: 
Message-ID: <37284f55.667720@judy>
··········@my-dejanews.com wrote:
>Hi there,
>For the simple CLIPS code below.....
>
>(open "input.dat" input "r")
>
>....what does the "r" mean?

Looks like AutoLISP code not CLISP.
"r" stands for "read" which is similar to the lib function fopen()
other options are "w" "rw" "w+" and so on.
---
Reini Urban
http://xarch.tu-graz.ac.at/autocad/news/faq/autolisp.html