Skip to main content

query_amount

Discworld cont_medium help

query_amount

Name

query_amount - The amount of this stuff.

Syntax

int query_amount();

Description

Returns the amount of the stuff in question. This is the number of things of the continuous medium.

Eg: If you had 20 marbles and marbles were handled as a continuous medium, this would return 20.

See also

set_amount, set_weight_unit, adjust_amount, pile_size, amount_size, query_weight_unit