How to sort a file by multivalue field?

2004-03-25 Thread Marco Manyevere
How can I SELECT a file by a multivalue field and return a list of @ID:*:FIELD.VALUE in sorted order of FIELD.VALUE? E.g: record A = 800:@VM:600:@VM:700 record B = 400:@VM:900:@VM:1000:@VM:300 record C = 650:@VM:200 I want the output as follows: C*200 B*300 B*400 A*600 C*650 A*700 A*800

[UV] Memory resident hash tables/files

2004-03-22 Thread Marco Manyevere
Hi All, I would like to store records from small static parameter files that are accessed frequently in a memory resident hash table in the common area. What would it take to achieve this in UV BASIC? What would it take for IBM to introduce internal hashtable type variables (such as those

Pre variable assignment and memory fragmentation

2004-03-15 Thread Marco Manyevere
Hi All, In response to a message I posted recently, many users expressed strong opinion against the pre-assignment (or declaration) of variables at the top of a subroutine. Although I dont normally do this in my programs I would like to understand the impact on memory fragmentation of

[UV] Date-Time stamping

2004-03-08 Thread Marco Manyevere
Hi All, When does universe update the OS level date time stamp ? On Windows XP UV9.6, if I make changes to a record (even create a new record) and commit it to disk, the date and time shown under the 'Date Modified' column in Windows explorer does not change. However, if I modify the same

[UV] Recursive GOSUB

2004-03-01 Thread Marco Manyevere
Hi All, Can a UV GOSUB directly or indirectly refer to itself? Something like so: LABEL: IF (SOME.CONDITION) THEN GOSUB LABEL RETURN Regards, Marco - Yahoo! Messenger - Communicate instantly...Ping your friends

Help wanted creating an efficient SELECT statement

2004-02-04 Thread Marco Manyevere
Hi All, I have a file with IDs like this: 1.2, 1.2 1.3, 2.1, 2.2, 2.3, 2.4, 3.1, 4.1, 5.1, 5.2, ... Each ID is N.X where X is a numeric secondary ID number from 1 going upwardsand N is the primary ID number which may or may not be numeric.Different primary IDs have a different number of

Re: [UV] VARIABLE-1 = and Basic Compile $OPTIONS EXTRA.DELIM work consistently

2004-02-03 Thread Marco Manyevere
- IBM Data Management - Produits "U2"- Forwarded by Herve Balestrieri/France/IBM on 03/02/2004 09:35 -Marco Manyevere <[EMAIL PROTECTED] .com cc: Sent by: Subject: VARIABLE-1 = '' Inconsistent behaviour u2-users-bounces@ oliver.com 03/02/2004 05:55 Please respond to U2 Users

The result of VARIABLE[1,3] + 0

2004-02-01 Thread Marco Manyevere
Hi All, What is the correct interpratation of A = '001' B = A[1,3] + 0 PRINT B On UV 9.6 I get 0010 contrary to my expectation of 1. What is the logical explanation of this. Does UV use '+' for string concatenation as well? Then why doesnt '123' + '456' result in '123456' (I get a runtime