Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

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=' Then 
  y=Test'
End

Next 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 .

The Sprezzatura Group

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

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/b46cf09bc5a0f4a085256ab5005c02ff.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1