Origin for each line in Welcome.red from check-in f2c04ccdad:

f2c04ccdad 2021-03-03 trnsz@pobox.c: %%%%%%%%%%%%%%%%%%%%%%
f2c04ccdad 2021-03-03 trnsz@pobox.c: %               WELCOME TO iCAS
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % The core of iCAS is based on REDUCE, a
f2c04ccdad 2021-03-03 trnsz@pobox.c: % powerful CAS system with comparable
f2c04ccdad 2021-03-03 trnsz@pobox.c: % capabilities to Maple and Mathematica
f2c04ccdad 2021-03-03 trnsz@pobox.c: % with a track record spanning over 40 years 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % in academic and research institutions.
f2c04ccdad 2021-03-03 trnsz@pobox.c: % iCAS brings all the capabilities of 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % REDUCE and the embedded gnuplot
f2c04ccdad 2021-03-03 trnsz@pobox.c: % plotting engine to your iPhone or iPod
f2c04ccdad 2021-03-03 trnsz@pobox.c: % touch.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Best of all, iCAS is entirely self-contained
f2c04ccdad 2021-03-03 trnsz@pobox.c: % and runs natively on your iPhone or iPod
f2c04ccdad 2021-03-03 trnsz@pobox.c: % touch so no internet connection is required
f2c04ccdad 2021-03-03 trnsz@pobox.c: % to harness its power.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % This file is written as a short tutorial
f2c04ccdad 2021-03-03 trnsz@pobox.c: % to walk you through some simple examples
f2c04ccdad 2021-03-03 trnsz@pobox.c: % to become familiar with the app and help
f2c04ccdad 2021-03-03 trnsz@pobox.c: % you get started.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: %%%%%%%%%%%%%%%%%%%%%%
f2c04ccdad 2021-03-03 trnsz@pobox.c: %                    BASIC USAGE
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Enter the desired command or operation
f2c04ccdad 2021-03-03 trnsz@pobox.c: % and press return to execute the command or
f2c04ccdad 2021-03-03 trnsz@pobox.c: % operation. Try it by tapping to the right of
f2c04ccdad 2021-03-03 trnsz@pobox.c: % the semicolon on the line below and then
f2c04ccdad 2021-03-03 trnsz@pobox.c: % tapping return.
f2c04ccdad 2021-03-03 trnsz@pobox.c: 
f2c04ccdad 2021-03-03 trnsz@pobox.c: 6 * 7;
f2c04ccdad 2021-03-03 trnsz@pobox.c: 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % If fancy output is enabled, the results can be
f2c04ccdad 2021-03-03 trnsz@pobox.c: % viewed in a typeset format by tapping a 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % translucent button that appears on the upper
f2c04ccdad 2021-03-03 trnsz@pobox.c: % right hand corner of this view when there is
f2c04ccdad 2021-03-03 trnsz@pobox.c: % fancy output or when iCAS detects LaTeX
f2c04ccdad 2021-03-03 trnsz@pobox.c: % content. The output view can be zoomed
f2c04ccdad 2021-03-03 trnsz@pobox.c: % using the standard pinch gestures.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Fancy output can be globally enabled with
f2c04ccdad 2021-03-03 trnsz@pobox.c: % the "Create Fancy Output" setting or on a
f2c04ccdad 2021-03-03 trnsz@pobox.c: % case by case basis using the fancy switch.
f2c04ccdad 2021-03-03 trnsz@pobox.c: % If fancy output is enabled and the
f2c04ccdad 2021-03-03 trnsz@pobox.c: % "Automatically Show" option is enabled,
f2c04ccdad 2021-03-03 trnsz@pobox.c: % iCAS will automatically show the rendered
f2c04ccdad 2021-03-03 trnsz@pobox.c: % fancy output when it is generated.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Execute the following lines (i.e. place the
f2c04ccdad 2021-03-03 trnsz@pobox.c: % cursor to the right of the semicolon and tap
f2c04ccdad 2021-03-03 trnsz@pobox.c: % the return key) to see the difference
f2c04ccdad 2021-03-03 trnsz@pobox.c: % between plain and fancy output.
f2c04ccdad 2021-03-03 trnsz@pobox.c: 
f2c04ccdad 2021-03-03 trnsz@pobox.c: df(x^x,x);
f2c04ccdad 2021-03-03 trnsz@pobox.c: on fancy;
f2c04ccdad 2021-03-03 trnsz@pobox.c: df(x^x,x);
f2c04ccdad 2021-03-03 trnsz@pobox.c: 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Notice the pseudo-LaTeX output format
f2c04ccdad 2021-03-03 trnsz@pobox.c: % and the "TeX" translucent button that
f2c04ccdad 2021-03-03 trnsz@pobox.c: % appeared on the top right of the window.
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Tapping the "TeX" button generates a 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % typeset version of the file that can be 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % optionally emailed as a LaTeX source file 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % for publishing, presentation, and/or sharing
f2c04ccdad 2021-03-03 trnsz@pobox.c: % with colleagues.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Fancy output works best with a line length
f2c04ccdad 2021-03-03 trnsz@pobox.c: % of 80 or more.  iCAS sets the linelength to
f2c04ccdad 2021-03-03 trnsz@pobox.c: % the optimal width for plain output when a
f2c04ccdad 2021-03-03 trnsz@pobox.c: % CAS session is started based on the font
f2c04ccdad 2021-03-03 trnsz@pobox.c: % style and size settings.  Therefore, we
f2c04ccdad 2021-03-03 trnsz@pobox.c: % recommend setting the linelength to 80
f2c04ccdad 2021-03-03 trnsz@pobox.c: % when using fancy output.  iCAS provides a
f2c04ccdad 2021-03-03 trnsz@pobox.c: % convenience command called fancy_output
f2c04ccdad 2021-03-03 trnsz@pobox.c: % that sets the fancy switch and sets the
f2c04ccdad 2021-03-03 trnsz@pobox.c: % linelength to 80 characters.  Note that
f2c04ccdad 2021-03-03 trnsz@pobox.c: % turning the fancy switch off does not
f2c04ccdad 2021-03-03 trnsz@pobox.c: % affect the linelength so you may need to
f2c04ccdad 2021-03-03 trnsz@pobox.c: % set the linelength to an appropriate value
f2c04ccdad 2021-03-03 trnsz@pobox.c: % after using fancy output.  The linelength
f2c04ccdad 2021-03-03 trnsz@pobox.c: % is reset when a new CAS session is
f2c04ccdad 2021-03-03 trnsz@pobox.c: % initiated (e.g. by using either the "bye"
f2c04ccdad 2021-03-03 trnsz@pobox.c: % or "quit" command).
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: %%%%%%%%%%%%%%%%%%%%%%
f2c04ccdad 2021-03-03 trnsz@pobox.c: %                 KEYBOARD USAGE
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % By default, iCAS uses the system keyboard.
f2c04ccdad 2021-03-03 trnsz@pobox.c: % A user configurable macro keyboard and a
f2c04ccdad 2021-03-03 trnsz@pobox.c: % numerical keyboard are also optionally
f2c04ccdad 2021-03-03 trnsz@pobox.c: % available.  The enabled keyboards and the
f2c04ccdad 2021-03-03 trnsz@pobox.c: % default keyboard can be configured in the
f2c04ccdad 2021-03-03 trnsz@pobox.c: % app Settings.  The app Settings can be
f2c04ccdad 2021-03-03 trnsz@pobox.c: % accessed either through the global Settings
f2c04ccdad 2021-03-03 trnsz@pobox.c: % app or by tapping the Settings button on
f2c04ccdad 2021-03-03 trnsz@pobox.c: % the top right corner of the screen.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % To switch between the enabled keyboards,
f2c04ccdad 2021-03-03 trnsz@pobox.c: % use a horizontal swipe gesture in the text 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % area when a keyboard is active.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % To dismiss the keyboard, tap the center of 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % the top bar where "Welcome" is currently 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % displayed) or tap the "dismiss" keyboard
f2c04ccdad 2021-03-03 trnsz@pobox.c: % button above the keyboard if the "Arrow
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Keys" setting is enabled.  This restores
f2c04ccdad 2021-03-03 trnsz@pobox.c: % access to the toolbar butons.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % By default, tapping a button other than
f2c04ccdad 2021-03-03 trnsz@pobox.c: % the "CLEAR" or "BATCH" buttons on the
f2c04ccdad 2021-03-03 trnsz@pobox.c: % macro keyboard causes the active keyboard
f2c04ccdad 2021-03-03 trnsz@pobox.c: % to automatically switch to the system
f2c04ccdad 2021-03-03 trnsz@pobox.c: % keyboard to allow entry of variables,
f2c04ccdad 2021-03-03 trnsz@pobox.c: % parameters, arguments, etc.  This behavior
f2c04ccdad 2021-03-03 trnsz@pobox.c: % can be enabled/disabled using the "Auto 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Hide Macros" setting.
f2c04ccdad 2021-03-03 trnsz@pobox.c: % 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Tap the clear line below to active the 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % keyboard and swipe from right to left to 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % reveal the macro keyboard.  Now tap the 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % "integral" button.
f2c04ccdad 2021-03-03 trnsz@pobox.c: 
f2c04ccdad 2021-03-03 trnsz@pobox.c: 
f2c04ccdad 2021-03-03 trnsz@pobox.c: 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Now double tap "function" and replace it
f2c04ccdad 2021-03-03 trnsz@pobox.c: % with some function of x, say x, to keep it
f2c04ccdad 2021-03-03 trnsz@pobox.c: % quick and simple.  Then execute the line.
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Unless you've disabled fancy output, iCAS
f2c04ccdad 2021-03-03 trnsz@pobox.c: % will have output a pseudo-LaTeX output 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % that you can view by tapping the "TeX" 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % button at the top right. Go ahead and tap it
f2c04ccdad 2021-03-03 trnsz@pobox.c: % to see the output in the LaTeX viewer.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Tapping return on the system keyboard
f2c04ccdad 2021-03-03 trnsz@pobox.c: % can be configured to automatically switch
f2c04ccdad 2021-03-03 trnsz@pobox.c: % to the macro keyboard to enable the entry
f2c04ccdad 2021-03-03 trnsz@pobox.c: % of other CAS commands.  This is controlled
f2c04ccdad 2021-03-03 trnsz@pobox.c: % by the "Return Shows Macros" setting.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % To edit the contents of a macro button, tap
f2c04ccdad 2021-03-03 trnsz@pobox.c: % and hold down the button for 1 second or
f2c04ccdad 2021-03-03 trnsz@pobox.c: % longer.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Instances of \n in macros get automatically
f2c04ccdad 2021-03-03 trnsz@pobox.c: % converted into new lines.  This makes it
f2c04ccdad 2021-03-03 trnsz@pobox.c: % possible to create macros with text
f2c04ccdad 2021-03-03 trnsz@pobox.c: % spanning multiple lines.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Assigning \r to a macro button turns that
f2c04ccdad 2021-03-03 trnsz@pobox.c: % button into a silent return key.  That is,
f2c04ccdad 2021-03-03 trnsz@pobox.c: % it inserts a new line character without
f2c04ccdad 2021-03-03 trnsz@pobox.c: % processing the contents of the line.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Assigning \b to a macro button turns that
f2c04ccdad 2021-03-03 trnsz@pobox.c: % button into a backspace/delete key.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Assigning \c to a macro button turns that
f2c04ccdad 2021-03-03 trnsz@pobox.c: % button into a clear key.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Assigning \cb to a macro button turns that
f2c04ccdad 2021-03-03 trnsz@pobox.c: % button into a clear batch output key.  The
f2c04ccdad 2021-03-03 trnsz@pobox.c: % macro has no effect if there is no batch
f2c04ccdad 2021-03-03 trnsz@pobox.c: % output.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % The cursor placement within a macro can be
f2c04ccdad 2021-03-03 trnsz@pobox.c: % optionally specified by including \^ in
f2c04ccdad 2021-03-03 trnsz@pobox.c: % the macro where the cursor should be after
f2c04ccdad 2021-03-03 trnsz@pobox.c: % the macro is inserted.  For example, the
f2c04ccdad 2021-03-03 trnsz@pobox.c: % macro “(\^)” will cause the cursor to be
f2c04ccdad 2021-03-03 trnsz@pobox.c: % placed between the two parentheses.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % The macro buttons can be optionally
f2c04ccdad 2021-03-03 trnsz@pobox.c: % labelled by including the desired label 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % surrounded by the # character in the macro 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % text.  For example, if a macro contains 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % #LABEL# in its definition, the button will 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % display LABEL in a larger font instead of 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % the actual contents of the macro.
f2c04ccdad 2021-03-03 trnsz@pobox.c: % 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % The following labels (in uppercase) are
f2c04ccdad 2021-03-03 trnsz@pobox.c: % automatically displayed with the 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % mathematical symbol for the corresponding 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % CAS operator/constant: DF, E, I, 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % INFINITY, INT, PI, PROD, and SUM.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % The default integral, derivative, pi, and
f2c04ccdad 2021-03-03 trnsz@pobox.c: % infinity buttons are examples that utilize
f2c04ccdad 2021-03-03 trnsz@pobox.c: % these features.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: %%%%%%%%%%%%%%%%%%%%%%
f2c04ccdad 2021-03-03 trnsz@pobox.c: %                       PLOTTING
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % iCAS includes a full implementation of
f2c04ccdad 2021-03-03 trnsz@pobox.c: % gnuplot that can be accessed in CAS mode
f2c04ccdad 2021-03-03 trnsz@pobox.c: % using the gnuplot package or directly in
f2c04ccdad 2021-03-03 trnsz@pobox.c: % plot mode (more on modes later).  By 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % default, iCAS loads the gnuplot package so 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % unless you changed the "Always Load
f2c04ccdad 2021-03-03 trnsz@pobox.c: % gnuplot" setting, it should already be
f2c04ccdad 2021-03-03 trnsz@pobox.c: % loaded.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % By default, iCAS automatically shows
f2c04ccdad 2021-03-03 trnsz@pobox.c: % newly generated or updated plots.  This
f2c04ccdad 2021-03-03 trnsz@pobox.c: % behavior can be disabled in the global
f2c04ccdad 2021-03-03 trnsz@pobox.c: % settings.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Plots can be magnified using the standard 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % pinch gestures. iCAS supports landscape
f2c04ccdad 2021-03-03 trnsz@pobox.c: % orientations in all its views so plots can be
f2c04ccdad 2021-03-03 trnsz@pobox.c: % viewed in either portrait or landscape
f2c04ccdad 2021-03-03 trnsz@pobox.c: % orientations. Execute the line below to
f2c04ccdad 2021-03-03 trnsz@pobox.c: % see plotting in action and use the pinch
f2c04ccdad 2021-03-03 trnsz@pobox.c: % gesture to zoom in/out and swipe gestures
f2c04ccdad 2021-03-03 trnsz@pobox.c: % to pan around the plot while zoomed in.
f2c04ccdad 2021-03-03 trnsz@pobox.c: 
f2c04ccdad 2021-03-03 trnsz@pobox.c: plot(sin(x));
f2c04ccdad 2021-03-03 trnsz@pobox.c: 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Unless specified, iCAS uses the title "iCAS 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Plot" and the file name "CASPlot" for plot
f2c04ccdad 2021-03-03 trnsz@pobox.c: % files.  The default plot title can be changed
f2c04ccdad 2021-03-03 trnsz@pobox.c: % in the app Settings and can also be set
f2c04ccdad 2021-03-03 trnsz@pobox.c: % on a per plot basis.  Execute the below line
f2c04ccdad 2021-03-03 trnsz@pobox.c: % to see an example.
f2c04ccdad 2021-03-03 trnsz@pobox.c: 
f2c04ccdad 2021-03-03 trnsz@pobox.c: plot(cos(x), title="cos(x)", output="cos(x)");
f2c04ccdad 2021-03-03 trnsz@pobox.c: 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Plot files can be accessed by tapping the
f2c04ccdad 2021-03-03 trnsz@pobox.c: % "folder" button on the right side of the 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % bottom toolbar. Go ahead and dismiss the
f2c04ccdad 2021-03-03 trnsz@pobox.c: % keyboard (tap "Welcome" above) and tap
f2c04ccdad 2021-03-03 trnsz@pobox.c: % the button now.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % The files organizer picker has four wheels.
f2c04ccdad 2021-03-03 trnsz@pobox.c: % One for text files such as this one, one for
f2c04ccdad 2021-03-03 trnsz@pobox.c: % plot files, one for REDUCE inout files, and
f2c04ccdad 2021-03-03 trnsz@pobox.c: % one for macro keyboard files.  Aim the left
f2c04ccdad 2021-03-03 trnsz@pobox.c: % picker wheel to view the corresponding
f2c04ccdad 2021-03-03 trnsz@pobox.c: % files.  Files can be deleted, emailed, or
f2c04ccdad 2021-03-03 trnsz@pobox.c: % viewed/selected with the buttons above the
f2c04ccdad 2021-03-03 trnsz@pobox.c: % picker wheels.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % The displayed contents can be emailed,
f2c04ccdad 2021-03-03 trnsz@pobox.c: % copied, or printed by tapping the "send"
f2c04ccdad 2021-03-03 trnsz@pobox.c: % button button on the right side of the bottom
f2c04ccdad 2021-03-03 trnsz@pobox.c: % toolbar.  Text files are emailed using the
f2c04ccdad 2021-03-03 trnsz@pobox.c: % active font style.  The ont style, font size,
f2c04ccdad 2021-03-03 trnsz@pobox.c: % and colors can be configured using the styles
f2c04ccdad 2021-03-03 trnsz@pobox.c: % panel revealed by tapping the "styles" button
f2c04ccdad 2021-03-03 trnsz@pobox.c: % on the left of the bottom toolbar.  The
f2c04ccdad 2021-03-03 trnsz@pobox.c: % available font styles are "Helvetica",
f2c04ccdad 2021-03-03 trnsz@pobox.c: % "Times", and "Courier".  Although not the
f2c04ccdad 2021-03-03 trnsz@pobox.c: % prettiest, Courier can be optimal as it is
f2c04ccdad 2021-03-03 trnsz@pobox.c: % the closest to a monospace font on iOS
f2c04ccdad 2021-03-03 trnsz@pobox.c: % devices.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Plots can be emailed in SVG format which
f2c04ccdad 2021-03-03 trnsz@pobox.c: % is a resolution independent format
f2c04ccdad 2021-03-03 trnsz@pobox.c: % supported by major browsers including 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Safari and FireFox.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: %%%%%%%%%%%%%%%%%%%%%%
f2c04ccdad 2021-03-03 trnsz@pobox.c: %             OPERATION MODES
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % iCAS supports three operation modes.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % • CAS Mode
f2c04ccdad 2021-03-03 trnsz@pobox.c: % • Plot Mode
f2c04ccdad 2021-03-03 trnsz@pobox.c: % • Text Editor Mode
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % By default, the application's color theme
f2c04ccdad 2021-03-03 trnsz@pobox.c: % changes to indicate the active mode.  This
f2c04ccdad 2021-03-03 trnsz@pobox.c: % color feedback behavior can be disabled in
f2c04ccdad 2021-03-03 trnsz@pobox.c: % the app Settings, if desired.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % In CAS mode (the current mode unless
f2c04ccdad 2021-03-03 trnsz@pobox.c: % you've changed the mode with the mode
f2c04ccdad 2021-03-03 trnsz@pobox.c: % controls switch in the middle of the 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % toolbar), iCAS behaves as a terminal
f2c04ccdad 2021-03-03 trnsz@pobox.c: % interface to the CAS engine.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % In Plot mode, iCAS behaves as a direct
f2c04ccdad 2021-03-03 trnsz@pobox.c: % terminal interface to the gnuplot engine.
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Go ahead and dismiss the keyboard and tap
f2c04ccdad 2021-03-03 trnsz@pobox.c: % the "plot" mode button (the button with a
f2c04ccdad 2021-03-03 trnsz@pobox.c: % graph) to switch to Plot mode.  Then
f2c04ccdad 2021-03-03 trnsz@pobox.c: % execute each of the following lines in
f2c04ccdad 2021-03-03 trnsz@pobox.c: % sequence. This is an example straight from
f2c04ccdad 2021-03-03 trnsz@pobox.c: % the gnuplot demonstration samples web
f2c04ccdad 2021-03-03 trnsz@pobox.c: % page.
f2c04ccdad 2021-03-03 trnsz@pobox.c: 
f2c04ccdad 2021-03-03 trnsz@pobox.c: set output "3D Log"
f2c04ccdad 2021-03-03 trnsz@pobox.c: set title "3D Log"
f2c04ccdad 2021-03-03 trnsz@pobox.c: set samples 30; set isosamples 30
f2c04ccdad 2021-03-03 trnsz@pobox.c: set hidden3d
f2c04ccdad 2021-03-03 trnsz@pobox.c: set pm3d
f2c04ccdad 2021-03-03 trnsz@pobox.c: set surface
f2c04ccdad 2021-03-03 trnsz@pobox.c: set view 50,220
f2c04ccdad 2021-03-03 trnsz@pobox.c: set xrange [-2:2]
f2c04ccdad 2021-03-03 trnsz@pobox.c: set yrange [-2:2]
f2c04ccdad 2021-03-03 trnsz@pobox.c: splot log(x*x*y*y)
f2c04ccdad 2021-03-03 trnsz@pobox.c: 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % As you can see, iCAS accepts gnuplot
f2c04ccdad 2021-03-03 trnsz@pobox.c: % commands directly.
f2c04ccdad 2021-03-03 trnsz@pobox.c: % 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % In Text Editor mode, iCAS behaves as a
f2c04ccdad 2021-03-03 trnsz@pobox.c: % plain text editor.  Pressing return does not
f2c04ccdad 2021-03-03 trnsz@pobox.c: % invoke either CAS or plot operations.  This
f2c04ccdad 2021-03-03 trnsz@pobox.c: % mode is useful for general-purpose text
f2c04ccdad 2021-03-03 trnsz@pobox.c: % editing, to create input files for batch 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % execution (described below), to 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % create/preview LaTeX documents, etc.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % The active file is automatically saved when
f2c04ccdad 2021-03-03 trnsz@pobox.c: % the application is quit/placed in the
f2c04ccdad 2021-03-03 trnsz@pobox.c: % background or when a new file is opened.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % There may be times when you need to abort
f2c04ccdad 2021-03-03 trnsz@pobox.c: % the active CAS session.  To abort a CAS
f2c04ccdad 2021-03-03 trnsz@pobox.c: % session that is idle, simply use the
f2c04ccdad 2021-03-03 trnsz@pobox.c: % REDUCE "bye" or "quit" command.  A
f2c04ccdad 2021-03-03 trnsz@pobox.c: % new session will be automatically restarted.
f2c04ccdad 2021-03-03 trnsz@pobox.c: % To abort a CAS session that is busy, tap
f2c04ccdad 2021-03-03 trnsz@pobox.c: % the "Abort" button that replaces the
f2c04ccdad 2021-03-03 trnsz@pobox.c: % "Settings" button while iCAS is busy.  Set
f2c04ccdad 2021-03-03 trnsz@pobox.c: % the mode to CAS mode using the mode
f2c04ccdad 2021-03-03 trnsz@pobox.c: % buttons and go ahead and abort the CAS
f2c04ccdad 2021-03-03 trnsz@pobox.c: % session using the following example that
f2c04ccdad 2021-03-03 trnsz@pobox.c: % intentionally invokes a very long for-loop.
f2c04ccdad 2021-03-03 trnsz@pobox.c: 
f2c04ccdad 2021-03-03 trnsz@pobox.c: for i:=0:10000000 do j:=i;
f2c04ccdad 2021-03-03 trnsz@pobox.c: 
f2c04ccdad 2021-03-03 trnsz@pobox.c: %%%%%%%%%%%%%%%%%%%%%%
f2c04ccdad 2021-03-03 trnsz@pobox.c: %           BATCH OPERATION
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % In addition to the interactive operation
f2c04ccdad 2021-03-03 trnsz@pobox.c: % that we've just used, iCAS supports batch
f2c04ccdad 2021-03-03 trnsz@pobox.c: % execution of entire file contents.  That
f2c04ccdad 2021-03-03 trnsz@pobox.c: % is, iCAS can process the entire contents
f2c04ccdad 2021-03-03 trnsz@pobox.c: % of the active file either in CAS mode or
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Plot mode.  To do so, use the special
f2c04ccdad 2021-03-03 trnsz@pobox.c: % "BATCH" macro keyboard button.  Unlike
f2c04ccdad 2021-03-03 trnsz@pobox.c: % interactive results which are output at the
f2c04ccdad 2021-03-03 trnsz@pobox.c: % current cursor location, CAS mode batch
f2c04ccdad 2021-03-03 trnsz@pobox.c: % execution results are appended to the end
f2c04ccdad 2021-03-03 trnsz@pobox.c: % of the file surrounded by "%%% Begin Batch
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Results" and "%%% End Batch Results" so
f2c04ccdad 2021-03-03 trnsz@pobox.c: % they can be easily located with a quick
f2c04ccdad 2021-03-03 trnsz@pobox.c: % search.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Plot mode results are of course the creation
f2c04ccdad 2021-03-03 trnsz@pobox.c: % of plot files.  Note that plot files are
f2c04ccdad 2021-03-03 trnsz@pobox.c: % not automatically shown when they are
f2c04ccdad 2021-03-03 trnsz@pobox.c: % generated in batch mode.  To view batch
f2c04ccdad 2021-03-03 trnsz@pobox.c: % generated plot files, please use the files
f2c04ccdad 2021-03-03 trnsz@pobox.c: % picker.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Now, this file contains interactive output
f2c04ccdad 2021-03-03 trnsz@pobox.c: % from the examples that we've run so if you
f2c04ccdad 2021-03-03 trnsz@pobox.c: % process this file in batch mode, it will
f2c04ccdad 2021-03-03 trnsz@pobox.c: % result in errors.  Therefore, please try
f2c04ccdad 2021-03-03 trnsz@pobox.c: % batch execution using one of the example
f2c04ccdad 2021-03-03 trnsz@pobox.c: % files.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: %%%%%%%%%%%%%%%%%%%%%%
f2c04ccdad 2021-03-03 trnsz@pobox.c: %        FOR MORE INFORMATION
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % We hope that you found this tutorial
f2c04ccdad 2021-03-03 trnsz@pobox.c: % helpful.  You'll find more examples for
f2c04ccdad 2021-03-03 trnsz@pobox.c: % various areas in the files picker.  You
f2c04ccdad 2021-03-03 trnsz@pobox.c: % will also find more information in the
f2c04ccdad 2021-03-03 trnsz@pobox.c: % iCAS FAQ at the following URL.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % http://alsoftiphone.com/iCAS/faq
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Last but not least, if you have any questions
f2c04ccdad 2021-03-03 trnsz@pobox.c: % or feedback, please don't hesitate to contact
f2c04ccdad 2021-03-03 trnsz@pobox.c: % us at support@alsoftiphone.com.  You can
f2c04ccdad 2021-03-03 trnsz@pobox.c: % quickly do so by tapping the "Contact 
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Support"button at the bottom of the app
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Settings.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % We hope that you will find iCAS a useful
f2c04ccdad 2021-03-03 trnsz@pobox.c: % companion for your computation needs.
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: % Best Regards,
f2c04ccdad 2021-03-03 trnsz@pobox.c: % AL Software
f2c04ccdad 2021-03-03 trnsz@pobox.c: %
f2c04ccdad 2021-03-03 trnsz@pobox.c: %%%%%%%%%%%%%%%%%%%%%%

iCAS Bundled REDUCE Scripts
Homepage | GitHub Mirror | SourceHut Mirror | NotABug Mirror | Chisel Mirror | Chisel RSS ]