Jump to content

Documentation: Difference between revisions

Line 696:
-> f[x,y] gives the sum of x and y</lang>
 
=={{header|MatlabMATLAB}} / {{header|Octave}}==
Script files can contain comments (being whatever follows a % character) and for a script in file FredGnash.m that is in the current execute path (so that typing "Fred" will initiate it), the command "help FredGnash" will instead display the first comment block. So, if it starts <lang MatlabMATLAB>function Gnash(GnashFile); %Convert to a "function". Data is placed in the "global" area.
% My first MatLab attempt, to swallow data as produced by Gnash's DUMP
%command in a comma-separated format. Such files start with a line</lang>
1,220

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.