Right - but.. James' syntax for the plugin command was:
set v v1 int = 15
PLUGIN Num2Wrd.RBL vResult|.v1
Which didn't work. Razzak's reply was:
CLEAR VAR v1, vResult
SET VAR v1 TEXT = ('vResult|15')
PLUGIN Num2Wrd.RBL &v1
Only part of the command was in the ampersand variable. My point is
that I understand that as long as ANY part (or ALL) of the COMMAND is a
variable, I need to use the &. But I was a little confused about the
relationship of the variable v1 in James' example to the rest of the
command. I was looking at it like a comparison value - but it's not, v1
is a parameter for part of the command. It's not like PRINT report
WHERE columnum = .variablename. I didn't really get that originally.
-----Original Message-----
From: David M. Blocker [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 09, 2005 3:40 PM
To: RBG7-L Mailing List
Subject: [RBG7-L] - Re: Using Num2Wrd.RBL PLUGIN in R:BASE 7.xandV-8
Not quite Dawn. In the PLUGIN example the & is used because the contents
of the variable vcomm is AN ENTIRE COMMAND. You have created a command
in a variable vComm, and want to execute the command, so you must put
&vcomm
in your program, NOT
.vcomm
David Blocker
[EMAIL PROTECTED]
781-784-1919
Fax: 781-784-1860
Cell: 339-206-0261
----- Original Message -----
From: "Dawn Oakes" <[EMAIL PROTECTED]>
To: "RBG7-L Mailing List" <[email protected]>
Sent: Wednesday, February 09, 2005 3:05 PM
Subject: [RBG7-L] - Re: Using Num2Wrd.RBL PLUGIN in R:BASE 7.xandV-8
OK I read it through. (actually I think I did read it before, it
obviously didn't sink in.) I understand but to make sure.. In James'
example for the plugin (PLUGIN Num2Wrd.RBL vResult|.v1), the reason you
need to use an ampersand variable in place of 'vresult|.v1' is because
it's part of the PLUGIN command as opposed to a comparison value. Right?
-----Original Message-----
From: Dawn Oakes
Sent: Wednesday, February 09, 2005 2:16 PM
To: RBG7-L Mailing List
Subject: [RBG7-L] - Re: Using Num2Wrd.RBL PLUGIN in R:BASE 7.xandV-8
And I thought I looked through all the FTE articles !!!
Thank you - I'll read it through.
-----Original Message-----
From: A. Razzak Memon [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 09, 2005 2:03 PM
To: RBG7-L Mailing List
Subject: [RBG7-L] - Re: Using Num2Wrd.RBL PLUGIN in R:BASE 7.xandV-8
At 12:38 PM 2/9/2005, Dawn Oakes wrote:
>..I'm wondering if someone has a few minutes for a little lesson.
>I tend to get confused as to when I need to "enclose" a command string
>in a & variable and when I don't. I always figure it out eventually,
>but was wondering if someone could provide a technical explanation ...
Dawn,
From The Edge: http://www.razzak.com/fte (11/18/2001)
Topic: Understanding Dotted vs. Ampersand Variables
Search Articles | Topic Header | Ampersand | Search ...
Hope that helps!
Very Best R:egards,
Razzak.