Inform - Support - Source

Back to List

Inventory
Complete

Backward
Forward

Plain
Coloured
Gaudy

This code
in plain text

Browsing parserm.h

GetGender (lines 3487-3494)

3487  !  GetGender returns 0 if the given animate object is female, and 1 if male
3488  !  (not all games will want such a simple decision function!)
3489  ! ----------------------------------------------------------------------------
3490   
3491  [ GetGender person;
3492     if (person hasnt female) rtrue;
3493     rfalse;
3494  ];


Last updated 27 February 2004. This site is no longer supported; information may be out of date.
Maintained as a historical archive by the Interactive Fiction Technology Foundation. Copyright 1993-2018 IFTF, CC-BY-SA unless otherwise noted.
This page was originally managed by Graham Nelson (graham@gnelson.demon.co.uk) assisted by C Knight.