Results 1 to 2 of 2

Thread: Quick question - using the function statement

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Dec 2000
    Posts
    1,195

    Quick question - using the function statement

    In my VB class.. we were told to make a qbasic program, and im completely lost..

    The project is to create a program that uses the FUCNTION statement to remove all spaces ina string.. how can i do this?

  2. #2
    Frenzied Member numtel's Avatar
    Join Date
    Apr 2000
    Location
    CA
    Posts
    1,163
    Is this in vb or qbasic? in vb use:
    VB Code:
    1. Function RemSpace(Text as string) as string
    2. remspace = replace(text, " ", "")
    3. End Function
    that probably won't work in qbasic.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width