Operation Manual
Hoofdstuk 20: Alfabetisch naslagregister Functies en instructies
379
20ATOZEU.DUT Hoofdstuk 20: Alfabetisch naslagregister Functies en instructies Raquel Revised: 02/15/98 1:39 PM Printed: 10/05/98 3:54 PM Page 379 of 12820ATOZEU.DUT Hoofdstuk 20: Alfabetisch naslagregister Functies en instructies Raquel Revised: 02/15/98 1:39 PM Printed: 10/05/98 3:54 PM Page 379 of 128
Repeat
‡ programma-editor
CTL-menu
(In het menu wordt
Repea weergegeven)
:Repeat
conditie
:
commando’s-om te herhalen
:End
:
commando’s
Voert commando’s-om te herhalen uit totdat conditie
waar is.
Programma-onderdeel:
©
:6¶N
:1¶Fact
:Repeat N<1
: Fact¹N¶Fact
: N
N
1¶N
:End
:Disp "6!=",Fact
©
Return
‡ programma-editor
CTL-menu
(In het menu wordt
Retur weergegeven)
Return
In een subroutine: verlaat de subroutine en gaat terug
naar het programma dat de subroutine opriep. In het
hoofdprogramma: stopt de uitvoering en gaat terug naar
het beginscherm.
Programma-onderdeel in het programma dat
de subroutine oproept:
©
:Input "Diameter:",DIAM
:Input "Height:",HT
:AREACIRC
:VOL=AREA¹HT
:Disp "Volume =",VOL
©
AREACIRC subroutine programma:
PROGRAM:AREACIRC
:RADIUS=DIAM/2
:AREA=p¹RADIUS
2
:Return