Dec 222017
 
Interlanguage programming. How to mix BASIC with other Microsoft languages.
File INTLAN.ZIP from The Programmer’s Corner in
Category BASIC Language
Interlanguage programming. How to mix BASIC with other Microsoft languages.
File Name File Size Zip Size Zip Type
BASASM.ZIP 7703 6859 deflated
BASFOR.ZIP 5136 4324 deflated
BASPAS.ZIP 4915 4079 deflated
BASTOC.ZIP 14005 9958 deflated
INTLAN.TXT 3231 1086 deflated
TPCREAD.ME 199 165 deflated

Download File INTLAN.ZIP Here

Contents of the INTLAN.TXT file


This is a summary of the interlanguage calling examples that have been
uploaded for use with BASIC (QB4.00+ and BASCOM 6.00+). The following are
the examples that will be included in each arced file along with the names
of the corresponding BASIC and C, FORTRAN, MASM or PASCAL programs for each
example. An index (INDEX.DOC) and directions (INFO.DOC) will be include with
each arced file as well. Any comments, problems or suggested changes should
be directed to 76701,155. Thanks.



--Filename: BASTOC.ARC

--Sample programs: BASIC calling C:
1. Passing NUMERIC Values to C by NEAR REFERENCE: BAS1.BAS/ C1.C
2. Passing Numeric Values to C by FAR REFERENCE: BAS2.BAS/ C2.C
3. Passing Numeric Values to C by VALUE: BAS3.BAS/ C3.C
4. Passing BASIC variable length string to C by NEAR REFERENCE: BAS4.BAS/ C4.C
5. Passing BASIC variable length string to C by FAR REFERENCE: BAS5.BAS/ C5.C
6. Passing BASIC String Descriptor C: BAS6.BAS/ C6.C
7. Passing a FIXED LENGTH string to C by NEAR REFERENCE: BAS7.BAS/ C7.C
8. Passing FIXED LENGTH String to C by FAR REFERENCE: BAS8.BAS/ C8.C
9. Passing a USER DEFINED TYPE to C by NEAR REFERENCE: BAS9.BAS/ C9.C
10. Passing USER DEFINED TYPE to C by FAR REFERENCE: BAS10.BAS/ C10.C
11. Passing an Array of INTEGERS to C: BAS11.BAS/ C11.C
12. Passing an Array SINGLES Array to C: BAS12.BAS/ C12.C
13. Passing an Array of DOUBLES to C by FAR REFERENCE: BAS13.BAS/ C13.C
14. Passing an array of LONGS to C by FAR REFERENCE: BAS14.BAS/ C14.C
15. Passing an arrray of VARIABLE LENGTH STRINGS: BAS15.BAS/ C15.C
16. Passing an array of FIXED LENGTH STRINGS to C: BAS16.BAS/ C16.C
17. Passing an array of USER DEFINED TYPES to C: BAS17.BAS/ C17.C
18. Passing BASIC 2-D array of INTEGERS: BAS18.BAS/ C18.C
19. Passing BASIC 2-D array of VARIABLE LENGTH STRINGS: BAS19.BAS/ C19.C
20. Passing COMMON Variables to C by FAR REFERENCE: BAS20.BAS/ C20.C



--Filename: BASASM.ARC

--Sample programs: BASIC calling MASM.
1. Passing an ARRAY to MASM by FAR REFERENCE: BAS1.BAS / MASM1.ASM
2. Passing a STATIC ARRAY to MASM through a COMMON BLOCK: BAS2.BAS/ MASM2.ASM
3. Passing a DYNAMIC ARRAY to MASM through a COMMON BLOCK: BAS3.BAS/ MASM3.ASM
4. Passing an INTEGER to MASM and return an INTEGER in AX: BAS4.BAS/ MASM4.ASM
5. Passing a STRING to MASM: BAS5.BAS/ MASM5.ASM



--Filename: BASFOR.ARC

--Sample programs: BASIC calling FORTRAN.
1. Passing an array in a COMMON BLOCK between BASIC and FORTRAN: BAS1.BAS/ FOR1.FOR
2. Passing an ARRAY to fortran by setting up FORTRAN STRING: BAS2.BAS/ FOR2.FOR
3. Accessing a Fortran COMMON Block from BASIC: BAS3.BAS/ FOR3.FOR
4. Passing a DYNAMIC ARRAY: BAS4.BAS/ FOR4.FOR
5. Passing a STATIC ARRAY: BAS5.BAS/ FOR5.FOR
6. Passing a FIXED-Length STRING ARRAY: BAS6.BAS/ FOR6.FOR
7. Passing STRINS: BAS7.BAS/ FOR7.FOR



--Filename: BASPAS.ARC

--Sample programs: BASIC calling PASCAL routines.
1. Passing a STATIC ARRAY to Pascal: BAS1.BAS/ PAS1.PAS
2. Passing a string of length 1 to a Pascal CHAR type: BAS2.BAS/ PAS2.PAS
3. Passing a FIXED LENGTH STRING: BAS3.BAS/ PAS3.PAS
4. Passing NUMERIC TYPES: BAS4.BAS/ PAS4.PAS
5. Passing a VARIABLE LENGTH STRING using SADD: BAS5.BAS/ PAS5.PAS


 December 22, 2017  Add comments

Leave a Reply