File: ch03s02.html

package info (click to toggle)
genius 1.0.27-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 25,308 kB
  • sloc: ansic: 75,620; xml: 71,565; sh: 4,445; makefile: 1,927; lex: 523; yacc: 298; perl: 54
file content (31 lines) | stat: -rw-r--r-- 4,032 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Création d'un programme</title><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"><link rel="home" href="index.html" title="Manuel de Genius"><link rel="up" href="ch03.html" title="Chapter 3. Utilisation de base"><link rel="prev" href="ch03.html" title="Chapter 3. Utilisation de base"><link rel="next" href="ch03s03.html" title="Ouverture et lancement d'un programme"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Création d'un programme</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch03.html">Prev</a> </td><th width="60%" align="center">Chapter 3. Utilisation de base</th><td width="20%" align="right"> <a accesskey="n" href="ch03s03.html">Next</a></td></tr></table><hr></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="genius-usage-create-program"></a>Création d'un programme</h2></div></div></div><p lang="en">
	      If you wish to enter several more complicated commands, or perhaps write a complicated
	      function using the <a class="link" href="ch05.html" title="Chapter 5. Fondamentaux GEL">GEL</a> language, you can create a new
	     program; really just a file with many commands.
      </p><p lang="en">
To start writing a new program, choose
<span class="guimenu">File</span> → <span class="guimenuitem">New
Program</span>. A new tab will appear in the work area. You
can write a <a class="link" href="ch05.html" title="Chapter 5. Fondamentaux GEL">GEL</a> program in this work area.
Once you have written your program you can run it by 
<span class="guimenu">Calculator</span> → <span class="guimenuitem">Run</span> (or
the <span class="guilabel">Run</span> toolbar button).
This will execute your program and will display any output on the <span class="guilabel">Console</span> tab.
Executing a program is equivalent of taking the text of the program and
typing it into the console.  The only difference is that this input is done
independent of the console and just the output goes onto the console.
<span class="guimenu">Calculator</span> → <span class="guimenuitem">Run</span>
will always run the currently selected program even if you are on the <span class="guilabel">Console</span>
tab.  The currently selected program has its tab in bold type.  To select a
program, just click on its tab.
      </p><p lang="en">
To save the program you've just written, choose <span class="guimenu">File</span> → <span class="guimenuitem">Save As...</span>.
Similarly as in other programs you can choose
<span class="guimenu">File</span> → <span class="guimenuitem">Save</span> to save a program that already has
a filename attached to it.  If you have many opened programs you have edited and wish to save you can also choose
<span class="guimenu">File</span> → <span class="guimenuitem">Save All Unsaved</span>.
      </p><p lang="en">
	      Programs that have unsaved changes will have a "[+]" next to their filename.  This way you can see if the file
	      on disk and the currently opened tab differ in content.  Programs which have not yet had a filename associated
	      with them are always considered unsaved and no "[+]" is printed.
      </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch03.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch03.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch03s03.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 3. Utilisation de base </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Ouverture et lancement d'un programme</td></tr></table></div></body></html>