From 43cc89607d9d66c437c8f0f21e79fafd260c5492 Mon Sep 17 00:00:00 2001 From: spotlessmind1975 Date: Wed, 11 Oct 2023 19:54:08 +0000 Subject: [PATCH] Fixed manual. --- ugbc/src/targets/c128/get_raster_line.c | 12 +++++++++++- ugbc/src/targets/c64/get_raster_line.c | 2 +- ugbc/src/targets/coco/get_raster_line.c | 2 -- ugbc/src/targets/coco3/get_raster_line.c | 2 -- ugbc/src/targets/common/begin_repeat.c | 7 +++---- ugbc/src/targets/common/end_repeat.c | 3 --- 6 files changed, 15 insertions(+), 13 deletions(-) diff --git a/ugbc/src/targets/c128/get_raster_line.c b/ugbc/src/targets/c128/get_raster_line.c index 298d7d9c3..7dbbd2ed7 100755 --- a/ugbc/src/targets/c128/get_raster_line.c +++ b/ugbc/src/targets/c128/get_raster_line.c @@ -50,7 +50,17 @@ extern char DATATYPE_AS_STRING[][16]; /* @keyword RASTER LINE -@target all +@english +This function allows you to retrieve the current raster line. + +@italian +Questa funzione permette di recuperare la linea di scansione raster attuale. + +@syntax = RASTER LINE + +@example randomScore = RASTER LINE + +@target c128 */ Variable * get_raster_line( Environment * _environment ) { diff --git a/ugbc/src/targets/c64/get_raster_line.c b/ugbc/src/targets/c64/get_raster_line.c index 298d7d9c3..1b0e4510b 100755 --- a/ugbc/src/targets/c64/get_raster_line.c +++ b/ugbc/src/targets/c64/get_raster_line.c @@ -50,7 +50,7 @@ extern char DATATYPE_AS_STRING[][16]; /* @keyword RASTER LINE -@target all +@target c64 */ Variable * get_raster_line( Environment * _environment ) { diff --git a/ugbc/src/targets/coco/get_raster_line.c b/ugbc/src/targets/coco/get_raster_line.c index ed16f55fc..c0588ccef 100755 --- a/ugbc/src/targets/coco/get_raster_line.c +++ b/ugbc/src/targets/coco/get_raster_line.c @@ -49,8 +49,6 @@ extern char DATATYPE_AS_STRING[][16]; */ /* @keyword RASTER LINE - -@target all */ Variable * get_raster_line( Environment * _environment ) { diff --git a/ugbc/src/targets/coco3/get_raster_line.c b/ugbc/src/targets/coco3/get_raster_line.c index 35e1ac7ff..98722380a 100755 --- a/ugbc/src/targets/coco3/get_raster_line.c +++ b/ugbc/src/targets/coco3/get_raster_line.c @@ -49,8 +49,6 @@ extern char DATATYPE_AS_STRING[][16]; */ /* @keyword RASTER LINE - -@target all */ Variable * get_raster_line( Environment * _environment ) { diff --git a/ugbc/src/targets/common/begin_repeat.c b/ugbc/src/targets/common/begin_repeat.c index a24d80c39..782140f4f 100755 --- a/ugbc/src/targets/common/begin_repeat.c +++ b/ugbc/src/targets/common/begin_repeat.c @@ -63,10 +63,9 @@ come quello di fine. Questo comando fornisce un modo conveniente per ripetere un di istruzioni per tutto il tempo nel quale una particolare condizione è falsa. La condizione è controllata di nuovo ad ogni ciclo, fino a quando non è più vera. -@syntax REPEAT : ... : UNTIL [expression] -@syntax REPEAT -@syntax ... -@syntax UNTIL [expression] +@syntax REPEAT +@syntax ... +@syntax UNTIL expression @example REPEAT : score = score + 1 : UNTIL NOT alive diff --git a/ugbc/src/targets/common/end_repeat.c b/ugbc/src/targets/common/end_repeat.c index 8b6bd49e4..67025fa20 100755 --- a/ugbc/src/targets/common/end_repeat.c +++ b/ugbc/src/targets/common/end_repeat.c @@ -46,9 +46,6 @@ * * @param _environment Current calling environment */ -/* -@keyword REPEAT...UNTIL - */ void end_repeat( Environment * _environment, char * _expression ) { Loop * loop = _environment->loops;