Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Basic Powerbasic > MID$() = variab...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 7 Topic 234 of 276
Post > Topic >>

MID$() = variable

by "Stan Helton" <Stoshwolfen@[EMAIL PROTECTED] > Apr 23, 2007 at 01:28 PM

Using PB/DOS 3.5 in MS-DOS 6.22 environment.

The MID$() statement does not appear to work as described in the manual.

Syntax as follows:

MID$(DataRecord$, Offset%, Length%) = StringVariable$

is supposed to insert Length% characters of StringVariable$ into
DataRecord$
at Offset%, but it doesn't work. It seems to return a NULL string. Offset%
and Length% are NonZero Positive integers.

Is there a problem with this syntax? So far, I've been using a FOR/NEXT
loop
as a workaround, but I would really like to be able to use this syntax as
described in the manual.

Thanks,
Stan
 




 7 Posts in Topic:
MID$() = variable
"Stan Helton" &  2007-04-23 13:28:05 
Re: MID$() = variable
"Michael Mattias&quo  2007-04-23 14:32:42 
Re: MID$() = variable
usablevirus <usable@[E  2007-04-23 23:56:11 
Re: MID$() = variable
"Stan Helton" &  2007-04-24 09:56:43 
Re: MID$() = variable
"Michael Mattias&quo  2007-04-24 15:04:19 
Re: MID$() = variable
"Stan Helton" &  2007-04-24 12:21:59 
Re: MID$() = variable
"Tom Lake" <  2007-04-24 00:55:46 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 15:28:48 CDT 2008.