append and &

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

Can someone explain the difference between these two statements
-----------------------------
sequence a
a = "a"
for i = 1 to 10
    a = append(a,"a")
end for
----------------------------
sequence a
a = "a"
for i = 1 to 10
    a = a & "a"
end for
----------------------------

I'm having some conceptual confusion with results from above as compared
with 'vectors', 'matrices' from prior languages.


george

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

Search



Quick Links

User menu

Not signed in.

Misc Menu