Ticket #5 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Enhance the #if directive

Reported by: chris Assigned to: somebody
Priority: normal Milestone:
Component: airspeed Version: 1.0
Severity: normal Keywords: if
Cc:

Description (Last modified by chris)

identified by kjssmz@yahoo.co.jp Currently able to do the following :-

#if ($me) - me can be nil
#if ($me \|| $you) - me and you MUST be assigned a boolean. Same with &&
#if ($me == $you) - equality also others i.e. > < <= >= stuff.

Want to be able to do:-

#if ($me && $you != $me) - where $me may be null or a non boolean value. e.g. $me = 'Chris' and $you = 'Steve'

Change History

21/09/05 23:07:07 changed by chris

  • description changed.

22/09/05 10:17:16 changed by steve

  • status changed from new to closed.
  • resolution set to fixed.

As of [47], [48] and [49], this ticket is mostly resolved. Boolean interpretation of values is now done correctly, but operator precedence is not implemented -- compound logical expressions must be grouped explicitly using parentheses. I will close this ticket and open a new one for the operator precedence issue.