Powered by Invision Power Board

 
    Reply to this topicStart new topicStart Poll

> MMF2 expression help
United States
DR. Demon Lizardman
Posted: Aug 6 2008, 04:12 PM
Quote Post


No comment
[*][*][*][*][*]


Group Icon
Group: Members
Posts: 8438
Member No.: 2995
Joined: 28-November 06

Status: (0d) [--]


Yeah, the expression formulas are confusing as ****. I really want a good tutorial to understand them all.


--------------------
For best ref of all, check this one out, thanks Ashura.
QUOTE
Ashura please don't tell me you've done what I think you've done
PMEmail Poster
Top
United States
Xgoff
Posted: Aug 6 2008, 04:16 PM
Quote Post


<):|
[*][*][*][*][*]
[*][*]

Group Icon
Group: Members
Posts: 52341
Member No.: 24
Joined: 13-October 03

Status: (0d) [--]


so... are you referring to the expression dialogs or to the actual functions inside the expressions


--------------------

This post may contain original research or unverified claims.
Please disregard the above information and contact an administrator.

DISCLAIMER: by sending me (xgoff) a private message, you agree to the directives and their terms specified henceforth:
DIRECTIVE 1 (APPLE): i may or may not reply promptly or at all; and there are no guarantees to the usefulness of the reply. i may not acknowledge whether i have even received your private message
DIRECTIVE 2 (CHILE CON CARNE): as per my view, "private" applies only to the initial transaction, and the material of your message may or may not be made public at my discretion; as this will more than likely be a post in the CCC or IRC, you may not be able to view it
DIRECTIVE 3 (FEATHER DUSTER): you must address me (xgoff) as "Sir Master Xgofficus his Highest and Most Awesome the Third"; failure to comply with this term may invoke one or both of the above directives, and i will leave a burning bag of **** on your doorstep
DIRECTIVE 4 (BOOTSTRAP): if you have read this disclaimer, please private message me promptly, in compliance with the above terms, so i can ensure you are capable of following directions you idiot
this concludes the test of the emergency disclaimer system, your scheduled programming will now continue. satisfaction guaranteed, and 100% cash back available under certain circumstances; restrictions may or may not apply within your place of residence
NOTICE: these directives and their terms may change at any time, without notice; as a private message transaction to myself assumes an understanding and full compliance of the above, you should ensure you are fully aware of the above terms at any point before sending a private message; any message received is assumed to have been sent in compliance with the above

QUOTE
(5:25:58 PM) Mikau: xgoff
(5:26:00 PM) Mikau: guess what
(5:26:04 PM) Xgoff: chicken butt
(5:26:09 PM) Mikau: **** you
PMEmail PosterUsers WebsiteAOLMSN
Top
United States
DR. Demon Lizardman
Posted: Aug 6 2008, 04:23 PM
Quote Post


No comment
[*][*][*][*][*]


Group Icon
Group: Members
Posts: 8438
Member No.: 2995
Joined: 28-November 06

Status: (0d) [--]


Well, both of them actually.


--------------------
For best ref of all, check this one out, thanks Ashura.
QUOTE
Ashura please don't tell me you've done what I think you've done
PMEmail Poster
Top
United States
Xgoff
Posted: Aug 6 2008, 04:54 PM
Quote Post


<):|
[*][*][*][*][*]
[*][*]

Group Icon
Group: Members
Posts: 52341
Member No.: 24
Joined: 13-October 03

Status: (0d) [--]


well it'd be hard to "explain them all" in regards to the functions because there are a ****ton, especially if you bring extensions into the picture... but i'll attempt to explain how it works though it may not be entirely or at all what you're looking for

anyway, MMF only has two native datatypes, strings and numbers (objects technically have "flags" which behave like booleans but are still numbers). MOST of the time (there are a few exceptions), you can tell which functions return strings as they'll have a '$' somewhere in the function name (and their menu entry will usually allude to it, such as "Get Name" or something); number returns won't have any special symbols

basically, the expression editor will ***** at you if you don't give it what it wants; actions that expect a number (will contain a 0 by default) will say something like "enter an numeric expression" while actions wanting a string (default will be "") will be "enter an alphanumeric expression"

you can't have mixed strings and numbers; if you need, for example, to set a string to something like: "Player X pos: 0", you'll have to convert the number into a string with str$(), so you'd end up with this as an expression: "Player X pos: " + str$(X("Player"))

sometimes strings can be converted to numbers using val(), but that's less common

basically, just play with it for a while and it'll make sense. the "Retrieve data from object" button is your friend


--------------------

This post may contain original research or unverified claims.
Please disregard the above information and contact an administrator.

DISCLAIMER: by sending me (xgoff) a private message, you agree to the directives and their terms specified henceforth:
DIRECTIVE 1 (APPLE): i may or may not reply promptly or at all; and there are no guarantees to the usefulness of the reply. i may not acknowledge whether i have even received your private message
DIRECTIVE 2 (CHILE CON CARNE): as per my view, "private" applies only to the initial transaction, and the material of your message may or may not be made public at my discretion; as this will more than likely be a post in the CCC or IRC, you may not be able to view it
DIRECTIVE 3 (FEATHER DUSTER): you must address me (xgoff) as "Sir Master Xgofficus his Highest and Most Awesome the Third"; failure to comply with this term may invoke one or both of the above directives, and i will leave a burning bag of **** on your doorstep
DIRECTIVE 4 (BOOTSTRAP): if you have read this disclaimer, please private message me promptly, in compliance with the above terms, so i can ensure you are capable of following directions you idiot
this concludes the test of the emergency disclaimer system, your scheduled programming will now continue. satisfaction guaranteed, and 100% cash back available under certain circumstances; restrictions may or may not apply within your place of residence
NOTICE: these directives and their terms may change at any time, without notice; as a private message transaction to myself assumes an understanding and full compliance of the above, you should ensure you are fully aware of the above terms at any point before sending a private message; any message received is assumed to have been sent in compliance with the above

QUOTE
(5:25:58 PM) Mikau: xgoff
(5:26:00 PM) Mikau: guess what
(5:26:04 PM) Xgoff: chicken butt
(5:26:09 PM) Mikau: **** you
PMEmail PosterUsers WebsiteAOLMSN
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

  Topic Options Topic Options Reply to this topicStart new topicStart Poll

 




[ Script Execution time: 0.0512 ]   [ 13 queries used ]   [ GZIP Enabled ]   [ Server Load: 0.17 ]