Gamestudio Links
Zorro Links
Newest Posts
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Trading Journey
by 7th_zorro. 04/27/24 04:42
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, 1 invisible), 770 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Send_Var or Send_Data for sending structs #323742
05/17/10 03:37
05/17/10 03:37
Joined: Mar 2003
Posts: 5,377
USofA
fastlane69 Offline OP
Senior Expert
fastlane69  Offline OP
Senior Expert

Joined: Mar 2003
Posts: 5,377
USofA
Anyone know if they both currently work?
Anyone know if there is any difference between the two if so?

Re: Send_Var or Send_Data for sending structs [Re: fastlane69] #323793
05/17/10 14:50
05/17/10 14:50
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
Yes, send_var updates a global var or struct and send_data just sends data, without needing the same struct on the receiver side.

I got used to call send_data, it offers more flexibility. You need an event on the receiver side to receive that data.

Re: Send_Var or Send_Data for sending structs [Re: Spirit] #323809
05/17/10 16:49
05/17/10 16:49
Joined: Mar 2003
Posts: 5,377
USofA
fastlane69 Offline OP
Senior Expert
fastlane69  Offline OP
Senior Expert

Joined: Mar 2003
Posts: 5,377
USofA
Ahhhhh...now this is very very interesting.

So what you are saying is that Send_Var will send a pre-defined Struct and thus has to pre-defined on both client and server prior to use....but Send_Data can send anything to anyone without having copies on both sides? Did I get that right? laugh

If so that's really fantastic and you're right, Send_Data becomes WAY flexible!


Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1