Passing string$ into LBB EXE

Discussions about the Liberty BASIC language, with particular reference to LB Booster
Tasp
Posts: 16
Joined: Sun May 31, 2020 4:51 pm

Passing string$ into LBB EXE

Post by Tasp »

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: 192
Joined: Tue Apr 03, 2018 1:34 pm

Re: Passing string$ into LBB EXE

Post by guest »

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

Re: Passing string$ into LBB EXE

Post by Tasp »

Yes this is exactly what I'm looking for. Can't see the wood for trees!