Skip to content

Commit

Permalink
LEFT (instruction) vs LEFT (function) manual problem #1061
Browse files Browse the repository at this point in the history
  • Loading branch information
spotlessmind1975 committed Dec 4, 2024
1 parent e78272d commit dd829b6
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions ugbc/src/targets/common/_infrastructure.c
Original file line number Diff line number Diff line change
Expand Up @@ -6662,11 +6662,6 @@ The numbering of characters in a string always starts at 1. If the specified
number_of_characters is greater than the length of the string, ''LEFT$'' will
return the entire string.

Make sure both string$ and substring$ are declared as strings (typically using
a $ at the end of the variable name). ''LEFT$'' is a very useful function for
manipulating strings in BASIC, allowing you to extract specific areas from
a longer string.

@italian

La funzione ''LEFT$'' consente di estrarre una porzione di caratteri da
Expand All @@ -6682,11 +6677,6 @@ La numerazione dei caratteri in una stringa inizia sempre da 1. Se
il numero_di_caratteri specificato è maggiore della lunghezza della stringa,
''LEFT$'' restituirà l'intera stringa.

Assicurarsi che sia string$ che substring$ siano dichiarate come stringhe
(in genere utilizzando un $ alla fine del nome della variabile). LEFT$ è
una funzione molto utile per manipolare stringhe in BASIC, che consente
di estrarre aree specifiche da una stringa più lunga.

@syntax = LEFT( text, position )

@example x = LEFT( "TEST", 2 )
Expand Down Expand Up @@ -6758,12 +6748,11 @@ strings. The command has two parameters.
The first parameter is the string expression to change.

The second parameter is a numeric expression, indicating how
many characters to return. If 0, an empty string (''""'') is returned.
many characters to replace. If 0, no characters will be replaced.
On the other hand, if greater than or equal to the number of characters
in string, the entire string is returned, untouched.

To determine the number of characters in string, you should use
the ''LEN'' function.
in string, the entire string is replaced, up to the characters in ''expression''.
If ''position'' is greater than lenght of ''expression'', only the
characters of ''expression'' will be replaced.

@italian

Expand Down

0 comments on commit dd829b6

Please sign in to comment.