// This progam creates a screen with a textbox and a button. // When the user clicks the button, a label displays the result // which is 10% of the number in the textbox
start
Declarations
Screen screen1
Button calcButton
Textbox usersEntry
Label result
screen1.setSize(200, 200)
calcButton.setText("Click to calculate 10% tax") calcButton.registerListener(calculateTax())
screen1.add(usersEntry)
stop
calculateTax()
Declarations
Label result
num RATE = 0.10
string answer
tax = usersEntry.getText() * RATE
answer = "The tax is " tax result.setText(answer)
screen1.add(result)
return
Are there anymore bugs? I'm kinda not understanding where the .getText comes from on here and think it might be a bug.
Finding it funny that MS is urging IT admins as if this was a big, significant update. No new features, just an enablement package that will bump up the build number again, which is a shame considering 22H2 and 24H2 were significant updates. Technically, 25H2, 26H1, and the upcoming 26H2 are all the same with different support schedules. They could've ship the Windows K2 improvements in this update but they chose not to.
The era of Windows being in the backburner continues, and this 26H2 update feels like an afterthought. Shame Nadella, shame.
After I installed those, my older but capable Win 11 laptop (16GB RAM) reported it as 26H2 26300.8697.
Then I installed it on my big laptop (128GB RAM! Hehe sorry), it reported it as 25H2 26220.8690. Ugh. Do I have to switch Insiders channels from Release to Beta?
Question
Cray Zze
// This progam creates a screen with a textbox and a button.
// When the user clicks the button, a label displays the result
// which is 10% of the number in the textbox
start
Declarations
Screen screen1
Button calcButton
Textbox usersEntry
Label result
screen1.setSize(200, 200)
calcButton.setText("Click to calculate 10% tax")
calcButton.registerListener(calculateTax())
screen1.add(usersEntry)
stop
calculateTax()
Declarations
Label result
num RATE = 0.10
string answer
tax = usersEntry.getText() * RATE
answer = "The tax is " tax
result.setText(answer)
screen1.add(result)
return
Are there anymore bugs? I'm kinda not understanding where the .getText comes from on here and think it might be a bug.
Link to comment
https://www.neowin.net/forum/topic/1218195-pseudocode-debugging-help/Share on other sites
4 answers to this question
Recommended Posts