Hi,

The one I did not try was a command string and that worked.

Thanks to Doug Cubin who showed me the error of my ways!

Regards

Martin


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Martin
Hodder
Sent: 03 January 2006 17:15
To: 'Mapinfo-l'
Subject: [MI-L] Graph title programatically

Hi,

 

I have come across a strange problem. It is to do with labelling a graph in
Mapbasic

 

First O create the graph with is v.easy

 

Graph Col1,Col2 form TABLE

 

Next I want to create a title for the graph

 

This works

 

Set graph Title "THIS IS A TITLE"  - which is fine except I need to create a
different title for the Graph

 

Set Graph Title "Graph of  " + sTitle  - This does not work (Gives
unrecognised command "+")

 

So I tried a string variable

 

sTitle = "Graph of  " + sTitle  

 

Set graph title sTitle       ' this does not work (gives missing =
assignment)

 

Even this does not work

 

Set graph Title "THIS IS " +  " A TITLE"

 

I have tried MB 6.5 and MB 7.8 

 

Has anyone got this to work at all?

 

Regards

 

Martin

 

 

 

 

_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l





_______________________________________________
MapInfo-L mailing list
[email protected]
http://www.directionsmag.com/mailman/listinfo/mapinfo-l

Reply via email to