Variable Namespace Best Practice Question

new topic     » topic index » view thread      » older message » newer message

*"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.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu