Quick question on flowcharts (1 Viewer)

Whatface

New Member
Joined
Mar 17, 2007
Messages
7
Gender
Male
HSC
2007
In flowcharts if I initailize something in one subprogram, would it carry on to another subprogram?
 

sunny

meh.
Joined
Jul 7, 2002
Messages
5,350
Gender
Male
HSC
2002
Are the subprograms connected in any way in the flowchart? If not, I would reinitialise it anyway to make sure you get your point across.
 

klufs2003

jesus lol
Joined
Nov 10, 2005
Messages
33
Location
Alfords Point
Gender
Male
HSC
2006
Im pretty sure you dont have to, if you define a variable in the main program its a global variable which means it would be used throughout all subprograms, although i think you have to send the variable into the subprogram as a parameter. My mem is a bit dodgy so check ur text on parameters and flowcharts
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top