RE: Euphoria Language Changes

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

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

You wrote on 1/19/02 7:15:16 PM:

>
>If I could get assignment on declaration, the slicing shortcut I
>mentioned in my previous post, trailing comma support for variable
>declarations(this one I could do without), and referenced variables for
>type defines, I would gladly pay another $40 or more to have it. That
>would be enough modifications to warrant commercial distribution I
>think..
>Oh yeah, add support for viewing sliced sequences in the trace facility.
>Is that part of the source? Or would that comprimise the PD
limitations?
>
>Chris

I have modified the source to provide:
1) Variable initialization.
2) String-aware '?' operator
3) Slicing shorthands.
4) Pass by reference.
Next up:  structures (sequences with named elements)
 and dot-notation.

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

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

foo (!!test1, !!test2) -- '!!' invokes pass-by-reference
?test1			-- prints "aoc"
?test2			-- prints "zbt"
?test2[2..]		-- prints "bt"

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