Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,633 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
different behavior missing semicolon for functions or actions #280370
07/22/09 12:23
07/22/09 12:23
Joined: Feb 2008
Posts: 9
U
urob Offline OP
Newbie
urob  Offline OP
Newbie
U

Joined: Feb 2008
Posts: 9
Hi there,

I know, I read somewhere, that a missing semicolon can change a behavior of functions or actions wihtout throwing an errormessage.

I looked through my books, the WIKI and this forum, but I did not found something.

If there are only functions or only actions affected, I do not know. But I am sure, I read something about it in the past.

Is someone out there who can remember or I am totally wrong?

Thanks
Uwe

Re: different behavior missing semicolon for functions or actions [Re: urob] #280416
07/22/09 15:03
07/22/09 15:03
Joined: Oct 2004
Posts: 4,134
Netherlands
Joozey Offline
Expert
Joozey  Offline
Expert

Joined: Oct 2004
Posts: 4,134
Netherlands
Depends on your compiler. I don't think that lite-C interpretates missing semicolons wrong, unless you do some fancy stuff with definitions.


Click and join the 3dgs irc community!
Room: #3dgs
Re: different behavior missing semicolon for functions or actions [Re: Joozey] #280425
07/22/09 15:36
07/22/09 15:36
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
Most of the time, a missing semicolon will cause the compiler to
throw up a "syntax error" on THE NEXT line...

Thats the only oddity I can think of...


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: different behavior missing semicolon for functions or actions [Re: EvilSOB] #280430
07/22/09 16:01
07/22/09 16:01
Joined: Feb 2008
Posts: 9
U
urob Offline OP
Newbie
urob  Offline OP
Newbie
U

Joined: Feb 2008
Posts: 9
...Then it can be something other I dreamed about.
O.K. Maybe I'll find it later and then I'll post it here.

Thank you.





Last edited by urob; 07/22/09 16:02.
Re: different behavior missing semicolon for functions or actions [Re: urob] #280433
07/22/09 16:13
07/22/09 16:13
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
Could be faulty memory? Maybe thinking of missing BRACKETS -> ()
They can have a more serious effect without triggering compiler errors.
But even then they are few and far between. See HERE


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: different behavior missing semicolon for functions or actions [Re: EvilSOB] #280440
07/22/09 17:00
07/22/09 17:00
Joined: Feb 2008
Posts: 9
U
urob Offline OP
Newbie
urob  Offline OP
Newbie
U

Joined: Feb 2008
Posts: 9
No, that is not what I meant.
But, thank you for this, that's also something I have to think about.

I have no problems with my scripts. That is only something I thought, I read it in the past.

We can stop here now.

Thanks again.
Uwe


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