variable string def

  1. Mashiane

    B4J Question [BANAno] [SOLVED] Is it possible to use a variable string to specify an event?

    Hi For .AddEventListener and .CallBack, is it possible to specify the event from a string? For example 'add an event Sub AddEvent(module As Object, eventType as string) 'define the method to be called Dim sEvent as string = $"game_${eventType}"$ Dim e as BANanoEvent 'define the callback Dim...
Top