Faculty of Engineering and Mathematical Sciences 
Not logged in (login)

help4407


This forum is provided to promote discussion amongst students enrolled in Open Source Tools and Scripting (CITS4407).
 
Options:
RSS cloud
Jump to:

Returning Multiple Values: string manipulation vs global variables vs alternatives.

1 of 390 articles shown, currently no other people reading this forum.
photo
From: Christopher M.
Date: Tue 26th May 2020, 5:44pm
Actions: 
        Login-to-reply

 

"Lee de Byl" <10*0*8*[email protected]*u*e*t*u*a*e*u*a*> wrote:

> Thanks Chris, that's the approach I've ended up taking. It just seemed wasteful concatenating variables into strings, 
> then deconstructing them again in the receiver, particularly where forks are involved.

Sounds good.
By 'forks involved', do you mean running the external processes, spawned by bash?

Related articles

Returning Multiple Values: string manipulation vs global variables vs alternatives. (all 6) RSS
├─ original   Mon 25th May 2020, 12:09pm, Lee dB.
├─ reply 1   Tue 26th May 2020, 7:53am, Christopher M.
├─ reply 2   Tue 26th May 2020, 1:49pm, Lee dB.  O.P.
├─ THIS   Tue 26th May 2020, 5:44pm, Christopher M.
├─ reply 4   Mon 1st Jun 2020, 9:23am, Lee dB.  O.P.
└─ reply 5   Mon 1st Jun 2020, 11:15am, Christopher M.
This Page


Program written by: [email protected]
Feedback welcome
Last modified:  2:34pm Sep 18 2020