Variable Namespace Best Practice Question
- Posted by euphoric (admin) Jul 25, 2019
- 1150 views
*"Namespace" in Subject line should be "Scope"
Is it better to do this
sequence lines = read_file(myfile) sequence line for t=1 to length(lines) do line = lines[t] ...
or this
sequences lines = read_file(myfile) for t=1 to length(lines) do sequence line = lines[t] ...
When it comes to standard Euphoria programming practice, which is preferred?
I'm concerned mainly with the declaration of the line variable.