0 votes
by (300 points)
How to assign a numerical value to a variable?

I use Harlowe)

1 Answer

+1 vote
by (61.3k points)
(set: $x to 0)
$x <!-- 0 -->
(set: $x to it + 10)
$x <!-- 10 -->
(set: $x to it / 2)
$x <!-- 5 -->

Just type the numbers right in.

Welcome to Twine Q&A, where you can ask questions and receive answers from other members of the community.

You can also find hints and information on Twine on the official wiki and the old forums archive.

See a spam question? Flag it instead of downvoting. A question flagged enough times will automatically be hidden while moderators review it.