I'm seeing an odd issue with the Mac OS X version (version 3.6.5b3) with Chipmunk Basic set as the default application to open .bas files. Writing a simple...
Hey All, I want to make a program that will change the name of several files to different names. I have a list of the original file names "file.csv" and want...
There's a link to it on the official Chipmunk Basic home page: http://www.nicholson.com/rhn/basic/ - updated for Mac OS X Snow Leopard and Lion - may fix a...
Think of the filenames in the files as just strings. If they are not actually files in a directory, that's all they are really. If the one file has a filename...
After I read this a few times, I realized that maybe you ARE actually wanting to rename files. There is a command, 'save <fname> as <newfname>' or something...
I recently uploaded "Basic Basic Reference Manual v04" to the Files area. I call it "Basic Basic" because I have not included various experimental extensions....
Hi All Here is a bit of code that gets an error message every time at line 30. I've tried using print instead of output and reversed the order of file number...
Hi, Bob. There are a few problems: 1) The "output" command is invalid in Chipmunk BASIC. You need to use "print". 2) There is no check for end of file so the...
Hi, Bob. Here's some further thoughts: In my revised program, I used a goto to jump out of the loop. That's O.K. in the example since we are jumping out to end...
Hi Jeff Your suggestion took care of the problem. I was just doing a trial for a much larger file to see if it would work and didn't know the write wouldn't...
Thanks to Richard and Jeff I now know what was wrong. I had not closed the file not realizing that until that happened the file would not be written. Clear...
I'd like to use bold and inverse text in an OS X command line app I am working on, but I have not been able to find the control code to do as such. Any hints? ...
Hi, Pete. Normally we are using ASCII text for which there is no provision for bold or italic. To add bold and italic you need to use some sort of convention...
Hi, Pete. After sending my previous reply I realized that a) you said inverse, not italic and b) maybe you meant the ability to draw text on the screen rather...
I used to do this stuff all the time when I was MUCH YOUNGER (I'm now almost 50): Unfortunately, this sort of thing usually required knowledge of the terminal...
I think what he is referring to is shown in the small example program below Now in-order for this to work you need a Mac Teminal console app that can display...
And here's a bit of fun for you too (sets your command prompt - best viewed on a Black Terminal background) PS1='\n\[92;e[0;36m92;]\h \[\e[1;37m\] ::...
Hi, I d like to ask my students to approach an HP printer directly using PCL (HP) commands and Chipmunk Basic. I v done this before but with another basic...
In the Windows version of CB, MAT READ doesn't seem to work. The following should print the input data as read but you can see the output below: 10 option base...
If there is anyone reading this forum.... I am using open "SFGetFile" for input as #pnum to open a file. My program then alters the data and saves a new file...
Mike: Try something like this: 10 open "SFGetFile" for input as #pnum 20 input "Enter the name of the required file: ";b$ This assigns b$ to the file name...
Hi. I'm a BASIC programmer from long, long, ago.... Ok, it's been about 35 years since I've tried to write BASIC programs. I'm pretty familiar with BASIC,...
MacBookPro running OSX 10.8.3 and Chipmunk BASIC v3.6.6(b0). In Chipmunk BASIC, if I type in the command sound 880,1,40 or run a program that includes...
The spaces I put around the command were removed after I posted the message which makes the command unclear. The command (without the quotes) is "sound...