Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit b3363b2

Browse files
Merge pull request #1625 from livecode/revert-1623-bugfix-19839
Revert "[Bug 19839] Declare vars in scripts needed for BMI tutorial"
2 parents d2a9c57 + 2aa14ff commit b3363b2

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

Toolset/palettes/tutorial/courses/First Run/tutorials/BMI Calculator/lessons/App Lesson.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1286,7 +1286,6 @@ step "Set Stack Script"
12861286
button:
12871287
script
12881288
function getBMI pHeight, pWeight
1289-
local tURL, tJSON, tArray
12901289
put "http://api.clinicalcalculator.org/bmi?" & \
12911290
"height_in_m=" & pHeight & "&weight_in_kg=" & pWeight into tURL
12921291

@@ -1470,7 +1469,6 @@ step "Set Calculator Card Script"
14701469
button:
14711470
script
14721471
command calculateBMI
1473-
local tHeight, tWeight, tBMI
14741472
put field "height" into tHeight
14751473
set the cHeight of this stack to tHeight
14761474

@@ -1889,7 +1887,6 @@ script
18891887
end preOpenCard
18901888

18911889
command calculateBMI
1892-
local tHeight, tWeight, tBMI
18931890
put field "height" into tHeight
18941891
set the cHeight of this stack to tHeight
18951892

notes/bugfix-19839.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)