TIP: Click on subject to list as thread! ANSI
echo: z3_pascal
to: Nicholas Klopfer-Webber
from: Peter Watney
date: 1996-07-14 10:08:00
subject: Function Move

Friday July 12 1996 14:46, Nicholas Klopfer-Webber wrote to All:

 NK> I am curently writing a program which speed is of the ut-most importance.

So 'copying' the variable/array into a different variable/array is a waste
of time that you would wish to avoid?

 NK> But apart from that I need to be able to access each char of a string at a
 NK> time efficently.  At the moment I am using a array of char but I still
 NK> have processes which only a string can handle.

The string is an array of char, and the first byte of the array gives the
length of the string in bytes.

You can manipulate the individual bytes of the string with the functions
copy, delete, insert, length, pos; and manipulate several strings with
concat.

Regards,
Peter

--- GEcho 1.00
* Origin: Pointing off InterACTive BBS 3:620/243 (3:620/243.71)
SEEN-BY: 633/267 270
@PATH: 620/243 711/808 50/99 635/544 727 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.