News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

dofile from squirrel

Started by BlueHazzard, June 13, 2013, 01:00:57 AM

Previous topic - Next topic

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
AN ERROR HAS OCCURED [the index 'dofile' does not exist]

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