Greetings.
Either I don't understand the purpose of the console, but it seems to me that it is defunct. Here is what I can do:
1. Create a variable:
Here is what I can't do:
1. Use some of the Squirrel built-in functions:
> getconsttable()
AN ERROR HAS OCCURED [the index 'getconsttable' does not exist]
CALLSTACK
*FUNCTION [main()] ScriptConsole line [1]
LOCALS
[this] TABLE
AN ERROR HAS OCCURED [the index 'getconsttable' does not exist]
CALLSTACK
*FUNCTION [main()] ScriptConsole line [1]
LOCALS
[this] TABLE
> ::getconsttable()
2. Get returns from the other built-in functions:
> this.tostring()
> this.len()
3. Use any Code::Blocks binding:
> Log(_T("message"));
AN ERROR HAS OCCURED [the index 'Log' does not exist]
CALLSTACK
*FUNCTION [main()] ScriptConsole line [1]
LOCALS
[this] TABLE
AN ERROR HAS OCCURED [the index 'Log' does not exist]
CALLSTACK
*FUNCTION [main()] ScriptConsole line [1]
LOCALS
[this] TABLE
> GetProjectManager()
AN ERROR HAS OCCURED [the index 'GetProjectManager' does not exist]
CALLSTACK
*FUNCTION [main()] ScriptConsole line [1]
LOCALS
[this] TABLE
AN ERROR HAS OCCURED [the index 'GetProjectManager' does not exist]
CALLSTACK
*FUNCTION [main()] ScriptConsole line [1]
LOCALS
[this] TABLE
At this state, the console is clearly useless; there is little fun in setting variables without being able to query their values, lest use them elsewhere. Am I missing something, or is it just not working. I'm using the latest official binary (17.12) @ Windows 7 x86.
Thank you in advance for any info you can provide!
Upd.: something I did in the Console disrupted the whole Code::Blocks environment: after meddling with it I'd become unable to perform script-driven actions, like adding new files (until I restarted the IDE).
Upd.:Upd.: I have probably tried to use 'clear()' to clear the console output. Instead, it must have devoid the Root Scope of all variables and rendered the whole IDE defunct. That call must have been the cuse of the malfunction. I still appreciate any useful info on working with the console, as Internet searches typically yield next to nothing on the subject.