07-21-2021, 01:58 PM
(This post was last modified: 07-21-2021, 02:32 PM by r0n.
Edit Reason: edit
)
In my init2 I want to do (A and B = QM function with named constants defined).
Is there a way to do this?
I tried with goto, but it still attempts to process bot A and B
With goto I mean:
if(FileExists(path 1)
goto skip A ;; This would then skip over #compile "A"
But this does not work.
EDIT:
forgot to mention, I tried to put A and B in seperate functions, meaning create 2 functions and put only the #compile... line in those functions.
Then call the functions from init2 using if statements, but I still conflict error:
...: previous declaration is different. Restart QM or reopen file.
Is there a way to do this?
I tried with goto, but it still attempts to process bot A and B
With goto I mean:
if(FileExists(path 1)
goto skip A ;; This would then skip over #compile "A"
But this does not work.
EDIT:
forgot to mention, I tried to put A and B in seperate functions, meaning create 2 functions and put only the #compile... line in those functions.
Then call the functions from init2 using if statements, but I still conflict error:
...: previous declaration is different. Restart QM or reopen file.