ternary

  1. H

    Question - Code [SOLVED... AGAIN] Ternary operations don't work in macros. Bug? No. Answer in post

    I tried to make a simple one liner singleton macro #macro IMGUI instance_exists(imgui) ? instance_find(imgui,0) : instance_create_layer(0,0,"Instances",imgui) But for some reason this doesn't work. Do ternary operations not work for macros or does this have something to do with the instance...
Top