parameters in subroutines
NeXT-Generation
Posts: 11
Hello, I was wondering if it's possible to pass parameters to subroutines in PBASIC?
Like in C, it would be:
Is something like this possible in PBASIC? Or do I just have to use variables?
Like in C, it would be:
void displayParameter(string parameter) { printf(parameter);' } displayParameter("Hello! I'm a parameter!");
Is something like this possible in PBASIC? Or do I just have to use variables?
Comments