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."
second image:
i marked in red where the syntaxis problem is
reference video:
the code should look like this :
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."
second image:
i marked in red where the syntaxis problem is
reference video:
the code should look like this :
please help !!! thank you guys