Read only first word of line from line with $fscanf()

In reply to dave_59:

Hi Dave,

That’s was very much the answer I was looking for, thanks. As you stated backward compatibility issues, is the SystemVerilog LRM committee working with those for the future generation of SystemVerilog? BTW, if trying to import C++ fscanf through DPI, how that should be typed practically, probably something starting with

import "DPI-C" function int fscanf(int fd, string format, ...); // ???
  • Vaino