ToggleFlag
ToggleFlag

Toggles the specified flag

bSuccess = myClass.ToggleFlag( index )

Return value
TRUE if the flag was changed successfully, otherwise FALSE.

Parameters
  • index
    Index of the flag to change
Comments

If the flag is on, this will turn it off, and if it is off, this will turn it on.

See also
Class:SetFlag
Class:SetFlagOn
Class:SetFlagOff
Class:IsFlagOn
Class:IsFlagOff
Class:SelectFlag



JAM © 2005 no one in particular
Project started by David Evans in 2005