On Fri, 25 Jun 1999, Ruediger zu Dohna wrote:
(snip)
> I know this is very much to ask for, but i think it would make it a
> hell lot easier to parse xml et.al.
I think that's a whole 'nother can of worms. Current thinking here is
that "parsing" html using scripts is probably the wrong way to go.
Instead we should consider a way to convert it directly into an object
architecture, and access (or edit) it using that, and then convert it
back to a text string if necessary.
>
> Regards
> R�diger
>
> P.S.: Two things i'd like to see in xTalk that are not worth their own thread:
> 1. "the ms" as an abbreviation of "the milliseconds"
Opinions on this? How many times do you think "ms" has been used as a
property or variable or user function out there?
> 2. MetaCard has call-by-reference, but you can not see that in the
> call. One of the great things about C is that you see in the call
> that this variable is to be changed. How about adding the "@" to the
> call as well?
Actually passing things as pointers is pretty much obsolete in C++
where one usually uses references for this. And in that case, you
*can't* tell from the call that it's going to be changed or not
without looking at the function (or at least for a "const" parameter
in the prototype, which makes the problem somewhat easier than in
xTalk). Would it be sufficient to just add this as "syntactic sugar"
and have it stripped off, or must it actually generate an error if
they don't match?
Regards,
Scott
> --------------------------------------------------------------------
> | Ruediger zu Dohna GINIT GmbH 0721-96681-63 [EMAIL PROTECTED] |
> | PGP-Fingerprint: F1 BF 9D 95 57 26 48 42 FE F8 E8 02 41 1A EE 3E |
> --------------------------------------------------------------------
>
********************************************************
Scott Raney [EMAIL PROTECTED] http://www.metacard.com
MetaCard: You know, there's an easier way to do that...