Oldbitcollector (Jeff)

01-22-2011, 11:34 PM

r := sdfat.popen(string("games.csv"),"r")

repeat

r := sdfat.pgetc

if r < 0

StringSend(0, 13)

quit

if r > 0

StringSend(0, r)

'pst.char(r)

Naturally this is at root of reading a file from SD and displaying it.

I'm sure I should be thinking about this different somehow, but I've never worked "backend" of a webserver.

OBC

repeat

r := sdfat.pgetc

if r < 0

StringSend(0, 13)

quit

if r > 0

StringSend(0, r)

'pst.char(r)

Naturally this is at root of reading a file from SD and displaying it.

I'm sure I should be thinking about this different somehow, but I've never worked "backend" of a webserver.

OBC