Macro and With on the same line

Post bugreports for the Windows version here
Joubarbe
Enthusiast
Enthusiast
Posts: 731
Joined: Wed Sep 18, 2013 11:54 am
Location: France

Macro and With on the same line

Post by Joubarbe »

Original topic: viewtopic.php?t=88011

Code: Select all

Enumeration BUTTON
  #_BUTTON_LEFT
  #_BUTTON_MIDDLE
  #_BUTTON_RIGHT
EndEnumeration
Macro TYPE_BUTTON : i : EndMacro

Structure _Mouse
  button.i
EndStructure

Global mouse._Mouse

Procedure IsPushed(button.TYPE_BUTTON) : With mouse
  
EndWith : EndProcedure