how top make a library for a modual


Closed Thread
Results 1 to 20 of 20

Hybrid View

  1. #1
    Join Date
    Feb 2012
    Location
    PERTH AUSTRALIA
    Posts
    838


    Did you find this post helpful? Yes | No

    Default Re: how top make a library for a modual

    can you point to an code example , this is what i have

    Myfile.bas has

    sub1:
    do this 1
    return

    sub2:
    do this 2
    Return


    --------------

    Main prog has

    include "myfile.bas"

    main:

    gosub sub1
    gosub sub2

    goto main

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: how top make a library for a modual

    Code:
    GOTO MyIncludeEnd
    
    sub1:
    do this 1
    return
    
    sub2:
    do this 2
    Return
    
    MyIncludeEnd:
    Dave
    Always wear safety glasses while programming.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts