How to compare two strings? (Language Help)

by francisco, Friday, June 24, 2016, 15:08 (1336 days ago)


I want to compare two times and act accordingly.

I type:

a$="1639" # (16:39)
b$="1047" # (10:47)
if a$>b$ then
print "a is greater than b"
print "a is not greater than b"
end if

Result: a is not greater than b

Is it not possible to compare strings? Am I wrong at some point?

Thanks in advance

How to compare two strings?

by Jim ⌂ @, Russell, KY, Monday, August 08, 2016, 14:14 (1291 days ago) @ francisco


In the current version it behaves the way it is supposed to. What version were you having this issue with?


How to compare two strings?

by francisco, Monday, December 19, 2016, 20:03 (1158 days ago) @ Jim

version (2012-02-26)


RSS Feed of thread
powered by my little forum