| |
Iapetus/Algarbi/Wood
Registered: Dec 2004 Posts: 71 |
SLANG
I have been playing with Slang and started to code a simple game using it but I ran into a problem...
Is there other way of doing this?:
ubyte tile0(4) = [ 1 2 3 4 ]
ubyte tile1(4) = [ 5 6 7 8 ]
ubyte tile2(4) = [ 1 2 2 1 ]
uint pToTiles(3)
pToTiles(0) = #tile0
pToTiles(1) = #tile1
pToTiles(2) = #tile2
I get a warning for these three last lines:Fewer dims than expected. Didn't check if it works even with the warning.
I would like to do something like:
pToTiles(3) [ #tile0 #tile1 #tile2 ]
but it doesn't work (I get "bad number" error)
Thx |
|
| |
Mace
Registered: May 2002 Posts: 1799 |
I don't know any Commodore 64 coding language by the name of SLANG... |
| |
Cybernator
Registered: Jun 2002 Posts: 154 |
@Mace: http://www.ffd2.com/fridge/slang/ |
| |
Martin Piper
Registered: Nov 2007 Posts: 722 |
@Mace: http://www.lmgtfy.com/?q=c64+slang |
| |
Mace
Registered: May 2002 Posts: 1799 |
Aha, glad I didn't utter an even more sarcastic reply :-) |
| |
Iapetus/Algarbi/Wood
Registered: Dec 2004 Posts: 71 |
So no one knows about Slang.... ok back to asm. |