User forums > Using Code::Blocks

dofile from squirrel

(1/1)

BlueHazzard:
Hello, it is late her, so i might have missed it, but is the "dofile" command from squirrel enabled in c::b?
if i type it in the script console i get

--- Code: ---AN ERROR HAS OCCURED [the index 'dofile' does not exist]
--- End code ---

i thought c::b uses squirrel 2.2
http://www.squirrel-lang.org/doc/sqstdlib2.html
and there dofile exists. Is the stdlib not loaded in c::b?
if not: why not?
why yes:
I discovered that the variable expansion (and the script execution) is enabled in Tools+ Plug-in. This is great, but in the little textctrl of the tool command it is difficult to write a nice script, it would be great to call a script from there with "dofile()"

good night everybody in CET

Navigation

[0] Message Index

Go to full version