Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

TIC-80

Fantasy computer for making, playing and sharing tiny games. · By Nesbox

weird error regarding text.

A topic by jackj106 created Jan 24, 2017 Views: 368 Replies: 4
Viewing posts 1 to 3

if i do:

i=1

function TIC()

cls()

print(i,10,10)

end


no number will appear, or at least on my program that is not exactly like this one.

Developer

try this

print(""..i,10,10)

thank you both so much. i had used it without the tostring or the "".. in previous versions. glad to know about this change.

(1 edit) (+1)

You can also use the "tostring" function, like this:

print( tostring( i), 10, 10)

thank you both so much. i had used it without the tostring or the "".. in previous versions. glad to know about this change.