Because they used the right tool for the job and you are not.If PocketSand was able to do it why can't I???
Interaction Pacman Moveleft ClearPack Signal 32000
Interaction MoveLeft LeftWire LeftWire1 LeftWire1 32000
Interaction LeftWire1 Clear Clear Clear 1000
Interaction LeftWire1 BlankPack Wire Pacman 32000
Interaction ClearPack ClearPack BlankPack BlankPack 500
Interaction ClearPack BlankPack BlankPack BlankPack 500
About 20 minutes! But I'm in practice and it was a hack, not production quality code, with no error checking etc. Bear in mind that was just setting pixels from an array. It would slow down a lot once any logic and the error checking was incoporated.Just out of interest Agraham - how long did it take u to port the tt demo etc into ur ttt library?
Everything inside B4PPC is a String or a Double(64 bit float). When a simple variable is passed to a library B4PPC converts it to whatever the library expects. To save time it does NOT convert arrays when it passes them (instead it converts them when they are referenced internally). As the pixel x and y parameters are required as integers by a .NET Bitmap it makes sense to declare them as integers to save the cost of a type conversion in the library.Also just curious, saw u changed the Dim x(...) to INT32. Do C procedures have to accept numbers as 32bits?
Possibly Double but I have never tried as I have a strongly typed background and always play safe and specify types.what would be the default 'type' if the INT32 wasnt specified?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?