Search found 1 match

by jbeard
Mon Feb 18, 2019 11:46 am
Forum: Getting started
Topic: How to read multiple data values into an array
Replies: 1
Views: 982

How to read multiple data values into an array

I am rather new to the hoc programming language, and I was wondering how I can assign a list of values to an array all in one go. For example, I want to assign various neuron lengths to a variable length_neuron, so I think I want something like this: double length_neuron[3] length_neuron = {40, 56, ...