Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Divide variable into parts
Message
De
05/11/2007 11:05:02
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
05/11/2007 10:58:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01266627
Message ID:
01266729
Vues:
16
>>Now this was one thing that was simpler to do in Cobol... because you had to define your records, and could redefine any field in it in any number of levels.
>
>Not that I remember much of the Cobol language anymore, but this is one of the few things I remember, and miss from time to time.

Once upon a time (read: on a slow 286, using FP2.0) I used the same technique, in a way. I had a report which was just far too wide, and had a variable number of columns (of known widths, luckily :). So I created an array of long blank strings, and used a lot of stuff(aRow[i], lnPos, lnLen, lcText) to get the values into right positions, and in the end sent the lines straight to printer. Not as straightforward as the Cobol redefines, but then not so many lines either - and specially no need to do that every time you wanted to have a printed line ;).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform