- adime_double2string
- adime_evaluate
- adime_scancode_to_pretty_name
- adime_scancode_to_short_name
- adime_short_name_to_scancode
- adime_udouble2string
- adime_uevaluate

Helper function for evaluating arithmetic expressions, which may be useful in your programs even though it isn't really logically connected to the other functions (i.e. it's not a gui function). It evaluates the provided equation, returning the result, and storing a nonzero value in

adime_uevaluate.See also:

Like `adime_evaluate()', but tweaked to fit Adime's purposes better: It silently accepts an empty string without error (being equivalent to "0"), it supports Unicode and it gives an error if the result is NaN.

adime_evaluate.See also:

Function for pretty-printing floating point numbers: The number gets at most 10 digits to the left of the decimal point, at most 9 to the right of it, and at most 10 totally. If the absolute value of the number is >= 10000000000 or < 0.000001, it is written in exponential form instead. Exponential form has at most 6 digits in the mantissa, so that the total number of digits never exceeds 9. Does not support Unicode.

adime_udouble2string.See also:

Unicode-aware version of `adime_double2string()'.

adime_double2string.See also:

Converts a keyboard scancode to a string. The string is exactly the text after

adime_scancode_to_pretty_name, adime_short_name_to_scancode.See also:

The result from `adime_scancode_to_short_name()' is sometimes an abbreviation and may contain underscores. You may want to use this function instead if you are going to display the result for the user: it returns more user-friendly strings.

adime_scancode_to_short_name, adime_short_name_to_scancode.See also:

Given the name for a key as a string (in the format given by `adime_scancode_to_short_name()'), this function returns the scancode for the key, or -1 if the string doesn't represent any known scancode.

adime_scancode_to_short_name, adime_scancode_to_pretty_name.See also:

Back to Contents