Do While i < 10
'processing
i=i+1
Loop
You can change the threads title to wishSo move it as Wish instead Bug
Do
InitMeasurementProbe()
StartMeasure()
Do Until MeasuredValueReady()
DoEvents
Loop
Measurement=GetMeasurement()
CloseMeasurementProbe()
Loop Until Measurement<>BadValue
LogFile(Measurement)
Do While True
InitMeasurementProbe()
StartMeasure()
Do Until MeasuredValueReady()
DoEvents
Loop
Measurement=GetMeasurement()
CloseMeasurementProbe()
If Measurement<>BadValue Then Exit 'Loop
Loop
LogFile(Measurement)
dim On As Boolean = True
Do While On
InitMeasurementProbe()
StartMeasure()
Do Until MeasuredValueReady()
DoEvents
Loop
Measurement=GetMeasurement()
CloseMeasurementProbe()
If Measurement<>BadValue Then On = False
Loop
LogFile(Measurement)
DO [{WHILE | UNTIL} condition]
[EXIT DO]
[CONTINUE {DO | LOOP}]
LOOP [{WHILE | UNTIL} condition]
Yes, but we can live even better with it - the more that code can be like natural language, the less translation effort is needed from code to thought and vice versa.But we can live even without it
There are always exceptionsItalians are known for enjoying life
If you are talking about programming language structure - agreed. But we can resist. That is the beauty of making a language more orthagonal and regular - it reduces the number of exceptions, increases your options, reduces your mental workload, leaves you more thought-power to apply to solving the actual problem rather than fitting within language constraints.There are always exceptions
That looks like an interesting movie. Probably a bit heartbreaking in places - seems to be mostly decent people each trying to improve their situation, during a period when life was difficult anyway. But still holds now: Life is what you make of it.The second one. You should watch an italian movie: https://en.wikipedia.org/wiki/A_Girl_in_Australia
It is easier to create art when the medium is pliablethe readability of the code
It's not the volume of code I care about (otherwise I'd voting to for the brevity of C, or even APL) but how well that code aligns with its intent, and thus how easy it is to understand what the code means to do. Eg, if I see FOR I = 1 TO 10 : stuff : NEXT I then I know understand stuff is meant to happen 10 times. If I see I = 1 : DO WHILE I < 10 : stuff : I = I + 1 : LOOP then I have to think a bit harder to arrive at the same understanding.avoid duplicating one or two lines of code
What is that something else? Given that we both seem passionate about B4A being a better language, I'll probably hop on that bandwagon with you tooRather, I feel the need for something else ... I consider it much more important, its "absence" involves many problems.