Since we've stumbled across this subject....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 on why James' example doesn't work without using an & variable = 'vresult|.v1' and how R:Base interprets the two different version of the same command. That may make it easier for me going forward.
Thank you. -----Original Message----- From: A. Razzak Memon [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 09, 2005 12:26 PM To: RBG7-L Mailing List Subject: [RBG7-L] - Re: Using Num2Wrd.RBL PLUGIN in R:BASE 7.x andV-8 At 12:06 PM 2/9/2005, James Hageman wrote: >That's neat but how do you pass a variable to the plugin. > >I tried : > >set v v1 int = 15 > >PLUGIN Num2Wrd.RBL vResult|.v1 >and got. >vResult = -ERROR- TEXT Here's how: CLEAR VAR v1, vResult SET VAR v1 TEXT = ('vResult|15') PLUGIN Num2Wrd.RBL &v1 SHOW VAR vResult That's all there is to it! Very Best R:egards, Razzak.
