int aw_bool (AW_ATTRIBUTE a)


aw_bool queries the value of a boolean attribute. A return value of 1 indicates TRUE, and 0 indicates FALSE.

Example

if (aw_bool (AW_WORLD_ALLOW_FLYING))
  printf ("Flying is allowed in this world\n");
else
  printf ("Flying is not allowed in this world\n");

SEE ALSO

aw_bool_set
aw_int
aw_int_set
aw_string
aw_string_set



Active Worlds™ is a trademark of Activeworlds Inc. Questions or problems regarding this product should be posted to the newsgroup news://news.activeworlds.com/sdk. Problems with this web page should be reported to the author.

Copyright © 1998-2008 Activeworlds Inc. All rights reserved.