CHDK Wiki

Editing

UBASIC/TutorialScratchpad

1
  • The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit. If you are undoing an edit that is …
Latest revision Your text
Line 1,854: Line 1,854:
   
 
====Using the UBASIC_TEST.EXE Console====
 
====Using the UBASIC_TEST.EXE Console====
:Download this small file http://web.archive.org/web/20070806121635/http://grandag.nm.ru/hdk/ubasic_test.rar (BEWARE - LINK TRIES TO INSTALL ADWARE ON YOUR COMPUTER!  SUGGEST FINDING THE FILE ELSEWHERE).  UnRAR (like UnZIP) it to your scripts working location on your hard-drive. You should have a file named ubasic_test.exe in your scripts-work folder now. You have to run this program from a Windows Command Prompt (the old time DOS window). Some people have a "Launch Command Prompt Here" on the right-click menu of Windows Explorer, so you can just right-click on the folder where your scripts and ubasic_test.exe file reside. (You can get this by installing "Open Command Window Here" Power Toy, available [http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx here].) Or you can go to Programs > Accessories > Command Prompt (where I have mine for some reason). And use the CD command to Change Directories until you get to where your scripts and ubasic_test.exe file reside. For example, if you start out in root directory C:\ and your scripts are on drive D: in a sub-folder called CHDK\Files\Scripts\, at the command prompt just type
+
:Download this small file http://grandag.nm.ru/hdk/ubasic_test.rar (BEWARE - LINK TRIES TO INSTALL ADWARE ON YOUR COMPUTER!  SUGGEST FINDING THE FILE ELSEWHERE).  UnRAR (like UnZIP) it to your scripts working location on your hard-drive. You should have a file named ubasic_test.exe in your scripts-work folder now. You have to run this program from a Windows Command Prompt (the old time DOS window). Some people have a "Launch Command Prompt Here" on the right-click menu of Windows Explorer, so you can just right-click on the folder where your scripts and ubasic_test.exe file reside. (You can get this by installing "Open Command Window Here" Power Toy, available [http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx here].) Or you can go to Programs > Accessories > Command Prompt (where I have mine for some reason). And use the CD command to Change Directories until you get to where your scripts and ubasic_test.exe file reside. For example, if you start out in root directory C:\ and your scripts are on drive D: in a sub-folder called CHDK\Files\Scripts\, at the command prompt just type
 
cd D:\CHDK\Files\Scripts
 
cd D:\CHDK\Files\Scripts
 
:and you'll be where you're supposed to be. (You might want to rename that little program to just test.exe to make it easier to type each time.)
 
:and you'll be where you're supposed to be. (You might want to rename that little program to just test.exe to make it easier to type each time.)
  Loading editor
Below are some commonly used wiki markup codes. Simply click on what you want to use and it will appear in the edit box above.

View this template