On Monday, 4 September 2017 at 09:22:25 UTC, Vino.B wrote:
Output :
1
2
["C:\\Temp\\TEAM1\\BACKUP", "C:\\Temp\\TEAM2\\ARCHIVE"]
Required Output:
Test1 = 1
Test2 = 2
Path = ["C:\\Temp\\TEAM1\\BACKUP", "C:\\Temp\\TEAM2\\ARCHIVE"]
From,
Vino.B
If you just need it to be displayed then you can add
On Monday, 4 September 2017 at 09:22:25 UTC, Vino.B wrote:
Thank you very much, i have used your idea and was able to
resolve, and i need one more favor. the below code outputs the
value but i need the name of the variable + value as below.
Output :
1
2
["C:\\Temp\\TEAM1\\BACKUP", "C:\\Temp\
On Monday, 4 September 2017 at 07:40:23 UTC, crimaniak wrote:
On Monday, 4 September 2017 at 07:27:12 UTC, Vino.B wrote:
Hi,
Can you help me in how to return multiple values from a
function, the below code is throwing an error as below
import std.stdio: writeln;
import std.typecons: tuple,
On Monday, 4 September 2017 at 07:27:12 UTC, Vino.B wrote:
Hi,
Can you help me in how to return multiple values from a
function, the below code is throwing an error as below
import std.stdio: writeln;
import std.typecons: tuple, Tuple;
Tuple!(int, string[]) Params () {
return tuple(1, [