[messages] [Developers] Re: Roadmap for VASSAL 4
mkiefte at dal.ca
Tue Mar 29 11:22:14 MST 2011
> standalone language, but is designed for easy embedding in other products
> and applications, such as web browsers.
> to declare all variables, classes, and methods. You do not have to be
> concerned with whether methods are public, private, or protected, and you do
> not have to implement interfaces. Variables, parameters, and function return
> types are not explicitly typed.
> In expressions involving numeric and string values with the + operator,
> following statements:
> 1x = "The answer is " + 42 // returns "The answer is 42"
> 2y = 42 + " is the answer" // returns "42 is the answer"
> numeric values to strings. For example:
> 1"37" - 7 // returns 30
> 2"37" + 7 // returns "377"
> to a variable declared later, without getting an exception.
> interprets the array each time it evaluates the expression containing the
> array literal. In addition, a literal used in a function is created each
> time the function is called.
That's just the from first three pages. I'm actually going to learn
it kind of reminds me of MATLAB or perl -- not something that you'd want to
do a really big project in. (However, I have done really big projects in
MATLAB and they're a nightmare to debug).
On 28 March 2011 09:35, Joel Uckelman <uckelman at nomic.net> wrote:
> Thus spake Michael Kiefte:
> > Hi Joel,
> > Why did you comment out mapZoom(e)?
> Uncomment it and see. :)
> I couldn't get it to work well enough using CSS scaling to be usable.
> I had a third idea which I ran out of time to try, which is to do
> everything inside of SVG, where you've got (presumably) better-
> supported scaling and rotation. Since SVG is part of the DOM, it
> wouldn't be much different from the code you're looking at.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the messages