(C) 1998 AROS - The Amiga Research OS


NAME
#include <>
#include <libraries/commodities.h>
#include <proto/commodities.h>
#include <proto/utility.h>
#include <proto/keymap.h>
#include <devices/inputevent.h>
#include <devices/keymap.h>
#include <string.h>
#include <>

LONG ParseIX (desc , ix )

LOCATION
In CxBase at offset 22

SYNOPSIS
STRPTR desc
IX * ix

FUNCTION
Fill in an InputXpression 'ix' according to the specifications given in the string pointed to by 'desc'.

The string should be formatted according to:

[class] {[-] (qualifier|synonym)} [[-] upstroke] [HighMap|ANSICode]

For more information on this, consult "???/CxParse.doc".

INPUTS
desc
pointer to the string specifying the conditions and codes of the InputXpression.
ix
pointer to an (uninitizlized) InputXpression structure that will be filled according to 'desc'.

RESULT
0 - Everything went OK. -1 - Tokens after end -2 - 'desc' was NULL

EXAMPLE

SEE ALSO
MatchIX(), <libraries/commodities.h>

NOTES

BUGS

INTERNALS

HISTORY
18.07.1999 SDuvan
Finally -- commodities.library