I swear I have the helpfile tabs open! Hangs head in shame.
I clearly am looking but not reading.
I was actually just looking for fill.
Cheers Richard
Search found 16 matches
- Thu Mar 04, 2021 6:01 pm
- Forum: Liberty BASIC Language
- Topic: Not seeing red.
- Replies: 2
- Views: 6274
- Thu Mar 04, 2021 5:37 pm
- Forum: Liberty BASIC Language
- Topic: Not seeing red.
- Replies: 2
- Views: 6274
Not seeing red.
This should create a red background in the graphicbox, but it doesn't?
I mean colour is spelt wrong, but this should work?
I mean colour is spelt wrong, but this should work?
Code: Select all
GRAPHICBOX #g.1, 1,1, 200, 200
OPEN "WINDOW" FOR WINDOW AS #g
#g.1, "BACKCOLOR RED"
END
- Thu Mar 04, 2021 5:19 pm
- Forum: Liberty BASIC Language
- Topic: Using GOTO to DRAWBMP doesn't
- Replies: 4
- Views: 8169
Re: Using GOTO to DRAWBMP doesn't
Is there an online reference to 'undocumented' LB features? Of course, but it's a super secret club that only a few can join. It's just passed the rabbit hole on the left. But I would assume, like most things it was found or stumbled upon by accident and proliferated it's use via snippets and code ...
- Thu Mar 04, 2021 4:28 pm
- Forum: Liberty BASIC Language
- Topic: Using GOTO to DRAWBMP doesn't
- Replies: 4
- Views: 8169
Re: Using GOTO to DRAWBMP doesn't
Completely agree, this is undocumented within LB. But is used quite frequently by its programmers. This is purely here to serve as reference point for anyone else getting caught out. As I said, not sure that this is an intended feature of LB or whether LB just allows it to happen. Often any "is...
- Wed Mar 03, 2021 6:39 pm
- Forum: Liberty BASIC Language
- Topic: Using GOTO to DRAWBMP doesn't
- Replies: 4
- Views: 8169
Using GOTO to DRAWBMP doesn't
Come across this little oddity. LB will draw a bmp at the location of the pen, LBB will not. Not sure if this is an intended feature for LB or not, but it caught me out so posting for anyone else. 'I work in LB only #1.gb,"UP ; GOTO 200 200; DOWN ; drawbmp name.bmp" 'I work in both LB and ...
- Tue Feb 09, 2021 6:28 pm
- Forum: Liberty BASIC Language
- Topic: Issues when OPEN RS232 serial port
- Replies: 1
- Views: 5534
Issues when OPEN RS232 serial port
The following errors when opening in LBB but works in LB. OPEN "com7:9600,n,8,1,ds0,cs0,rs" for random as #com #com, CHR$(31); CLOSE #com end This appears to be an issue with issuing the DS, CS and RS switches, they don't seem to be supported in LBB. I'm unsure whether LBB ignores the RTS ...
- Sun Feb 07, 2021 2:27 pm
- Forum: Liberty BASIC Language
- Topic: Passing string$ into LBB EXE
- Replies: 2
- Views: 6316
Re: Passing string$ into LBB EXE
Yes this is exactly what I'm looking for. Can't see the wood for trees!
- Sun Feb 07, 2021 11:53 am
- Forum: Liberty BASIC Language
- Topic: Passing string$ into LBB EXE
- Replies: 2
- Views: 6316
Passing string$ into LBB EXE
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.
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.
- Fri Jan 29, 2021 5:36 pm
- Forum: Liberty BASIC Language
- Topic: FILEDIALOG must explicitly denote file type
- Replies: 0
- Views: 9202
FILEDIALOG must explicitly denote file type
This caught me out earlier, While the LBB help does state the template determines which files are listed, in LB this works differently, so highlighting the issue so others don't have to spend time working this out. LBB Help; FILEDIALOG "Title", template$, returnvar$ Displays a file selecto...
- Fri Jan 29, 2021 12:33 pm
- Forum: Liberty BASIC Language
- Topic: Files command "error" when using correct file path
- Replies: 0
- Views: 9145
Files command "error" when using correct file path
Took me a while to work this out, LB it will accept the DefaultDir as the main path, and any additional paths being added to the filter section LBB won't (ish). So thought I maybe able to save someone else sometime as I couldn't see any previous posts relating to it. It would appear that you need to...