Thanks for the suggestions (original Q below), which involved the use of 
text files to store the info I'm passing around. However, I've gone for DDE 
linking because it's a bit more flexible to mess around with on the fly.

A question - is it possible to pass array variables using DDE? If I request 
myVar where myVar is an array, I get a blank value. Requesting myVar(2) 
results in the "Cannot initiate link" error.

Any suggestions? I can't find anything in the manuals that suggests arrays 
can't be used in this way, but then again, I can't find anything which says 
they can... help!

Frank




At 17:53 09/09/2002 +0100, frank hebbert wrote:
>Hello all
>
>I want to share variable information between two separate mbx files - they 
>can't be compiled together, but I want one to set a variable for the other 
>to pick up.
>
>For example - myMenu.mbx creates a menu, and the first item, when selected 
>by my user, stores the value of timer() into myVar. MyMenu remains active.
>
>A second mbx, myTool.mbx, is then run - but how can it retrieve the value 
>of myVar? If I dim myVar inside myTool.mbx it will ignore the global var.
>
>Am I right in thinking that the only way to do this is using DDE commands, 
>as mentioned in the Mapbasic dev guide?
>
>cheers
>
>Frank
>
>
>---------------------------------------------------------------------
>List hosting provided by Directions Magazine | www.directionsmag.com |
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>Message number: 2911
>
>


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 2928

Reply via email to