Dofile doest work for me

Discuss using and improving Lua and the Lua Player specific to the PSP.

Moderators: Shine, Insert_witty_name

Post Reply
flattspott
Posts: 22
Joined: Mon Aug 22, 2005 4:06 am

Dofile doest work for me

Post by flattspott »

in both the psp and windows versions.

Attemp to call method "caption" (a nil value)

All i am trying to do is use some of the samples from the LPut02.lua
I even tried copy and pasting the examples usage and whatnot from the grayscales post. it diding work either.
KawaGeo
Posts: 191
Joined: Sat Aug 27, 2005 6:52 am
Location: Calif Mountains

Post by KawaGeo »

Sounds like you were using screen:caption() which causes the error. Try a created image and then blit it to the screen. See the samples.

if it is not the problem, just post your code and we can help you.

Thanks.
Geo Massar
Retired Engineer
Post Reply