Log In  

Currently, ls() returns nil, and then after the program is finished executing it finally prints out a list of files to the console. Making it's output completely inaccessible to the cart program.

Can it return an array of file name strings or something please? Maybe if you call ls(1) or ls(true) or something instead, if it's too hard to separate from user console input?

This is important for... reasons. We're totally planning something fun involving arbitrary carts.

P#16323 2015-11-06 19:05 ( Edited 2015-11-08 01:52)

Mm... multicarts?

If my assumption is correct and you have a list of carts to load, couldn't you just hardcode the names and bundle relevant carts with the game, like that monster game did (can't remember the name).

P#16397 2015-11-07 20:43 ( Edited 2015-11-08 01:43)

Well yes, I'll have to just hardcode the names for now, but this is for a special collaborative project where carts are expected to be added all willy-nilly.

P#16398 2015-11-07 20:52 ( Edited 2015-11-08 01:52)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-29 13:56:50 | 0.006s | Q:10