06-10-2024, 08:46 AM
Hello everyone, I am having a hard time trying to run a code, (which I copied and pasted from a PDF text book ^^),
The program was written in Microsoft QuickBASIC for Apple Macintosh, so i investigated a little and
close to that i found QB64 programing languaje , i dont know if the syntax is the same, but the file (.bas), gets executed,
If someone can help me resolve the problem, I would appreciate it. ♥
I am leaving the link to the GitHub repository if you want to download the files and try them out yourselves.
its strange because the code is from a book, So it shouldn't be an issue !
I am also attaching a video with two images, showing what happens when I try to run the code completely!
link to github :
https://github.com/musss1s/programingQBASIC.git
first image :
The main program, calls the file "uflo.dat",which i highlighted in yellow, it stores numbers in a 21x41 array format,
with 21 columns and each column containing 41 numbers, separated by commas.
I = 21 and J = 41.
It is used to perform some calculations for sonic and subsonic flow, "gas dynamics."
![[Image: c02dd121885ba3e20f76be7cdc10603c.png]](https://i.ibb.co/v1cFBHp/c02dd121885ba3e20f76be7cdc10603c.png)
second image:
i marked in red where the syntaxis problem is
![[Image: b9484f8039912bc41a00b3747cc28810.png]](https://i.ibb.co/pn9VCYS/b9484f8039912bc41a00b3747cc28810.png)
reference video:
the code should look like this :
![[Image: 81ad2207c7346cfd0e26c4c84101d1b3.png]](https://i.ibb.co/WVQQ6PG/81ad2207c7346cfd0e26c4c84101d1b3.png)
please help !!!
thank you guys
The program was written in Microsoft QuickBASIC for Apple Macintosh, so i investigated a little and
close to that i found QB64 programing languaje , i dont know if the syntax is the same, but the file (.bas), gets executed,
If someone can help me resolve the problem, I would appreciate it. ♥
I am leaving the link to the GitHub repository if you want to download the files and try them out yourselves.
its strange because the code is from a book, So it shouldn't be an issue !
I am also attaching a video with two images, showing what happens when I try to run the code completely!
link to github :
https://github.com/musss1s/programingQBASIC.git
first image :
The main program, calls the file "uflo.dat",which i highlighted in yellow, it stores numbers in a 21x41 array format,
with 21 columns and each column containing 41 numbers, separated by commas.
I = 21 and J = 41.
It is used to perform some calculations for sonic and subsonic flow, "gas dynamics."
![[Image: c02dd121885ba3e20f76be7cdc10603c.png]](https://i.ibb.co/v1cFBHp/c02dd121885ba3e20f76be7cdc10603c.png)
second image:
i marked in red where the syntaxis problem is
![[Image: b9484f8039912bc41a00b3747cc28810.png]](https://i.ibb.co/pn9VCYS/b9484f8039912bc41a00b3747cc28810.png)
reference video:
the code should look like this :
![[Image: 81ad2207c7346cfd0e26c4c84101d1b3.png]](https://i.ibb.co/WVQQ6PG/81ad2207c7346cfd0e26c4c84101d1b3.png)
please help !!!
