User Tools

Site Tools


running_a_bas_file_from_the_command_prompt

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
running_a_bas_file_from_the_command_prompt [2019/04/26 17:54]
richardrussell Added note about quotes
running_a_bas_file_from_the_command_prompt [2019/05/10 14:12]
richardrussell Add to save the helper program from the IDE
Line 19: Line 19:
 </​code>​ </​code>​
  
-Here is the helper program, save it as **basrun.bbc**:​+Here is the helper program, save it from the IDE as **basrun.bbc**:​
  
 <code bb4w> <code bb4w>
Line 33: Line 33:
  
       REM. Open BAS file:       REM. Open BAS file:
-      F% = OPENINMID$(@cmd$,​P%+1)+      F% = OPENIN MID$(@cmd$,​P%+1)
       IF F% = 0 ERROR 0, "​Couldn'​t open file " + MID$(@cmd$,​P%+1)       IF F% = 0 ERROR 0, "​Couldn'​t open file " + MID$(@cmd$,​P%+1)
  
running_a_bas_file_from_the_command_prompt.txt ยท Last modified: 2019/05/10 14:12 by richardrussell