twbasic
- @aparrishtest 5.38516
done12:13 PM Aug 30th, 2008 from web in reply to aparrishtest
- @aparrishtest 10 let a = val(ARG$)12:13 PM Aug 30th, 2008 from web in reply to aparrishtest
- @aparrishtest 20 if a < 0 then 4012:13 PM Aug 30th, 2008 from web in reply to aparrishtest
- @aparrishtest 30 print sqrt(a)12:13 PM Aug 30th, 2008 from web in reply to aparrishtest
- @aparrishtest 35 goto 5012:13 PM Aug 30th, 2008 from web in reply to aparrishtest
- @aparrishtest 40 print "can't sqrt negative number!"12:13 PM Aug 30th, 2008 from web in reply to aparrishtest
- @aparrishtest 50 print "done"12:13 PM Aug 30th, 2008 from web in reply to aparrishtest
- @aparrishtest can't sqrt negative number!
done12:13 PM Aug 30th, 2008 from web in reply to aparrishtest
- @snapboom 6
3
5
5
6
2
3
5
2
4
3
4
3
4
6
6
4
5
1
412:13 PM Aug 30th, 2008 from web in reply to snapboom
- @snapboom 10 for i = 1 to val(ARG$)12:13 PM Aug 30th, 2008 from web in reply to snapboom
- @snapboom 20 print rnd(6) + 112:13 PM Aug 30th, 2008 from web in reply to snapboom
- @snapboom 30 next i12:13 PM Aug 30th, 2008 from web in reply to snapboom
- @geoffd 10 Print "Sweet"12:13 PM Aug 30th, 2008 from web in reply to geoffd
- @geoffd 20 Goto 1012:13 PM Aug 30th, 2008 from web in reply to geoffd
- @geoffd Sweet
Sweet
Sweet
Sweet
Sweet
Sweet
Sweet
Sweet
Sweet
Sweet
Sweet
Sweet
Sweet
Sweet
Sweet
Sweet
Sweet
Sweet
Sweet
Sweet12:13 PM Aug 30th, 2008 from web in reply to geoffd
- @NinJA999 6
3
5
5
6
212:13 PM Aug 30th, 2008 from web in reply to NinJA999
- @NinJA999 6
3
5
5
6
210:39 PM Aug 4th, 2008 from web in reply to NinJA999
- @geoffd 10 Print "Sweet"10:40 PM Jul 31st, 2008 from web in reply to geoffd
- @geoffd 20 Goto 1010:40 PM Jul 31st, 2008 from web in reply to geoffd
- @geoffd Sweet
Sweet
Sweet
Sweet
Sweet
Sweet
Sweet
Sweet
Sweet
Sweet
Sweet
Sweet
Sweet
Sweet
Sweet
Sweet
Sweet
Sweet
Sweet
Sweet10:40 PM Jul 31st, 2008 from web in reply to geoffd
|
|