This #endif Does Not Have a Matching #If Preceding It Error

An #If statement was omitted from an #if...#endif structure.


Example

The If statement in this example should be #If.

If TargetMacOS then
  Beep
#endif

See Also

#If statement.