Adding a Sring of Data to a Variable (AREV Specific)
At 27 AUG 2001 12:45:00PM Mark Watford wrote:
I'm trying to add a line of data to a variable then returning the answer in a message. For example:
Y='
For X=1 To 10
If @record=' Then
Y=Y + 'Test'
End
Next X
Call Msg(Y,'A',
,
)I know that this doesn't work. Could someone help me with the code to have a result such as Y=Test':@VM:'Test':@VM:etc
Thanks,
Mark
At 27 AUG 2001 01:00PM WinWin/Revelation Technical Support wrote:
Mark-
Try
Y='
For X=1 To 10
If @record=' Theny=Test'EndNext X
Call Msg(Y,'A',
,
)Although it may not display correctly in MSG
At 27 AUG 2001 02:16PM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:
Your line of code
Y=Y + 'Test'
will not resolve because 'Test' is non-numeric. Use
Y=Y : 'Test'
or if Y is assigned
Y := 'Test'
Someone's been using VB or Delphi too often we suspect .
World Leaders in all things RevSoft
At 27 AUG 2001 02:33PM Mark Watford wrote:
That was what I needed. Thanks alot. I still don't fully understand how that works but it solved my problem. Thanks again.
Mark
At 27 AUG 2001 03:33PM Don Miller - C3 Inc. wrote:
My suspicion is that he doesn't know string operators (concat, etc.) or the question wouldn't have surfaced. Or RTFM for AREV. Now OI heh, heh, heh that's a little different .
Don