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
4 registered members (AndrewAMD, Kingware, AemStones, RealSerious3D), 1,388 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19054 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Replacement for "temp" in Lite-C? #240419
12/10/08 21:10
12/10/08 21:10
Joined: Jul 2005
Posts: 192
Orange County
S
silencer Offline OP
Member
silencer  Offline OP
Member
S

Joined: Jul 2005
Posts: 192
Orange County
Is there a replacement for "temp" in lite-c? I remember temp being very useful because it didn't need to be typecast.

Also for Vectors, is there a vector implementation for C/C-lite, or do we have to write our own?


AMD 64 x2 4400+ 2048mb DDR3200 NVidia 6800GS 256mb Soundblaster Audigy 2 A7 Commercial 7.07
Re: Replacement for "temp" in Lite-C? [Re: silencer] #240433
12/10/08 22:26
12/10/08 22:26
Joined: Oct 2004
Posts: 4,134
Netherlands
Joozey Offline
Expert
Joozey  Offline
Expert

Joined: Oct 2004
Posts: 4,134
Netherlands
VECTOR* can be used for vectors. var temp doesn't need typecast. In fact, nothing needs typecast in c-script, and only a minor amount of code needs typecast in Lite-C. That said, it's not harmful to typecast everything that needs it. In fact, I'd make that common courtesy.


Click and join the 3dgs irc community!
Room: #3dgs
Re: Replacement for "temp" in Lite-C? [Re: silencer] #241244
12/15/08 01:23
12/15/08 01:23
Joined: Oct 2008
Posts: 218
Nashua NH
heinekenbottle Offline
Member
heinekenbottle  Offline
Member

Joined: Oct 2008
Posts: 218
Nashua NH
Originally Posted By: silencer
Is there a replacement for "temp" in lite-c? I remember temp being very useful because it didn't need to be typecast.

Also for Vectors, is there a vector implementation for C/C-lite, or do we have to write our own?


x/y/z, tilt/pan/roll and red/green/blue

are declared as:

VECTOR ANGLE COLOR

respectively.


I was once Anonymous_Alcoholic.

Code Breakpoint;

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

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