Search the web
Sign In
New User? Sign Up
cbaspadandhotpawbasic · cbasPad and HotPaw Basic - Discussions about cbasPad and HotPaw Basic
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Mid$   Message List  
Reply | Forward Message #2088 of 2112 |
Does HotPaw Basic support using a mid$ function on the left side of an
equal sign? I get a syntax error, but I know it works in other
dialects of Basic. I know how to get around it, if it is not available.
Here is a test code fragment of what i want to do:
10 dim a$(10),s$(5)
20 a$(1)='0000053008 1823 0Interest'
40 s$(2) =' 17.84'
50 amt=val(s$(2))*100
60 amo$=fn format$(amt, "#######.")
70 mid$(a$(1),11,7)=amo$
80 print a$(1)




Fri Jun 6, 2008 7:24 pm

computerguy47
Offline Offline
Send Email Send Email

Forward
Message #2088 of 2112 |
Expand Messages Author Sort by Date

Does HotPaw Basic support using a mid$ function on the left side of an equal sign? I get a syntax error, but I know it works in other dialects of Basic. I...
computerguy47
Offline Send Email
Jun 7, 2008
12:59 am

Hi The function mid$(a$,n)=c$ doesn't exist. Once upon a time I wrote a 'user-defined' function. Maybe it can be useful for you: midassign$(a$,n,b$) is almost...
mauseohr1944
Offline
Jun 7, 2008
10:12 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help