Hello all,
I was wondering if it is possible to use what I call "macro" in the B4A editor.
OK, stop scratching your head!
Here is what I am trying (this is an exemple) :
I am working on AVD emulator (when Im outside) and my tablet (at home).
With the emulator files are stored in "mnt/sdcard" that I could replace by
"File.DirRootExternal". On the tablet I have 2 SDcard slot + 2 USB. I have to
mention the path "/mnt/extsd/sdcard1".
SO, Is there any way to have something like :
That I could comment and replace by
and use #SDPATH in my code.
B4A will then compile as if the text had been replace manually.
(well, not easy to explain in english).
If there is no way, I can use a blogal variable but I it not clean.
Thks,
W.W.
I was wondering if it is possible to use what I call "macro" in the B4A editor.
OK, stop scratching your head!
Here is what I am trying (this is an exemple) :
I am working on AVD emulator (when Im outside) and my tablet (at home).
With the emulator files are stored in "mnt/sdcard" that I could replace by
"File.DirRootExternal". On the tablet I have 2 SDcard slot + 2 USB. I have to
mention the path "/mnt/extsd/sdcard1".
SO, Is there any way to have something like :
B4X:
#SDPATH : /mnt/extsd/sdcard1
B4X:
#SDPATH : File.DirRootExternal
B4A will then compile as if the text had been replace manually.
(well, not easy to explain in english).
If there is no way, I can use a blogal variable but I it not clean.
Thks,
W.W.