Skip to main content

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

Fishyscript

Programming language built on javascript · By Malachi Bance

Something just stopped working Locked

A topic by spher games created Mar 17, 2022 Views: 137 Replies: 2
This topic was locked by Malachi Bance Mar 21, 2022

ANSWERED

Viewing posts 1 to 5

I was trying to work on something with inp, but the prompt wouldn't show up. I reloaded the page and tested just an out script, but it still wasn't working. Is there something wrong with the code? Thanks! 

Developer (1 edit)

It may be because you are missing a semicolon at the end of the line, it can be sensitive to missed semicolons.

you are also missing the close bracket for the function. it should be:

fn srt() [
  out("hello");
]

should work, if there are still problems I'll take a deeper look

You're right, I just blanked on that. Thanks

Developer locked this topic
Developer unlisted this topic
Developer relisted this topic