Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can a small program be called inside another larger program as a subroutine/function
#1
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!
Reply
#2
(12-06-2025, 03:19 PM)HF2021 Wrote: 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!

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!
Noah Nelson
VP of Product @ FindingFive
Reply
#3
Thank you very much Noah!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)