From 7abf55e44b30f6a4dfcf64bdaf392ea1b9073417 Mon Sep 17 00:00:00 2001 From: tTh Date: Tue, 27 Aug 2024 10:55:32 +0200 Subject: [PATCH] fine tuning --- chap/Basic.tex | 16 ++++++++++++++++ code/Basic/bywater-1.bas | 4 +++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/chap/Basic.tex b/chap/Basic.tex index 821286c..58b608d 100644 --- a/chap/Basic.tex +++ b/chap/Basic.tex @@ -57,6 +57,22 @@ mais canonique~: \lstinputlisting{code/Basic/bywater-1.bas} +Ce qui nous donne à l'exécution~: + +\begin{verbatim} +tth@redlady:~/Devel/TetaTricks$ bwbasic code/Basic/bywater-1.bas +Bywater BASIC Interpreter/Shell, version 2.20 patch level 2 +Copyright (c) 1993, Ted A. Campbell +Copyright (c) 1995-1997, Jon B. Volkoff + + 2 4 + 3 9 + 4 16 + 5 25 + +tth@redlady:~/Devel/TetaTricks$ +\end{verbatim} + Première conclusion : affaire à suivre. % ==================================================================== diff --git a/code/Basic/bywater-1.bas b/code/Basic/bywater-1.bas index 1a9c2b3..3ac3bec 100644 --- a/code/Basic/bywater-1.bas +++ b/code/Basic/bywater-1.bas @@ -1,4 +1,6 @@ 10 CLEAR - 20 FOR I=1 TO 10 + 20 FOR I=2 TO 5 30 PRINT I, I*I 40 NEXT I + 50 SYSTEM +