How to declare an array to take more than 10,000 characters

Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How to declare an array to take more than 10,000 characters
# 1  
Old 01-15-2008
Data How to declare an array to take more than 10,000 characters

Hi Guys
Need some help

I am reading the string values from the text files into the shell script and had them feed into array
I have declared an associative array as
TYPE t_user_id_tab IS TABLE OF VARCHAR2(3000);\n
my_user_id t_user_id_tab;\n
varchar2 is limiting me to take only 32760 characters
but I have a text files which has more than 1100 users with length of each user id is 8
1100* 8 = 8800 + the '',sapces

so I am looking around 10,000 characters is there a way that I can declare the array of string to take 10,00 characters

Thanks in advance
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Programming

How to Declare an array of function pointers?

I am attempting to create an array of function pointers. The examples I follow to do this are from: ... (3 Replies)
Discussion started by: spflanze
3 Replies

2. UNIX for Dummies Questions & Answers

How to declare an array in UNIX and print the elements with tab delimits?

Hello, In a shell script, I want to declare an array and subsequently print the elements with tab delimits. My array has the following structure and arbitrary elements: myArray=('fgh' 'ijk' 'xyz' 'abc'); Next, I would like to print it with a '\n' at the end. Thanks for your input! ... (2 Replies)
Discussion started by: Gussifinknottle
2 Replies

3. Shell Programming and Scripting

create array holding characters from sring then echo array.

Hi, I wish to store $string1 in $string1array a character in each array element. Then i wish to echo the entire array to the screen so that it reads as the normal string again. I have been trying with the code below but does not work. Please help... To put string into array: ... (5 Replies)
Discussion started by: rorey_breaker
5 Replies

4. Shell Programming and Scripting

declare, assign variables using array, counter, loop

using bash Tru64... converting DCL to shell... any tips to make this work would be greatly appreciated. Below is my failed attempt to assign command line input to variables by first declaring an array. I use a counter to create unique variables in a loop through the array. I need to call... (3 Replies)
Discussion started by: egkumpe
3 Replies

5. News, Links, Events and Announcements

Microsoft "Donates" $3,000,000,000 to Feds

Surreal quote from the news link below: (0 Replies)
Discussion started by: Neo
0 Replies
Login or Register to Ask a Question
UOPZ_COMPOSE(3) 							 1							   UOPZ_COMPOSE(3)

uopz_compose - Compose a class

void uopz_compose (string $name, array $classes, [array $methods], [array $properties], [int $flags]) DESCRIPTION
Creates a new class of the given name that implements, extends, or uses all of the provided classes PARAMETERS
o $name - A legal class name o $classes - An array of class, interface and trait names o $methods - An associative array of methods, values are either closures or [modifiers => closure] o $properties - An associative array of properties, keys are names, values are modifiers o $flags - Entry type, by default ZEND_ACC_CLASS RETURN VALUES
Example #1 uopz_compose(3) example <?php class myClass {} trait myTrait {} interface myInterface {} uopz_compose( Composed::class, [ myClass::class, myTrait::class, myInterface::class ], [ "__construct" => function() { /* ... */ } ]); var_dump( class_uses(Composed::class), class_parents(Composed::class), class_implements(Composed::class)); ?> The above example will output something similar to: array(1) { ["myTrait"]=> string(7) "myTrait" } array(1) { ["myClass"]=> string(7) "myClass" } array(1) { ["myInterface"]=> string(11) "myInterface" } PHP Documentation Group UOPZ_COMPOSE(3)