program parameters

Paul Isaacs <[email protected]> Mon, 16 Jan 2017 14:20:37 -0500
Newsgroups gmane.comp.compilers.gpc
Message-ID <[email protected]>
Hello,

Are program parameters tied in any way to command line parameters?

Is it possible to set BindingType.Name from the command line using a 
program parameter?

program( a ...

var
a  :  bindable Text;
b : BindingType;

begin
  b := Binding( a );
         Bind(  a, b );

where b.Name has been set from the command line.

Thank you,
Paul Isaacs




_______________________________________________
Gpc mailing list
[email protected]
https://www.g-n-u.de/mailman/listinfo/gpc