Alternative frams.ini + a bug? 

Hello all CLI users!

I'm using the command line interface a lot (linux) and therefore, the defined macros
in frams.ini were not enough for me. That's why I started writing my own frams.ini
with some additional useful macros. If I'm not the only CLI user, someone might be
interested. :)

You can get a copy here: www.n.ethz.ch/student/herrenj/container/frams.ini

Remember to backup the original frams.ini, just in case you don't like my version.
There is a `help' command, which should guide your way.

--------------------------------------------------------------------------------------

Unfortunatey, I had some problems with framscript. I think it's a bug. The following
sample frams.ini seems to compile to framassembler, but not to machine code.

function init()
{
CLI.addMacro("macro", 2, "command(\"$1\", $2);", "do something");
}
function command(a, b)
{
}

I get the following errors:

VM::asmcompiler [WARN] bad argument: $2);"
VM::asmcompiler [WARN] compile error
FramScriptCompiler::compile [ERROR] assembly error in Command line interface

jlh

Forums: 
Maciej Komosinski's picture

> You can get a copy here: www.n.ethz.ch/student/herrenj/container/frams.ini
>
> Remember to backup the original frams.ini, just in case you don't like my version.
> There is a `help' command, which should guide your way.

you can load your own ini file using the command-line -i switch:

frams -iFilename.ini

MacKo