Hi!
For several of the mechanisms that I want to implement, there is an error message of "name = number at line 15 : K.f.b = 0.168e-03 ...". What can I do to fix this error? Also, if a function is to return no units, do I use empty brackets or no brackets to show that? Please see code below.
Sincerely,
MH
[
UNITS {
(molar) = (mole/litre)
(mM) = (millimolar)
}
PARAMETER {
conc_ca_i = 7.901351e02 (mM)
K.f.b = 0.168e-03 (mM)
N.r.b = 1.0
FUNCTION fb (mM ( )) {
fb = (conc_ca_i / K.f.b) ^ (N.f.b)
}
][/code]
compiling error
-
- Site Admin
- Posts: 6384
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: compiling error
Try closing the PARAMETER block.MH wrote:For several of the mechanisms that I want to implement, there is an error message of "name = number at line 15 : K.f.b = 0.168e-03 ...". What can I do to fix this error?
No. Call it a PROCEDURE. To learn proper NMODL syntax, please see the referencesMH wrote:if a function is to return no units, do I use empty brackets or no brackets to show that?
described here: https://www.neuron.yale.edu/phpBB2/viewtopic.php?t=11