On 04/03/2025 13:14, Mathias Born via
groups.io wrote:
Yes, this won't work anymore. Prior versions pre-process the
input and replace the .include line with the contents of the
included file and then parse everything all over again. 24.1 is
very different, it doesn't accept a top-level directive in the
middle of something.
But you don't actually need such general behavior, all you
want is to load data from another file, and that's certainly
useful. How about extending the table syntax:
?
B1 1 2
I=table(V(3,4), "BC848B_Ic_Vce_400u.inc")
No, that doesn't work, either, in any version.
U:\Simulations\LTspice\Modelling_Bipolar\BC847_BC857\OP_Characteristic_rounding.net(17):
Invalid number of arguments.
B1 1 2 I=table(V(3,4) "BC848B_Ic_Vce_400u.inc" )
?????????????? ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
With or without a comma between "V(3,4)" &
"BC848B_Ic_Vce_400u.inc" the same error results. Doesn't look like
the file is being included.
Even if this did work, I have hundreds of instances like this. It's
a lot less pain to stick with 24.0.12.
--
Regards,
Tony