[stella] I need Help ON QBASIC

Subject: [stella] I need Help ON QBASIC
From: braves4515@xxxxxxx
Date: Sun, 21 Oct 2001 20:42:19 EDT
Im programing a game to later be transfered to ATARI BASIC ( which i know how cause i got books on it)

my question is

i set R = Steps the little man walks in his town

Each Step ( or R) is worth 1 Point (i.e. if he walks 5,674 steps at least he will get 5,674 points. NOW i set up the score (or points as E.

so to do the steps as points i have
R(steps)=R+1
E = R
so that every step the man takes he gets 1 point for it.

OK now i have 2 warps i want to include which woudl be worth 15 points

i tried make Warps "W" and did W=W*15
and E=(R) (W)
but it doesnt work out it just adds on every step how do i set it up so that only when he goes though a WARP the 15 points will get added

any ideas
Current Thread