Re: symbol definition duration


[ Follow Ups ] [ Post Followup ] [ Jed Messages ]

Posted by CogKing on February 03, 1998 at 16:33:41:

In Reply to: symbol definition duration posted by Raptor [JiB] on February 03, 1998 at 16:29:41:

> Sometimes you see in cogs stuff like
> thing player
> in symbols, and in the code, things like
> player = GetLocalPlayerThing();
> this happens with all types of values, as far as I am aware. Anyway, is this value remembered throughout the whole cog, or just the part of the code it was defined in? Thanks

Variables are global to the cog, and last for the entire duration of the game.

-CogKing


Follow Ups:



Post a Followup

Name:
E-Mail:
Subject:
Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ Jed Messages ]