Here are differences between Interpreter and HyperCard. These are the
planned ones; these are here by design. Does anyone think they will be a
major problem?

Additional constants:

        e [anyone have a better character for this?] 2.718281828459
                // anyone have a better e? I tried to generate one with
                // (1+1/big_number)^(big_number) but HC underflowed...
        newline -- proper newline sequence for host OS (CR, LF, or CRLF)
        backspace -- ASCII code for backspace character (we call it
                delete on the Mac, but that's a keyword)

Problematic constants:

        What to do about 'return'! It's a problem because it is a keyword AND
        a constant. Presently, at the beginning of the line it is the keyword
        and anywhere else a constant.

        Note: HyperCard defines return as ASCII 13, and thus so does OC.

Slightly different constants:

        In HyperCard, pi is a string. In OpenCard, pi is a real.


Limits:
Item                                    HyperCard               Interpreter
Maximum nested repeats                  32                      -
Active variables                        512                     *
Maximum variable name size              31                      -
Maximum script size                     30,000                  -



*presently 64, but will be unsigned LongInt (~ 4 billion) by release.

Reply via email to