15.09.2010, 20:34
(
Last edited by LarzI; 29/09/2010 at 12:44 PM.
)
I just made this tutorial real quick, as people tend do not using their brain when they ask what certain functions do.
I'll do a quick example of what this "tutorial" is about:
floatsqroot, for an example, is a function many don't know what does.
Well, if you did know the "full name", then you might know.
And by full name, I mean "Float Squareroot".
Credits:
[XST]O_x
Vince (For noticing a flaw)
Kyosaur
Y_Less (For correcting a huge mistake)
______________________
So yeah, here's a small list:
Other's are free to reply with more examples in this list, then I'll edit and put it on the bottom of the list
And please no whining or trolling, it can actually be useful c:
I'll do a quick example of what this "tutorial" is about:
floatsqroot, for an example, is a function many don't know what does.
Well, if you did know the "full name", then you might know.
And by full name, I mean "Float Squareroot".
Credits:
[XST]O_x
Vince (For noticing a flaw)
Kyosaur
Y_Less (For correcting a huge mistake)
______________________
So yeah, here's a small list:
Code:
strtok = String Token(s) strlen = String Lenght strpack = String Pack (pack a string) strunpack = String Unpack (obvious) strcat = String Concatenation strins = String Insert strdel = String Delete strcmp = String Compare strfind = String Find strval = String to Value (integer) valstr = Value (integer) to String memcpy = Memory Copy strmid = String Middle = Extraction of certain ranged characters from a string. ispacked = Is String Packed = Checks if a string is packed or not
Code:
floatstr = String to Float floatmul = Float Multiply (*) floatdiv = Float Divide (/) floatadd = Float Add (+) floatsub = Float Substract (-) floatround = Float Round floatcmp = Float Compare floatsqroot = Float Squareroot floatpower = Float Power //Thanks, Y_Less floatlog = Float Logarithm floatsin = Float Sine floatcos = Float Cosine floattan = Float Tangent floatfract = Float Fraction = Return a fractional portion of a float. //By kc. floatabs = Float Absolute = Getting an absolute of a float. // Example: the float absolute of -1 and the float absolute of 1 are equal.
Code:
asin = arcsine acos = arccosine atan = arctangent atan2 = arctangent2 (variation of the first with 2 params)
And please no whining or trolling, it can actually be useful c: