(AGK version: 108.13)
Submitted: 2013-06-05 23:11:06
Setvirtualresolution(480,640)

do
    print( abs(-2) )
    print( abs(2) )
    print( abs(-1.789) )

    sync()
loop
(AGK version: 108.13)
Submitted: 2013-06-07 14:23:55
Setvirtualresolution(320,480)

x = 16
x2 = -10

diff = abs(x2 - x)

do
    print( "The two points are "+str(diff)+" units apart" )

    sync()
loop
Help make AGK better by submitting an example for this command!
(All examples are subject to approval)
Login to post an example of your own.