On Tue, Mar 4, 2025 at 01:53 PM, Tony Casey wrote:
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.
Even if this did work, I have hundreds of instances like this. It's a lot less pain to stick with 24.0.12.
Sorry, that was a misunderstanding. The above syntax was a proposal for a future change. This is about a compromise. The old way can't come back. I'm open for suggestions.
And modifying all those netlists could be done in one go with grep. (Or much better, with
?
Best Regards,
Mathias
?