

12·
5 days agoHa, I thought a 1Hz display was a typo until I read the article - that’s the minimum display update, not the maximum: for situations when nothing’s changing on the screen to save battery life.


Ha, I thought a 1Hz display was a typo until I read the article - that’s the minimum display update, not the maximum: for situations when nothing’s changing on the screen to save battery life.
Remember that Fortran has an arithmetic if statement. You can write
where s1, s2 and s3 are labels. If the expression is negative, it jumps to s1. If it’s 0, to s2 and if it’s positive, to s3.
It also has goto variable. You can do
and it’ll print “bar”. In this snippet of code, everything seems quite logical, but imagine debugging spaghetti code written using these patterns.
Oh, it also has
First, N is converted to an integer. If N is 1, it goes to label s1. If N is 2, it goes to s2. If N is less than 1 or greater than n, it does nothing.