I am trying to write to a serial port (which is actually a USB device) via Chipmunk BASIC in Windows XP. This works when I open the port, print something to...
The documentation for 4 quadrant atn says that the function takes the parameters as atn(x,y). It looks like the results are given for atn(y,x). So the...
I'm using the Mac OSX version of Chipmunk Basicin a Mac Mini with a dotMac account and iDisk. How do I open a sequential file for input or output from/to the...
Try calling the eof() function to flush file output. ... Try: x = eof(1) This should flush file writes on Mac OS X and linux, not sure about Windows XP or...
I gather that this function is intended to replae the call "launch",appname$ function that was in the non-OSX version of CB. But I sure haven't been able to...
The "launch" macfunction may only work with Mac OS Classic apps. For Chipmunk Basic under OS X, try the sys() system call: sys("open /Applications/iTunes.app")...
... With linux and Mac OS X one can use the open "pipe:" command. This isn't available in Mac OS Classic. I have no idea whether any Windows OS supports pipes...
Hello! I have built a collection of data files, all alike (same length), written in a format of my own. Now I want to convert them to a more portable format...
Is there a limit on how many methods or much code a class object may contain? I have a class with 13 subroutines, and the program hangs (with Chipmunk Basic at...
I've updated my Chipmunk Basic language module for TextWrangler/ BBEdit. Named subroutines now appear in the function popup menu, making it easier to navigate...
... Thanks, Jim. This sounded interesting so I took a look at it. Unfortunately, I found that Text Wrangler 2.2 (currently 2.2.1) requires OSX 10.4. Since I am...
... I couldn't figure out how to recognize functions properly with prior versions of TextWrangler; 2.2 introduced more flexible pattern matching options for...
A very naive test case with 1 instantiated object of a class with 1 public data variable and 13 public method subroutines seems to return from the object's...
... The function popup menu is a very pleasant feature indeed. However, I observe that the menu length is limited to 19 items, which is not enough for my...
... There isn't a limit. I have a program with 57 subroutines, all of which appear in the menu. It's conceivable that some sort of syntax (error or otherwise) ...
... O.K. I'm running OSX 10.3.9 and TextWrangler 2.1.3. I downloaded <http://anoved.net/files/cbastw-nofunc.plist.zip>, unzipped and got the file cbastw.plist....
... Sorry about that. I put the file in the Languages folder and it worked. There is no popup in the left bottom but I found the languages sub-menu in the Text...
... Thanks. As you suggested, there was some confusion, but I just can't understand exactly what it was. The trouble arose with a single sub: when this was put...
... I don't know. I'm glad you figured out a work-around, but I can't explain the problem, either. What sort of blocks were in that subroutine? One limitation...
... Nothing very special: each "block" is just a for-next statement, with about 60 lines of very plain code inside. ... No, no; nothing as fancy as that. ... ...
Hello, I read the interesting thread about "Updated TextWrangler/BBEdit syntax module", and downloaded TW to check it out. Jim, the Language Module you wrote...
... Good question. The answer is that I simply don't use line numbers! I write the code in TW, save it as a .bas file, and run it in CB, which automatically...
nevermind. I substituted "TextWrangler" for "TextEdit" in the te2cbas script and it works the same way for TW now. rob ______________________________ How do...
Hello, First of all, great program. My kids started to have interest in programming and when I searched for BASIC programming on Mac, wow, I feel like I hit...
if you put the .pict or .jpg file is in the same folder as the CB application then just name the file: graphics PICT x,y, "baseball.PICT" I made a resources...
Thanks Rob, Yes, I tried this before. I try to copy your method by creating "resources" folder in "Chipmunk" folder in Applications folder, and placed...