Zesstra | 953f997 | 2017-02-18 15:37:36 +0100 | [diff] [blame^] | 1 | |
| 2 | QueryGramsPerUnits() |
| 3 | ******************** |
| 4 | |
| 5 | |
| 6 | FUNKTION |
| 7 | ======== |
| 8 | |
| 9 | int *QueryGramsPerUnits(); |
| 10 | |
| 11 | |
| 12 | DEFINIERT IN |
| 13 | ============ |
| 14 | |
| 15 | /std/unit.c |
| 16 | |
| 17 | |
| 18 | ARGUMENTE |
| 19 | ========= |
| 20 | |
| 21 | keine |
| 22 | |
| 23 | |
| 24 | BESCHREIBUNG |
| 25 | ============ |
| 26 | |
| 27 | Liefert das Gewichtsverhaeltnis fuer die Einheiten zurueck. |
| 28 | |
| 29 | |
| 30 | RUeCKGABEWERT |
| 31 | ============= |
| 32 | |
| 33 | Ein Array von zwei Zahlen. Die erste Zahl ist das Gewicht der in der |
| 34 | zweiten Zahl angegebenen Einheiten. |
| 35 | |
| 36 | |
| 37 | BEISPIELE |
| 38 | ========= |
| 39 | |
| 40 | Steht im Unit-Objekt folgende Gewichtszuweisung: |
| 41 | |
| 42 | SetGramsPerUnits(4,1); |
| 43 | |
| 44 | so liefert QueryGramsPerUnits() als Ergebnis ({4, 1}). |
| 45 | |
| 46 | |
| 47 | SIEHE AUCH |
| 48 | ========== |
| 49 | |
| 50 | SetCoinsPerUnits(), QueryCoinsPerUnits() SetGramsPerUnits(), |
| 51 | /std/unit.c |
| 52 | |
| 53 | Last modified: Wed May 8 10:22:39 1996 by Wargon |