User Tag List

Results 1 to 7 of 7

Thread: What's "$"?

  1. #1
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jul 2006
    Location
    Pittsburgh, PA, USA
    Posts
    777
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    What's "$"?

    What does "$" mean in programming? I'm starting to see it in the world very often. I think it signifies some sort of reference, but I'm not sure. I can't search for it because it is a code. Can comeone help?

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: What's "$"?

    Well... in MMF's case it's used to signify a string as opposed to a value. Early programming languages also did this (meaning that I still habitually call the dollar sign "string" now).

    But in object-oriented languages that denote types differently, the $ symbol has been made unnecessary. In PHP, its use has changed to mark variable names instead.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jul 2006
    Location
    Pittsburgh, PA, USA
    Posts
    777
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: What's "$"?

    Ok, thanks. That's all I needed to know.

  4. #4
    No Products Registered

    Join Date
    Sep 2006
    Location
    Italy
    Posts
    31
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: What's "$"?

    in php is the first char of variable $var = 10;
    In other language and MMF Expression editor $ stay for "String".
    Str$ return a number in string format.
    Bin$ return a number in binary string format (0b10101010)

  5. #5
    No Products Registered

    Join Date
    Jan 2007
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: What's "$"?

    Does anyone know if there an index or help file somewhere for all these special symbols and variables you can use in the Expression editor?

    JT

  6. #6
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on
    LIJI's Avatar
    Join Date
    Jun 2006
    Location
    Israel
    Posts
    1,175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: What's "$"?

    Note that not all string expressions ends with a $.
    The $ is optional but widely used for string expressions in MMF.
    When making an extension all of these names for an expression will be legal for both number and string expressions:
    String$(
    Var$(
    String(
    Val(
    My$Expression$(
    MyExpression(
    My$Expression(

  7. #7
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module
    Tiles's Avatar
    Join Date
    Jun 2006
    Posts
    1,359
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: What's "$"?

    Most of this symbols appears automatically by retreiving the expression from another object. So in most cases there is no need to manually insert them.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •