LB Booster
« Graphicbox repetition »

Welcome Guest. Please Login or Register.
Apr 1st, 2018, 04:21am



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
We apologize Conforums does not have any export functions to migrate data.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

Thank you Conforums members.
Speed up Liberty BASIC programs by up to ten times!
Compile Liberty BASIC programs to compact, standalone executables!
Overcome many of Liberty BASIC's bugs and limitations!
LB Booster Resources
LB Booster documentation
LB Booster Home Page
LB Booster technical Wiki
Just BASIC forum
BBC BASIC Home Page
Liberty BASIC forum (the original)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Graphicbox repetition  (Read 524 times)
Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Graphicbox repetition
« Thread started on: Sep 23rd, 2016, 08:48am »

The program SPRITTST.bas supplied with LB 4.04 and LB 4.5.0 contains the following code:

Code:
    graphicbox #w.g, 0, 0, 400, 300
    open "sprite test" for window_nf as #w
    graphicbox #w.g, 0, 0, 400, 300 

I've always assumed that the repetition of the graphicbox statement - one before and one after the open - is just a typo, and to make LBB compatible I arranged that it ignores the second statement. But was that the right conclusion? Does the second graphicbox statement have some effect that I'm not aware of (or did it in some earlier version of LB)?

Richard.
« Last Edit: Sep 23rd, 2016, 08:48am by Richard Russell » User IP Logged

Rod
Full Member
ImageImageImage


member is offline

Avatar




PM

Gender: Male
Posts: 110
xx Re: Graphicbox repetition
« Reply #1 on: Sep 23rd, 2016, 1:17pm »

Simple typo, control statements after the open statement get ignored.
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: Graphicbox repetition
« Reply #2 on: Sep 23rd, 2016, 3:09pm »

on Sep 23rd, 2016, 1:17pm, Rod wrote:
Simple typo, control statements after the open statement get ignored.

Right, OK, thank you. I wonder why it hasn't been corrected, especially as it's a supplied 'example' program which presumably new users are expected to learn from!

Richard.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls