Knowledge Base

Blog Faq400

Who’s calling my program ?

blog
Last Updated on 8 April 2020 by Roberto De Pedrini In some cases, in an RPG program it may be necessary to run different logic depending on the function that called it. Usually we manage this behavior by passing an appropriate parameter to the program, but for programs that act very “in depth”, the call stack can be quite long and have multiple levels; in this case it is necessary to make sure that a parameter set by the first program is correctly propagated down to last program. Another solution is to know if the current program has been called by another program, directly or in the call stack; in this way, depending on the caller, the appropriate logics can be performed. …

Riservato agli iscritti

Per leggere l'articolo completo serve un account Faq400: è gratuito e ti dà accesso anche a Willi, l'assistente AI, e a tutta la Knowledge Base.

Prova a chiederlo a Willi

Willi, l'assistente AI della community, risponde a queste domande usando questo articolo e le altre fonti Faq400. È gratuito: iscriviti e ricevi subito la risposta.

Chi legge questo, legge anche