while
while是什么意思,
while怎么读
语音:
英音
[waɪl]
美音 [hwaɪl, waɪl]
conj. 在…期间;与…同时;虽然;而
n. (一段)时间
vt. 消磨,打发(时间);(愉快而懒散地)度过(时间)(常与 away 连用)
在编程中,'while'是一个控制流关键词,通常用于循环结构。它表示当某个条件为真(true)时,执行一组语句,然后重复执行。这个循环会一直执行,直到条件变为假(false)。'while'循环通常与'do-while'循环一起使用,后者在执行一组语句之前会检查条件,即使条件一开始为假也会执行一次。'while'和'do-while'的主要区别在于前者可能在第一次迭代之前就跳出循环,而后者至少会执行一次。
复数: whiles
第三人称单数: whiles
过去式: whiled
过去分词: whiled
现在分词: whiling
while 在期间
来自古英语hwil,一段时间,来自PIE*kweie,休息,安静,词源同quiet,quit.
用作连词(conj.)
- I lived in a hostel while I was a student.
我求学期间住在青年招待所里。 - While Mary was writing a letter, the children were playing outside.
玛丽写信时,孩子们在外面玩耍。 - In a word, while the prospects are bright, the road has twists and turns.
总之,虽然前途是光明的,但是道路是曲折的。 - While I admit that there are problems, I don't agree that they cannot be solved.
尽管我承认有问题存在
用作名词(n.)
- I haven't seen him for a long while.
我已经很久没见到他了。 - She worked in a bank for a while before studying law.
她学法律之前在银行工作过一段时间。 - Before I eat dinner,I read newspaper for a while
在吃晚饭以前,我会读一会儿报纸
用作动词(v.)
- A detective story helps to while away the time.
侦探小说有助于打发时间。 - I didn't know how to while away my tedium.
我不知道如何度过乏味的时刻。
1. While doing/performing/working...:在...的时候
2. While I was/am...:当我...的时候
3. While it is/was...that...:虽然...
4. While it may seem/look like...:虽然看起来...
5. While it is true that...:虽然事实是...
6. While there is/was...,it is also true that...:虽然有...,但也要承认...
以上是留学之路(www.lxroad.com)小编为您整理的while单词相关内容。