Hi,
I might be missing something important, but int() function did not work in mod file, actually made an compilation error.
Is there anyone who knows how to use int() in mod file or alternative functions to cast the double to integer?
Thanks a lot.
int() in mod file
-
- Site Admin
- Posts: 6299
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: int() in mod file
Copy this document to your machine
http://www.neuron.yale.edu/ftp/ted/neur ... opman.html
and examine it with a www browser to find a list of the C math library functions available to NMODL without having to resort to VERBATIM blocks.
http://www.neuron.yale.edu/ftp/ted/neur ... opman.html
and examine it with a www browser to find a list of the C math library functions available to NMODL without having to resort to VERBATIM blocks.
Re: int() in mod file
Thanks so much Ted,
I have tried to access to the file (scopman.html) several times but I have got below message from your sever.
" You don't have permission to access /ftp/ted/neuron/scop/scopman.html on this server."
Can you check this issue out for me?
Thank you.
I have tried to access to the file (scopman.html) several times but I have got below message from your sever.
" You don't have permission to access /ftp/ted/neuron/scop/scopman.html on this server."
Can you check this issue out for me?
Thank you.
-
- Site Admin
- Posts: 6299
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: int() in mod file
Download that file to your machine, then examine it on your machine.Copy this document to your machine
http://www.neuron.yale.edu/ftp/ted/neur ... opman.html
To download it, I simply right click on the link, then select
"Save link as"
from the popup menu, but I'm using Firefox. What you need to do will depend on what browser you're using.
--Ted
Re: int() in mod file
I am so sorry, but I am not quite sure why it can not be downloaded and the same error message is repeated even in using Firefox. If you do not mind could you please send me the file via email. My email address is "h-kim@northwestern.edu". Thank you so much.
Hojeong
Hojeong
-
- Site Admin
- Posts: 6299
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: int() in mod file
Ah! A file permissions problem. Sorry about that; fixed now. You should be able to read the document online and download it to you PC without difficulty.