RetroBASIC
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
RetroBASIC ReadOnly Archive
Home
Help
Search
Login
Register
RetroBASIC
»
Basicprogramming(.org)
»
SmallBASIC
»
Funny little program
« previous
next »
Print
Pages: [
1
]
Author
Topic: Funny little program (Read 2059 times)
chrisws
Guest
Funny little program
«
on:
October 18, 2019, 11:58:42 AM »
I wasn't sure whether to share this here, but since it's all being deleted in a couple of weeks... enjoy!
s = "B trump"
for i = 0 to len(s) - 1
n += asc(mid(s, i + 1, 1))
next i
print n
Logged
Print
Pages: [
1
]
« previous
next »
RetroBASIC
»
Basicprogramming(.org)
»
SmallBASIC
»
Funny little program