Discussions about the Liberty BASIC language, with particular reference to LB Booster
Tasp
Posts: 16 Joined: Sun May 31, 2020 4:51 pm
Post
by Tasp » Sun Feb 07, 2021 11:53 am
I'm sure I read somewhere (but now cannot find) a way of running an LBB compiled exe and passing a string$ into it?
For instance
RUN "program.exe", String$
I see the helpfile states you can wait for execution to complete etc but cannot find about passing info in.
guest
Site Admin
Posts: 197 Joined: Tue Apr 03, 2018 1:34 pm
Post
by guest » Sun Feb 07, 2021 2:19 pm
Tasp wrote: ↑ Sun Feb 07, 2021 11:53 am
I'm sure I read somewhere (but now cannot find) a way of running an LBB compiled exe and passing a string$ into it?
Doesn't the
CommandLine$ special variable do that (in both LB and LBB) ?
Tasp
Posts: 16 Joined: Sun May 31, 2020 4:51 pm
Post
by Tasp » Sun Feb 07, 2021 2:27 pm
Yes this is exactly what I'm looking for. Can't see the wood for trees!