Re: Anyone done anything with the Euphoria Source Code?

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

-------Phoenix-Boundary-07081998-

I now have reference parameters working, as in:

sequence test1 = "abc", test2 = "zot"

procedure foo (sequence s, sequence t)
	object x
	x = s[2]
	s[2] = t[2]
	t[2] = x
end procedure

foo (!!test1, !!test2)
?test1			-- prints "aoc"
?test2			-- prints "zbt"

Now if I can just find some use for them.

Karl Bochert

-------Phoenix-Boundary-07081998---

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

Search



Quick Links

User menu

Not signed in.

Misc Menu