Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HELP TO RUN QBASIC CODE FROM 90s !
#1
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]


second image:
i marked in red where the syntaxis problem is 
[Image: b9484f8039912bc41a00b3747cc28810.png]

reference video:



the code should look like this :

[Image: 81ad2207c7346cfd0e26c4c84101d1b3.png]


please help !!! Sad   thank you guys
Reply


Messages In This Thread
HELP TO RUN QBASIC CODE FROM 90s ! - by musss1 - 06-10-2024, 08:46 AM
RE: HELP TO RUN QBASIC CODE FROM 90s ! - by Jack - 06-10-2024, 11:11 AM
RE: HELP TO RUN QBASIC CODE FROM 90s ! - by luke - 06-10-2024, 11:18 AM
RE: HELP TO RUN QBASIC CODE FROM 90s ! - by Jack - 06-10-2024, 01:26 PM
RE: HELP TO RUN QBASIC CODE FROM 90s ! - by Jack - 06-10-2024, 02:50 PM



Users browsing this thread: 3 Guest(s)