TransWikia.com

Word for "Get the last values" in the context of coding

English Language & Usage Asked by Cyhiraeth on January 21, 2021

I’m translating the documentation for a program, and I want to write that a certain function gets the last values you’ve entered. I’m stuck on the word "Query" (as in "Query of the number of found 3D points of the last call of DisplayPosScan") but I don’t like this sentence at all. There are too many "of" somehow, and it just doesn’t look good. I think it’s because of the word query, but I’ve looked at this single sentence for so long that it doesn’t make any sense anymore.

So to clear things up a little bit, the function I’m writing about (NumberOfFoundPoints) gets the amount of 3D points of the last time the function DisplayPosScan has been called, then it returns this value as a String.

2 Answers

I think returns is the word you want:

NumberOfFoundPoints returns the number of 3D points as of the last time the function DisplayPosScan was called.

Correct answer by Barmar on January 21, 2021

How about this:

NumberOfFoundPoints receives (takes) as input the number of 3D points returned by DisplayPosScan the last time the latter was called. NumberOfFoundPoints then returns this value as a string.

@Barmar is mistaken in that NumberOfFoundPoints does not return the number of 3D points as of the last time DisplayPosScan was called. Instead, NumberOfFoundPoints takes that value as an input and returns it as a string.

Answered by Richard Kayser on January 21, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP