Glossary entry

French term or phrase:

parcourir

English translation:

traverse

Added to glossary by cc in nyc
Dec 27, 2012 08:53
11 yrs ago
1 viewer *
French term

parcourt

French to English Tech/Engineering Computers: Software calculateur de contrôle
Hi,

Le programme « member» recherche un élément de valeur « x » dans la séquence « e » et retourne « true » s’il trouve la séquence et « false » dans le cas contraire. Le programme « member » commence par placer la valeur de «e» dans la variable «f », puis parcourt «f» à l’aide d’une boucle à la recherche du premier élément ayant la valeur recherchée.

Thank you
Proposed translations (English)
4 traverse
5 scan
4 (then) runs..
Change log

Dec 28, 2012 09:19: cc in nyc changed "Edited KOG entry" from "<a href="/profile/1246048">Louisa Tchaicha's</a> old entry - "parcourt"" to ""traverses""

Discussion

veratek Dec 28, 2012:
CC: "Parsing involves decomposing a string into its syntactic components."

This is wrong as well. In the context of "parsing a string," parsing involves analysis of each string element, in sequential fashion, as was described. Not decomposition as you say - so finding a match is analyzing the element in the string.
veratek Dec 28, 2012:
@CC parsing = decomposing? No, it does not. What do you mean by decompose in the context of "parsing a string"? If you build a loop to parse a string, you will begin looking at the first character and go through the entire string until you find what you are looking for. It's exactly what was described here. It's the programmer's choice when they should stop parsing the string.
cc in nyc Dec 28, 2012:
@ veratek Parsing involves decomposing a string into its syntactic components. That is not what we have here... In the given text, only the first element is located, not all the component elements... So – at least imo – we don't see the entire "parse" operation.
veratek Dec 28, 2012:
@CC Oh? Why do you think that? What we have in this text is the very description of parsing in the context given - of "parsing a string."
cc in nyc Dec 28, 2012:
@ veratek You may be right, but this isn't parsing either. :-(
veratek Dec 28, 2012:
Sorry, but you don't "browse" or "run" a variable.

Proposed translations

1 day 6 mins
French term (edited): parcourir
Selected

traverse

My second try... but I think it works better than my first try.

"The total_size function will traverse the variable and look at the sizes of contents."
http://search.cpan.org/~nwclark/Devel-Size-0.78/lib/Devel/Si...

In Louisa's text, the "member" program begins by placing value of "e" in variable "f," and then traverses "f" with the aid of a loop searching for the first element having the value sought.

In other words, after setting variable "f" to value "e," the "member" program traverses "f" using a loop to seek the first element with the desired value.



--------------------------------------------------
Note added at 1 day30 mins (2012-12-28 09:23:53 GMT) Post-grading
--------------------------------------------------

I would not have come up with this second suggestion without veratek's comment regarding my first suggestion (browse). ;-)
Something went wrong...
4 KudoZ points awarded for this answer. Comment: "Thank you everyone for your suggestions and cc for the second suggestion :)"
1 hr

scan

then scans «f» to search for the first element having the searched value with the help of a loop.
Note from asker:
Thank you
Something went wrong...
3 hrs

(then) runs..

Imho
Note from asker:
Thank you
Something went wrong...
Term search
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search