September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
9
Task/Map-range/BASIC/map-range-2.basic
Normal file
9
Task/Map-range/BASIC/map-range-2.basic
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
10 REM MAP RANGE
|
||||
20 REM COMMODORE BASIC 2.0
|
||||
30 REM ================================
|
||||
40 A1 = 0 : A2 = 10
|
||||
50 B1 = -1 : B2 = 0
|
||||
60 DEF FN MR(S)=B1+(S-A1)*(B2-B1)/(A2-A1)
|
||||
70 FOR S=0 TO 10
|
||||
80 PRINT S;"MAPS TO ";FN MR(S)
|
||||
90 NEXT
|
||||
Loading…
Add table
Add a link
Reference in a new issue