Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (SBGuy, AndrewAMD), 739 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
lorikob361, LucasJoshua, Baklazhan, Hanky27, firatv
19054 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Error in manual mouse_panel #395660
02/26/12 08:33
02/26/12 08:33
Joined: May 2008
Posts: 257
D
djfeeler Offline OP
Member
djfeeler  Offline OP
Member
D

Joined: May 2008
Posts: 257
Hello !

I have an error in manual in mouse_panel :

The correct code is :

Code:
function click_panels_away()
{	
  mouse_mode = 4;
  while(1)
	{
		if(mouse_left)
			if(mouse_panel)
				reset(mouse_panel,SHOW);
		wait(1);
	}
}



Djfeeler

Re: Error in manual mouse_panel [Re: djfeeler] #395661
02/26/12 10:14
02/26/12 10:14
Joined: Sep 2009
Posts: 993
Budapest
Aku_Aku Offline
User
Aku_Aku  Offline
User

Joined: Sep 2009
Posts: 993
Budapest
This is in the manual of the A7:
Code:
function click_panels_away()
{	
  mouse_mode = 4;
  while(1)
  {
    if (mouse_left && mouse_panel) // left button pressed over panel?
      reset(mouse_panel,SHOW); // remove clicked panel
    wait(1);
  }  
}


What should be the wrong part of it?

Last edited by Aku_Aku; 02/26/12 10:14.
Re: Error in manual mouse_panel [Re: Aku_Aku] #395663
02/26/12 10:53
02/26/12 10:53
Joined: May 2008
Posts: 257
D
djfeeler Offline OP
Member
djfeeler  Offline OP
Member
D

Joined: May 2008
Posts: 257
When I compile the compiler return syntax error can't convert ANDAND: FIXED:POINTER:LONG

with this code it is ok or with

Code:
function click_panels_away()
{	
  mouse_mode = 4;
  while(1)
  {
    if (mouse_left && mouse_panel ==1) // left button pressed over panel?
      reset(mouse_panel,SHOW); // remove clicked panel
    wait(1);
  }  
}



Re: Error in manual mouse_panel [Re: djfeeler] #395664
02/26/12 10:55
02/26/12 10:55
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
The latest (private) beta fixed this, so please wait for the public beta. wink


Moderated by  aztec, Inestical, Matt_Coles, Tobias 

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