Try using an ampersand instead of the dot in front of the text variable.
R:Base will interpret the text as typing so to speak. I tested in 7.6
and 9.1 (64)
SET VAR vDateText TEXT = '2/28/2012'
SET VAR vDate DATE = &vDateText
Albert
On 17/03/2012 10:37 PM, Michael J. Sinclair wrote:
The reason I am asking is because when I run the first method within
an EEP, I am getting an error (Invalid data type)
Running the same code from an R> works fine.
Running the second method works fine, but as I recall, retyping
variables is considered a less than ideal practice.
--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]
(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body,
place any
text to search for.
================================================