This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CODECOMPOSER: GEL check if symbol exists

Part Number: CODECOMPOSER

Tool/software:

Hi

In the GEL language is there a way to detect if a symbol is defined or not?

pseudo code example: 

OnHalt()
{
    if( defined( myMain ) )
    {
        GEL_Go(myMain):
    }
    else
    {
        GEL_Go(main);
    }
{

  • I checked with engineering and this is not really possible. If a non-existent symbol is referenced, the GEL execution will simply fail and abort. There is no wat to handle the failure or to check if the symbol exists.

    Thanks

    ki