Posted By
|
Message
|
Kurama
Registered 04/02/2005
Points 4
|
9th February, 2005 at 16:11:30 -
Hello,
I've been working on a specialized photo editor program. I was having some trouble with a 3D array in the program, and eventually got through the problem using INI's instead, but it doesn't seem like I should have needed to do that. This has left me with several questions regarding arrays.
1. Do arrays made witht the MMF built in function occasionally disappear for mysterious reasons? Maybe related to working with a Magic Deque array?
2. What is the best extension for working with 3D arrays? (preferrably something that allows saving as a comma separated file, since that makes debugging much easier) Or is the built-in function best?
3. Are there any extensions that will allow manipulations of all the elements 2D or 3D array at the same time, rather than looping through the arrays (like Matlab)?
Thanks!
n/a
|
Sketchy Cornwall UK
Registered 06/11/2004
Points 1971
|
9th February, 2005 at 16:48:51 -
sorry, i have no clue. i'm curious though - have you found a way to save jpegs?
n/a
|
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
|
10th February, 2005 at 03:25:55 -
Personally I love the array object that comes with MMF. It's got X,Y,Z strings&values, what more do you need?
Creator of Faerie Solitaire:
http://www.create-games.com/download.asp?id=7792
Also creator of ZDay20 and Dungeon Dash.
http://www.Jigxor.com
http://twitter.com/JigxorAndy
|
Teapot Does he even go here
Registered 02/10/2003
Points 2631
|
10th February, 2005 at 05:48:06 -
I'd want a lot more, Andy. X,Y,Z strings and values aren't going to feed me or my family.
n/a
|
Kurama
Registered 04/02/2005
Points 4
|
10th February, 2005 at 16:36:31 -
SpaceCadet - At this point in the program, I haven't dealt with jpegs yet, I planned to try to work out something with them once the program was working more. I at least want an option in the program to convert jpegs to either a BMP or GIF, so I can use the pictures with overlay redux. I may try to figure out how to save photos as jpegs, I haven't figured out whether or not I will need that later for this program. I have a ways to go before I get to that point.
Phizzy - I have figured out how to save bitmaps as an array, and that's very important to my program. I did some of that in a Fortran class, and that was cool enough to make me want to try something more complex.
Assault Andy & Teapot - The built-in array seems to work out pretty well most of the time, but I do run into a few problems with it, mostly because I've used a lot of programming languages, and tend to want strange features I have worked with before.
I like being able to save as CSV, so I can open up a text file, or Excel, and use the information for debugging, or entering large amounts of information. I've been using the sorting in Magic Deque, since I can't figure out how to do If-Then...Else within a Fast Loop. The nifty matrix commands in Matlab are hard to explain
well - basically it takes forever to get comfortable enough with the theory, but once you understand them, it saves a tremendous amount of looping.
---
So right now I'm trying to figure out what kind of tools are out there, or if I'm missing someting obvious.
n/a
|
Radix hot for teacher
Registered 01/10/2003
Points 3139
|
10th February, 2005 at 17:03:00 -
Phizzy: There's benefits to being able to do something in thirty seconds that could take a week in other languages.
I can't figure out how to do If-Then...Else within a Fast Loop
I'm pretty sure I used to have some kind of logic control extension or something that let you apply if/then statements to normal events. I don't know about else, but you could do that with a flag. I can't remember what it's called.
n/a
|
Kurama
Registered 04/02/2005
Points 4
|
10th February, 2005 at 21:27:51 -
Radix has it right! If I have to start from scratch, nothing will ever get done.
Immediate If? I'll go look for that! There's gotta be something like that out there. I'm fine without an Else, I've used Elseless If-Then's, and it's no problem.
Thanks for your help!
n/a
|
|
|