![]() |
|
Can a small program be called inside another larger program as a subroutine/function - Printable Version +- FindingFive Discussion Forum (http://discuss.findingfive.com) +-- Forum: Researchers (http://discuss.findingfive.com/forumdisplay.php?fid=3) +--- Forum: Experimental Design (http://discuss.findingfive.com/forumdisplay.php?fid=4) +--- Thread: Can a small program be called inside another larger program as a subroutine/function (/showthread.php?tid=843) |
Can a small program be called inside another larger program as a subroutine/function - HF2021 - 12-06-2025 Hi everyone, Is it possible to call a program as a subroutine in the middle of another program? Or does one have to copy and paste the first program and export all stimulus/response definitions from that program into the new one? In other words, can we call a different (likely much smaller) program as a “function” or “subroutine”, or maybe as a "block definition" that could be used in the block sequence? It seems like this would simplify things especially if that smaller program is used often in multiple other programs. Thank you very much! RE: Can a small program be called inside another larger program as a subroutine/function - noah.nelson - 12-07-2025 (12-06-2025, 03:19 PM)HF2021 Wrote: Hi everyone, Hi Haleh, Unfortunately no, it is not possible to call up content from another study as a "function" or "subroutine". You are correct that you would have to manually "import" (so to speak) the content you need, or copy the other study as your starting point. It's an interesting idea, though! RE: Can a small program be called inside another larger program as a subroutine/function - HF2021 - 12-08-2025 Thank you very much Noah! |