TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Steven Pasztor
from: david nugent
date: 1993-10-08 18:29:08
subject: Pascal strings

> Still need to either hand it a TP string, not a C++ string...

Ah.

 > Which would be most likely to be usefull, adding TP string
 > support to C++, and using it to drive the ASM routines, or
 > converting the ASM routines to handle C++?

No idea - it depends on whetther TP strings are worth supporting for
whatever you're using it for.  But a simple "TP" string
translation to C++ won't quite work - and besides, you'll loose out on the
better optimisations possible in C++, such as length > 255, reference
counting and flexible/efficient use of memory.  Syntactically, they can be
designed to be used pretty much the same as TP strings, but a C++
implementation will usually be the more efficient.

Cheers,

  david

---

* Origin: Unique Computing Pty Ltd (3:632/348)
SEEN-BY: 50/99 54/54 99 620/243 622/405 623/630 632/103 301 348 365 386 998
SEEN-BY: 633/371 634/383 384 635/502 503 544 555 570 636/100 670/206 711/401
SEEN-BY: 711/409 430 807 808 809 932 934 712/623 627 713/888 714/906 800/1
@PATH: 632/348 635/503 50/99 54/54 99 711/808 809 934

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™.