Was this page helpful?

DekiScript Operators

    Table of contents
    No headers

    DekiScript Developer Documentation

    Home    Beginner's Guide    Tutorials/Samples/FAQ    Reference

    DekiScript provides the following set of operators.

    Operator Category Operators
    Arithmetic +, -, *, /, %
    Logical ||, &&, !
    Relational ==, !=, ===, !==, <, <=, >=, >
    Conditional ?:, ??
    Concatentation ..
    Function Invocation f(x), f{x}, .
    Type Information is, typeof
    Indexing []
    Length #
    String Interpolation %

      

    The list below indicates operator precedence from lowest (left) to highest (right). Operators in the same level have equal precedence and are evaluated in the given order in an expression, unless explicitly forced by parentheses.

    ?: ?? || && !=, ==, !==, === <, >, <=, >=, is .. +, - *, /, % !, typeof, # [], f(x), f{x}, .
    Was this page helpful?
    Tag page
    Viewing 2 of 2 comments: view all
    Also, operators 'in', 'not in' and 'is not' introduced in 9.02 and not yet documented here - but you can read about them here: http://developer.mindtouch.com/DekiScript/Tutorials/What%27s_New_in_DekiScript_for_MindTouch_Deki_9.02_%22Lyons%22
    Posted 20:25, 24 Sep 2009
    also i see the % operator in an example steve did recently. and its not here. What would that be catagorized, concatination, or substitution operator? here is an example. Not sure when it was implemented "$something $there " % { there : "hello" , something : 2 }
    Posted 13:55, 11 Jun 2010
    Viewing 2 of 2 comments: view all
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by