Gamestudio Links
Zorro Links
Newest Posts
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
FXCM => AVA Trade Plugin???
by Martin_HH. 11/17/26 17:02
contractUpdate() is filtering if >2 rows
by mistery. 11/09/26 12:06
New Zorro version 3.15
by jcl. 11/09/26 09:24
Removing outliers from files
by jcl. 11/04/26 10:30
[MED] Import from FBX (2010) missing!!!
by rayp. 11/03/26 14:33
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (1 invisible), 45,533 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Compile error #313960
03/04/10 18:31
03/04/10 18:31
Joined: Oct 2009
Posts: 110
Porto-Portugal
Elektron Offline OP
Member
Elektron  Offline OP
Member

Joined: Oct 2009
Posts: 110
Porto-Portugal
Comented line if uncomented don´t compiles.
The rest compiles ok
Code:
void info()
{
	info_x=model[ent_sel].x;
	info_y=model[ent_sel].y;
	info_z=model[ent_sel].z;
	info_tilt=model[ent_sel].tilt;
	//info_pan=model[ent_sel].pan;
	info_roll=model[ent_sel].roll;
}


Thanks in advance
Cheers


Carlos Ribeiro aka Elektron
Check my blog: http://indiegamedeveloper71.wordpress.com/
Re: Compile error [Re: Elektron] #313962
03/04/10 18:35
03/04/10 18:35
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
what is the problem?

Have you defined every var ?

Re: Compile error [Re: Rei_Ayanami] #313980
03/04/10 20:08
03/04/10 20:08
Joined: Oct 2009
Posts: 110
Porto-Portugal
Elektron Offline OP
Member
Elektron  Offline OP
Member

Joined: Oct 2009
Posts: 110
Porto-Portugal
The error is:
Syntax error:Can´t covert EQU:FIXED::POINTER

Yes, i definied all vars.


Carlos Ribeiro aka Elektron
Check my blog: http://indiegamedeveloper71.wordpress.com/
Re: Compile error [Re: Elektron] #313986
03/04/10 20:25
03/04/10 20:25
Joined: Sep 2009
Posts: 1,035
Budapest
Aku_Aku Offline
Serious User
Aku_Aku  Offline
Serious User

Joined: Sep 2009
Posts: 1,035
Budapest
Please provide all the lines where you declare the variables.
info_x,info_y,info_z,info_tilt,info_pan,info_roll and model.

Last edited by Aku_Aku; 03/04/10 20:26. Reason: missed one variable name
Re: Compile error [Re: Aku_Aku] #313987
03/04/10 20:33
03/04/10 20:33
Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
MasterQ32 Offline
Expert
MasterQ32  Offline
Expert

Joined: Nov 2007
Posts: 2,568
Germany, BW, Stuttgart
could it be that your panel has also the name info_pan??


Visit my site: www.masterq32.de
Re: Compile error [Re: MasterQ32] #313990
03/04/10 20:49
03/04/10 20:49
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
seems to be like that, the error message suggests that info_pan is a pointer, not a var.

Re: Compile error [Re: MasterQ32] #313991
03/04/10 20:51
03/04/10 20:51
Joined: Oct 2009
Posts: 110
Porto-Portugal
Elektron Offline OP
Member
Elektron  Offline OP
Member

Joined: Oct 2009
Posts: 110
Porto-Portugal
Ups,i feel soo dumb.
You guessed right Richi007.
Altought i solved the problem renaming the var.

Thanks for your help


Carlos Ribeiro aka Elektron
Check my blog: http://indiegamedeveloper71.wordpress.com/

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | 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