[Implemented] String comparision for CompilerIf

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

[Implemented] String comparision for CompilerIf

Post by Trond »

Code: Select all

CompilerIf "String" = "Ping"

CompilerEndIf
It would be useful for multi-purpose (template-like, but with customized behaviour in certain situations inside the macro) macros.