A Møøse once bit my sister…
- 0 Posts
- 3 Comments
Joined 19 days ago
Cake day: December 24th, 2025
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
German: there are painters in the cellar.
A Møøse once bit my sister…
German: there are painters in the cellar.
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.