Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: MathLink String type

  • To: mathgroup at smc.vnet.net
  • Subject: [mg20011] Re: MathLink String type
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Sat, 25 Sep 1999 02:40:41 -0400
  • Organization: Universitaet Leipzig
  • References: <7se7me$qug@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

use const char *

in
> 
> int StringLength(const char * s)
> { int i=0; char *t = s;
>   while(*(t++)) i++;
>   return i; }
> 

and all works fine

Hope that helps
  Jens


  • Prev by Date: Re: Contourline values
  • Next by Date: Re: TeXForm in v4 better?
  • Previous by thread: Re: MathLink String type
  • Next by thread: Contourline values