I wrote a C plugin that I can call using this code:
Code:
program r
  preserve
  version 14.2
  syntax varlist(min=1 max=10) [if] [in], k(string)
  plugin call riemann `varlist', "`k'"
end
qui program riemann, plugin using ("riemann.plugin")r w a s d, k("my string")
I would prefer the syntax to be as such:
r "my string" w a s d
What are/would be the modifications to the program above to support this syntax, which I think is much more readable.
Thank you for reading
0 Response to C plugin arguments
Post a Comment