text?

Just starting out? Need help? Post your questions and find answers here.
lexvictory
Addict
Addict
Posts: 1027
Joined: Sun May 15, 2005 5:15 am
Location: Australia
Contact:

Post by lexvictory »

Я все еще не понимаю
Demonio Ardente

Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
Chrono Syndrome
Enthusiast
Enthusiast
Posts: 169
Joined: Thu Oct 05, 2006 6:44 am
Contact:

Post by Chrono Syndrome »

lexvictory wrote:Я все еще не понимаю
Плохо. Надо тебе, значит, получше русский выучить. Ну или переводчик помощнее найти... А то как же ты с нами по-русски беседовать собираешся, не понимаю что тебе говорят ?
Don't try to catch ze Night !
Remember: 'z' is better zen 'th' =) !
Sorry for bad english.
lexvictory
Addict
Addict
Posts: 1027
Joined: Sun May 15, 2005 5:15 am
Location: Australia
Contact:

Post by lexvictory »

how bout we just speak english..?

that didnt make sense after the translator 'translated' it....
Demonio Ardente

Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
Chrono Syndrome
Enthusiast
Enthusiast
Posts: 169
Joined: Thu Oct 05, 2006 6:44 am
Contact:

Post by Chrono Syndrome »

how bout we just speak english..?
OK
Don't try to catch ze Night !
Remember: 'z' is better zen 'th' =) !
Sorry for bad english.
spioner
User
User
Posts: 25
Joined: Tue Nov 07, 2006 8:02 am
Location: russia

del

Post by spioner »

del
Last edited by spioner on Wed Dec 21, 2011 5:31 pm, edited 1 time in total.
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

Hope this is what you need:

Code: Select all

If OpenFile(0,"myfile.txt")
  
  Repeat
    line.s=ReadString()
    
    ;If FindString(line,"string to find",0) ; You can uncomment these lines
      line.s=ReplaceString(line,"string to find","string to replace")
    ;EndIf
    
    WriteString(0,line)
    ;or
    ; WriteStringN(0,line) ; for line break
    
  Until Eof(0)
  
  CloseFile(0)
EndIf
spioner
User
User
Posts: 25
Joined: Tue Nov 07, 2006 8:02 am
Location: russia

ELSE

Post by spioner »

del
Last edited by spioner on Wed Dec 21, 2011 5:32 pm, edited 1 time in total.
Xombie
Addict
Addict
Posts: 898
Joined: Thu Jul 01, 2004 2:51 am
Location: Tacoma, WA
Contact:

Post by Xombie »

Like this...

Code: Select all

Procedure.s ShortenPath(Path.s)
   ;
   Protected HoldString.s
   ;
   HoldString = Space(#MAX_PATH)
   ;
   Debug GetShortPathName_(@Path, @HoldString, #MAX_PATH)
   ;
   ProcedureReturn HoldString
   ;
EndProcedure
Debug ShortenPath("C:\Program Files\Microsoft Office")
spioner
User
User
Posts: 25
Joined: Tue Nov 07, 2006 8:02 am
Location: russia

del

Post by spioner »

del
Last edited by spioner on Wed Dec 21, 2011 5:32 pm, edited 1 time in total.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Sorry, this again I... Stop to laugh... Please... I have

Post by PB »

> I gave 3 question. Can I get 3 answer ?

Hmm, I don't believe you're Russian. You're just taking the piss. :D
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
spioner
User
User
Posts: 25
Joined: Tue Nov 07, 2006 8:02 am
Location: russia

del

Post by spioner »

del
Last edited by spioner on Wed Dec 21, 2011 5:32 pm, edited 1 time in total.
lexvictory
Addict
Addict
Posts: 1027
Joined: Sun May 15, 2005 5:15 am
Location: Australia
Contact:

Post by lexvictory »

no, its just that because of you not being able to speak english properly, it is difficult to help you as we don't always understand you
Demonio Ardente

Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: SADLY.... SADLY....

Post by PB »

> No differences - believe or disbelieve

Okay, relax. It just looked very suspicious to me. Sorry if I offended you!
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
spioner
User
User
Posts: 25
Joined: Tue Nov 07, 2006 8:02 am
Location: russia

del

Post by spioner »

del
Last edited by spioner on Wed Dec 21, 2011 5:32 pm, edited 1 time in total.
lexvictory
Addict
Addict
Posts: 1027
Joined: Sun May 15, 2005 5:15 am
Location: Australia
Contact:

Re: Let it seems I from New York and there whole life there

Post by lexvictory »

spioner wrote:Let it seems I from New York and there whole life there was. 90 years... Now, 91 year, I want get path to File.txt
But, can I this do ?
Windows, File.txt, I know he is found. As I can get his way ?
are you looking for a way to find a specific file?
or is it that you want to let the user select a file?

in case it makes it easier to understand, I'll put it in russian aswell

вы ищете дорога найти специфически архив?
или оно что вы те препятствуйте потребителю выберите архив?
Demonio Ardente

Currently managing Linux & OS X Tailbite
OS X TailBite now up to date with Windows!
Post Reply