Frank Hrebabetzky
2004-12-01 22:44:45 UTC
I don't know whether this is the place for Zonnon questions, but for
lack of alternatives I give it a try.
I want to access command line arguments and tried:
...
import System.Environment as Env,
System.String as Str;
var par: array * of Str;
begin
par:= Env.GetCommandLineArgs();
...
The compiler responds:
Types 'ARRAY[] OF String' and 'String[]' are not assignment
compatible
The result type of Env.GetCommandLineArgs() in C# notation is
public static string[]
So what would be the correct way?
--
Frank
lack of alternatives I give it a try.
I want to access command line arguments and tried:
...
import System.Environment as Env,
System.String as Str;
var par: array * of Str;
begin
par:= Env.GetCommandLineArgs();
...
The compiler responds:
Types 'ARRAY[] OF String' and 'String[]' are not assignment
compatible
The result type of Env.GetCommandLineArgs() in C# notation is
public static string[]
So what would be the correct way?
--
Frank