Jump to content
SteveB

Introducing Structured Extended BASIC and TiCodEd

Recommended Posts

I am preparing version 1.1 of TiCodEd based on your input. One new feature will be a "Standard Library" with useful functions (CALL/SUB, not GOSUB). 

 

Are there any routines you use in multiple programs which are generic enough to be included in that library? For example, I always prepare the screen and char color, but now with one CALL ScrInit(16,2), which will append 

SUB ScrInit(fg,bg)
  CALL SCREEN(bg)
  CALL DELSPRITE(ALL)
  CALL CLEAR
  FOR I=0 to 14 :: CALL COLOR(I,fg,1) :: NEXT I
SUBEND

to my program if and only if used, and only in the generated output, not cluttering my source. There will also be a User Library for your private code extensions working the same way.

 

Do you have any suggestions or XB code-donations? 

 

  • Like 1

Share this post


Link to post
Share on other sites
2 minutes ago, SteveB said:

I am preparing version 1.1 of TiCodEd based on your input. One new feature will be a "Standard Library" with useful functions (CALL/SUB, not GOSUB). 

 

Are there any routines you use in multiple programs which are generic enough to be included in that library? For example, I always prepare the screen and char color, but now with one CALL ScrInit(16,2), which will append 

SUB ScrInit(fg,bg)
  CALL SCREEN(bg)
  CALL DELSPRITE(ALL)
  CALL CLEAR
  FOR I=0 to 14 :: CALL COLOR(I,fg,1) :: NEXT I
SUBEND

to my program if and only if used, and only in the generated output, not cluttering my source. There will also be a User Library for your private code extensions working the same way.

 

Do you have any suggestions or XB code-donations? 

 

Well RXB you could do:

SUB ScrInit(fg,bg)

    CALL SCREEN(bg)

    CALL DELSPRITE(ALL)

    CALL CLEAR

    CALL COLOR(ALL,fg,1)

SUBEND

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...