Gamestudio Links
Zorro Links
Newest Posts
FXCM demo test failed
by qin. 01/13/26 13:53
Camera always moves upwards?
by NeoDumont. 01/12/26 09:39
Alpaca Plugin v1.5.2 Release
by kzhao. 01/11/26 13:42
Alpaca Plugin v1.4.0
by kzhao. 01/11/26 13:38
separating groups of 3 digits by a comma
by joe_kane. 01/11/26 00:01
MRC.c and WFO
by joe_kane. 01/10/26 23:58
BarOffset (default = 940 for daily bars?
by joe_kane. 01/10/26 23:46
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (qin), 7,490 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
promfast, joe_kane, Namitha_NN, Syndrela, agasior
19190 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Local static variable #254006
02/28/09 12:03
02/28/09 12:03
Joined: Feb 2009
Posts: 3
France
W
WapiAchak Offline OP
Guest
WapiAchak  Offline OP
Guest
W

Joined: Feb 2009
Posts: 3
France
Hi all, I'm a new 3dgs user and it's my first question.
In c++ we can declare a local variable as being static. The data value of a static variable persists for the life of the running process.I want to use this type of variables in a function. Is it possible with Lite-c ?
Thx a lot.

Re: Local static variable [Re: WapiAchak] #254011
02/28/09 12:45
02/28/09 12:45
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
it is.

Re: Local static variable [Re: Joey] #254021
02/28/09 15:53
02/28/09 15:53
Joined: Feb 2009
Posts: 3
France
W
WapiAchak Offline OP
Guest
WapiAchak  Offline OP
Guest
W

Joined: Feb 2009
Posts: 3
France
Thx Joey, I didn't find the answer because I sought in the French manual and the section about variables is not complete, so I will work with the English version.Thx again...

Re: Local static variable [Re: WapiAchak] #254024
02/28/09 16:06
02/28/09 16:06
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
no problem. as far as i know, lite-c is mostly ansi c compliant.


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