mco_dolo
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2018
02:05 PM
Re: [SOLVED] Cannot share functions between brs files in source folder
Hmm, I didn't understand the solution,
In /source I have A.brs, B.brs, and main.brs. For A.brs to call function from B.brs, I have to create A.xml and import B.brs?
I don't think A.xml will get initialized unless you call CreateObject("A") right??
If main.brs can already statically call methodFromA() so I don't really know why you would need to call CreateObject("A").
Sorry, kinda new to this.
In /source I have A.brs, B.brs, and main.brs. For A.brs to call function from B.brs, I have to create A.xml and import B.brs?
I don't think A.xml will get initialized unless you call CreateObject("A") right??
If main.brs can already statically call methodFromA() so I don't really know why you would need to call CreateObject("A").
Sorry, kinda new to this.
jcarlosr17
Reel Rookie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-21-2021
03:53 PM
Re: [SOLVED] Cannot share functions between brs files in source folder
I think the author of the question ended up copying one brightscript into the other, instead of actually importing.
I have a very large .brs file and would like to split in multiple scripts.
Is there a way to have 1 .brs file that imports others into it? And so finally import a single .brs file while keeping things organized?
- « Previous
-
- 1
- 2
- Next »