Using Xchange

Programs in text format can be typed in manually or if they follow the calculator text format (ctf) then they can be transferred using Xchange.

To install Xchange, download the 3 zip files, unzip them into the same folder and then run the setup.exe file.
x32b17z1.zip, x32b17z2.zip, x32b17z3.zip

To use Xchange you may need to edit text files as follows:

  1. Change the file extension from .txt to .ctf
  2. Older models use single character labels to identify programs. New models use names in quotes. Before transferring to calculator, change Program 1 to something like: Program "1" etc.
  3. If the file appears all on a single line when using Notepad or is otherwise corrupted, then it is probably in unix or mac format. In this case, you can use the TextStyle tool to convert it to PC Format.
  4. Xchange will crash or corrupt files when transmitting if they contain more than one program area. So use an editor to split the program areas into separate files.
  5. \exp should get sent to calculator as the E symbol that you when you press 'EXP' on the keypad, however on 9850 models it gets sent to calculator as the 'Exp' command.
    To get round this, you can write programs using \10^ instead of \exp as it has exactly the same meaning.
  6. The ctf standard for representing matrices was like this:
    @@ Matrix C (4 x 5)
    
    [  42          0        0     -1     0]
    [ 123.456      0  3.45E-6      0     0]
    [   5.03   +9876        0      0     0]
    [ -27.3    1%2%3        0      0     0]
    
    However Xchange doesn't support this. You can however use a separate program area which assigns the entries and transfer that program to the calculator and run it to setup the matrix.
    e.g.
    
    [[42,0,0,-1,0][123.456,0,
    3.45E-6,0,0][5.03,+9876,0
    0,0][-27.3,1%2%3,0,0,0]->Mat C
    
    
  7. Xchange doesn't understand CTF comments so the programs on this site are arranged so that comments will be ignored.
    Instead of something like:
    A< 1 \10^ -6=>Goto 1         ; \10^ means use small 10 above the log button
    
    I've tried to put all the comments before the program header (where they are ignored) like so:
    # Title: blahblah
    # Author: etc..
    # ...
    # ...
    
    # \10^ means use small 10 above the log button
    
    @@ Program "BLAH"
    
    A< 1 \10^ -6=>Goto 1
    
    Where this couldn't be done without losing the purpose of putting comments there in the first place, I've duplicated the program later on in the file without comments, and commented out the initial header like so:
    ## Program "EXAMPLE"
    #  This program is repeated below without comments,
    #  for compatibility with Xchange
    
    A=10=>Locate 2,1,"     "    ; use 5 spaces here
    
    @@ Program "EXAMPLE"
    
    A=10=>Locate 2,1,"     "
    

(c) Roy F.A. Maclean 1995-2006
rfamgm at gmail
http://www.spiderpixel.co.uk/caspro