If you want to edit the content file of Brian 2 first take a look at the description for V1 here.
Following some syntax changes are listed due to changing the programming language (form Java to JavaScript).
- all mathematical functions need to be called by their JS name, that is "Math.(funtion name)"
- lists of commands need to be separated by a semicolon (was comma in V1)
- the common logarithm is called "comlog" now
- all kinds special characters incl. german "Umlauts" are allowed
- to protect editing of input fields edit="no" is necessary (was edit="false")
- conversion between decimal, hexadecimal and binary works with more then 8 bits
- the attribute "descr" for text pages is gone
back