GameBuilder GameBuilder - 11 months ago 70 Question

Create XML Schema in VB

I have VB Script.

In the Function

Private Function generateXMLSchema(ZRouteName) As String

Dim generatedXmlSchema As String ="<Name>tEST 250504</Name>"

Here Name Element is Static.

I want to
instead of Static Data.


I am getting Error.: Sysntax Error

Please help to rectify this.

Thanks In Advance


You need to use the ampersand (&) to concatenate your variable to the string like this

"<Name>" & ZRouteName & "</Name>"