necpp
necpp copied to clipboard
parsing nec cards:: comment character
i usually use other programs like 4nec2 and in the input files it treats the single quote character as the beginning of a comment in a line and ignores it so you can document the command.
i'm going to hack the parser and either use the single quote or maybe the # character like bash
{code} SY hgh=20 ' Height SY len=20 ' Wire length SY ang=110 ' Angle between sloping wires SY Z=len_cos(ang/2), X=len_sin(ang/2) ' Get delta-Z and -X distances {\code}