Code: Select all
#define CEIL(x) (Sgn(x)*(Int(Abs(x)) + Sgn(x)))
Dim As Integer lcount = 8
Print CEIL(Sqr(lcount))
Code: Select all
#define CEIL(x) (Sgn(x)*(Int(Abs(x)) + Sgn(x)))
Dim As Integer lcount = 8
Print CEIL(Sqr(lcount))
Code: Select all
SCREENRES 800, 600
DIM a AS DOUBLE
a = 1E-10
LINE (800, 600) - (a, a)
SLEEP
Code: Select all
Print #EF, "SDL_LoadBMP() failed "; *SDL_GetError()