PDA

View Full Version : Propeller Tool Data Formatting



mynet43
09-07-2007, 06:35 AM
I'm trying to create an array of data in the DAT block.

The array will have over 100 values in it.

for example:

angdata long 12,10,43,9,19, ... out to 100+ entries

Is there a way to specify the data without putting all of it on a single line?

If I put a return after a comma to put some of it on the next line, I get an error. It doesn't get treated as white space.

If I put it all on one line, it works but it's messy.

Any help?

Jim

deSilva
09-07-2007, 06:40 AM
Well, start a new line with LONG again!

mynet43
09-07-2007, 06:59 AM
Thanks, that works!

I was afraid I'd have to put a new name in front of the new LONG.

Mike Green
09-07-2007, 06:59 AM
Yes, the data is simply placed in memory in the order in which it's provided, so do:


angdata long 12,10,43,9
long 19,22,45,7

mynet43
09-07-2007, 07:55 AM
Thanks all!

It worked!

Here's the data I put in, over 1000 entries:




presdata long 3293,3293,3293,3293,3293,3293,3293,3293,3293,3293
long 3293,3293,3293,3293,3293,3293,3293,3293,3293,3293
long 3293,3293,3293,3293,3293,3293,3293,3293,3293,3293
long 3293,3293,3293,3293,3293,3293,3293,3293,3293,3293
long 3293,3293,3293,3293,3293,3293,3293,3293,3293,3293
long 3293,3293,3293,3293,3293,3292,3293,3293,3293,3293
long 3293,3293,3293,3293,3293,3293,3293,3293,3293,3293
long 3293,3293,3293,3293,3293,3293,3293,3293,3293,3293
long 3293,3293,3293,3293,3293,3293,3293,3293,3293,3293
long 3293,3293,3293,3293,3293,3293,3293,3293,3293,3293
long 3293,3293,3293,3293,3293,3293,3292,3293,3293,3293
long 3292,3292,3292,3293,3292,3292,3293,3292,3292,3292
long 3291,3292,3292,3291,3291,3291,3292,3292,3292,3291
long 3292,3290,3291,3291,3291,3290,3290,3290,3290,3290
long 3290,3290,3289,3289,3289,3289,3289,3289,3289,3288
long 3288,3288,3288,3287,3287,3287,3287,3286,3286,3286
long 3285,3286,3285,3285,3285,3285,3285,3285,3284,3284
long 3284,3284,3283,3283,3283,3282,3282,3282,3282,3281
long 3281,3280,3281,3281,3280,3280,3280,3280,3280,3279
long 3279,3279,3279,3278,3278,3278,3278,3277,3277,3277
long 3277,3277,3277,3276,3276,3275,3275,3275,3275,3275
long 3275,3274,3274,3274,3274,3274,3274,3273,3273,3273
long 3273,3273,3273,3273,3272,3272,3272,3272,3271,3271
long 3271,3271,3270,3271,3270,3270,3270,3270,3270,3270
long 3269,3269,3269,3269,3269,3269,3269,3268,3268,3268
long 3268,3268,3268,3268,3267,3267,3267,3267,3267,3267
long 3266,3266,3266,3266,3266,3266,3266,3265,3265,3265
long 3265,3265,3265,3265,3265,3265,3265,3264,3264,3264
long 3264,3264,3264,3264,3264,3263,3263,3263,3263,3263
long 3263,3263,3263,3262,3262,3262,3263,3262,3262,3262
long 3262,3261,3262,3261,3261,3261,3261,3261,3261,3261
long 3261,3261,3261,3261,3261,3261,3260,3260,3260,3260
long 3260,3260,3260,3260,3260,3260,3260,3260,3260,3259
long 3260,3259,3259,3259,3259,3259,3259,3259,3259,3259
long 3259,3259,3259,3258,3258,3258,3258,3258,3258,3258
long 3258,3258,3258,3258,3258,3258,3257,3258,3258,3258
long 3258,3258,3258,3257,3258,3258,3257,3257,3258,3257
long 3257,3257,3257,3257,3257,3257,3257,3257,3257,3256
long 3257,3257,3257,3257,3257,3257,3257,3257,3256,3256
long 3257,3257,3257,3257,3257,3256,3256,3256,3257,3256
long 3256,3257,3166,3255,3256,3256,3257,3256,3257,3256
long 3256,3256,3256,3256,3256,3256,3256,3256,3256,3256
long 3257,3257,3256,3257,3256,3256,3256,3256,3256,3256
long 3256,3257,3256,3256,3256,3257,3257,3257,3257,3257
long 3257,3257,3257,3257,3257,3256,3257,3256,3257,3257
long 3257,3257,3256,3257,3257,3257,3257,3257,3258,3258
long 3258,3258,3258,3258,3258,3258,3258,3258,3258,3258
long 3258,3258,3258,3258,3258,3258,3259,3258,3258,3258
long 3259,3258,3259,3258,3259,3259,3259,3259,3259,3259
long 3259,3259,3259,3259,3260,3259,3260,3259,3259,3259
long 3259,3260,3259,3259,3260,3260,3260,3260,3260,3260
long 3260,3260,3260,3260,3260,3260,3260,3261,3261,3261
long 3261,3260,3261,3261,3261,3261,3261,3260,3261,3261
long 3260,3261,3261,3261,3261,3261,3261,3261,3261,3261
long 3261,3261,3261,3261,3261,3262,3262,3262,3262,3262
long 3262,3262,3262,3262,3262,3262,3262,3262,3262,3262
long 3263,3263,3263,3262,3262,3262,3262,3262,3262,3262
long 3263,3263,3262,3262,3263,3262,3263,3263,3263,3263
long 3263,3262,3263,3263,3263,3263,3263,3263,3264,3265
long 3263,3263,3264,3263,3264,3263,3264,3264,3264,3265
long 3264,3265,3264,3264,3265,3264,3264,3265,3264,3264
long 3264,3264,3264,3264,3264,3265,3264,3265,3265,3265
long 3265,3264,3265,3264,3265,3265,3265,3265,3265,3265
long 3265,3266,3265,3266,3266,3266,3266,3266,3266,3266
long 3266,3266,3266,3266,3266,3266,3266,3266,3266,3266
long 3266,3266,3266,3266,3267,3266,3266,3266,3266,3267
long 3267,3267,3267,3267,3267,3267,3267,3267,3267,3268
long 3268,3268,3268,3268,3268,3269,3268,3268,3268,3268
long 3268,3269,3268,3268,3269,3268,3269,3268,3269,3268
long 3269,3268,3269,3269,3269,3269,3268,3269,3269,3269
long 3268,3269,3269,3269,3269,3269,3269,3269,3269,3269
long 3269,3269,3269,3269,3269,3269,3270,3269,3270,3270
long 3269,3270,3270,3270,3270,3270,3270,3271,3270,3270
long 3271,3270,3271,3271,3271,3272,3271,3271,3271,3271
long 3272,3271,3271,3271,3271,3271,3271,3272,3272,3271
long 3272,3272,3272,3272,3272,3272,3272,3272,3272,3272
long 3272,3272,3272,3272,3272,3272,3272,3272,3272,3272
long 3273,3273,3272,3273,3273,3272,3273,3273,3273,3273
long 3273,3273,3273,3273,3273,3273,3274,3274,3273,3274
long 3274,3274,3273,3274,3274,3274,3274,3274,3274,3274
long 3274,3274,3274,3274,3274,3274,3274,3274,3274,3274
long 3274,3275,3275,3274,3275,3274,3274,3275,3274,3275
long 3275,3275,3275,3275,3275,3276,3275,3275,3276,3276
long 3275,3275,3276,3276,3276,3276,3276,3276,3277,3277
long 3276,3276,3276,3276,3276,3276,3276,3276,3276,3276
long 3276,3277,3276,3276,3277,3277,3277,3277,3277,3277
long 3277,3277,3277,3277,3278,3278,3277,3278,3278,3277
long 3277,3277,3277,3278,3278,3277,3277,3278,3278,3278
long 3278,3278,3278,3278,3278,3278,3278,3279,3279,3278
long 3279,3278,3279,3279,3279,3279,3279,3279,3279,3279
long 3279,3279,3279,3279,3279,3280,3279,3279,3280,3279
long 3280,3280,3280,3280,3280,3280,3280,3280,3280,3280
long 3280,3280,3280,3280,3280,3280,3280,3280,3280,3280
long 3280,3280,3280,3280,3280,3280,3280,3280,3281,3280
long 3281,3280,3280,3281,3281,3281,3281,3281,3281,3282
long 3281,3281,3282,3281,3281,3281,3281,3282,3281,3282
long 3281,3282,3282,3282,3282,3282,3282,3282,3282,3282
long 3282,3282,3282,3282,3282,3282,3282,3282,3283,3283
long 3282,3283,3282,3282,3283,3283,3282,3283,3283,3283
long 3283,3283,3284,3284,3283,3283,3284,3284,3284,3284
long 3284,3284,3284,3284,3283,3284,3284,3284,3284,3284
long 3284,3284,3284,3284,3284,3284,3284,3285,3284,3284
long 3284,3284,3284,3285,3285,3285,3287,3289,3290,3291
long 3293,3293,0